Skip to content

armgit / peach

Public Imported from GitHub
0

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

refactor(web): 侧栏配色卡改由 React 岛渲染,光晕与强调色的写入收进外观应用层

longmeidao25e38629bc92
diff --git a/docs/FRONTEND.md b/docs/FRONTEND.md
index 4aa86df46..2af922998 100644
--- a/docs/FRONTEND.md
+++ b/docs/FRONTEND.md
@@ -389,8 +389,7 @@ React 页要按原名输出壳才拆得出分区;`swiper`、`swiper-wrapper`
`javedition` 与色调(`censored` 等)是目录卡片也用的版次徽章;`chip` 是 `18-chips.css` 的标签按钮,壳的产地选择用它,作品详情里脱盘与在线说明块的按钮沿用它(侧栏的筛选键归侧栏岛,不用这个类);`geist-button`、`primary` 是
舞台模态里各处按钮共用的遗留按钮,设置面板的「添加」「恢复默认」也沿用;`popmenu` 是遗留浮层菜单的盒子,
`presentMenu`/`dismissMenu` 的开合动效按它起,设置面板的色板弹层与侧栏「添加」菜单都是它;`geist-input`
-是 `01-base.css` 的输入框,设置面板的数值框沿用;`board-glow-grid` 那一格预设球由壳的 `renderGlowPresetGrid`
-画,侧栏配色卡与设置面板共用同一份样式。这几个在它们的主人(卡片、浮层菜单、配色卡等)归 React 时一起收回。
+是 `01-base.css` 的输入框,设置面板的数值框沿用。这几个在它们的主人(卡片、浮层菜单等)归 React 时一起收回。
舞台、两座详情共用的格子与队列、小窗的样式在 `frontend/src/react/stage/stage.css`,沉浸模式在
`frontend/src/react/immerse/immerse.css`,播放器画面框、
统计角标与右键菜单在 `frontend/src/player/player.css`,都由 `styles.css` 引入、只认 `data-*`;
diff --git a/frontend/.oxlintrc.json b/frontend/.oxlintrc.json
index 17c223424..380e7db00 100644
--- a/frontend/.oxlintrc.json
+++ b/frontend/.oxlintrc.json
@@ -21,7 +21,7 @@
"shadcn/no-inline-styles": "error",
"shadcn/no-unknown-classes": ["error", { "allow": ["configpage", "configgroup", "swiper", "swiper-wrapper", "swiper-slide", "swiper-zoom-container",
"mono", "javedition", "censored", "chip", "geist-button",
- "primary", "popmenu", "geist-input", "board-glow-grid"] }],
+ "primary", "popmenu", "geist-input"] }],
"shadcn/require-static-classes": "error"
}
}
diff --git a/frontend/e2e/design.test.ts b/frontend/e2e/design.test.ts
index e012d9525..024757019 100644
--- a/frontend/e2e/design.test.ts
+++ b/frontend/e2e/design.test.ts
@@ -4702,15 +4702,15 @@ describe('设计决定', () => {
key: (node as HTMLElement).dataset.glowPreset,
label: node.getAttribute('aria-label'),
pressed: node.getAttribute('aria-pressed'),
- ball: getComputedStyle(node.querySelector('.board-glow-ball')!).backgroundImage,
+ ball: getComputedStyle(node.querySelector('[data-glow-ball]')!).backgroundImage,
})));
const inSettings = await chips('#homeGlowControls');
assert.ok(inSettings.length >= 2, '设置里没有预设色块');
assert.deepEqual(inSettings, await chips('#boardGlowMenu'), '设置里的预设色块和侧栏配色卡不是同一组');
- const size = await grid.locator('.board-glow-ball').first().evaluate((node) => node.getBoundingClientRect().width);
+ const size = await grid.locator('[data-glow-ball]').first().evaluate((node) => node.getBoundingClientRect().width);
assert.equal(size, 28, '设置里的色块和侧栏那一枚不是同一副尺寸');
/* 设置这一行有整块设置那么宽:列数跟着可用宽度走,每格就是一枚球,挨着排满再换行,
- 间距与侧栏那条 `.board-glow-grid` 同一个值;侧栏那张卡仍是六列。 */
+ 间距与侧栏那条 `[data-glow-grid]` 同一个值;侧栏那张卡仍是六列。 */
const gridStyle = (root: string) => opened.page.locator(`${root} [data-glow-grid]`).evaluate((node) => {
const style = getComputedStyle(node);
return { tracks: style.gridTemplateColumns, gap: style.columnGap, inline: style.paddingLeft };
diff --git a/frontend/src/appearance/glow.ts b/frontend/src/appearance/glow.ts
new file mode 100644
index 000000000..5f9562df2
--- /dev/null
+++ b/frontend/src/appearance/glow.ts
@@ -0,0 +1,105 @@
+/* 光晕、玻璃面与强调色写到页面上,以及配色那几下点选。
+ *
+ * 光晕怎么算、怎么写在 `/js/home-glow.js`:那一份不认识偏好对象,这里把当前设置和目标元素递进去。
+ * 侧栏那一层写的是 `.glowlayer` 那枚空 div 而不是 <html>:自定义属性是继承的,写在根上整棵树都要
+ * 重算样式,实测每帧 15ms 上下,拖动时帧预算当场就超;量法和数字记在 web/css/01-base.css 那条规则
+ * 上面。一帧只写一次:指针拖动一秒能发上百个 pointermove,排进 requestAnimationFrame 之后写的就是
+ * 这一帧真正要画的那一份。
+ *
+ * 其余玻璃面(搜索框、顶栏图标钮、筛选浮层、设置卡的分区导航、媒体库与配色弹层、窄栏、选择工具条)
+ * 分散在整棵树上,没有共同的宿主,它们那两团反光的色相只能写在根上。写一次根就是整棵树重算样式,所以
+ * 那一条只接换档、点颜色和开关那几下。强调色同理:一次点选写一个属性,换来的是整页的按钮、焦点环和
+ * 链接跟着走。 */
+import {
+ ACCENTS, DEFAULT_ACCENT, DEFAULT_HOME_GLOW, HOME_GLOW_PRESETS, HOME_GLOW_SPOTS, glowAccent, glowChipFill, glowPalette,
+ isNativeGlass, normalizeAccent, paintGlassFaces, paintHomeGlow, type HomeGlow,
+} from '@peach/legacy/home-glow';
+
+import type { SettingsStore } from '../settings-store';
+import { appSettingsStore } from './settings';
+
+/** 这一层读写的那两项;store 上还有别的字段。 */
+export interface GlowSettings { homeGlow: HomeGlow; accent: string }
+type GlowStore = SettingsStore<GlowSettings>;
+
+/** 侧栏光晕那一层当场写一次。启动时第一帧之前走这一条。 */
+export function paintHomeGlowNow(store: GlowStore = appSettingsStore()): void {
+ paintHomeGlow(document.querySelector<HTMLElement>('.glowlayer'), store.value.homeGlow);
+}
+
+let glowFrame = 0;
+/** 排一帧重画侧栏光晕那一层;同一帧里再叫不另排。读的是那一帧时的设置。 */
+export function applyHomeGlow(store: GlowStore = appSettingsStore()): void {
+ if (glowFrame) return;
+ glowFrame = requestAnimationFrame(() => { glowFrame = 0; paintHomeGlowNow(store) });
+}
+
+export function applyGlassFaces(store: GlowStore = appSettingsStore()): void {
+ paintGlassFaces(document.documentElement, store.value.homeGlow);
+}
+
+export function applyAccent(store: GlowStore = appSettingsStore()): void {
+ document.documentElement.dataset.accent = store.value.accent;
+}
+
+/** 预设色块里的一格。`native` 那一格不带颜色,球色由样式表按当前主题取。 */
+export interface GlowChip { key: string; label: string; native: boolean; fill: string }
+
+const chip = (key: string, label: string, colors: readonly string[]): GlowChip =>
+ ({ key, label, native: isNativeGlass(key), fill: isNativeGlass(key) ? '' : glowChipFill(colors) });
+
+/* 预设色块照 feralui 的预设 chip 做:三枚光晕色等分一圈 conic-gradient,再叠 BoardUI 那三层白色高光。
+ 「自定义」只有在用户真手调过颜色之后才占一格:没调过时那一格里是一份和默认档一模一样的球,点它
+ 什么也不会变,读起来却像还有一档没试过。 */
+export function glowChips(glow: HomeGlow): GlowChip[] {
+ const chips = HOME_GLOW_PRESETS.map(([key, label, palette]) => chip(key, label, HOME_GLOW_SPOTS.map((spot) => palette[spot].color)));
+ if (glow.preset === 'custom') chips.push(chip('custom', '自定义', HOME_GLOW_SPOTS.map((spot) => glow[spot].color)));
+ return chips;
+}
+
+/** 强调色那一排:`[键, 名称]`。球色由样式表按 `data-accent-ball` 取这一档的 400 与 600 两级。 */
+export const ACCENT_CHOICES = ACCENTS;
+
+/* 换一档光晕连强调色一起换:一档配色就是一副面,光晕暖着、按钮还是蓝的,读起来是两套皮叠在一起。
+ 强调色那一排可以单独点,点完只改强调色、不动光晕——先给一套搭配好的,要拆开也拆得开。 */
+export function chooseGlowPreset(key: string, store: GlowStore = appSettingsStore()): void {
+ if (key === 'custom') return;
+ const glow = store.value.homeGlow;
+ glow.preset = key;
+ Object.assign(glow, glowPalette(key));
+ store.value.accent = glowAccent(key);
+ store.save();
+ applyHomeGlow(store); applyGlassFaces(store); applyAccent(store);
+}
+
+export function chooseAccent(key: string, store: GlowStore = appSettingsStore()): void {
+ store.value.accent = normalizeAccent(key);
+ store.save();
+ applyAccent(store);
+}
+
+/* 重置的是配色,不是整份光晕:标题就写着「光晕」和「强调色」,把强度和颗粒一起清掉会让人以为按错了键。
+ 整份恢复默认在详细设置那一屏。 */
+export function resetGlowColors(store: GlowStore = appSettingsStore()): void {
+ const glow = store.value.homeGlow;
+ glow.preset = DEFAULT_HOME_GLOW.preset;
+ Object.assign(glow, glowPalette(glow.preset));
+ store.value.accent = DEFAULT_ACCENT;
+ store.save();
+ applyHomeGlow(store); applyGlassFaces(store); applyAccent(store);
+}
+
+/* 侧栏底部那枚配色钮右下角的两枚小圆:上面那枚报当前预设的第一枚光晕色,下面那枚报强调色。光晕关掉
+ 之后上面那枚收起、只剩强调色那一枚——BoardUI 原版那颗点本来就是强调色。「玻璃原色」那一档没有光晕色
+ 可报,换成玻璃自带那两团反光色各一半,样式表按 `data-glow-native` 取。 */
+export function paintGlowButton(button: HTMLElement, glow: HomeGlow): void {
+ button.style.setProperty('--glow-swatch', glow.on ? glow.spot1.color : 'var(--color-accent-500)');
+ button.toggleAttribute('data-glow-native', glow.on && isNativeGlass(glow.preset));
+ button.toggleAttribute('data-glow-off', !glow.on);
+}
+
+/** 当场画一次那枚钮,之后每次落盘都跟上:钮常驻在壳里,点哪一处改的配色它都要对齐。 */
+export function wireGlowButton(button: HTMLElement, store: GlowStore = appSettingsStore()): () => void {
+ paintGlowButton(button, store.value.homeGlow);
+ return store.subscribe(() => paintGlowButton(button, store.value.homeGlow));
+}
diff --git a/frontend/src/appearance/index.ts b/frontend/src/appearance/index.ts
index 8f46fca8e..f615f5786 100644
--- a/frontend/src/appearance/index.ts
+++ b/frontend/src/appearance/index.ts
@@ -17,3 +17,8 @@ export {
photoLayout, photoSize, storeHomeLayout, storeJavLayout, storePhotoLayout, storePhotoSize, storeVideoLayout,
} from './layout';
export type { GridLayout } from './layout';
+export {
+ ACCENT_CHOICES, applyAccent, applyGlassFaces, applyHomeGlow, chooseAccent, chooseGlowPreset, glowChips, paintGlowButton,
+ paintHomeGlowNow, resetGlowColors, wireGlowButton,
+} from './glow';
+export type { GlowChip, GlowSettings } from './glow';
diff --git a/frontend/src/islands.ts b/frontend/src/islands.ts
index 398fd9403..a0d8ab4be 100644
--- a/frontend/src/islands.ts
+++ b/frontend/src/islands.ts
@@ -16,8 +16,6 @@ export {
defaultSortDir, JAV_RELEASE_SORT, nextSortState, preferredDirection, SORT_ALIASES, SORT_DIR_WORDS, SORT_KEYS, SORTS, sortDirWord,
} from './sort-preferences';
export * from './appearance';
-export { createSettingsStore } from './settings-store';
-export { boundedPreference } from './number-setting';
export { initBoardControls, syncBoardRange } from './board-controls';
export { transitionTheme } from './theme-transition';
export { sidebarSkeletonHtml } from './sidebar-skeleton';
@@ -290,6 +288,14 @@ export function loadBatchDock(host: ReactBundle.BatchDockHost): Promise<ReactBun
}
export const batchDockApi = (): ReactBundle.BatchDockApi | null => batchDockReady;
+/* 侧栏配色卡岛(`react/glow-picker/`):侧栏底部那枚配色钮点开的那张卡。卡的外壳由壳建、由壳锚定与
+ * 开合,壳启动时装载、把内容画进去;钮上那两枚小圆壳当场就画(`wireGlowButton`),不等这一份。 */
+let glowPicker: Promise<void> | null = null;
+export function loadGlowPicker(host: ReactBundle.GlowPickerHost): Promise<void> {
+ glowPicker ??= import('@peach/react').then((bundle) => bundle.configureGlowPicker(host));
+ return glowPicker;
+}
+
/* 壳的播放快捷键用到的播放器件(`frontend/src/player/`):控件点击、切换播放与快进快退都不带模块
* 状态。详情播放器、宿主与右键菜单带状态,只在舞台岛那一份产物里用。 */
export { clickPlayerControl, seekVideoBy, toggleVideoPlayback } from './player';
diff --git a/frontend/src/react/bundle.d.ts b/frontend/src/react/bundle.d.ts
index 4eb7a6797..35071834a 100644
--- a/frontend/src/react/bundle.d.ts
+++ b/frontend/src/react/bundle.d.ts
@@ -20,6 +20,7 @@ import type { ImmerseApi, ImmerseHost } from './immerse/immerse-api';
import type { SidebarApi, SidebarHost } from './sidebar/sidebar-api';
import type { ManageHeaderApi, ManageHeaderHost } from './manage-header/manage-header-api';
import type { BatchDockApi, BatchDockHost } from './batch-dock/batch-dock-api';
+import type { GlowPickerHost } from './glow-picker/glow-picker-api';
export type { IndexProps };
export type { CatalogGridProps };
@@ -553,6 +554,11 @@ export type {
/** 接上壳给的宿主,拿回批量条岛的命令式入口(`batch-dock/batch-dock-island.tsx`)。只调一次。 */
export declare function configureBatchDock(host: BatchDockHost): BatchDockApi;
+export type { GlowPickerHost } from './glow-picker/glow-picker-api';
+
+/** 接上壳给的宿主,当场画好侧栏配色卡的内容(`glow-picker/glow-picker-island.tsx`)。只调一次。 */
+export declare function configureGlowPicker(host: GlowPickerHost): void;
+
/** 在 `host` 上挂全站唯一的 Toaster;重复调用是空操作。 */
export declare function mountToaster(host: Element, icons: ToastIcons): void;
/** 发出一条回执;同一个 `id` 再调一次就是改写那一条。 */
diff --git a/frontend/src/react/components/glow-preset-grid.css b/frontend/src/react/components/glow-preset-grid.css
new file mode 100644
index 000000000..1d462f907
--- /dev/null
+++ b/frontend/src/react/components/glow-preset-grid.css
@@ -0,0 +1,25 @@
+/* 配色球与它们那一格(`glow-preset-grid.tsx`、侧栏配色卡的强调色那一排)。侧栏配色卡是六列;设置面板
+ * 那一格的列数在 `../settings-panel/settings-panel.css` 里改成跟着可用宽度走。
+ *
+ * 侧栏配色卡不包 `.peach-react`,Preflight 碰不到那一张卡里的 `<button>`。选择器全写属性,特指度和
+ * 旧样式表的类选择器同档;设置面板那一格在 `.peach-react` 里,Preflight 的标签规则特指度更低,压不过这里。 */
+:is([data-glow-grid],[data-accent-grid]){display:grid;grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px}
+/* 写死的 `display` 压得过 `[hidden]` 那条 UA 规则,收起光晕那一组要自己说一遍。 */
+[data-glow-grid][hidden]{display:none}
+[data-glow-chip]{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
+[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}
+/* 球面那三层白高光是 BoardUI 自己叠出来的,不是一个 radial 就完事:顶上一片大椭圆、
+ 里面一小片、底下一道反光,缺了底下那道,球看上去是贴纸不是球。 */
+[data-glow-ball]{position:relative;width:28px;height:28px;border-radius:50%;background:var(--glow-chip);
+ box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29;
+ transition:transform .15s ease}
+[data-glow-ball]::after{content:'';position:absolute;left:14%;right:14%;top:6%;height:38.5%;border-radius:50%;
+ background:linear-gradient(#ffffff8a,#ffffff00)}
+/* 强调色那一排球按 BoardUI 自己的画法:`radial-gradient(circle closest-side, 亮, 暗)`,
+ 取的就是这一档真会被换上去的 400 与 600 两级,所以球色不可能和按钮对不上。
+ 「玻璃原色」那一格画的是这块玻璃自带的两团反光色,一半一半:那一档没有三枚光晕可画,
+ 拿别的颜色顶上去会让人以为选中它之后侧栏是那个颜色。深色两团同色,球于是是一整颗。 */
+[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}
+[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}
+[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}
+[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}
diff --git a/frontend/src/react/components/glow-preset-grid.tsx b/frontend/src/react/components/glow-preset-grid.tsx
new file mode 100644
index 000000000..c1abbb4bf
--- /dev/null
+++ b/frontend/src/react/components/glow-preset-grid.tsx
@@ -0,0 +1,32 @@
+/* 光晕预设那一格:设置面板「配色」那一组和侧栏底部配色卡上半张是同一组色块、同一份写入。两处都读
+ * 同一份 store(`@peach/appearance` 的 `appSettingsStore`),点哪一边,另一边经 store 通知当场对齐。
+ *
+ * 选中一档写什么(光晕、玻璃面色相、强调色一起换)在 `appearance/glow.ts` 的 `chooseGlowPreset`;
+ * 这里只画球。「自定义」那一格会出现或消失,按档名做 key,正落着焦点的那一枚是同一个节点,
+ * 键盘选完一档焦点不会掉回页面开头。
+ *
+ * 样式在 `./glow-preset-grid.css`。 */
+import type { CSSProperties } from 'react';
+
+import { chooseGlowPreset, glowChips, type GlowSettings } from '@peach/appearance';
+
+import type { SettingsStore } from '../../settings-store';
+import './glow-preset-grid.css';
+
+export function GlowPresetGrid({ store, label, hidden }: {
+ store: SettingsStore<GlowSettings>; label: string; hidden?: boolean;
+}) {
+ const glow = store.value.homeGlow;
+ return (
+ <div data-glow-grid="" role="group" aria-label={label} hidden={hidden}>
+ {glowChips(glow).map((chip) => (
+ <button type="button" key={chip.key} data-glow-chip="" data-glow-preset={chip.key}
+ aria-pressed={chip.key === glow.preset} title={chip.label} aria-label={chip.label}
+ onClick={() => chooseGlowPreset(chip.key, store)}>
+ <span data-glow-ball="" aria-hidden="true" data-glow-native={chip.native ? '' : undefined}
+ style={chip.native ? undefined : { '--glow-chip': chip.fill } as CSSProperties} />
+ </button>
+ ))}
+ </div>
+ );
+}
diff --git a/frontend/src/react/components/media-card.tsx b/frontend/src/react/components/media-card.tsx
index d8a079cf2..12bc140ef 100644
--- a/frontend/src/react/components/media-card.tsx
+++ b/frontend/src/react/components/media-card.tsx
@@ -27,7 +27,7 @@ import { spinnerHtml } from '@peach/legacy/ui';
import type { MediaCardActions, MediaCardHelpers, MediaCardLayout, MediaItem } from '../catalog-grid/types';
import { ArtSlot } from './art-slot';
-/** 大图卡片的容器比例,同遗留层 `COVER_FRONT_RATIO`:正封宽高比 0.667~0.749,0.75 比最宽
+/** 大图卡片的容器比例,同 `appearance/layout.ts` 的 `COVER_FRONT_RATIO`:正封宽高比 0.667~0.749,0.75 比最宽
* 的那张还宽,一张都不用从左边切。 */
export const COVER_FRONT_RATIO = 0.75;
/** 竖屏一律同一个比例,不按每条视频的实际宽高:竖屏条与竖屏网格才高低一致。 */
diff --git a/frontend/src/react/entry.tsx b/frontend/src/react/entry.tsx
index f26941025..64c5606b9 100644
--- a/frontend/src/react/entry.tsx
+++ b/frontend/src/react/entry.tsx
@@ -47,6 +47,7 @@ import { DEFAULT_WINDOW, prefetchTaste } from './taste/taste';
import { TastePage } from './taste/taste-page';
export { configureBatchDock } from './batch-dock/batch-dock-island';
+export { configureGlowPicker } from './glow-picker/glow-picker-island';
export { configureImmerse } from './immerse/immerse-island';
export { configureManageHeader } from './manage-header/manage-header-island';
export { configureSettingsPanel } from './settings-panel/settings-panel';
diff --git a/frontend/src/react/glow-picker/glow-picker-api.ts b/frontend/src/react/glow-picker/glow-picker-api.ts
new file mode 100644
index 000000000..8389204a2
--- /dev/null
+++ b/frontend/src/react/glow-picker/glow-picker-api.ts
@@ -0,0 +1,15 @@
+/* 侧栏配色卡岛(`glow-picker-island.tsx`)与壳之间的接缝。
+ *
+ * 卡的外壳(`#boardGlowMenu`:popover、玻璃材质、锚定与开合)由壳建、由壳的 `wireAnchoredMenu` 管;
+ * 岛只往里画内容。读写的是壳那一份界面偏好 store,钮上那两枚小圆与设置面板都订阅同一份。 */
+import type { GlowSettings } from '@peach/appearance';
+
+import type { SettingsStore } from '../../settings-store';
+
+export interface GlowPickerHost {
+ /** 卡本身;岛的根直接挂在它上面,内容就是它的子节点。 */
+ root: HTMLElement;
+ store: SettingsStore<GlowSettings>;
+ /** 「详细设置」:收起这张卡,开设置面板「界面」那一页并滚到光晕参数。 */
+ openDetails(): void;
+}
diff --git a/frontend/src/react/glow-picker/glow-picker-island.tsx b/frontend/src/react/glow-picker/glow-picker-island.tsx
new file mode 100644
index 000000000..37fbf55bc
--- /dev/null
+++ b/frontend/src/react/glow-picker/glow-picker-island.tsx
@@ -0,0 +1,54 @@
+/* 侧栏配色卡岛:侧栏底部那枚配色钮点开的那张卡,照 boardui.com 右下角那枚「Accent color」。
+ *
+ * 头部一行标题加「重置」文字键,主体是两组 6 列圆球——上面一组光晕(与设置面板「配色」同一组,
+ * `GlowPresetGrid`)、下面一组强调色(BoardUI 自己那颗 radial-gradient 的球),底部一枚全宽主按钮
+ * 通到详细设置。实测见 docs/reference-snapshots/feralui-studio-boardui-accent-measured.md。
+ *
+ * 宿主是壳常驻在 body 末尾的 `#boardGlowMenu`,一棵根常驻,壳启动时接上。锚定、开合、玻璃材质与
+ * 和媒体库菜单互斥都在壳的 `wireAnchoredMenu` 里,卡不换成 BoardUI Popover:那一套动效与材质要在
+ * Popover 外面再复刻一遍才对得上像素,复刻出来的就是第二份。
+ *
+ * 光晕关掉之后卡上只剩强调色可挑:上面那一组球和它的「重置」换的是一层现在不画的东西,点下去
+ * 屏幕上没有任何反应,整组收起来,卡就只说当前还管用的那一件事。 */
+import { useSyncExternalStore } from 'react';
+import { flushSync } from 'react-dom';
+import { createRoot } from 'react-dom/client';
+
+import { ACCENT_CHOICES, chooseAccent, resetGlowColors } from '@peach/appearance';
+
+import { GlowPresetGrid } from '../components/glow-preset-grid';
+import type { GlowPickerHost } from './glow-picker-api';
+import './glow-picker.css';
+
+/** 接上壳给的宿主,当场画好卡的内容。只调一次。 */
+export function configureGlowPicker(host: GlowPickerHost): void {
+ const root = createRoot(host.root);
+ flushSync(() => root.render(<GlowPicker host={host} />));
+}
+
+function GlowPicker({ host }: { host: GlowPickerHost }) {
+ const { store } = host;
+ useSyncExternalStore(store.subscribe, store.version);
+ const { homeGlow: glow, accent } = store.value;
+ return (
+ <>
+ <header data-glow-head="" data-glow-presets="" hidden={!glow.on}>
+ <span>光晕</span>
+ {/* 这里重置的是配色,不是整份光晕:强度和颗粒一起清掉会让人以为按错了键。整份恢复默认在详细设置那一屏。 */}
+ <button type="button" data-glow-preset-reset="" onClick={() => resetGlowColors(store)}>重置</button>
+ </header>
+ <GlowPresetGrid store={store} label="光晕" hidden={!glow.on} />
+ <p data-glow-head="" data-glow-sub=""><span>强调色</span></p>
+ <div data-accent-grid="" role="group" aria-label="强调色">
+ {/* 强调色那一排同样不带颜色:球拿的就是这一档真会写上去的 400 与 600 两级。 */}
+ {ACCENT_CHOICES.map(([key, label]) => (
+ <button type="button" key={key} data-glow-chip="" data-accent={key} aria-pressed={key === accent}
+ title={label} aria-label={label} onClick={() => chooseAccent(key, store)}>
+ <span data-glow-ball="" aria-hidden="true" data-accent-ball={key} />
+ </button>
+ ))}
+ </div>
+ <footer><button type="button" className="geist-button primary" data-glow-detail="" onClick={() => host.openDetails()}>详细设置</button></footer>
+ </>
+ );
+}
diff --git a/frontend/src/react/glow-picker/glow-picker.css b/frontend/src/react/glow-picker/glow-picker.css
new file mode 100644
index 000000000..754ffe31c
--- /dev/null
+++ b/frontend/src/react/glow-picker/glow-picker.css
@@ -0,0 +1,10 @@
+/* 侧栏配色卡里的标题行(`glow-picker-island.tsx`)。卡的几何、玻璃材质和底部那枚全宽按钮归壳的
+ * `#boardGlowMenu`(`web/board.css` 的 `.board-glow-menu`);球和它们那一格在 `../components/glow-preset-grid.css`。 */
+[data-glow-head]{display:flex;align-items:center;justify-content:space-between;padding:0 4px 8px;color:var(--muted);font-size:12px}
+/* 两组之间那条小标题:和头部同一档灰、同一个字号,只是不带右边的文字键。 */
+[data-glow-sub]{margin:12px 0 0}
+[data-glow-preset-reset]{padding:0;border:0;background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}
+[data-glow-preset-reset]:hover{color:var(--ink)}
+/* 收起光晕那一组之后「强调色」成了卡里第一样东西,它那 12px 的上间距也一起归零。 */
+[data-glow-head][hidden]{display:none}
+[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}
diff --git a/frontend/src/react/settings-panel/glow-settings.tsx b/frontend/src/react/settings-panel/glow-settings.tsx
index 4f31f3447..209d84e11 100644
--- a/frontend/src/react/settings-panel/glow-settings.tsx
+++ b/frontend/src/react/settings-panel/glow-settings.tsx
@@ -2,9 +2,8 @@
* 右侧等宽读数」,颜色行点开在自己下方弹一张色板。
* 取证见 docs/reference-snapshots/feralui-studio-boardui-accent-measured.md。
*
- * 预设色块在这一屏和侧栏底部那枚配色钮上各有一份,是同一组色块、同一份写入:那一格由壳画、
- * 由壳接(`host.renderGlowGrid` / `host.wireGlowGrid`),两处读的都是 `appSettings.homeGlow`,
- * 点哪一边另一边当场对齐。当前档名、预设色块和五条参数同属「配色」这一组。
+ * 预设色块在这一屏和侧栏底部那张配色卡上是同一组色块、同一份写入(`GlowPresetGrid`),两处读的都是
+ * 壳那一份 store,点哪一边另一边当场对齐。当前档名、预设色块和五条参数同属「配色」这一组。
*
* 「玻璃原色」那一档没有三枚光晕:那一层整个算作 0,面上漂的是每块玻璃自带的两团反光。强度、
* 颗粒、柔化、大小和三枚颜色于是全都管不着任何东西,这一档把它们收起来,换一句说明颜色由明暗
@@ -17,6 +16,7 @@ import {
normalizeHomeGlow,
} from '@peach/legacy/home-glow';
+import { GlowPresetGrid } from '../components/glow-preset-grid';
import type { HomeGlow, SettingsPanelHost } from './settings-panel-api';
import { Icon } from './icon';
import { DialRow } from './legacy-controls';
@@ -29,19 +29,6 @@ const FIELDS: readonly [Field, string, number][] = [
];
-/** 预设那一格。整格由壳重画:「自定义」那一格会出现或消失,焦点落在哪一枚由壳接回。 */
-function PresetGrid({ host, version }: { host: SettingsPanelHost; version: number }) {
- const grid = useRef<HTMLDivElement | null>(null);
- const wired = useRef(false);
- useLayoutEffect(() => {
- const node = grid.current;
- if (!node) return;
- if (!wired.current) { host.wireGlowGrid(node); wired.current = true }
- host.renderGlowGrid(node);
- }, [host, version]);
- return <div className="board-glow-grid" data-glow-grid="" role="group" aria-label="光晕配色" ref={grid} />;
-}
-
function StopRow({ host, spot, index, glow }: { host: SettingsPanelHost; spot: Spot; index: number; glow: HomeGlow }) {
const label = GLOW_SPOT_LABELS[index];
const row = useRef<HTMLDivElement | null>(null);
@@ -93,14 +80,14 @@ function StopRow({ host, spot, index, glow }: { host: SettingsPanelHost; spot: S
);
}
-export function GlowSettings({ host, version }: { host: SettingsPanelHost; version: number }) {
+export function GlowSettings({ host }: { host: SettingsPanelHost }) {
const glow = host.store.value.homeGlow;
const native = isNativeGlass(glow.preset);
return (
<section data-glow-setting="" id="homeGlowControls" aria-label="侧栏光晕参数" hidden={!glow.on}>
<section data-glow-group=""><h4>配色</h4>
<p data-glow-current="">当前配色<b data-glow-preset-name="">{glowPresetName(glow.preset)}</b></p>
- <PresetGrid host={host} version={version} />
+ <GlowPresetGrid store={host.store} label="光晕配色" />
<p data-glow-native-note="" hidden={!native}>这一档用每块玻璃自带的反光,颜色跟着明暗主题走。</p>
<div data-glow-fields="">
{/* 拖动中只改参数、只排一帧重画;落盘留给松手那一下。其余玻璃面跟着走的只有速度,
diff --git a/frontend/src/react/settings-panel/settings-panel-api.ts b/frontend/src/react/settings-panel/settings-panel-api.ts
index 20898480b..191c6fb02 100644
--- a/frontend/src/react/settings-panel/settings-panel-api.ts
+++ b/frontend/src/react/settings-panel/settings-panel-api.ts
@@ -28,6 +28,8 @@ export interface PanelSettings {
theme: string;
uiSounds: boolean;
homeGlow: HomeGlow;
+ /** 预设格选一档时连强调色一起换(`@peach/appearance` 的 `chooseGlowPreset`)。 */
+ accent: string;
sidebarOrder: string[];
batchSize: number;
defaultSort: string;
@@ -79,9 +81,6 @@ export interface SettingsPanelHost {
setCensored(on: boolean): void;
highContrast(): boolean;
setHighContrast(on: boolean): void;
- /** 光晕预设那一格和侧栏配色卡是同一组色块、同一份写入,由壳画、由壳接。 */
- renderGlowGrid(grid: HTMLElement): void;
- wireGlowGrid(grid: HTMLElement): void;
receipt(message: string): void;
failure(message: string, error: unknown): void;
/** 账本上的那份与本地缓存对账(壳里的 `applySyncedSettings`),启动时壳自己也走这一条。 */
diff --git a/frontend/src/react/settings-panel/settings-panel.css b/frontend/src/react/settings-panel/settings-panel.css
index 79db9dbb0..6e18fc97c 100644
--- a/frontend/src/react/settings-panel/settings-panel.css
+++ b/frontend/src/react/settings-panel/settings-panel.css
@@ -101,11 +101,11 @@
[data-settings-panel] [data-glow-setting][hidden]{display:none}
[data-settings-panel] [data-glow-current]{display:flex;align-items:center;gap:8px;margin:0;min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm)}
[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}
-/* 预设色块和侧栏配色卡同一组、同一条 `.board-glow-grid`,间距是那条规则里的 6px。
- 这一行有整块设置那么宽,列数跟着可用宽度走:每格就是一枚球(`.board-glow-chip` 的
- 28px),能放几枚放几枚,排满再换行;列宽不跟行宽走,球挨着排、不被拉开。
+/* 预设色块和侧栏配色卡同一组、同一条 `[data-glow-grid]`(`../components/glow-preset-grid.css`),
+ 间距是那条规则里的 6px。这一行有整块设置那么宽,列数跟着可用宽度走:每格就是一枚球
+ (`[data-glow-chip]` 的 28px),能放几枚放几枚,排满再换行;列宽不跟行宽走,球挨着排、不被拉开。
左边不留那 4px:这一行的字从内容左缘起,球也从那里起。 */
-[data-settings-panel] [data-glow-setting] [class~=board-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}
+[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}
[data-settings-panel] [data-glow-group]{display:grid;gap:0;min-width:0}
/* 「玻璃原色」那一档下面这行字顶替被收走的几条拉条和三行颜色。和上面那行「当前配色」
同一档字色与行高,读起来是同一列里的一句话,不是插进来的提示条。 */
diff --git a/frontend/src/react/settings-panel/settings-panel.tsx b/frontend/src/react/settings-panel/settings-panel.tsx
index 3f2d058b3..855bdb483 100644
--- a/frontend/src/react/settings-panel/settings-panel.tsx
+++ b/frontend/src/react/settings-panel/settings-panel.tsx
@@ -287,7 +287,8 @@ const savingHtml = () => `${spinnerHtml('保存中')}<span>正在保存…</span
const errorText = (error: unknown, fallback: string) => (error instanceof Error && error.message) || fallback;
function SettingsPanel({ host: current, view: shown }: { host: SettingsPanelHost; view: View }) {
- const version = useSyncExternalStore(current.store.subscribe, current.store.version);
+ /* 订阅只为重画:读的是活对象 `store.value`,版本号本身不用。 */
+ useSyncExternalStore(current.store.subscribe, current.store.version);
const settings = current.store.value;
const panel = useRef<HTMLElement | null>(null);
const card = useRef<HTMLDivElement | null>(null);
@@ -363,7 +364,7 @@ function SettingsPanel({ host: current, view: shown }: { host: SettingsPanelHost
<ToggleRow id="homeGlowSetting" title="侧栏光晕" checked={settings.homeGlow.on}
description="左栏玻璃面上那三枚慢慢漂动的光,其余玻璃面跟着取前两枚的颜色。配色在下面或左栏底部那枚配色钮上挑,强调色在配色钮上挑;这里还调强度、颗粒、漂移速度、柔化、大小和每一枚光晕的颜色。浅色主题按同一组颜色淡一档显示。"
onToggle={(on) => { settings.homeGlow.on = on; save(); current.changed('glow') }} />
- <GlowSettings host={current} version={version} />
+ <GlowSettings host={current} />
<section data-sidebar-setting="" aria-labelledby="sidebarOrderTitle">
<span><b id="sidebarOrderTitle">左侧导航</b>
<small>直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。</small></span>
diff --git a/frontend/test/appearance/glow.test.ts b/frontend/test/appearance/glow.test.ts
new file mode 100644
index 000000000..6aa889240
--- /dev/null
+++ b/frontend/test/appearance/glow.test.ts
@@ -0,0 +1,31 @@
+/* 光晕那一层的写入时机(`src/appearance/glow.ts`)。点选写什么由 `test/react/glow-picker.test.tsx` 走。 */
+import { beforeEach, expect, it, vi } from 'vitest';
+
+import { normalizeHomeGlow } from '@peach/legacy/home-glow';
+
+import { applyHomeGlow, paintHomeGlowNow, type GlowSettings } from '../../src/appearance/glow';
+import { SETTINGS_KEY } from '../../src/appearance/settings';
+import { createSettingsStore } from '../../src/settings-store';
+
+const store = () => createSettingsStore<GlowSettings>(SETTINGS_KEY, { homeGlow: { ...normalizeHomeGlow(null), strength: 100 }, accent: 'blue' });
+const strength = () => document.querySelector<HTMLElement>('.glowlayer')!.style.getPropertyValue('--glow-strength');
+
+beforeEach(() => { document.body.innerHTML = '<div class="glowlayer"></div>' });
+
+it('启动那一次当场写进侧栏那一层,不等下一帧', () => {
+ paintHomeGlowNow(store());
+ expect(strength()).toBe('1');
+});
+
+it('拖动时一帧只写一次,写的是那一帧时的值', () => {
+ const frames: FrameRequestCallback[] = [];
+ vi.stubGlobal('requestAnimationFrame', (run: FrameRequestCallback) => frames.push(run));
+ const current = store();
+ for (const value of [80, 60, 40]) { current.value.homeGlow.strength = value; applyHomeGlow(current) }
+ expect([frames.length, strength()]).toEqual([1, '']);
+ frames.shift()!(0);
+ expect(strength()).toBe('0.4');
+ current.value.homeGlow.strength = 20; applyHomeGlow(current);
+ expect(frames.length).toBe(1);
+ vi.unstubAllGlobals();
+});
diff --git a/frontend/test/jav-artwork.test.ts b/frontend/test/jav-artwork.test.ts
index 9e519b71c..7ec2b37f0 100644
--- a/frontend/test/jav-artwork.test.ts
+++ b/frontend/test/jav-artwork.test.ts
@@ -1,4 +1,5 @@
import { describe, expect, it } from 'vitest';
+import { COVER_FRONT_RATIO } from '../src/appearance/layout';
import { javImageKind, normalizeJavImage, normalizeJavPreferences, panelFrame, relayoutJavImages, syncJavImages } from '../src/jav-artwork';
describe('JAV 默认封面', () => {
@@ -83,10 +84,9 @@ describe('JAV 默认封面', () => {
});
});
-/* 大图版式的容器比例,与 `web/app.js` 的 `COVER_FRONT_RATIO` 同一个值。
- 它是常量不是变量,所以这里写字面量而不是从 app.js 里取——那份是无构建的旧层,
- 引进来只会把整个页面壳拖进单测。 */
-const BIG_LAYOUT_RATIO = 0.75;
+/* 大图版式的容器比例,取的就是版式那一层(`src/appearance/layout.ts`)真会用的那个值;
+ 下面算式里写的 0.75 就是它。 */
+const BIG_LAYOUT_RATIO = COVER_FRONT_RATIO;
/** 算出来的那两档框永远满高贴右缘,纵向两个轴因此恒为 0 与 100。 */
const fullHeight = (left: number) => ({ top: 0, right: 0, bottom: 0, left });
diff --git a/frontend/test/legacy-class-names.test.ts b/frontend/test/legacy-class-names.test.ts
index c5d9e6461..40655238e 100644
--- a/frontend/test/legacy-class-names.test.ts
+++ b/frontend/test/legacy-class-names.test.ts
@@ -32,7 +32,7 @@ it('React 样式产物的类名不和旧样式表同名', () => {
.flatMap((name) => [...classNames(read('css', name))]),
]);
/* 这两枚是两边约好的名字,同名正是契约:`.peach-react` 让旧样式表把 React 子树排除在
- 全局焦点环之外;`.dark` 是 `web/app.js` 的 `applyTheme` 挂在 <html> 上的主题标记,旧
+ 全局焦点环之外;`.dark` 是 `src/appearance/theme.ts` 的 `applyTheme` 挂在 <html> 上的主题标记,旧
样式表按它给浅色单独换面,React 侧 Tailwind 的 dark 变体读的也是它。 */
const agreed = new Set(['peach-react', 'dark']);
/* `video-js` 与 `vjs-*` 是 Video.js 的组件契约:类由它自己的组件挂上,播放器样式
diff --git a/frontend/test/react/glow-picker.test.tsx b/frontend/test/react/glow-picker.test.tsx
new file mode 100644
index 000000000..1fa9b97a4
--- /dev/null
+++ b/frontend/test/react/glow-picker.test.tsx
@@ -0,0 +1,118 @@
+/* 侧栏配色卡岛与它底下那枚配色钮:两组球画什么、点下去写什么,光晕关掉之后卡上剩什么,以及设置
+ * 面板那一格改了配色这里当场跟上。卡的锚定、开合、玻璃材质与球的像素在真浏览器里量(`e2e/design.test.ts`)。 */
+import { act } from 'react';
+import { beforeEach, describe, expect, it, vi } from 'vitest';
+
+import { ACCENTS, DEFAULT_ACCENT, glowAccent, glowPalette, normalizeHomeGlow } from '@peach/legacy/home-glow';
+
+import { chooseGlowPreset, wireGlowButton, type GlowSettings } from '../../src/appearance/glow';
+import { SETTINGS_KEY } from '../../src/appearance/settings';
+import { configureGlowPicker } from '../../src/react/glow-picker/glow-picker-island';
+import { createSettingsStore } from '../../src/settings-store';
+import { click } from './render';
+
+function setup(patch: Partial<GlowSettings['homeGlow']> = {}, accent = 'blue') {
+ document.body.innerHTML = '<div class="glowlayer"></div><button id="boardGlowBtn"></button>';
+ const root = document.createElement('div');
+ document.body.append(root);
+ const store = createSettingsStore<GlowSettings>(SETTINGS_KEY, { homeGlow: { ...normalizeHomeGlow(null), ...patch }, accent });
+ const openDetails = vi.fn();
+ act(() => configureGlowPicker({ root, store, openDetails }));
+ return { root, store, openDetails };
+}
+
+const pressed = (root: ParentNode, selector: string) =>
+ [...root.querySelectorAll(`${selector}[aria-pressed="true"]`)].map((chip) => chip.getAttribute('aria-label'));
+
+beforeEach(() => {
+ localStorage.clear();
+ /* 当场跑完那一帧;回 0,模块里那枚「已排过一帧」的记号也就跟着清零。 */
+ vi.stubGlobal('requestAnimationFrame', (run: FrameRequestCallback) => { run(0); return 0 });
+});
+
+describe('两组球', () => {
+ it('上面一组是光晕预设,下面一组是十二档强调色,各自按下当前那一档', () => {
+ const { root } = setup({ preset: 'ash' }, 'teal');
+ const grids = [...root.querySelectorAll('[role="group"]')].map((grid) => grid.getAttribute('aria-label'));
+ expect(grids).toEqual(['光晕', '强调色']);
+ expect([...root.querySelectorAll('[data-glow-head]')].map((head) => head.textContent)).toEqual(['光晕重置', '强调色']);
+ expect(pressed(root, '[data-glow-preset]')).toEqual(['灰雾']);
+ expect([...root.querySelectorAll('[data-accent]')].map((chip) => chip.getAttribute('data-accent')))
+ .toEqual(ACCENTS.map(([key]) => key));
+ expect(root.querySelector('[data-accent="teal"] [data-accent-ball="teal"]')).not.toBeNull();
+ expect(pressed(root, '[data-accent]')).toEqual([ACCENTS.find(([key]) => key === 'teal')![1]]);
+ });
+
+ it('「玻璃原色」那一格的球不带颜色,交给样式表按主题取;其余每格带一份 conic 填充', () => {
+ const { root } = setup();
+ const native = root.querySelector<HTMLElement>('[data-glow-preset="native"] [data-glow-ball]')!;
+ expect([native.hasAttribute('data-glow-native'), native.style.getPropertyValue('--glow-chip')]).toEqual([true, '']);
+ const ash = root.querySelector<HTMLElement>('[data-glow-preset="ash"] [data-glow-ball]')!;
+ expect(ash.style.getPropertyValue('--glow-chip')).toMatch(/^conic-gradient\(/);
+ });
+
+ it('「自定义」只在真手调过颜色之后才占一格', () => {
+ expect(setup().root.querySelector('[data-glow-preset="custom"]')).toBeNull();
+ expect(setup({ preset: 'custom' }).root.querySelector('[data-glow-preset="custom"]')).not.toBeNull();
+ });
+});
+
+describe('点下去写什么', () => {
+ it('换一档光晕连强调色一起换,并把光晕、玻璃面与强调色写到页面上', async () => {
+ const { root, store } = setup({ preset: 'ash' });
+ await click(root.querySelector('[data-glow-preset="amber"]'));
+ expect(store.value.homeGlow).toMatchObject({ preset: 'amber', ...glowPalette('amber') });
+ expect(store.value.accent).toBe(glowAccent('amber'));
+ expect(JSON.parse(localStorage.getItem(SETTINGS_KEY)!).homeGlow.preset).toBe('amber');
+ expect(document.documentElement.dataset.accent).toBe(glowAccent('amber'));
+ expect(document.querySelector<HTMLElement>('.glowlayer')!.style.getPropertyValue('--glow-strength')).not.toBe('');
+ expect(pressed(root, '[data-glow-preset]')).toEqual(['钨丝暖阁']);
+ });
+
+ it('单点强调色只改强调色,不动光晕', async () => {
+ const { root, store } = setup({ preset: 'ash' });
+ await click(root.querySelector('[data-accent="rose"]'));
+ expect([store.value.accent, store.value.homeGlow.preset, document.documentElement.dataset.accent]).toEqual(['rose', 'ash', 'rose']);
+ });
+
+ it('「重置」把配色与强调色收回默认,强度这类参数不动', async () => {
+ const { root, store } = setup({ preset: 'amber', strength: 40 }, 'rose');
+ await click(root.querySelector('[data-glow-preset-reset]'));
+ expect(store.value.homeGlow).toMatchObject({ preset: 'ash', strength: 40, ...glowPalette('ash') });
+ expect(store.value.accent).toBe(DEFAULT_ACCENT);
+ });
+
+ it('「详细设置」交回壳去开设置面板', async () => {
+ const { root, openDetails } = setup();
+ await click(root.querySelector('[data-glow-detail]'));
+ expect(openDetails).toHaveBeenCalledTimes(1);
+ });
+});
+
+describe('与别处同步', () => {
+ it('光晕关掉之后只剩强调色那一组,标题与「重置」一起收起', () => {
+ const { root } = setup({ on: false });
+ expect([root.querySelector<HTMLElement>('[data-glow-presets]')!.hidden, root.querySelector<HTMLElement>('[data-glow-grid]')!.hidden,
+ root.querySelector<HTMLElement>('[data-accent-grid]')!.hidden]).toEqual([true, true, false]);
+ });
+
+ it('设置面板那一格选一档,卡里同一枚当场按下,焦点所在那一枚还是同一个节点', () => {
+ const { root, store } = setup({ preset: 'ash' });
+ const amber = root.querySelector('[data-glow-preset="amber"]');
+ act(() => chooseGlowPreset('amber', store));
+ expect(pressed(root, '[data-glow-preset]')).toEqual(['钨丝暖阁']);
+ expect(root.querySelector('[data-glow-preset="amber"]')).toBe(amber);
+ });
+
+ it('配色钮上那枚点报第一枚光晕色,原色那一档挂标记,光晕关掉之后改报强调色', () => {
+ const { store } = setup({ preset: 'ash' });
+ const button = document.querySelector<HTMLElement>('#boardGlowBtn')!;
+ wireGlowButton(button, store);
+ const paint = () => [button.style.getPropertyValue('--glow-swatch'), button.hasAttribute('data-glow-native'), button.hasAttribute('data-glow-off')];
+ expect(paint()).toEqual([store.value.homeGlow.spot1.color, false, false]);
+ act(() => chooseGlowPreset('native', store));
+ expect(paint()).toEqual([store.value.homeGlow.spot1.color, true, false]);
+ store.value.homeGlow.on = false; store.save();
+ expect(paint()).toEqual(['var(--color-accent-500)', false, true]);
+ });
+});
diff --git a/frontend/test/react/settings-panel.test.tsx b/frontend/test/react/settings-panel.test.tsx
index f3bf0c264..0f920596e 100644
--- a/frontend/test/react/settings-panel.test.tsx
+++ b/frontend/test/react/settings-panel.test.tsx
@@ -24,7 +24,7 @@ interface Stage {
}
const settings = (): PanelSettings => ({
- theme: 'system', uiSounds: true, homeGlow: { ...normalizeHomeGlow(null), on: true, preset: 'ash' },
+ theme: 'system', uiSounds: true, homeGlow: { ...normalizeHomeGlow(null), on: true, preset: 'ash' }, accent: 'blue',
sidebarOrder: [''], batchSize: 60, defaultSort: 'seed', defaultSortDirection: '', groupCollapse: true,
javImage: 'cover', feedAutoScroll: true, feedHideGroupCompilations: true, feedHideSoloCompilations: false,
feedHideExcerpts: true, hoverDelaySeconds: 5, detailAutoplay: false, miniplayer: true, seekSeconds: 10,
@@ -44,7 +44,6 @@ function stage(): Stage {
followInitialRanges: [['30', '30 天']],
videoLayout: () => 'small', setVideoLayout: () => {},
censored: () => false, setCensored: () => {}, highContrast: () => false, setHighContrast: () => {},
- renderGlowGrid: () => {}, wireGlowGrid: () => {},
receipt: () => {}, failure: () => {}, syncRemote: () => {}, openConfiguration: () => {}, attached: () => {},
configurable: async () => false,
});
diff --git a/frontend/vite.react.config.ts b/frontend/vite.react.config.ts
index 61cd00f1f..7c894f044 100644
--- a/frontend/vite.react.config.ts
+++ b/frontend/vite.react.config.ts
@@ -7,8 +7,9 @@
* `@/` 指向 `src/react/boardui/`,上游 BoardUI 源码里的 `@/utils/cx` 因此原样成立。
* EvilCharts 源码的 `@/registry/*` 与 `@/lib/utils` 排在它前面:别名按书写顺序取第一个命中的。
*
- * 卡片图片助手(`@peach/card-art`)不打进这份产物,改写成 `/dist/peach-ui.js`:代表作表、悬停
- * 配置和 document 上那组取景监听只能有一份,打两份就是壳写一张表、岛读另一张。 */
+ * 卡片图片助手(`@peach/card-art`)与外观应用层(`@peach/appearance`)不打进这份产物,改写成
+ * `/dist/peach-ui.js`:代表作表、悬停配置、document 上那组取景监听和界面偏好 store 都只能有一份,
+ * 打两份就是壳写一份、岛读另一份。 */
import { fileURLToPath } from 'node:url';
import tailwindcss from '@tailwindcss/vite';
@@ -16,7 +17,9 @@ import { defineConfig } from 'vite';
import { LEGACY_MODULES } from './vite.config.ts';
-const SHARED_MODULES = { ...LEGACY_MODULES, '@peach/card-art': '/dist/peach-ui.js' } as const;
+const SHARED_MODULES = {
+ ...LEGACY_MODULES, '@peach/card-art': '/dist/peach-ui.js', '@peach/appearance': '/dist/peach-ui.js',
+} as const;
export default defineConfig({
plugins: [tailwindcss()],
diff --git a/tests/test_source_assertion_ratchet.py b/tests/test_source_assertion_ratchet.py
index 9f2f93982..97d6c44ef 100644
--- a/tests/test_source_assertion_ratchet.py
+++ b/tests/test_source_assertion_ratchet.py
@@ -53,7 +53,7 @@ BASELINE: dict[str, int] = {
"test_web_e2e.py": 2,
"test_web_js.py": 1,
"test_web_settings.py": 5,
- "test_web_ui.py": 2142,
+ "test_web_ui.py": 2122,
"test_windows_update.py": 3,
}
diff --git a/tests/test_web_ui.py b/tests/test_web_ui.py
index 0a00c554f..c5d1d7da7 100644
--- a/tests/test_web_ui.py
+++ b/tests/test_web_ui.py
@@ -3913,9 +3913,11 @@ class WebUiSourceTests(unittest.TestCase):
"el.style.removeProperty('--glass-tint-b');return}")
self.assertCode("el.style.setProperty('--glass-tint-a',glow.spot1.color);")
# 这一档的圆球与钮上那颗点画的是当前主题下真在漂的那两色,不拿别的颜色顶。
+ balls = (Path(__file__).resolve().parents[1]
+ / "frontend/src/react/components/glow-preset-grid.css").read_text(encoding="utf-8")
+ self.assertIn("[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient"
+ "(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}", balls)
css = (Path(__file__).resolve().parents[1] / "web/board.css").read_text(encoding="utf-8")
- self.assertIn(".board-glow-ball[data-glow-native]{--glow-chip:conic-gradient"
- "(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}", css)
self.assertIn(".board-glow-toggle[data-glow-native] .board-glow-mark-glow{", css)
# 设置面板里这一档只留漂移速度:其余几条管不着任何东西,留着就是按了不动的控件。
# 点这一档后真正看得见的拉条由 `frontend/e2e/design.test.ts` 数。
@@ -3948,8 +3950,10 @@ class WebUiSourceTests(unittest.TestCase):
# 具体度接回来,否则焦点环和链接只在手动选深色时跟着强调色走。
self.assertIn("@media(prefers-color-scheme:dark){:root:not([data-theme])"
"{--tungsten:var(--color-border-focus-ring)}}", css)
- self.assertIn(".board-glow-ball[data-accent-ball]{--glow-chip:radial-gradient"
- "(circle closest-side,var(--color-accent-400),var(--color-accent-600))}", css,
+ self.assertIn("[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient"
+ "(circle closest-side,var(--color-accent-400),var(--color-accent-600))}",
+ (Path(__file__).resolve().parents[1]
+ / "frontend/src/react/components/glow-preset-grid.css").read_text(encoding="utf-8"),
"圆球拿的就是这一档真会写上去的两级")
# 开关、勾选框、滑轨填充与主操作键也是同一个意思。漏掉任何一个,换了强调色的页面
# 上就会剩下几枚蓝件,读起来像是没换干净。
@@ -3968,25 +3972,14 @@ class WebUiSourceTests(unittest.TestCase):
"""强调色存一个档名,换光晕预设时跟着换,单点那一排又能把它覆盖掉。
一档配色就是一副面:光晕暖着、按钮还是蓝的,读起来是两套皮叠在一起。但搭配是
- 建议不是绑定,所以那一排强调色单独点得动,点完只改强调色、不动光晕。
+ 建议不是绑定,所以那一排强调色单独点得动,点完只改强调色、不动光晕。换预设、单点与
+ 「重置」各写什么由 `frontend/test/react/glow-picker.test.tsx` 点出来看。
"""
self.assertPageContains("const DEFAULT_ACCENT='blue';")
self.assertPageContains("const normalizeAccent=value=>ACCENTS.some(([key])=>key===value)"
"?value:DEFAULT_ACCENT;")
self.assertPageContains("const glowAccent=key=>(HOME_GLOW_PRESETS.find(([name])=>name===key)"
"||[])[3]||DEFAULT_ACCENT;")
- self.assertCode("function applyAccent(){glowRoot.dataset.accent=appSettings.accent}")
- # 换预设:光晕、玻璃色相与强调色一起走。
- self.assertCode("appSettings.accent=glowAccent(key);")
- # 单点强调色:只写这一个。
- self.assertCode("appSettings.accent=normalizeAccent(chip.dataset.accent);")
- self.assertCode("saveSettings();applyAccent();syncGlowChrome();")
- # 「重置」把两者一起收回默认。
- self.assertCode("appSettings.accent=DEFAULT_ACCENT;")
- self.assertPageContains('<div class="board-glow-grid" data-accent-grid role="group" '
- 'aria-label="强调色"></div>')
- self.assertPageContains('class="board-glow-chip" data-accent="${key}"')
- self.assertPageContains('data-accent-ball="${key}"')
def test_home_glow_interpolates_in_oklab_with_a_declared_fallback(self):
"""oklab 插值由 @supports 开启,认不出它的引擎退回 sRGB 而不是整层消失。"""
@@ -4037,18 +4030,15 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("['custom','自定义']")
def test_home_glow_data_lives_in_a_module_app_js_only_imports(self):
- """预设、色板、规范化和那一次绘制都在 `web/js/home-glow.js`,app.js 只 import。
+ """预设、色板、规范化和那一次绘制都在 `web/js/home-glow.js`,app.js 一样都不留。
React 壳要的就是这一份:留在 app.js 里,迁移时同一张预设表、同一套色板和同一段
规范化会被抄进组件再各自演化,而两份色板差一枚颜色是看不出来的。
所以那个模块不认识 `appSettings`、`$`、`saveSettings`,`paintHomeGlow` 只写传进来的
- 那枚元素;侧栏那枚配色钮和它的弹层留在 app.js,设置面板的光晕参数区在 `settings-panel`
- 岛里经 `@peach/legacy/home-glow` 读同一个模块。
+ 那枚元素;什么时候写、写到哪一层由 `frontend/src/appearance/glow.ts` 定,配色卡与设置
+ 面板的光晕参数区都经 `@peach/legacy/home-glow` 读同一个模块,壳只调 `@peach/appearance`。
"""
- self.assertIn("import { ACCENTS, DEFAULT_ACCENT, DEFAULT_HOME_GLOW, "
- "HOME_GLOW_PRESETS, HOME_GLOW_SPOTS, glowAccent, glowChipFill, "
- "glowPalette, isNativeGlass, normalizeAccent, paintGlassFaces, paintHomeGlow } "
- "from './js/home-glow.js';", self.app_js)
+ self.assertNotIn("./js/home-glow.js", self.app_js, "光晕经 `/dist/peach-ui.js` 的应用层进来")
for moved in ("const HOME_GLOW_PRESETS=[", "const GLOW_SWATCHES=[", "const ACCENTS=[",
"const GLOW_SPOT_LABELS=[", "const DEFAULT_HOME_GLOW=",
"function normalizeHomeGlow(", "function paintHomeGlow(",
@@ -4059,7 +4049,6 @@ class WebUiSourceTests(unittest.TestCase):
code = "\n".join(re.sub(r"/\*.*?\*/", "", self.glow_js, flags=re.S).splitlines())
for forbidden in ("appSettings", "saveSettings(", "document.", "peach-ui.js"):
self.assertNotIn(forbidden, code, "这一份不认识页面,只认参数")
- self.assertIn("paintHomeGlow(glowField,appSettings.homeGlow)", self.app_js)
def test_home_glow_normalisation_replaces_a_retired_preset_wholesale(self):
"""存着的档名已经不在清单里时,连它那三枚颜色一起换成默认那一档。
@@ -4138,12 +4127,10 @@ class WebUiSourceTests(unittest.TestCase):
每一步都写变量加 saveSettings() 的量过:一次 60 步拖动是 1320 次 setProperty
和 60 次 localStorage 写入,全在主线程上。设置面板那一侧「拖动只报 glowFrame、松手才落盘」
- 与「面板 DOM 只建一次」由 `frontend/test/react/settings-panel.test.tsx` 守;壳这边把
- glowFrame 排成一帧重画。
+ 与「面板 DOM 只建一次」由 `frontend/test/react/settings-panel.test.tsx` 守;壳把
+ glowFrame 交给 `applyHomeGlow`,一帧只排一次重画由 `frontend/test/appearance/glow.test.ts` 守。
"""
self.assertPageContains("glowFrame:()=>applyHomeGlow(),")
- self.assertCode("glowFrame=requestAnimationFrame(()=>{glowFrame=0;"
- "paintHomeGlow(glowField,appSettings.homeGlow)});")
self.assertCode("if(written.get(name)===value)return;")
def test_home_glow_variables_are_written_off_the_root(self):
@@ -4151,11 +4138,11 @@ class WebUiSourceTests(unittest.TestCase):
自定义属性是继承的:写在根上,整棵树都要重算样式。2026-09-16 在首页量过,
写一次变量再强制布局,写在 <html> 上是每帧 12.7–16.6ms,写到一枚没有子节点的
- 元素上是 0.09ms;16.7ms 的帧预算装不下前者,拖动必掉帧。
+ 元素上是 0.09ms;16.7ms 的帧预算装不下前者,拖动必掉帧。写到 `.glowlayer` 上由
+ `frontend/test/appearance/glow.test.ts` 读那一层的变量。
"""
css = stylesheet_source()
self.assertPageContains('<div class="glowlayer" aria-hidden="true"></div>')
- self.assertCode("const glowField=document.querySelector('.glowlayer');")
self.assertCode("el.style.setProperty(name,value);")
self.assertIn(".glowlayer{--ambient-opacity:calc(var(--glow-strength) * var(--glow-theme-scale));", css)
self.assertNotIn("body::before{", css, "光晕不再挂在 body 的伪元素上")
@@ -4205,14 +4192,10 @@ class WebUiSourceTests(unittest.TestCase):
self.assertIn(".board-glow-mark-glow{left:0;top:0;background:var(--glow-swatch,var(--ink))}", css)
self.assertIn(".board-glow-mark-accent{left:0;bottom:0;z-index:1;", css)
self.assertIn(".board-glow-toggle[data-glow-off] .board-glow-mark-glow{display:none}", css)
- self.assertPageContains('<header class="board-glow-head" data-glow-presets><span>光晕</span>')
- self.assertPageContains('class="board-glow-reset" data-glow-preset-reset>重置</button>')
- self.assertPageContains('<p class="board-glow-head board-glow-sub"><span>强调色</span></p>')
- self.assertPageContains('<footer><button type="button" class="geist-button primary" data-glow-detail>详细设置</button></footer>')
+ # 卡里两组球、标题、「重置」与「详细设置」由 `frontend/test/react/glow-picker.test.tsx`
+ # 渲染出来看,选中那一档自己报 aria-pressed;壳只管把卡锚在钮上。
self.assertCode("const glowFloating=wireAnchoredMenu(boardFoot,glowButton,glowPicker);")
- # 选中那一档自己报出来,不靠一圈环让人猜。
- self.assertPageContains('aria-pressed="${key===current}"')
- css = stylesheet_source() + (Path(__file__).resolve().parents[1]
+ css =stylesheet_source() + (Path(__file__).resolve().parents[1]
/ "web/board.css").read_text(encoding="utf-8")
self.assertIn(".board-glow-toggle{position:relative;display:grid;place-items:center;"
"width:36px;height:36px;flex:none;\n padding:0;border:0;border-radius:8px;"
@@ -4239,22 +4222,17 @@ class WebUiSourceTests(unittest.TestCase):
那一组球和它的「重置」换的是一层现在不画的东西:点下去屏幕上没有任何反应,卡
的上半张却还被它占着。整组连同标题一起收起来,卡就只说当前还管用的那一件事。
开关在设置面板里、卡在侧栏底部,两处同时看得见,所以开关那一下要当场同步侧栏,
- 不能等下一次刷新。
- """
- self.assertCode("glowButton.style.setProperty('--glow-swatch',"
- "glow.on?glow.spot1.color:'var(--color-accent-500)');")
- self.assertCode("glowButton.toggleAttribute('data-glow-native',"
- "glow.on&&isNativeGlass(glow.preset));")
- self.assertCode("glowButton.toggleAttribute('data-glow-off',!glow.on);")
- self.assertCode("glowPicker.querySelectorAll('[data-glow-presets],[data-glow-grid]')"
- ".forEach(node=>node.hidden=!glow.on);")
- # 设置面板那枚开关报 `glow`,壳的 `settingsEffects.glow` 当场把侧栏一起对齐。
- self.assertPageContains("glow:()=>{applyHomeGlow();applyGlassFaces();syncGlowSidebar()},")
- board = (Path(__file__).resolve().parents[1] / "web/board.css").read_text(encoding="utf-8")
- # 类名里写死的 display 压得过 [hidden] 那条 UA 规则,收起来要自己说一遍。
- self.assertIn(".board-glow-head[hidden],.board-glow-grid[hidden]{display:none}", board)
+ 不能等下一次刷新:卡和钮都订阅同一份 store,收起哪几块、钮上那枚点报什么由
+ `frontend/test/react/glow-picker.test.tsx` 点开关看。
+ """
+ root = Path(__file__).resolve().parents[1] / "frontend/src/react"
+ card = (root / "glow-picker/glow-picker.css").read_text(encoding="utf-8")
+ # 写死的 display 压得过 [hidden] 那条 UA 规则,收起来要自己说一遍。
+ self.assertIn("[data-glow-grid][hidden]{display:none}",
+ (root / "components/glow-preset-grid.css").read_text(encoding="utf-8"))
+ self.assertIn("[data-glow-head][hidden]{display:none}", card)
# 收起之后「强调色」成了卡里第一样东西,它那 12px 的上间距一起归零。
- self.assertIn(".board-glow-grid[hidden]+.board-glow-sub{margin-top:0}", board)
+ self.assertIn("[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}", card)
def test_source_icons_are_visible_in_detail_and_list_badges(self):
diff --git a/web/app.js b/web/app.js
index 3e595929e..0a5da5a8f 100644
--- a/web/app.js
+++ b/web/app.js
@@ -11,8 +11,8 @@ import { matchRoute, routeLabel } from './js/routes.js';
import { initMiddleTruncate } from './js/middle-truncate.js';
import { tagLabel } from './js/tags.js';
import { playUiSound, setUiSoundsEnabled, wireUiSounds } from './js/ui-sounds.js';
-import { ACCENTS, DEFAULT_ACCENT, DEFAULT_HOME_GLOW, HOME_GLOW_PRESETS, HOME_GLOW_SPOTS, glowAccent, glowChipFill, glowPalette, isNativeGlass, normalizeAccent, paintGlassFaces, paintHomeGlow } from './js/home-glow.js';
import { appSettingsStore, applySyncedSettings, allowedSetting, applyTheme, watchSystemTheme, THEME_OPTIONS, applyDensity, toggleDensity, paintPhotoSizeButton } from './dist/peach-ui.js';
+import { applyAccent, applyGlassFaces, applyHomeGlow, paintHomeGlowNow, wireGlowButton, loadGlowPicker } from './dist/peach-ui.js';
import { JAV_LAYOUTS, PHOTO_LAYOUTS, COVER_FRONT_RATIO, cardLayoutFor, cardRatio, gridLayout, javLayout, photoLayout, photoSize, storeHomeLayout, storeJavLayout, storePhotoLayout, storePhotoSize, storeVideoLayout } from './dist/peach-ui.js';
import { SORTS, JAV_RELEASE_SORT, SORT_KEYS, SORT_ALIASES, SORT_DIR_WORDS, defaultSortDir, nextSortState, sortDirWord } from './dist/peach-ui.js';
import { mountIsland, unmountIsland, updateIsland, islandMounted, preloadIslands, paginationHtml, pageCount, clampPage, preferredDirection, showToast, followJobProgress } from './dist/peach-ui.js';
@@ -503,76 +503,9 @@ wireUiSounds();
这里在模块体里同步再写一次,之后换主题都从那一份出。 */
applyTheme();
watchSystemTheme();
-/* 光晕怎么算、怎么写都在 `./js/home-glow.js`:那一份不认识 appSettings,React 壳直接
- import 同一个文件。这里只负责把当前设置和 `.glowlayer` 那枚空 div 递进去。
- 写的对象是那枚 div 而不是 <html>:自定义属性是继承的,写在根上整棵树都要重算样式,
- 实测每帧 15ms 上下,拖动时帧预算当场就超;量法和数字记在 web/css/01-base.css 那条规则
- 上面。
- 一帧只写一次。指针拖动一秒能发上百个 pointermove,每一个都同步写变量的话,写进去的
- 中间那几十份没有任何一帧画得出来,代价却照付。排进 requestAnimationFrame 之后,写的
- 就是这一帧真正要画的那一份。 */
-const glowField=document.querySelector('.glowlayer');
-let glowFrame=0;
-function applyHomeGlow(){
- if(glowFrame)return;
- glowFrame=requestAnimationFrame(()=>{glowFrame=0;paintHomeGlow(glowField,appSettings.homeGlow)});
-}
-/* 其余玻璃面(搜索框、顶栏图标钮、筛选浮层、设置卡的分区导航、媒体库与配色弹层、窄栏、
- 选择工具条)分散在整棵树上,没有共同的宿主,它们那两团反光的色相只能写在根上。
- 写一次根就是整棵树重算样式,所以这一条只接换档、点颜色和开关那几下;拖强度那条拉条
- 走的是上面的 applyHomeGlow(),一次都不碰根。
- 强调色同理:一次点选写一个属性,换来的是整页的按钮、焦点环和链接跟着走。 */
-const glowRoot=document.documentElement;
-function applyGlassFaces(){paintGlassFaces(glowRoot,appSettings.homeGlow)}
-function applyAccent(){glowRoot.dataset.accent=appSettings.accent}
-paintHomeGlow(glowField,appSettings.homeGlow);
-applyGlassFaces();applyAccent();
-/* 光晕预设色块在侧栏底部那枚配色钮和设置面板(`frontend/src/react/settings-panel/`)上各有
- 一份,是同一组色块、同一份写入:两处读的都是 `appSettings.homeGlow`,都由下面这两个函数
- 画和接,点哪一边另一边当场对齐。 */
-/* 预设色块照 feralui 的预设 chip 做:三枚光晕色等分一圈 conic-gradient,再叠 BoardUI 那
- 三层白色高光。「玻璃原色」那一格的球不带颜色:它画的是当前主题下玻璃自带的那两团
- 反光,两个主题各一套,值只有样式表里一份,所以这里交出一个标记、由 CSS 去取。 */
-const glowSpotColors=glow=>HOME_GLOW_SPOTS.map(key=>glow[key].color);
-const glowChipHtml=(key,label,colors,chosen)=>`<button type="button" class="board-glow-chip" data-glow-preset="${key}"
- aria-pressed="${key===chosen}" title="${esc(label)}" aria-label="${esc(label)}"><span class="board-glow-ball"
- aria-hidden="true" ${isNativeGlass(key)?'data-glow-native':`style="--glow-chip:${glowChipFill(colors)}"`}></span></button>`;
-const glowChipsHtml=()=>{
- const glow=appSettings.homeGlow;
- const chips=HOME_GLOW_PRESETS.map(([key,label,palette])=>
- glowChipHtml(key,label,HOME_GLOW_SPOTS.map(spot=>palette[spot].color),glow.preset));
- /* 「自定义」只有在用户真手调过颜色之后才占一格:没调过时那一格里是一份和默认档
- 一模一样的球,点它什么也不会变,读起来却像还有一档没试过。 */
- if(glow.preset==='custom')chips.push(glowChipHtml('custom','自定义',glowSpotColors(glow),'custom'));
- return chips.join('');
-};
-/* 整格重画:「自定义」那一格会出现或消失。焦点正落在某一枚上时,画完落回同一档那一枚——
- 键盘选完一档,焦点不该掉回页面开头。 */
-function renderGlowPresetGrid(grid){
- const focused=grid.contains(document.activeElement)?document.activeElement.dataset.glowPreset:'';
- grid.innerHTML=glowChipsHtml();
- if(focused)grid.querySelector(`[data-glow-preset="${focused}"]`)?.focus();
-}
-/* 换一档光晕连强调色一起换:一档配色就是一副面,光晕暖着、按钮还是蓝的,读起来是两套
- 皮叠在一起。侧栏卡下面那一排强调色可以单独点,点完只改强调色、不动光晕——先给一套
- 搭配好的,要拆开也拆得开。
- 一个监听接整格:那一排球会因为「自定义」出现或消失而重画,逐枚绑事件的话,重画之后
- 绑的是上一批已经不在文档里的按钮。 */
-function wireGlowPresetGrid(grid){
- grid.addEventListener('click',event=>{
- const chip=event.target.closest?.('[data-glow-preset]');
- if(!chip)return;
- const glow=appSettings.homeGlow,key=chip.dataset.glowPreset;
- if(key==='custom')return;
- glow.preset=key;Object.assign(glow,glowPalette(key));
- appSettings.accent=glowAccent(key);
- saveSettings();applyHomeGlow();applyGlassFaces();applyAccent();syncGlowChrome();
- });
-}
-/* 侧栏那枚配色钮由壳尾的装配段接上;接上之前这里是个空函数,首页第一帧就改光晕也不会炸。
- 设置面板读的是同一份 `appSettings.homeGlow`,经 store 通知自己跟上。 */
-let syncGlowSidebar=()=>{};
-function syncGlowChrome(){syncGlowSidebar()}
+/* 光晕、玻璃面与强调色写到页面上(`frontend/src/appearance/glow.ts`),第一帧之前同步写一次。
+ 侧栏那枚配色钮、它的配色卡与设置面板都订阅同一份 store,点哪一处改的配色另两处当场跟上。 */
+paintHomeGlowNow();applyGlassFaces();applyAccent();
/* 设置面板归 React 岛(`frontend/src/react/settings-panel/`)。岛只改 `appSettings` 的字段并落盘,
改完用效果名告诉这里跟着做什么:重画网格、重取目录、换主题、重排侧栏都还是壳的事。 */
const settingsEffects={
@@ -581,7 +514,7 @@ const settingsEffects={
发出:捕获阶段排在这里前面,那时开关还没关掉,最后一声还能响出来。 */
uiSounds:()=>{setUiSoundsEnabled(appSettings.uiSounds);if(appSettings.uiSounds)playUiSound('toggle-on')},
glowFrame:()=>applyHomeGlow(),
- glow:()=>{applyHomeGlow();applyGlassFaces();syncGlowSidebar()},
+ glow:()=>{applyHomeGlow();applyGlassFaces()},
batchSize:()=>{if(location.pathname==='/')loadCatalog()},
defaultSort:()=>{
state.sort=appSettings.defaultSort;
@@ -3078,7 +3011,6 @@ const settingsHost=()=>({
videoLayout:()=>cardLayout(),setVideoLayout,
censored:censorOn,setCensored,
highContrast:()=>document.documentElement.classList.contains('board-high-contrast'),setHighContrast,
- renderGlowGrid:renderGlowPresetGrid,wireGlowGrid:wireGlowPresetGrid,
receipt:message=>actionReceipt(message),
failure:actionFailure,
syncRemote:remote=>applySyncedSettings(remote,effect=>settingsEffects[effect]?.()),
@@ -4154,63 +4086,22 @@ boardFoot.querySelector('.board-foot-actions').append(document.querySelector('#s
document.querySelector('#drawer').append(boardFoot);
boardFoot.querySelectorAll('[data-board-theme]').forEach(button=>button.onclick=()=>{if(button.getAttribute('aria-pressed')==='true')return;transitionTheme(button,()=>{appSettings.theme=button.dataset.boardTheme;saveSettings();applyTheme()})});
applyTheme();
-/* 侧栏的光晕配色弹层照 boardui.com 右下角那枚「Accent color」:钮上不画字形,画的就是
- 它管的那两样——左上一枚光晕色的圆、右下一枚强调色的圆叠在它上面,卡里两组球各取一枚;
- 点开是一张 248px 的卡,头部一行标题加「重置」文字键,主体是两组 6 列圆球——上面一组
- 光晕、下面一组强调色,底部一枚全宽主按钮通到详细设置。光晕那一组球和设置里「配色」
- 那一组是同一份(`glowChipsHtml`);强调色那一组换成 BoardUI 自己那颗 radial-gradient
- 的球。卡的材质与媒体库选择弹层同一条规则。
- 实测见 docs/reference-snapshots/feralui-studio-boardui-accent-measured.md。 */
-/* 强调色那一排同样不带颜色:球拿的就是这一档真会写上去的 400 与 600 两级。 */
-const accentChipHtml=([key,label],current)=>`<button type="button" class="board-glow-chip" data-accent="${key}"
- aria-pressed="${key===current}" title="${esc(label)}" aria-label="${esc(label)}"><span class="board-glow-ball"
- aria-hidden="true" data-accent-ball="${key}"></span></button>`;
+/* 侧栏的光晕配色卡照 boardui.com 右下角那枚「Accent color」:钮上不画字形,画的就是它管的那两样——
+ 左上一枚光晕色的圆、右下一枚强调色的圆叠在它上面(`appearance/glow.ts` 的 `paintGlowButton`)。
+ 卡的外壳在这里建、由 `wireAnchoredMenu` 锚定与开合,材质与媒体库选择弹层同一条规则;卡里的内容归
+ `glow-picker` 岛(`frontend/src/react/glow-picker/`)。 */
const glowPicker=document.createElement('div');
glowPicker.className='popmenu board-glow-menu';glowPicker.id='boardGlowMenu';glowPicker.hidden=true;
glowPicker.setAttribute('popover','manual');glowPicker.setAttribute('role','dialog');
glowPicker.setAttribute('aria-label','配色');
-glowPicker.innerHTML=`<header class="board-glow-head" data-glow-presets><span>光晕</span><button type="button" class="board-glow-reset" data-glow-preset-reset>重置</button></header>
- <div class="board-glow-grid" data-glow-grid role="group" aria-label="光晕"></div>
- <p class="board-glow-head board-glow-sub"><span>强调色</span></p>
- <div class="board-glow-grid" data-accent-grid role="group" aria-label="强调色"></div>
- <footer><button type="button" class="geist-button primary" data-glow-detail>详细设置</button></footer>`;
document.body.append(glowPicker);
const glowButton=boardFoot.querySelector('#boardGlowBtn');
const glowFloating=wireAnchoredMenu(boardFoot,glowButton,glowPicker);
-/* 光晕关掉之后这张卡上只剩强调色可挑:上面那一组球和它的「重置」换的是一层现在不画的
- 东西,点下去屏幕上没有任何反应,而它们还占着卡的上半张。整组收起来,卡就只说当前还
- 管用的那一件事。钮上那枚点同时改口说强调色——BoardUI 原版那颗点本来就是强调色,光晕
- 开着时它说的是第一枚光晕,关着时那一枚收起、只剩强调色那一枚。 */
-syncGlowSidebar=()=>{
- const glow=appSettings.homeGlow;
- glowButton.style.setProperty('--glow-swatch',glow.on?glow.spot1.color:'var(--color-accent-500)');
- glowButton.toggleAttribute('data-glow-native',glow.on&&isNativeGlass(glow.preset));
- glowButton.toggleAttribute('data-glow-off',!glow.on);
- glowPicker.querySelectorAll('[data-glow-presets],[data-glow-grid]').forEach(node=>node.hidden=!glow.on);
- renderGlowPresetGrid(glowPicker.querySelector('[data-glow-grid]'));
- glowPicker.querySelector('[data-accent-grid]').innerHTML=
- ACCENTS.map(accent=>accentChipHtml(accent,appSettings.accent)).join('');
-};
-wireGlowPresetGrid(glowPicker.querySelector('[data-glow-grid]'));
-glowPicker.querySelector('[data-accent-grid]').addEventListener('click',event=>{
- const chip=event.target.closest?.('[data-accent]');
- if(!chip)return;
- appSettings.accent=normalizeAccent(chip.dataset.accent);
- saveSettings();applyAccent();syncGlowChrome();
-});
-/* 这里重置的是配色,不是整份光晕:标题就写着「光晕」和「强调色」,把强度和颗粒一起
- 清掉会让人以为按错了键。整份恢复默认在详细设置那一屏。 */
-glowPicker.querySelector('[data-glow-preset-reset]').onclick=()=>{
- const glow=appSettings.homeGlow;
- glow.preset=DEFAULT_HOME_GLOW.preset;Object.assign(glow,glowPalette(glow.preset));
- appSettings.accent=DEFAULT_ACCENT;
- saveSettings();applyHomeGlow();applyGlassFaces();applyAccent();syncGlowChrome();
-};
-glowPicker.querySelector('[data-glow-detail]').onclick=()=>{
+wireGlowButton(glowButton);
+void loadGlowPicker({root:glowPicker,store:settingsStore,openDetails:()=>{
glowFloating.setOpen(false);openDrawer(false);
void openSettings('界面').then(panel=>panel.reveal('#homeGlowControls'));
-};
-syncGlowSidebar();
+}});
/* 品牌(媒体库选择)与开合键是壳里浮层的锚点,挪进侧栏标题行那个空槽:骨架画好时一次,侧栏岛接手
换掉骨架时(`attached`)再一次。手机上抽屉收着时开合键回到顶栏原位,抽屉整块不可聚焦。 */
function placeBrand(){
diff --git a/web/board.css b/web/board.css
index ecdc3eefc..3f88b7a8a 100644
--- a/web/board.css
+++ b/web/board.css
@@ -546,34 +546,8 @@ button,input,select,textarea{font-family:inherit}
产品的控件;在这里还多一层意思——卡上那两团漂动的光斑正是用户在卡里挑的那两枚颜色,
改一下就在卡自己身上看得见。所以这里只留几何,材质一概不写。 */
.board-glow-menu{box-sizing:border-box;width:248px;max-width:calc(100vw - 32px);padding:10px;gap:0}
-.board-glow-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 8px;color:var(--muted);font-size:12px}
-/* 两组之间那条小标题:和头部同一档灰、同一个字号,只是不带右边的文字键。 */
-.board-glow-sub{margin:12px 0 0}
-.board-glow-reset{padding:0;border:0;background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}
-.board-glow-reset:hover{color:var(--ink)}
-.board-glow-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px}
-/* 类名里写死的 `display` 压得过 `[hidden]` 那条 UA 规则,收起光晕那一组要自己说一遍;
- 收起之后「强调色」成了卡里第一样东西,它那 12px 的上间距也一起归零。 */
-.board-glow-head[hidden],.board-glow-grid[hidden]{display:none}
-.board-glow-grid[hidden]+.board-glow-sub{margin-top:0}
-.board-glow-chip{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
-.board-glow-chip:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}
-/* 球面那三层白高光是 BoardUI 自己叠出来的,不是一个 radial 就完事:顶上一片大椭圆、
- 里面一小片、底下一道反光,缺了底下那道,球看上去是贴纸不是球。 */
-.board-glow-ball{position:relative;width:28px;height:28px;border-radius:50%;background:var(--glow-chip);
- box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29;
- transition:transform .15s ease}
-.board-glow-ball::after{content:'';position:absolute;left:14%;right:14%;top:6%;height:38.5%;border-radius:50%;
- background:linear-gradient(#ffffff8a,#ffffff00)}
-/* 强调色那一排球按 BoardUI 自己的画法:`radial-gradient(circle closest-side, 亮, 暗)`,
- 取的就是这一档真会被换上去的 400 与 600 两级,所以球色不可能和按钮对不上。
- 「玻璃原色」那一格画的是这块玻璃自带的两团反光色,一半一半:那一档没有三枚光晕可画,
- 拿别的颜色顶上去会让人以为选中它之后侧栏是那个颜色。深色两团同色,球于是是一整颗。 */
-.board-glow-ball[data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}
-.board-glow-ball[data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}
+/* 「玻璃原色」那一档没有光晕色可报,钮上那枚点画玻璃自带的两团反光色,一半一半。 */
.board-glow-toggle[data-glow-native] .board-glow-mark-glow{background:linear-gradient(135deg,var(--glass-native-a) 50%,var(--glass-native-b) 50%)}
-.board-glow-chip:hover .board-glow-ball{transform:scale(1.1)}
-.board-glow-chip[aria-pressed=true] .board-glow-ball{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}
.board-glow-menu footer{margin-top:10px;padding:0 4px}
.board-glow-menu footer .geist-button{width:100%}
.board-theme-toggle{position:relative;isolation:isolate;display:flex;gap:4px;padding:4px;border-radius:24px;background:var(--picked)}
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index 3d4a4124f..575821644 100644
--- a/web/dist/peach-react.css
+++ b/web/dist/peach-react.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-72{max-width:calc(var(--spacing) * 72)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-44{min-width:calc(var(--spacing) * 44)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:min-w-0{min-width:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]){height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is(button[data-follow-author],button[data-follow-work]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;min-width:0;height:30px;margin:0}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{border:1px solid var(--line-soft);background:var(--overlay-5);width:38px;height:38px;color:inherit;cursor:default;border-radius:50%;flex:none;place-items:center;margin-top:2px;padding:0;display:grid;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{width:56px;height:56px;box-shadow:none;background:#0000004d;border:0;border-radius:50%;margin:0;line-height:56px;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-big-play-button:hover,[data-stage-media] .video-js .vjs-big-play-button:focus{background:#ffffff1a}[data-stage-media] .video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:"";border-top:.72em solid #0000;border-bottom:.72em solid #0000;border-left:1.05em solid #fff;width:0;height:0;top:50%;left:50%;transform:translate(-38%,-50%)}[data-stage-media] .video-js:has(.vjs-peach-bezel) .vjs-big-play-button{display:none}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}body[data-detail-open]{overflow:hidden}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side""queue queue";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);grid-area:queue;max-height:360px}[data-stage-grid][data-with-queue] [data-mix-queue-actions] [data-queue-close]{display:none}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;border-radius:var(--badge-radius);background:#000;position:relative;overflow:hidden}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-stage-grid][data-with-queue]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-list]{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(190px,220px);grid-auto-flow:column;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]:hover,[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-pic]{border:1px solid #0000;width:100%}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:max-content max-content minmax(0,1fr);gap:5px 8px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);word-break:break-all;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:wrap;gap:4px;width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] button{background:var(--surface);border:0;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;min-width:36px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] button svg{width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [class~=board-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}[data-settings-panel] [data-settings-card][data-settings-card]{--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{border-color:#ffffff80;scale:1.05}[data-immerse-actions] button:active{transition:scale 60ms ease-out;scale:.96}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{color:#f1f1f1;pointer-events:auto;font-weight:600;text-decoration:none}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{color:#aaa;font-size:var(--fs-sm)}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:20px;margin-bottom:28px;display:block}[data-manage-menu]{border-bottom:1px solid var(--line);scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{min-height:44px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;align-items:center;gap:7px;margin:0;padding:12px 10px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{color:var(--tungsten);font-weight:500}[data-manage-indicator]{z-index:1;width:var(--tab-width,0px);background:var(--tungsten);height:2px;transform:translateX(var(--tab-x,0px));pointer-events:none;position:absolute;bottom:0;left:0}[data-manage-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease),width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){[data-manage-indicator][data-ready]{transition:none}}[data-manage-crumb]{margin-top:0;margin-bottom:6px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:16px;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-72{max-width:calc(var(--spacing) * 72)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-44{min-width:calc(var(--spacing) * 44)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:min-w-0{min-width:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]){height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is(button[data-follow-author],button[data-follow-work]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;min-width:0;height:30px;margin:0}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{border:1px solid var(--line-soft);background:var(--overlay-5);width:38px;height:38px;color:inherit;cursor:default;border-radius:50%;flex:none;place-items:center;margin-top:2px;padding:0;display:grid;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{width:56px;height:56px;box-shadow:none;background:#0000004d;border:0;border-radius:50%;margin:0;line-height:56px;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-big-play-button:hover,[data-stage-media] .video-js .vjs-big-play-button:focus{background:#ffffff1a}[data-stage-media] .video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:"";border-top:.72em solid #0000;border-bottom:.72em solid #0000;border-left:1.05em solid #fff;width:0;height:0;top:50%;left:50%;transform:translate(-38%,-50%)}[data-stage-media] .video-js:has(.vjs-peach-bezel) .vjs-big-play-button{display:none}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}body[data-detail-open]{overflow:hidden}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side""queue queue";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);grid-area:queue;max-height:360px}[data-stage-grid][data-with-queue] [data-mix-queue-actions] [data-queue-close]{display:none}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;border-radius:var(--badge-radius);background:#000;position:relative;overflow:hidden}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-stage-grid][data-with-queue]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-list]{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(190px,220px);grid-auto-flow:column;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]:hover,[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-pic]{border:1px solid #0000;width:100%}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:max-content max-content minmax(0,1fr);gap:5px 8px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);word-break:break-all;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:wrap;gap:4px;width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] button{background:var(--surface);border:0;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;min-width:36px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] button svg{width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}[data-settings-panel] [data-settings-card][data-settings-card]{--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{border-color:#ffffff80;scale:1.05}[data-immerse-actions] button:active{transition:scale 60ms ease-out;scale:.96}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{color:#f1f1f1;pointer-events:auto;font-weight:600;text-decoration:none}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{color:#aaa;font-size:var(--fs-sm)}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:20px;margin-bottom:28px;display:block}[data-manage-menu]{border-bottom:1px solid var(--line);scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{min-height:44px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;align-items:center;gap:7px;margin:0;padding:12px 10px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{color:var(--tungsten);font-weight:500}[data-manage-indicator]{z-index:1;width:var(--tab-width,0px);background:var(--tungsten);height:2px;transform:translateX(var(--tab-x,0px));pointer-events:none;position:absolute;bottom:0;left:0}[data-manage-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease),width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){[data-manage-indicator][data-ready]{transition:none}}[data-manage-crumb]{margin-top:0;margin-bottom:6px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:16px;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index e5d2b6e1e..a4acbab5c 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -1,32 +1,33 @@
import { LOC as e, api as t, brandIcon as n, entityPath as r, esc as i, fmtClock as a, fmtDur as o, fmtSize as s, foldName as c, icon as l, linkMarkUrl as u, mapLimit as d, officialLinkText as f, realDuration as p, requestErrorMessage as m, seededRank as h, siteMarkUrl as g } from "/js/core.js";
import { MEDIA_SOURCE_ICONS as _, attachOverlayScrollbar as v, closeAnchoredMenu as y, confirmModal as b, dialSliderHtml as x, dismissMenu as S, emptyStateHtml as C, fitSkeleton as w, growCollapse as T, iconSwapHtml as E, iconSwitchHtml as D, indexSkeletonHtml as O, loadingDotsHtml as k, moveGlidePane as A, noteHtml as j, popBadges as M, popCount as N, presentMenu as P, revealTexts as ee, scrollMovesAnchor as F, selectFieldHtml as te, setActionBusy as ne, setCollapseOpen as re, setIconSwap as ie, spinnerHtml as ae, swapText as oe, wireAnchoredMenu as se, wireContextCard as ce, wireDialSlider as le, wireHorizontalScroller as ue, wireIconSwitch as de, wireSelectField as I } from "/js/ui-components.js";
import { avatarInner as fe, cardArtwork as pe, cardIdentity as me, coverUrl as he, entityAvatar as ge, entityFaceImg as _e, facePos as ve, logoUrl as ye, mixFace as be, mixLabel as xe, performerLabel as Se, queueAvatarHtml as Ce, queueThumbHtml as we, relayoutCovers as Te, releaseHover as Ee, releaseHoverPreviews as De, representativeOf as Oe, wireHover as ke } from "/dist/peach-ui.js";
-import { GLOW_SPOT_LABELS as Ae, GLOW_SWATCHES as je, GLOW_SWATCH_FAMILIES as Me, HOME_GLOW_SPOTS as Ne, glowColor as Pe, glowPresetName as Fe, isNativeGlass as Ie, normalizeHomeGlow as Le } from "/js/home-glow.js";
+import { ACCENT_CHOICES as Ae, chooseAccent as je, chooseGlowPreset as Me, glowChips as Ne, resetGlowColors as Pe } from "/dist/peach-ui.js";
+import { GLOW_SPOT_LABELS as Fe, GLOW_SWATCHES as Ie, GLOW_SWATCH_FAMILIES as Le, HOME_GLOW_SPOTS as Re, glowColor as ze, glowPresetName as Be, isNativeGlass as Ve, normalizeHomeGlow as He } from "/js/home-glow.js";
//#region \0rolldown/runtime.js
-var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDescriptor, Ve = Object.getOwnPropertyNames, He = Object.getPrototypeOf, Ue = Object.prototype.hasOwnProperty, We = (e, t, n) => () => {
+var Ue = Object.create, We = Object.defineProperty, Ge = Object.getOwnPropertyDescriptor, Ke = Object.getOwnPropertyNames, qe = Object.getPrototypeOf, Je = Object.prototype.hasOwnProperty, Ye = (e, t, n) => () => {
if (n) throw n[0];
try {
return e && (t = e(e = 0)), t;
} catch (e) {
throw n = [e], e;
}
-}, Ge = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), Ke = (e, t) => {
+}, Xe = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), Ze = (e, t) => {
let n = {};
- for (var r in e) ze(n, r, {
+ for (var r in e) We(n, r, {
get: e[r],
enumerable: !0
});
- return t || ze(n, Symbol.toStringTag, { value: "Module" }), n;
-}, qe = (e, t, n, r) => {
- if (t && typeof t == "object" || typeof t == "function") for (var i = Ve(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !Ue.call(e, s) && s !== n && ze(e, s, {
+ return t || We(n, Symbol.toStringTag, { value: "Module" }), n;
+}, Qe = (e, t, n, r) => {
+ if (t && typeof t == "object" || typeof t == "function") for (var i = Ke(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !Je.call(e, s) && s !== n && We(e, s, {
get: ((e) => t[e]).bind(null, s),
- enumerable: !(r = Be(t, s)) || r.enumerable
+ enumerable: !(r = Ge(t, s)) || r.enumerable
});
return e;
-}, Je = (e, t, n) => (n = e == null ? {} : Re(He(e)), qe(t || !e || !e.__esModule || !Ue.call(e, "default") ? ze(n, "default", {
+}, $e = (e, t, n) => (n = e == null ? {} : Ue(qe(e)), Qe(t || !e || !e.__esModule || !Je.call(e, "default") ? We(n, "default", {
value: e,
enumerable: !0
-}) : n, e)), Ye = (e) => Ue.call(e, "module.exports") ? e["module.exports"] : qe(ze({}, "__esModule", { value: !0 }), e), Xe = /* @__PURE__ */ Ge(((e) => {
+}) : n, e)), et = (e) => Je.call(e, "module.exports") ? e["module.exports"] : Qe(We({}, "__esModule", { value: !0 }), e), tt = /* @__PURE__ */ Xe(((e) => {
function t(e, t) {
var n = e.length;
e.push(t);
@@ -225,9 +226,9 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
};
};
-})), Ze = /* @__PURE__ */ Ge(((e, t) => {
- t.exports = Xe();
-})), Qe = /* @__PURE__ */ Ge(((e) => {
+})), eee = /* @__PURE__ */ Xe(((e, t) => {
+ t.exports = tt();
+})), nt = /* @__PURE__ */ Xe(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.for("react.view_transition"), m = Symbol.iterator;
function h(e) {
return typeof e != "object" || !e ? null : (e = m && e[m] || e["@@iterator"], typeof e == "function" ? e : null);
@@ -522,10 +523,10 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}, e.useTransition = function() {
return T.H.useTransition();
}, e.version = "19.3.0";
-})), $e = /* @__PURE__ */ Ge(((e, t) => {
- t.exports = Qe();
-})), et = /* @__PURE__ */ Ge(((e) => {
- var t = $e();
+})), rt = /* @__PURE__ */ Xe(((e, t) => {
+ t.exports = nt();
+})), it = /* @__PURE__ */ Xe(((e) => {
+ var t = rt();
function n(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -652,7 +653,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}, e.useFormStatus = function() {
return l.H.useHostTransitionStatus();
}, e.version = "19.3.0";
-})), tt = /* @__PURE__ */ Ge(((e, t) => {
+})), at = /* @__PURE__ */ Xe(((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);
@@ -660,9 +661,9 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
console.error(e);
}
}
- n(), t.exports = et();
-})), nt = /* @__PURE__ */ Ge(((e) => {
- var t = Ze(), n = $e(), r = tt();
+ n(), t.exports = it();
+})), ot = /* @__PURE__ */ Xe(((e) => {
+ var t = eee(), n = rt(), r = at();
function i(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -886,9 +887,9 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
switch (ve(xe, t), ve(be, e), ve(ye, null), t.nodeType) {
case 9:
case 11:
- e = (e = t.documentElement) && (e = e.namespaceURI) ? hp(e) : 0;
+ e = (e = t.documentElement) && (e = e.namespaceURI) ? mp(e) : 0;
break;
- default: if (e = t.tagName, t = t.namespaceURI) t = hp(t), e = gp(t, e);
+ default: if (e = t.tagName, t = t.namespaceURI) t = mp(t), e = hp(t, e);
else switch (e) {
case "svg":
e = 1;
@@ -906,12 +907,12 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
function Te(e) {
var t = e.memoizedState;
- t !== null && (fh._currentValue = t.memoizedState, ve(Se, e)), t = ye.current;
- var n = gp(t, e.type);
+ t !== null && (dh._currentValue = t.memoizedState, ve(Se, e)), t = ye.current;
+ var n = hp(t, e.type);
t !== n && (ve(be, e), ve(ye, n));
}
function Ee(e) {
- be.current === e && (_e(ye), _e(be)), Se.current === e && (_e(Se), fh._currentValue = pe);
+ be.current === e && (_e(ye), _e(be)), Se.current === e && (_e(Se), dh._currentValue = pe);
}
var De, Oe;
function ke(e) {
@@ -1035,11 +1036,11 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
Ye.setStrictMode(Je, e);
} catch {}
}
- var Qe = Math.clz32 ? Math.clz32 : rt, et = Math.log, nt = Math.LN2;
- function rt(e) {
- return e >>>= 0, e === 0 ? 32 : 31 - (et(e) / nt | 0) | 0;
+ 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 it = 256, at = 262144, L = 4194304;
+ var tt = 256, nt = 262144, it = 4194304;
function ot(e) {
var t = e & 42;
if (t !== 0) return t;
@@ -1093,12 +1094,12 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
t & 8 && (t |= t & 32);
var n = e.entangledLanes;
if (n !== 0) for (e = e.entanglements, n &= t; 0 < n;) {
- var r = 31 - Qe(n), i = 1 << r;
+ var r = 31 - Ze(n), i = 1 << r;
t |= e[r], n &= ~i;
}
return t;
}
- function ut(e, t) {
+ function L(e, t) {
switch (e) {
case 1:
case 2:
@@ -1134,23 +1135,23 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
default: return -1;
}
}
- function dt() {
- var e = L;
- return L <<= 1, !(L & 62914560) && (L = 4194304), e;
+ function ut() {
+ var e = it;
+ return it <<= 1, !(it & 62914560) && (it = 4194304), e;
}
- function ft(e) {
+ function dt(e) {
for (var t = [], n = 0; 31 > n; n++) t.push(e);
return t;
}
- function pt(e, t) {
+ function ft(e, t) {
e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);
}
- function mt(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 - Qe(n), d = 1 << u;
+ var u = 31 - Ze(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++) {
@@ -1159,25 +1160,25 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
n &= ~d;
}
- r !== 0 && ht(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 ht(e, t, n) {
+ function mt(e, t, n) {
e.pendingLanes |= t, e.suspendedLanes &= ~t;
- var r = 31 - Qe(t);
+ var r = 31 - Ze(t);
e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;
}
- function gt(e, t) {
+ function ht(e, t) {
var n = e.entangledLanes |= t;
for (e = e.entanglements; n;) {
- var r = 31 - Qe(n), i = 1 << r;
+ var r = 31 - Ze(n), i = 1 << r;
i & t | e[r] & t && (e[r] |= t), n &= ~i;
}
}
- function _t(e, t) {
+ function gt(e, t) {
var n = t & -t;
- return n = n & 42 ? 1 : vt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;
+ return n = n & 42 ? 1 : _t(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;
}
- function vt(e) {
+ function _t(e) {
switch (e) {
case 2:
e = 1;
@@ -1215,14 +1216,14 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return e;
}
- function yt(e) {
+ function vt(e) {
return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;
}
- function bt() {
+ function yt() {
var e = fe.p;
- return e === 0 ? (e = window.event, e === void 0 ? 32 : Oh(e.type)) : e;
+ return e === 0 ? (e = window.event, e === void 0 ? 32 : Dh(e.type)) : e;
}
- function xt(e, t) {
+ function bt(e, t) {
var n = fe.p;
try {
return fe.p = e, t();
@@ -1230,18 +1231,18 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fe.p = n;
}
}
- var St = Math.random().toString(36).slice(2), Ct = "__reactFiber$" + St, wt = "__reactProps$" + St, Tt = "__reactContainer$" + St, Et = "__reactEvents$" + St, Dt = "__reactListeners$" + St, Ot = "__reactHandles$" + St, kt = "__reactResources$" + St, At = "__reactMarker$" + St, jt = "__reactLoad$" + St;
- function Mt(e) {
- delete e[Ct], delete e[wt], delete e[Dt], delete e[Ot];
+ 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, kt = "__reactMarker$" + xt, At = "__reactLoad$" + xt;
+ function jt(e) {
+ delete e[St], delete e[Ct], delete e[Et], delete e[Dt];
}
- function Nt(e) {
+ function Mt(e) {
var t;
- if (t = e[Ct]) return t;
+ if (t = e[St]) return t;
for (var n = e.parentNode; n;) {
- if (t = n[Tt] || n[Ct]) {
- if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = _m(e); e !== null;) {
- if (n = e[Ct]) return n;
- e = _m(e);
+ if (t = n[wt] || n[St]) {
+ if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = gm(e); e !== null;) {
+ if (n = e[St]) return n;
+ e = gm(e);
}
return t;
}
@@ -1249,41 +1250,41 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return null;
}
- function Pt(e) {
- if (e = e[Ct] || e[Tt]) {
+ function Nt(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 Ft(e) {
+ function Pt(e) {
var t = e.tag;
if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;
throw Error(i(33));
}
- function It(e) {
- var t = e[kt];
- return t ||= e[kt] = {
+ function Ft(e) {
+ var t = e[Ot];
+ return t ||= e[Ot] = {
hoistableStyles: /* @__PURE__ */ new Map(),
hoistableScripts: /* @__PURE__ */ new Map()
}, t;
}
+ function It(e) {
+ e[kt] = !0;
+ }
function Lt(e) {
- e[At] = !0;
+ e[At] = void 0;
}
- function Rt(e) {
- e[jt] = void 0;
+ var Rt = /* @__PURE__ */ new Set(), zt = {};
+ function Bt(e, t) {
+ Vt(e, t), Vt(e + "Capture", t);
}
- var zt = /* @__PURE__ */ new Set(), Bt = {};
function Vt(e, t) {
- Ht(e, t), Ht(e + "Capture", t);
+ for (zt[e] = t, e = 0; e < t.length; e++) Rt.add(t[e]);
}
- function Ht(e, t) {
- for (Bt[e] = t, e = 0; e < t.length; e++) zt.add(t[e]);
- }
- var Ut = 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]*$"), Wt = {}, R = {};
+ var Ht = 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]*$"), Ut = {}, Wt = {};
function Gt(e) {
- return Pe.call(R, e) ? !0 : Pe.call(Wt, e) ? !1 : Ut.test(e) ? R[e] = !0 : (Wt[e] = !0, !1);
+ return Pe.call(Wt, e) ? !0 : Pe.call(Ut, e) ? !1 : Ht.test(e) ? Wt[e] = !0 : (Ut[e] = !0, !1);
}
var Kt = !1;
function qt() {
@@ -1311,7 +1312,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
}
}
- function Yt(e, t, n) {
+ function R(e, t, n) {
if (n === null) e.removeAttribute(t);
else {
switch (typeof n) {
@@ -1325,7 +1326,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
e.setAttribute(t, n);
}
}
- function Xt(e, t, n, r) {
+ function Yt(e, t, n, r) {
if (r === null) e.removeAttribute(n);
else {
switch (typeof r) {
@@ -1339,7 +1340,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
e.setAttributeNS(t, n, r);
}
}
- function Zt(e) {
+ function Xt(e) {
switch (typeof e) {
case "bigint":
case "boolean":
@@ -1350,11 +1351,11 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
default: return "";
}
}
- function Qt(e) {
+ function Zt(e) {
var t = e.type;
return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");
}
- function $t(e, t, n) {
+ function Qt(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;
@@ -1379,48 +1380,48 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
};
}
}
- function en(e) {
+ function $t(e) {
if (!e._valueTracker) {
- var t = Qt(e) ? "checked" : "value";
- e._valueTracker = $t(e, t, "" + e[t]);
+ var t = Zt(e) ? "checked" : "value";
+ e._valueTracker = Qt(e, t, "" + e[t]);
}
}
- function tn(e) {
+ function en(e) {
if (!e) return !1;
var t = e._valueTracker;
if (!t) return !0;
var n = t.getValue(), r = "";
- return e && (r = Qt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);
+ return e && (r = Zt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);
}
- var nn = /[\n"\\]/g;
- function rn(e) {
- return e.replace(nn, function(e) {
+ var tn = /[\n"\\]/g;
+ function nn(e) {
+ return e.replace(tn, function(e) {
return "\\" + e.charCodeAt(0).toString(16) + " ";
});
}
- function an(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 = "" + Zt(t)) : e.value !== "" + Zt(t) && (e.value = "" + Zt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : sn(e, Zt(n)) : o === "number" && e.value == t ? sn(e, Zt(e.value)) : sn(e, Zt(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 = "" + Zt(s) : e.removeAttribute("name");
+ function rn(e, t, n, r, i, a, o, s) {
+ e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + Xt(t)) : e.value !== "" + Xt(t) && (e.value = "" + Xt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : on(e, Xt(n)) : o === "number" && e.value == t ? on(e, Xt(e.value)) : on(e, Xt(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + Xt(s) : e.removeAttribute("name");
}
- function on(e, t, n, r, i, a, o, s) {
+ function an(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)) {
- en(e);
+ $t(e);
return;
}
- n = n == null ? "" : "" + Zt(n), t = t == null ? n : "" + Zt(t), s || t === e.value || (e.value = t), e.defaultValue = t;
+ n = n == null ? "" : "" + Xt(n), t = t == null ? n : "" + Xt(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), en(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), $t(e);
}
- function sn(e, t) {
+ function on(e, t) {
e.defaultValue !== "" + t && (e.defaultValue = "" + t);
}
- function cn(e, t, n, r) {
+ function sn(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 = "" + Zt(n), t = null, i = 0; i < e.length; i++) {
+ for (n = "" + Xt(n), t = null, i = 0; i < e.length; i++) {
if (e[i].value === n) {
e[i].selected = !0, r && (e[i].defaultSelected = !0);
return;
@@ -1430,14 +1431,14 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
t !== null && (t.selected = !0);
}
}
- function ln(e, t, n) {
- if (t != null && (t = "" + Zt(t), t !== e.value && (e.value = t), n == null)) {
+ function cn(e, t, n) {
+ if (t != null && (t = "" + Xt(t), t !== e.value && (e.value = t), n == null)) {
e.defaultValue !== t && (e.defaultValue = t);
return;
}
- e.defaultValue = n == null ? "" : "" + Zt(n);
+ e.defaultValue = n == null ? "" : "" + Xt(n);
}
- function un(e, t, n, r) {
+ function ln(e, t, n, r) {
if (t == null) {
if (r != null) {
if (n != null) throw Error(i(92));
@@ -1449,9 +1450,9 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
n ??= "", t = n;
}
- n = Zt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), en(e);
+ n = Xt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), $t(e);
}
- function dn(e, t) {
+ function un(e, t) {
if (t) {
var n = e.firstChild;
if (n && n === e.lastChild && n.nodeType === 3) {
@@ -1461,19 +1462,19 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
e.textContent = t;
}
- var fn = 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 pn(e, t, n) {
+ var dn = 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 fn(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 || fn.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 || dn.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";
}
- function mn(e, t, n) {
+ function pn(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] = "", Kt = !0);
- for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (pn(e, a, r), Kt = !0);
- } else for (var o in t) t.hasOwnProperty(o) && pn(e, o, t[o]);
+ for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (fn(e, a, r), Kt = !0);
+ } else for (var o in t) t.hasOwnProperty(o) && fn(e, o, t[o]);
}
- function hn(e) {
+ function mn(e) {
if (e.indexOf("-") === -1) return !1;
switch (e) {
case "annotation-xml":
@@ -1487,7 +1488,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
default: return !0;
}
}
- var gn = /* @__PURE__ */ new Map([
+ var hn = /* @__PURE__ */ new Map([
["acceptCharset", "accept-charset"],
["htmlFor", "for"],
["httpEquiv", "http-equiv"],
@@ -1567,56 +1568,56 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
["writingMode", "writing-mode"],
["xmlnsXlink", "xmlns:xlink"],
["xHeight", "x-height"]
- ]), _n = /^[\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 vn(e) {
- return _n.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;
+ ]), gn = /^[\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 _n(e) {
+ return gn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;
}
- function yn() {}
- var bn = null;
- function xn(e) {
+ function vn() {}
+ var yn = null;
+ function bn(e) {
return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;
}
- var Sn = null, Cn = null;
- function wn(e) {
- var t = Pt(e);
+ var xn = null, Sn = null;
+ function Cn(e) {
+ var t = Nt(e);
if (t && (e = t.stateNode)) {
- var n = e[wt] || null;
+ var n = e[Ct] || null;
a: switch (e = t.stateNode, t.type) {
case "input":
- if (an(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {
+ if (rn(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=\"" + rn("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {
+ for (n = n.querySelectorAll("input[name=\"" + nn("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {
var r = n[t];
if (r !== e && r.form === e.form) {
- var a = r[wt] || null;
+ var a = r[Ct] || null;
if (!a) throw Error(i(90));
- an(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);
+ rn(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 && tn(r);
+ for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && en(r);
}
break a;
case "textarea":
- ln(e, n.value, n.defaultValue);
+ cn(e, n.value, n.defaultValue);
break a;
- case "select": t = n.value, t != null && cn(e, !!n.multiple, t, !1);
+ case "select": t = n.value, t != null && sn(e, !!n.multiple, t, !1);
}
}
}
- var Tn = !1;
- function En(e, t, n) {
- if (Tn) return e(t, n);
- Tn = !0;
+ var wn = !1;
+ function Tn(e, t, n) {
+ if (wn) return e(t, n);
+ wn = !0;
try {
return e(t);
} finally {
- if (Tn = !1, (Sn !== null || Cn !== null) && (Vd(), Sn && (t = Sn, e = Cn, Cn = Sn = null, wn(t), e))) for (t = 0; t < e.length; t++) wn(e[t]);
+ if (wn = !1, (xn !== null || Sn !== null) && (Bd(), xn && (t = xn, e = Sn, Sn = xn = null, Cn(t), e))) for (t = 0; t < e.length; t++) Cn(e[t]);
}
}
- function Dn(e, t) {
+ function En(e, t) {
var n = e.stateNode;
if (n === null) return null;
- var r = n[wt] || null;
+ var r = n[Ct] || null;
if (r === null) return null;
n = r[t];
a: switch (t) {
@@ -1639,54 +1640,54 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
if (n && typeof n != "function") throw Error(i(231, t, typeof n));
return n;
}
- var On = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), kn = !1;
- if (On) try {
- var An = {};
- Object.defineProperty(An, "passive", { get: function() {
- kn = !0;
- } }), window.addEventListener("test", An, An), window.removeEventListener("test", An, An);
+ var Dn = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), On = !1;
+ if (Dn) try {
+ var kn = {};
+ Object.defineProperty(kn, "passive", { get: function() {
+ On = !0;
+ } }), window.addEventListener("test", kn, kn), window.removeEventListener("test", kn, kn);
} catch {
- kn = !1;
+ On = !1;
}
- var jn = null, Mn = null, Nn = null;
- function Pn() {
- if (Nn) return Nn;
- var e, t = Mn, n = t.length, r, i = "value" in jn ? jn.value : jn.textContent, a = i.length;
+ var An = null, jn = null, Mn = null;
+ function Nn() {
+ if (Mn) return Mn;
+ var e, t = jn, n = t.length, r, i = "value" in An ? An.value : An.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 Nn = i.slice(e, 1 < r ? 1 - r : void 0);
+ return Mn = i.slice(e, 1 < r ? 1 - r : void 0);
}
- function Fn(e) {
+ function Pn(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 In() {
+ function Fn() {
return !0;
}
- function Ln() {
+ function In() {
return !1;
}
- function Rn(e) {
+ function Ln(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) ? In : Ln, this.isPropagationStopped = Ln, this;
+ return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? Fn : In, this.isPropagationStopped = In, this;
}
return w(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 = In);
+ e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = Fn);
},
stopPropagation: function() {
var e = this.nativeEvent;
- e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = In);
+ e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Fn);
},
persist: function() {},
- isPersistent: In
+ isPersistent: Fn
}), t;
}
- var zn = {
+ var Rn = {
eventPhase: 0,
bubbles: 0,
cancelable: 0,
@@ -1695,10 +1696,10 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
},
defaultPrevented: 0,
isTrusted: 0
- }, Bn = Rn(zn), Vn = w({}, zn, {
+ }, zn = Ln(Rn), Bn = w({}, Rn, {
view: 0,
detail: 0
- }), Hn = Rn(Vn), Un, Wn, Gn, Kn = w({}, Vn, {
+ }), Vn = Ln(Bn), Hn, Un, Wn, Gn = w({}, Bn, {
screenX: 0,
screenY: 0,
clientX: 0,
@@ -1709,25 +1710,25 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
shiftKey: 0,
altKey: 0,
metaKey: 0,
- getModifierState: rr,
+ getModifierState: nr,
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 !== Gn && (Gn && e.type === "mousemove" ? (Un = e.screenX - Gn.screenX, Wn = e.screenY - Gn.screenY) : Wn = Un = 0, Gn = e), Un);
+ return "movementX" in e ? e.movementX : (e !== Wn && (Wn && e.type === "mousemove" ? (Hn = e.screenX - Wn.screenX, Un = e.screenY - Wn.screenY) : Un = Hn = 0, Wn = e), Hn);
},
movementY: function(e) {
- return "movementY" in e ? e.movementY : Wn;
+ return "movementY" in e ? e.movementY : Un;
}
- }), qn = Rn(Kn), Jn = Rn(w({}, Kn, { dataTransfer: 0 })), Yn = Rn(w({}, Vn, { relatedTarget: 0 })), Xn = Rn(w({}, zn, {
+ }), Kn = Ln(Gn), qn = Ln(w({}, Gn, { dataTransfer: 0 })), Jn = Ln(w({}, Bn, { relatedTarget: 0 })), Yn = Ln(w({}, Rn, {
animationName: 0,
elapsedTime: 0,
pseudoElement: 0
- })), Zn = Rn(w({}, zn, { clipboardData: function(e) {
+ })), Xn = Ln(w({}, Rn, { clipboardData: function(e) {
return "clipboardData" in e ? e.clipboardData : window.clipboardData;
- } })), Qn = Rn(w({}, zn, { data: 0 })), $n = {
+ } })), Zn = Ln(w({}, Rn, { data: 0 })), Qn = {
Esc: "Escape",
Spacebar: " ",
Left: "ArrowLeft",
@@ -1740,7 +1741,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
Apps: "ContextMenu",
Scroll: "ScrollLock",
MozPrintableKey: "Unidentified"
- }, er = {
+ }, $n = {
8: "Backspace",
9: "Tab",
12: "Clear",
@@ -1777,26 +1778,26 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
144: "NumLock",
145: "ScrollLock",
224: "Meta"
- }, tr = {
+ }, er = {
Alt: "altKey",
Control: "ctrlKey",
Meta: "metaKey",
Shift: "shiftKey"
};
- function nr(e) {
+ function tr(e) {
var t = this.nativeEvent;
- return t.getModifierState ? t.getModifierState(e) : (e = tr[e]) ? !!t[e] : !1;
+ return t.getModifierState ? t.getModifierState(e) : (e = er[e]) ? !!t[e] : !1;
}
- function rr() {
- return nr;
+ function nr() {
+ return tr;
}
- var ir = Rn(w({}, Vn, {
+ var rr = Ln(w({}, Bn, {
key: function(e) {
if (e.key) {
- var t = $n[e.key] || e.key;
+ var t = Qn[e.key] || e.key;
if (t !== "Unidentified") return t;
}
- return e.type === "keypress" ? (e = Fn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? er[e.keyCode] || "Unidentified" : "";
+ return e.type === "keypress" ? (e = Pn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? $n[e.keyCode] || "Unidentified" : "";
},
code: 0,
location: 0,
@@ -1806,17 +1807,17 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
metaKey: 0,
repeat: 0,
locale: 0,
- getModifierState: rr,
+ getModifierState: nr,
charCode: function(e) {
- return e.type === "keypress" ? Fn(e) : 0;
+ return e.type === "keypress" ? Pn(e) : 0;
},
keyCode: function(e) {
return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
},
which: function(e) {
- return e.type === "keypress" ? Fn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
+ return e.type === "keypress" ? Pn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
}
- })), ar = Rn(w({}, Kn, {
+ })), ir = Ln(w({}, Gn, {
pointerId: 0,
width: 0,
height: 0,
@@ -1827,7 +1828,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
twist: 0,
pointerType: 0,
isPrimary: 0
- })), or = Rn(w({}, zn, { submitter: 0 })), sr = Rn(w({}, Vn, {
+ })), ar = Ln(w({}, Rn, { submitter: 0 })), or = Ln(w({}, Bn, {
touches: 0,
targetTouches: 0,
changedTouches: 0,
@@ -1835,12 +1836,12 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
metaKey: 0,
ctrlKey: 0,
shiftKey: 0,
- getModifierState: rr
- })), cr = Rn(w({}, zn, {
+ getModifierState: nr
+ })), sr = Ln(w({}, Rn, {
propertyName: 0,
elapsedTime: 0,
pseudoElement: 0
- })), lr = Rn(w({}, Kn, {
+ })), cr = Ln(w({}, Gn, {
deltaX: function(e) {
return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
},
@@ -1849,21 +1850,21 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
},
deltaZ: 0,
deltaMode: 0
- })), ur = Rn(w({}, zn, {
+ })), lr = Ln(w({}, Rn, {
newState: 0,
oldState: 0,
source: 0
- })), dr = [
+ })), ur = [
9,
13,
27,
32
- ], fr = On && "CompositionEvent" in window, pr = null;
- On && "documentMode" in document && (pr = document.documentMode);
- var mr = On && "TextEvent" in window && !pr, hr = On && (!fr || pr && 8 < pr && 11 >= pr), gr = " ", _r = !1;
- function vr(e, t) {
+ ], dr = Dn && "CompositionEvent" in window, fr = null;
+ Dn && "documentMode" in document && (fr = document.documentMode);
+ var pr = Dn && "TextEvent" in window && !fr, mr = Dn && (!dr || fr && 8 < fr && 11 >= fr), hr = " ", gr = !1;
+ function _r(e, t) {
switch (e) {
- case "keyup": return dr.indexOf(t.keyCode) !== -1;
+ case "keyup": return ur.indexOf(t.keyCode) !== -1;
case "keydown": return t.keyCode !== 229;
case "keypress":
case "mousedown":
@@ -1871,20 +1872,20 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
default: return !1;
}
}
- function yr(e) {
+ function vr(e) {
return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;
}
- var br = !1;
- function xr(e, t) {
+ var yr = !1;
+ function br(e, t) {
switch (e) {
- case "compositionend": return yr(t);
- case "keypress": return t.which === 32 ? (_r = !0, gr) : null;
- case "textInput": return e = t.data, e === gr && _r ? null : e;
+ case "compositionend": return vr(t);
+ case "keypress": return t.which === 32 ? (gr = !0, hr) : null;
+ case "textInput": return e = t.data, e === hr && gr ? null : e;
default: return null;
}
}
- function Sr(e, t) {
- if (br) return e === "compositionend" || !fr && vr(e, t) ? (e = Pn(), Nn = Mn = jn = null, br = !1, e) : null;
+ function xr(e, t) {
+ if (yr) return e === "compositionend" || !dr && _r(e, t) ? (e = Nn(), Mn = jn = An = null, yr = !1, e) : null;
switch (e) {
case "paste": return null;
case "keypress":
@@ -1893,11 +1894,11 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
if (t.which) return String.fromCharCode(t.which);
}
return null;
- case "compositionend": return hr && t.locale !== "ko" ? null : t.data;
+ case "compositionend": return mr && t.locale !== "ko" ? null : t.data;
default: return null;
}
}
- var Cr = {
+ var Sr = {
color: !0,
date: !0,
datetime: !0,
@@ -1914,76 +1915,76 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
url: !0,
week: !0
};
- function wr(e) {
+ function Cr(e) {
var t = e && e.nodeName && e.nodeName.toLowerCase();
- return t === "input" ? !!Cr[e.type] : t === "textarea";
+ return t === "input" ? !!Sr[e.type] : t === "textarea";
}
- function Tr(e, t, n, r) {
- Sn ? Cn ? Cn.push(r) : Cn = [r] : Sn = r, t = Qf(t, "onChange"), 0 < t.length && (n = new Bn("onChange", "change", null, n, r), e.push({
+ function wr(e, t, n, r) {
+ xn ? Sn ? Sn.push(r) : Sn = [r] : xn = r, t = Zf(t, "onChange"), 0 < t.length && (n = new zn("onChange", "change", null, n, r), e.push({
event: n,
listeners: t
}));
}
- var Er = null, Dr = null;
- function Or(e) {
- Wf(e, 0);
+ var Tr = null, Er = null;
+ function Dr(e) {
+ Uf(e, 0);
}
- function kr(e) {
- if (tn(Ft(e))) return e;
+ function Or(e) {
+ if (en(Pt(e))) return e;
}
- function Ar(e, t) {
+ function kr(e, t) {
if (e === "change") return t;
}
- var jr = !1;
- if (On) {
- var Mr;
- if (On) {
- var Nr = "oninput" in document;
- if (!Nr) {
- var Pr = document.createElement("div");
- Pr.setAttribute("oninput", "return;"), Nr = typeof Pr.oninput == "function";
+ var Ar = !1;
+ if (Dn) {
+ var jr;
+ if (Dn) {
+ var Mr = "oninput" in document;
+ if (!Mr) {
+ var Nr = document.createElement("div");
+ Nr.setAttribute("oninput", "return;"), Mr = typeof Nr.oninput == "function";
}
- Mr = Nr;
- } else Mr = !1;
- jr = Mr && (!document.documentMode || 9 < document.documentMode);
+ jr = Mr;
+ } else jr = !1;
+ Ar = jr && (!document.documentMode || 9 < document.documentMode);
}
- function Fr() {
- Er && (Er.detachEvent("onpropertychange", Ir), Dr = Er = null);
+ function Pr() {
+ Tr && (Tr.detachEvent("onpropertychange", Fr), Er = Tr = null);
}
- function Ir(e) {
- if (e.propertyName === "value" && kr(Dr)) {
+ function Fr(e) {
+ if (e.propertyName === "value" && Or(Er)) {
var t = [];
- Tr(t, Dr, e, xn(e)), En(Or, t);
+ wr(t, Er, e, bn(e)), Tn(Dr, t);
}
}
- function Lr(e, t, n) {
- e === "focusin" ? (Fr(), Er = t, Dr = n, Er.attachEvent("onpropertychange", Ir)) : e === "focusout" && Fr();
+ function Ir(e, t, n) {
+ e === "focusin" ? (Pr(), Tr = t, Er = n, Tr.attachEvent("onpropertychange", Fr)) : e === "focusout" && Pr();
+ }
+ function Lr(e) {
+ if (e === "selectionchange" || e === "keyup" || e === "keydown") return Or(Er);
}
- function Rr(e) {
- if (e === "selectionchange" || e === "keyup" || e === "keydown") return kr(Dr);
+ function Rr(e, t) {
+ if (e === "click") return Or(t);
}
function zr(e, t) {
- if (e === "click") return kr(t);
+ if (e === "input" || e === "change") return Or(t);
}
function Br(e, t) {
- if (e === "input" || e === "change") return kr(t);
- }
- function Vr(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
- var Hr = typeof Object.is == "function" ? Object.is : Vr;
- function Ur(e, t) {
- if (Hr(e, t)) return !0;
+ var Vr = typeof Object.is == "function" ? Object.is : Br;
+ function Hr(e, t) {
+ if (Vr(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) || !Hr(e[i], t[i])) return !1;
+ if (!Pe.call(t, i) || !Vr(e[i], t[i])) return !1;
}
return !0;
}
- function Wr(e) {
+ function Ur(e) {
if (e ||= typeof document < "u" ? document : void 0, e === void 0) return null;
try {
return e.activeElement || e.body;
@@ -1991,12 +1992,12 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
return e.body;
}
}
- function Gr(e) {
+ function Wr(e) {
for (; e && e.firstChild;) e = e.firstChild;
return e;
}
- function Kr(e, t) {
- var n = Gr(e);
+ function Gr(e, t) {
+ var n = Wr(e);
e = 0;
for (var r; n;) {
if (n.nodeType === 3) {
@@ -2016,15 +2017,15 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
n = void 0;
}
- n = Gr(n);
+ n = Wr(n);
}
}
- function qr(e, t) {
- return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? qr(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;
+ function Kr(e, t) {
+ return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Kr(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;
}
- function Jr(e) {
+ function qr(e) {
e = e != null && e.ownerDocument != null && e.ownerDocument.defaultView != null ? e.ownerDocument.defaultView : window;
- for (var t = Wr(e.document); t instanceof e.HTMLIFrameElement;) {
+ for (var t = Ur(e.document); t instanceof e.HTMLIFrameElement;) {
try {
var n = typeof t.contentWindow.location.href == "string";
} catch {
@@ -2032,18 +2033,18 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
if (n) e = t.contentWindow;
else break;
- t = Wr(e.document);
+ t = Ur(e.document);
}
return t;
}
- function Yr(e) {
+ function Jr(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 Xr = On && "documentMode" in document && 11 >= document.documentMode, Zr = null, Qr = null, $r = null, ei = !1;
- function ti(e, t, n) {
+ var Yr = Dn && "documentMode" in document && 11 >= document.documentMode, Xr = null, Zr = null, Qr = null, $r = !1;
+ function ei(e, t, n) {
var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;
- ei || Zr == null || Zr !== Wr(r) || (r = Zr, "selectionStart" in r && Yr(r) ? r = {
+ $r || Xr == null || Xr !== Ur(r) || (r = Xr, "selectionStart" in r && Jr(r) ? r = {
start: r.selectionStart,
end: r.selectionEnd
} : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = {
@@ -2051,48 +2052,48 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
anchorOffset: r.anchorOffset,
focusNode: r.focusNode,
focusOffset: r.focusOffset
- }), $r && Ur($r, r) || ($r = r, r = Qf(Qr, "onSelect"), 0 < r.length && (t = new Bn("onSelect", "select", null, t, n), e.push({
+ }), Qr && Hr(Qr, r) || (Qr = r, r = Zf(Zr, "onSelect"), 0 < r.length && (t = new zn("onSelect", "select", null, t, n), e.push({
event: t,
listeners: r
- }), t.target = Zr)));
+ }), t.target = Xr)));
}
- function ni(e, t) {
+ function ti(e, t) {
var n = {};
return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;
}
- var ri = {
- animationend: ni("Animation", "AnimationEnd"),
- animationiteration: ni("Animation", "AnimationIteration"),
- animationstart: ni("Animation", "AnimationStart"),
- transitionrun: ni("Transition", "TransitionRun"),
- transitionstart: ni("Transition", "TransitionStart"),
- transitioncancel: ni("Transition", "TransitionCancel"),
- transitionend: ni("Transition", "TransitionEnd")
- }, ii = {}, ai = {};
- On && (ai = document.createElement("div").style, "AnimationEvent" in window || (delete ri.animationend.animation, delete ri.animationiteration.animation, delete ri.animationstart.animation), "TransitionEvent" in window || delete ri.transitionend.transition);
- function oi(e) {
- if (ii[e]) return ii[e];
- if (!ri[e]) return e;
- var t = ri[e], n;
- for (n in t) if (t.hasOwnProperty(n) && n in ai) return ii[e] = t[n];
+ var ni = {
+ animationend: ti("Animation", "AnimationEnd"),
+ animationiteration: ti("Animation", "AnimationIteration"),
+ animationstart: ti("Animation", "AnimationStart"),
+ transitionrun: ti("Transition", "TransitionRun"),
+ transitionstart: ti("Transition", "TransitionStart"),
+ transitioncancel: ti("Transition", "TransitionCancel"),
+ transitionend: ti("Transition", "TransitionEnd")
+ }, ri = {}, ii = {};
+ Dn && (ii = document.createElement("div").style, "AnimationEvent" in window || (delete ni.animationend.animation, delete ni.animationiteration.animation, delete ni.animationstart.animation), "TransitionEvent" in window || delete ni.transitionend.transition);
+ function ai(e) {
+ if (ri[e]) return ri[e];
+ if (!ni[e]) return e;
+ var t = ni[e], n;
+ for (n in t) if (t.hasOwnProperty(n) && n in ii) return ri[e] = t[n];
return e;
}
- var si = oi("animationend"), ci = oi("animationiteration"), li = oi("animationstart"), ui = oi("transitionrun"), di = oi("transitionstart"), fi = oi("transitioncancel"), pi = oi("transitionend"), mi = /* @__PURE__ */ new Map(), hi = "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(" ");
- hi.push("scrollEnd");
- function gi(e, t) {
- mi.set(e, t), Vt(t, [e]);
+ var oi = ai("animationend"), si = ai("animationiteration"), ci = ai("animationstart"), li = ai("transitionrun"), ui = ai("transitionstart"), di = ai("transitioncancel"), fi = ai("transitionend"), pi = /* @__PURE__ */ new Map(), mi = "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(" ");
+ mi.push("scrollEnd");
+ function hi(e, t) {
+ pi.set(e, t), Bt(t, [e]);
}
- var _i = 0;
- function vi(e, t) {
+ var gi = 0;
+ function _i(e, t) {
if (e.name != null && e.name !== "auto") return e.name;
if (t.autoName !== null) return t.autoName;
- e = Sd.identifierPrefix;
- var n = _i++;
+ e = xd.identifierPrefix;
+ var n = gi++;
return e = "_" + e + "t_" + n.toString(32) + "_", t.autoName = e;
}
- function yi(e) {
+ function vi(e) {
if (e == null || typeof e == "string") return e;
- var t = null, n = Ad;
+ var t = null, n = kd;
if (n !== null) for (var r = 0; r < n.length; r++) {
var i = e[n[r]];
if (i != null) {
@@ -2102,10 +2103,10 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return t ?? e.default;
}
- function bi(e, t) {
- return e = yi(e), t = yi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;
+ function yi(e, t) {
+ return e = vi(e), t = vi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;
}
- var xi = typeof reportError == "function" ? reportError : function(e) {
+ var bi = typeof reportError == "function" ? reportError : function(e) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var t = new window.ErrorEvent("error", {
bubbles: !0,
@@ -2119,41 +2120,41 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
return;
}
console.error(e);
- }, z = [], Si = 0, Ci = 0;
+ }, xi = [], Si = 0, Ci = 0;
function wi() {
for (var e = Si, t = Ci = Si = 0; t < e;) {
- var n = z[t];
- z[t++] = null;
- var r = z[t];
- z[t++] = null;
- var i = z[t];
- z[t++] = null;
- var a = z[t];
- if (z[t++] = null, r !== null && i !== null) {
+ var n = xi[t];
+ xi[t++] = null;
+ var r = xi[t];
+ xi[t++] = null;
+ var i = xi[t];
+ xi[t++] = null;
+ var a = xi[t];
+ if (xi[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 && Oi(n, i, a);
+ a !== 0 && Di(n, i, a);
}
}
function Ti(e, t, n, r) {
- z[Si++] = e, z[Si++] = t, z[Si++] = n, z[Si++] = r, Ci |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);
+ xi[Si++] = e, xi[Si++] = t, xi[Si++] = n, xi[Si++] = r, Ci |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);
}
- function Ei(e, t, n, r) {
- return Ti(e, t, n, r), B(e);
+ function z(e, t, n, r) {
+ return Ti(e, t, n, r), Oi(e);
}
- function Di(e, t) {
- return Ti(e, null, null, t), B(e);
+ function Ei(e, t) {
+ return Ti(e, null, null, t), Oi(e);
}
- function Oi(e, t, n) {
+ function Di(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 - Qe(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 - Ze(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;
}
- function B(e) {
- if (50 < jd) throw jd = 0, Md = null, Error(i(185));
+ function Oi(e) {
+ if (50 < Ad) throw Ad = 0, jd = null, Error(i(185));
for (var t = e.return; t !== null;) e = t, t = e.return;
return e.tag === 3 ? e.stateNode : null;
}
@@ -2167,14 +2168,14 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
function Mi(e) {
return e = e.prototype, !(!e || !e.isReactComponent);
}
- function Ni(e, t) {
+ function B(e, t) {
var n = e.alternate;
return n === null ? (n = ji(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 Pi(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 : {
@@ -2182,13 +2183,13 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
firstContext: t.firstContext
}), e;
}
- function Fi(e, t, n, r, a, o) {
+ function Pi(e, t, n, r, a, o) {
var s = 0;
if (r = e, typeof r == "function") Mi(r) && (s = 1);
- else if (typeof r == "string") s = Qm(e, n, ye.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;
+ else if (typeof r == "string") s = Zm(e, n, ye.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;
else a: switch (r) {
case ne: return e = ji(31, n, t, a), e.elementType = ne, e.lanes = o, e;
- case O: return Ii(n.children, a, o, t);
+ case O: return Fi(n.children, a, o, t);
case k:
s = 8, a |= 24;
break;
@@ -2224,32 +2225,32 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return t = ji(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;
}
- function Ii(e, t, n, r) {
+ function Fi(e, t, n, r) {
return e = ji(7, e, r, t), e.lanes = n, e;
}
- function Li(e, t, n) {
+ function Ii(e, t, n) {
return e = ji(6, e, null, t), e.lanes = n, e;
}
- function Ri(e) {
+ function Li(e) {
var t = ji(18, null, null, 0);
return t.stateNode = e, t;
}
- function zi(e, t, n) {
+ function Ri(e, t, n) {
return t = ji(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {
containerInfo: e.containerInfo,
pendingChildren: null,
implementation: e.implementation
}, t;
}
- var Bi = /* @__PURE__ */ new WeakMap();
- function Vi(e, t) {
+ var zi = /* @__PURE__ */ new WeakMap();
+ function Bi(e, t) {
if (typeof e == "object" && e) {
- var n = Bi.get(e);
+ var n = zi.get(e);
return n === void 0 ? (t = {
value: e,
source: t,
stack: Ne(t)
- }, Bi.set(e, t), t) : n;
+ }, zi.set(e, t), t) : n;
}
return {
value: e,
@@ -2257,124 +2258,124 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
stack: Ne(t)
};
}
- var Hi = [], Ui = 0, Wi = null, Gi = 0, Ki = [], qi = 0, Ji = null, Yi = 1, Xi = "";
- function Zi(e, t) {
- Hi[Ui++] = Gi, Hi[Ui++] = Wi, Wi = e, Gi = 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 Qi(e, t, n) {
- Ki[qi++] = Yi, Ki[qi++] = Xi, Ki[qi++] = Ji, Ji = e;
- var r = Yi;
- e = Xi;
- var i = 32 - Qe(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 - Ze(r) - 1;
r &= ~(1 << i), n += 1;
- var a = 32 - Qe(t) + i;
+ var a = 32 - Ze(t) + i;
if (30 < a) {
var o = i - i % 5;
- a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, Yi = 1 << 32 - Qe(t) + i | n << i | r, Xi = a + e;
- } else Yi = 1 << a | n << i | r, Xi = e;
+ a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, Ji = 1 << 32 - Ze(t) + i | n << i | r, Yi = a + e;
+ } else Ji = 1 << a | n << i | r, Yi = e;
}
- function $i(e) {
- e.return !== null && (Zi(e, 1), Qi(e, 1, 0));
+ function Qi(e) {
+ e.return !== null && (Xi(e, 1), Zi(e, 1, 0));
}
- function ea(e) {
- for (; e === Wi;) Wi = Hi[--Ui], Hi[Ui] = null, Gi = Hi[--Ui], Hi[Ui] = null;
- for (; e === Ji;) Ji = Ki[--qi], Ki[qi] = null, Xi = Ki[--qi], Ki[qi] = null, Yi = Ki[--qi], Ki[qi] = null;
+ 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;
}
- function ta(e, t) {
- Ki[qi++] = Yi, Ki[qi++] = Xi, Ki[qi++] = Ji, Yi = t.id, Xi = t.overflow, Ji = e;
+ function ea(e, t) {
+ Gi[Ki++] = Ji, Gi[Ki++] = Yi, Gi[Ki++] = qi, Ji = t.id, Yi = t.overflow, qi = e;
}
- var na = null, ra = null, ia = !1, aa = null, V = !1, oa = Error(i(519));
+ var ta = null, na = null, ra = !1, ia = null, aa = !1, oa = Error(i(519));
function sa(e) {
- throw ua(Vi(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), oa;
+ throw fa(Bi(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), oa;
}
function ca(e) {
var t = e.stateNode, n = e.type, r = e.memoizedProps;
- switch (t[Ct] = e, t[wt] = r, n) {
+ switch (t[St] = e, t[Ct] = r, n) {
case "dialog":
- Gf("cancel", t), Gf("close", t);
+ Wf("cancel", t), Wf("close", t);
break;
case "iframe":
case "object":
case "embed":
- Gf("load", t);
+ Wf("load", t);
break;
case "video":
case "audio":
- for (n = 0; n < Hf.length; n++) Gf(Hf[n], t);
+ for (n = 0; n < Vf.length; n++) Wf(Vf[n], t);
break;
case "source":
- Gf("error", t);
+ Wf("error", t);
break;
case "img":
case "image":
case "link":
- Gf("error", t), Gf("load", t);
+ Wf("error", t), Wf("load", t);
break;
case "details":
- Gf("toggle", t);
+ Wf("toggle", t);
break;
case "input":
- Gf("invalid", t), on(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);
+ Wf("invalid", t), an(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);
break;
case "select":
- Gf("invalid", t);
+ Wf("invalid", t);
break;
- case "textarea": Gf("invalid", t), un(t, r.value, r.defaultValue, r.children);
+ case "textarea": Wf("invalid", t), ln(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 || ip(t.textContent, n) ? (r.popover != null && (Gf("beforetoggle", t), Gf("toggle", t)), r.onScroll != null && Gf("scroll", t), r.onScrollEnd != null && Gf("scrollend", t), r.onClick != null && (t.onclick = yn), t = !0) : t = !1, t || sa(e, !0);
+ n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || rp(t.textContent, n) ? (r.popover != null && (Wf("beforetoggle", t), Wf("toggle", t)), r.onScroll != null && Wf("scroll", t), r.onScrollEnd != null && Wf("scrollend", t), r.onClick != null && (t.onclick = vn), t = !0) : t = !1, t || sa(e, !0);
}
- function H(e) {
- for (na = e.return; na;) switch (na.tag) {
+ function la(e) {
+ for (ta = e.return; ta;) switch (ta.tag) {
case 5:
case 31:
case 13:
- V = !1;
+ aa = !1;
return;
case 27:
case 3:
- V = !0;
+ aa = !0;
return;
- default: na = na.return;
+ default: ta = ta.return;
}
}
- function U(e) {
- if (e !== na) return !1;
- if (!ia) return H(e), ia = !0, !1;
+ function V(e) {
+ if (e !== ta) return !1;
+ if (!ra) return la(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" || vp(e.type, e.memoizedProps)), n = !n), n && ra && sa(e), H(e), t === 13) {
+ if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || _p(e.type, e.memoizedProps)), n = !n), n && na && sa(e), la(e), t === 13) {
if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));
- ra = gm(e);
+ na = hm(e);
} else if (t === 31) {
if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));
- ra = gm(e);
- } else t === 27 ? (t = ra, Dp(e.type) ? (e = hm, hm = null, ra = e) : ra = t) : ra = na ? mm(e.stateNode.nextSibling) : null;
+ na = hm(e);
+ } else t === 27 ? (t = na, Ep(e.type) ? (e = mm, mm = null, na = e) : na = t) : na = ta ? pm(e.stateNode.nextSibling) : null;
return !0;
}
- function W() {
- ra = na = null, ia = !1;
+ function ua() {
+ na = ta = null, ra = !1;
}
- function la() {
- var e = aa;
- return e !== null && (md === null ? md = e : md.push.apply(md, e), aa = null), e;
+ function da() {
+ var e = ia;
+ return e !== null && (pd === null ? pd = e : pd.push.apply(pd, e), ia = null), e;
}
- function ua(e) {
- aa === null ? aa = [e] : aa.push(e);
+ function fa(e) {
+ ia === null ? ia = [e] : ia.push(e);
}
- var da = ge(null), fa = null, pa = null;
- function ma(e, t, n) {
- ve(da, t._currentValue), t._currentValue = n;
+ var H = ge(null), U = null, W = null;
+ function pa(e, t, n) {
+ ve(H, t._currentValue), t._currentValue = n;
}
- function ha(e) {
- e._currentValue = da.current, _e(da);
+ function ma(e) {
+ e._currentValue = H.current, _e(H);
}
- function ga(e, t, n) {
+ function ha(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 _a(e, t, n, r) {
+ function ga(e, t, n, r) {
var a = e.child;
for (a !== null && (a.return = e); a !== null;) {
var o = a.dependencies;
@@ -2385,15 +2386,15 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
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), ga(o.return, n, e), r || (s = null);
+ o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), ha(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), ga(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), ga(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), ha(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), ha(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) {
@@ -2409,7 +2410,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
a = s;
}
}
- function va(e, t, n, r) {
+ function _a(e, t, n, r) {
e = null;
for (var a = t, o = !1; a !== null;) {
if (!o) {
@@ -2421,31 +2422,31 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
if (s === null) throw Error(i(387));
if (s = s.memoizedProps, s !== null) {
var c = a.type;
- Hr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));
+ Vr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));
}
} else if (a === Se.current) {
if (s = a.alternate, s === null) throw Error(i(387));
- s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [fh] : e.push(fh));
+ s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [dh] : e.push(dh));
}
a = a.return;
}
- return e !== null && _a(t, e, n, r), t.flags |= 262144, e !== null;
+ return e !== null && ga(t, e, n, r), t.flags |= 262144, e !== null;
}
- function ya(e) {
+ function va(e) {
for (e = e.firstContext; e !== null;) {
- if (!Hr(e.context._currentValue, e.memoizedValue)) return !0;
+ if (!Vr(e.context._currentValue, e.memoizedValue)) return !0;
e = e.next;
}
return !1;
}
- function G(e) {
- fa = e, pa = null, e = e.dependencies, e !== null && (e.firstContext = null);
+ function ya(e) {
+ U = e, W = null, e = e.dependencies, e !== null && (e.firstContext = null);
}
function ba(e) {
- return Sa(fa, e);
+ return Sa(U, e);
}
function xa(e, t) {
- return fa === null && G(e), Sa(e, t);
+ return U === null && ya(e), Sa(e, t);
}
function Sa(e, t) {
var n = t._currentValue;
@@ -2453,13 +2454,13 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
context: t,
memoizedValue: n,
next: null
- }, pa === null) {
+ }, W === null) {
if (e === null) throw Error(i(308));
- pa = t, e.dependencies = {
+ W = t, e.dependencies = {
lanes: 0,
firstContext: t
}, e.flags |= 524288;
- } else pa = pa.next = t;
+ } else W = W.next = t;
return n;
}
var Ca = typeof AbortController < "u" ? AbortController : function() {
@@ -2474,7 +2475,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
return e();
});
};
- }, wa = t.unstable_scheduleCallback, K = t.unstable_NormalPriority, Ta = {
+ }, G = t.unstable_scheduleCallback, wa = t.unstable_NormalPriority, Ta = {
$$typeof: M,
Consumer: null,
Provider: null,
@@ -2490,7 +2491,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
};
}
function Da(e) {
- e.refCount--, e.refCount === 0 && wa(K, function() {
+ e.refCount--, e.refCount === 0 && G(wa, function() {
e.controller.abort();
});
}
@@ -2503,16 +2504,16 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
}
}
- var ka = null;
- function Aa(e) {
+ var K = null;
+ function ka(e) {
var t = e.transitionTypes;
return e.transitionTypes = null, t;
}
- var ja = null, Ma = 0, Na = 0, Pa = null;
- function Fa(e, t) {
- if (ja === null) {
- var n = ja = [];
- Ma = 0, Na = Lf(), Pa = {
+ var Aa = null, ja = 0, Ma = 0, Na = null;
+ function Pa(e, t) {
+ if (Aa === null) {
+ var n = Aa = [];
+ ja = 0, Ma = If(), Na = {
status: "pending",
value: void 0,
then: function(e) {
@@ -2520,17 +2521,17 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
};
}
- return Ma++, t.then(Ia, Ia), t;
+ return ja++, t.then(Fa, Fa), t;
}
- function Ia() {
- if (--Ma === 0 && (ka = null, ja !== null)) {
- Pa !== null && (Pa.status = "fulfilled");
- var e = ja;
- ja = null, Na = 0, Pa = null;
+ function Fa() {
+ if (--ja === 0 && (K = null, Aa !== null)) {
+ Na !== null && (Na.status = "fulfilled");
+ var e = Aa;
+ Aa = null, Ma = 0, Na = null;
for (var t = 0; t < e.length; t++) (0, e[t])();
}
}
- function La(e, t) {
+ function Ia(e, t) {
var n = [], r = {
status: "pending",
value: null,
@@ -2546,48 +2547,48 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
for (r.status = "rejected", r.reason = e, e = 0; e < n.length; e++) (0, n[e])(void 0);
}), r;
}
- var Ra = I.S;
+ var La = I.S;
I.S = function(e, t) {
- if (_d = ze(), typeof t == "object" && t && typeof t.then == "function" && Fa(e, t), ka !== null) for (var n = Cf; n !== null;) Oa(n, ka), n = n.next;
+ if (gd = ze(), typeof t == "object" && t && typeof t.then == "function" && Pa(e, t), K !== null) for (var n = Sf; n !== null;) Oa(n, K), n = n.next;
if (n = e.types, n !== null) {
- for (var r = Cf; r !== null;) Oa(r, n), r = r.next;
- if (Na !== 0) {
- r = ka, r === null && (r = ka = []);
+ for (var r = Sf; r !== null;) Oa(r, n), r = r.next;
+ if (Ma !== 0) {
+ r = K, r === null && (r = K = []);
for (var i = 0; i < n.length; i++) {
var a = n[i];
r.indexOf(a) === -1 && r.push(a);
}
}
}
- Ra !== null && Ra(e, t);
+ La !== null && La(e, t);
};
- var za = ge(null);
- function Ba() {
- var e = za.current;
- return e === null ? Qu.pooledCache : e;
+ var Ra = ge(null);
+ function za() {
+ var e = Ra.current;
+ return e === null ? Zu.pooledCache : e;
}
- function Va(e, t) {
- t === null ? ve(za, za.current) : ve(za, t.pool);
+ function Ba(e, t) {
+ t === null ? ve(Ra, Ra.current) : ve(Ra, t.pool);
}
- function Ha() {
- var e = Ba();
+ function Va() {
+ var e = za();
return e === null ? null : {
parent: Ta._currentValue,
pool: e
};
}
- var Ua = Error(i(460)), Wa = Error(i(474)), Ga = Error(i(542)), Ka = { then: function() {} };
- function qa(e) {
+ var Ha = Error(i(460)), Ua = Error(i(474)), Wa = Error(i(542)), Ga = { then: function() {} };
+ function Ka(e) {
return e = e.status, e === "fulfilled" || e === "rejected";
}
- function Ja(e, t, n) {
- switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(yn, yn), t = n), t.status) {
+ function qa(e, t, n) {
+ switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(vn, vn), t = n), t.status) {
case "fulfilled": return t.value;
case "rejected": throw e = t.reason, Za(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;
default:
- if (typeof t.status == "string") t.then(yn, yn);
+ if (typeof t.status == "string") t.then(vn, vn);
else {
- if (e = Qu, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));
+ if (e = Zu, 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;
@@ -2604,38 +2605,38 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case "fulfilled": return t.value;
case "rejected": throw e = t.reason, Za(e), e;
}
- throw Xa = t, Ua;
+ throw Ya = t, Ha;
}
}
- function Ya(e) {
+ function Ja(e) {
try {
var t = e._init;
return t(e._payload);
} catch (e) {
- throw typeof e == "object" && e && typeof e.then == "function" ? (Xa = e, Ua) : e;
+ throw typeof e == "object" && e && typeof e.then == "function" ? (Ya = e, Ha) : e;
}
}
- var Xa = null;
- function q() {
- if (Xa === null) throw Error(i(459));
- var e = Xa;
- return Xa = null, e;
+ var Ya = null;
+ function Xa() {
+ if (Ya === null) throw Error(i(459));
+ var e = Ya;
+ return Ya = null, e;
}
function Za(e) {
- if (e === Ua || e === Ga) throw Error(i(483));
+ if (e === Ha || e === Wa) throw Error(i(483));
}
var Qa = null, $a = 0;
function eo(e) {
var t = $a;
- return $a += 1, Qa === null && (Qa = []), Ja(Qa, e, t);
+ return $a += 1, Qa === null && (Qa = []), qa(Qa, e, t);
}
- function to(e, t) {
+ function q(e, t) {
t = t.props.ref, e.ref = t === void 0 ? null : t;
}
- function no(e, t) {
+ function to(e, t) {
throw t.$$typeof === T ? Error(i(525)) : (e = Object.prototype.toString.call(t), Error(i(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)));
}
- function ro(e) {
+ function no(e) {
function t(t, n) {
if (e) {
var r = t.deletions;
@@ -2652,7 +2653,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
return t;
}
function a(e, t) {
- return e = Ni(e, t), e.index = 0, e.sibling = null, e;
+ return e = B(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);
@@ -2661,30 +2662,30 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
return e && t.alternate === null && (t.flags |= 134217730), t;
}
function c(e, t, n, r) {
- return t === null || t.tag !== 6 ? (t = Li(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 === O ? (e = d(e, t, n.props.children, r, n.key), to(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === te && Ya(i) === t.type) ? (t = a(t, n.props), to(t, n), t.return = e, t) : (t = Fi(n.type, n.key, n.props, null, e.mode, r), to(t, n), t.return = e, t);
+ return i === O ? (e = d(e, t, n.props.children, r, n.key), q(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === te && Ja(i) === t.type) ? (t = a(t, n.props), q(t, n), t.return = e, t) : (t = Pi(n.type, n.key, n.props, null, e.mode, r), q(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 = zi(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 = Ii(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 = Li("" + 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 E: return n = Fi(t.type, t.key, t.props, null, e.mode, n), to(n, t), n.return = e, n;
- case D: return t = zi(t, e.mode, n), t.return = e, t;
- case te: return t = Ya(t), f(e, t, n);
+ case E: return n = Pi(t.type, t.key, t.props, null, e.mode, n), q(n, t), n.return = e, n;
+ case D: return t = Ri(t, e.mode, n), t.return = e, t;
+ case te: return t = Ja(t), f(e, t, n);
}
- if (de(t) || ce(t)) return t = Ii(t, e.mode, n, null), t.return = e, t;
+ if (de(t) || ce(t)) return t = Fi(t, e.mode, n, null), t.return = e, t;
if (typeof t.then == "function") return f(e, eo(t), n);
if (t.$$typeof === M) return f(e, xa(e, t), n);
- no(e, t);
+ to(e, t);
}
return null;
}
@@ -2695,12 +2696,12 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
switch (n.$$typeof) {
case E: return n.key === i ? l(e, t, n, r) : null;
case D: return n.key === i ? u(e, t, n, r) : null;
- case te: return n = Ya(n), p(e, t, n, r);
+ case te: return n = Ja(n), p(e, t, n, r);
}
if (de(n) || ce(n)) return i === null ? d(e, t, n, r, null) : null;
if (typeof n.then == "function") return p(e, t, eo(n), r);
if (n.$$typeof === M) return p(e, t, xa(e, n), r);
- no(e, n);
+ to(e, n);
}
return null;
}
@@ -2710,12 +2711,12 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
switch (r.$$typeof) {
case E: return e = e.get(r.key === null ? n : r.key) || null, l(t, e, r, i);
case D: return e = e.get(r.key === null ? n : r.key) || null, u(t, e, r, i);
- case te: return r = Ya(r), m(e, t, n, r, i);
+ case te: return r = Ja(r), m(e, t, n, r, i);
}
if (de(r) || ce(r)) return e = e.get(n) || null, d(t, e, r, i, null);
if (typeof r.then == "function") return m(e, t, n, eo(r), i);
if (r.$$typeof === M) return m(e, t, n, xa(t, r), i);
- no(t, r);
+ to(t, r);
}
return null;
}
@@ -2729,15 +2730,15 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
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), ia && Zi(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 ia && Zi(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);
- }), ia && Zi(i, h), l;
+ }), ra && Xi(i, h), l;
}
function g(a, s, c, l) {
if (c == null) throw Error(i(151));
@@ -2750,15 +2751,15 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
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), ia && Zi(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 ia && Zi(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);
- }), ia && Zi(a, g), u;
+ }), ra && Xi(a, g), u;
}
function _(e, r, o, c) {
if (typeof o == "object" && o && o.type === O && o.key === null && o.props.ref === void 0 && (o = o.props.children), typeof o == "object" && o) {
@@ -2769,11 +2770,11 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
if (r.key === l) {
if (l = o.type, l === O) {
if (r.tag === 7) {
- n(e, r.sibling), c = a(r, o.props.children), to(c, o), c.return = e, e = c;
+ n(e, r.sibling), c = a(r, o.props.children), q(c, o), c.return = e, e = c;
break a;
}
- } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === te && Ya(l) === r.type) {
- n(e, r.sibling), c = a(r, o.props), to(c, o), c.return = e, e = c;
+ } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === te && Ja(l) === r.type) {
+ n(e, r.sibling), c = a(r, o.props), q(c, o), c.return = e, e = c;
break a;
}
n(e, r);
@@ -2781,7 +2782,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
t(e, r), r = r.sibling;
}
- o.type === O ? (c = Ii(o.props.children, e.mode, c, o.key), to(c, o), c.return = e, e = c) : (c = Fi(o.type, o.key, o.props, null, e.mode, c), to(c, o), c.return = e, e = c);
+ o.type === O ? (c = Fi(o.props.children, e.mode, c, o.key), q(c, o), c.return = e, e = c) : (c = Pi(o.type, o.key, o.props, null, e.mode, c), q(c, o), c.return = e, e = c);
}
return s(e);
case D:
@@ -2797,10 +2798,10 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
t(e, r), r = r.sibling;
}
- c = zi(o, e.mode, c), c.return = e, e = c;
+ c = Ri(o, e.mode, c), c.return = e, e = c;
}
return s(e);
- case te: return o = Ya(o), _(e, r, o, c);
+ case te: return o = Ja(o), _(e, r, o, c);
}
if (de(o)) return h(e, r, o, c);
if (ce(o)) {
@@ -2809,9 +2810,9 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
if (typeof o.then == "function") return _(e, r, eo(o), c);
if (o.$$typeof === M) return _(e, r, xa(e, o), c);
- no(e, o);
+ to(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 = Li(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 {
@@ -2819,14 +2820,14 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
var i = _(e, t, n, r);
return Qa = null, i;
} catch (t) {
- if (t === Ua || t === Ga) throw t;
+ if (t === Ha || t === Wa) throw t;
var a = ji(29, t, null, e.mode);
return a.lanes = r, a.return = e, a;
}
};
}
- var io = ro(!0), ao = ro(!1), oo = !1;
- function so(e) {
+ var ro = no(!0), io = no(!1), ao = !1;
+ function oo(e) {
e.updateQueue = {
baseState: e.memoizedState,
firstBaseUpdate: null,
@@ -2839,7 +2840,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
callbacks: null
};
}
- function co(e, t) {
+ function so(e, t) {
e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {
baseState: e.baseState,
firstBaseUpdate: e.firstBaseUpdate,
@@ -2848,7 +2849,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
callbacks: null
});
}
- function lo(e) {
+ function co(e) {
return {
lane: e,
tag: 0,
@@ -2857,22 +2858,22 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
next: null
};
}
- function uo(e, t, n) {
+ function lo(e, t, n) {
var r = e.updateQueue;
if (r === null) return null;
- if (r = r.shared, Zu & 2) {
+ if (r = r.shared, Xu & 2) {
var i = r.pending;
- return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = B(e), Oi(e, null, n), t;
+ return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Oi(e), Di(e, null, n), t;
}
- return Ti(e, r, t, n), B(e);
+ return Ti(e, r, t, n), Oi(e);
}
- function fo(e, t, n) {
+ function uo(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, gt(e, n);
+ r &= e.pendingLanes, n |= r, t.lanes = n, ht(e, n);
}
}
- function po(e, t) {
+ function fo(e, t) {
var n = e.updateQueue, r = e.alternate;
if (r !== null && (r = r.updateQueue, n === r)) {
var i = null, a = null;
@@ -2900,17 +2901,17 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t;
}
- var mo = !1;
- function ho() {
- if (mo) {
- var e = Pa;
+ var po = !1;
+ function mo() {
+ if (po) {
+ var e = Na;
if (e !== null) throw e;
}
}
- function go(e, t, n, r) {
- mo = !1;
+ function ho(e, t, n, r) {
+ po = !1;
var i = e.updateQueue;
- oo = !1;
+ ao = !1;
var a = i.firstBaseUpdate, o = i.lastBaseUpdate, s = i.shared.pending;
if (s !== null) {
i.shared.pending = null;
@@ -2924,8 +2925,8 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
o = 0, u = l = c = null, s = a;
do {
var f = s.lane & -536870913, p = f !== s.lane;
- if (p ? (ed & f) === f : (r & f) === f) {
- f !== 0 && f === Na && (mo = !0), u !== null && (u = u.next = {
+ if (p ? ($u & f) === f : (r & f) === f) {
+ f !== 0 && f === Ma && (po = !0), u !== null && (u = u.next = {
lane: 0,
tag: s.tag,
payload: s.payload,
@@ -2949,7 +2950,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
if (m = h.payload, f = typeof m == "function" ? m.call(g, d, f) : m, f == null) break a;
d = w({}, d, f);
break a;
- case 2: oo = !0;
+ case 2: ao = !0;
}
}
f = s.callback, f !== null && (e.flags |= 64, p && (e.flags |= 8192), p = i.callbacks, p === null ? i.callbacks = [f] : p.push(f));
@@ -2965,56 +2966,56 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
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), cd |= 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), sd |= o, e.lanes = o, e.memoizedState = d;
}
}
- function _o(e, t) {
+ function go(e, t) {
if (typeof e != "function") throw Error(i(191, e));
e.call(t);
}
- function vo(e, t) {
+ function _o(e, t) {
var n = e.callbacks;
- if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) _o(n[e], t);
+ if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) go(n[e], t);
}
- var yo = ge(null), bo = ge(0);
- function xo(e, t) {
- e = od, ve(bo, e), ve(yo, t), od = e | t.baseLanes;
+ var vo = ge(null), yo = ge(0);
+ function bo(e, t) {
+ e = ad, ve(yo, e), ve(vo, t), ad = e | t.baseLanes;
}
- function So() {
- ve(bo, od), ve(yo, yo.current);
+ function xo() {
+ ve(yo, ad), ve(vo, vo.current);
}
- function J() {
- od = bo.current, _e(yo), _e(bo);
+ function So() {
+ ad = yo.current, _e(vo), _e(yo);
}
var Co = ge(null), wo = null;
function To(e) {
var t = e.alternate;
- ve(Ao, Ao.current & 1), ve(Co, e), wo === null && (t === null || yo.current !== null || t.memoizedState !== null) && (wo = e);
+ ve(ko, ko.current & 1), ve(Co, e), wo === null && (t === null || vo.current !== null || t.memoizedState !== null) && (wo = e);
}
function Eo(e) {
- ve(Ao, Ao.current), ve(Co, e), wo === null && (wo = e);
+ ve(ko, ko.current), ve(Co, e), wo === null && (wo = e);
}
- function Do(e) {
- e.tag === 22 ? (ve(Ao, Ao.current), ve(Co, e), wo === null && (wo = e)) : Oo();
+ function J(e) {
+ e.tag === 22 ? (ve(ko, ko.current), ve(Co, e), wo === null && (wo = e)) : Do();
}
- function Oo() {
- ve(Ao, Ao.current), ve(Co, Co.current);
+ function Do() {
+ ve(ko, ko.current), ve(Co, Co.current);
}
- function ko(e) {
- _e(Co), wo === e && (wo = null), _e(Ao);
+ function Oo(e) {
+ _e(Co), wo === e && (wo = null), _e(ko);
}
- var Ao = ge(0);
- function jo(e, t) {
- ve(Co, Co.current), ve(Ao, t);
+ var ko = ge(0);
+ function Ao(e, t) {
+ ve(Co, Co.current), ve(ko, t);
}
- function Mo(e) {
- _e(Ao), _e(Co), wo === e && (wo = null);
+ function jo(e) {
+ _e(ko), _e(Co), wo === e && (wo = null);
}
- function No(e) {
+ function Mo(e) {
for (var t = e; t !== null;) {
if (t.tag === 13) {
var n = t.memoizedState;
- if (n !== null && (n = n.dehydrated, n === null || dm(n) || fm(n))) return t;
+ if (n !== null && (n = n.dehydrated, n === null || um(n) || dm(n))) return t;
} else if (t.tag === 19 && t.memoizedProps.revealOrder !== "independent") {
if (t.flags & 128) return t;
} else if (t.child !== null) {
@@ -3030,59 +3031,59 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return null;
}
- var Po = 0, Fo = null, Io = null, Lo = null, Ro = !1, zo = !1, Bo = !1, Vo = 0, Ho = 0, Uo = null, Wo = 0;
- function Go() {
+ var No = 0, Po = null, Fo = null, Io = null, Lo = !1, Ro = !1, zo = !1, Bo = 0, Vo = 0, Ho = null, Uo = 0;
+ function Wo() {
throw Error(i(321));
}
- function Ko(e, t) {
+ function Go(e, t) {
if (t === null) return !1;
- for (var n = 0; n < t.length && n < e.length; n++) if (!Hr(e[n], t[n])) return !1;
+ for (var n = 0; n < t.length && n < e.length; n++) if (!Vr(e[n], t[n])) return !1;
return !0;
}
- function qo(e, t, n, r, i, a) {
- return Po = a, Fo = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, I.H = e === null || e.memoizedState === null ? uc : dc, Bo = !1, a = n(r, i), Bo = !1, zo && (a = Yo(t, n, r, i)), Jo(e), a;
+ function Ko(e, t, n, r, i, a) {
+ return No = a, Po = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, I.H = e === null || e.memoizedState === null ? lc : uc, zo = !1, a = n(r, i), zo = !1, Ro && (a = Jo(t, n, r, i)), qo(e), a;
}
- function Jo(e) {
- I.H = lc;
- var t = Io !== null && Io.next !== null;
- if (Po = 0, Lo = Io = Fo = null, Ro = !1, Ho = 0, Uo = null, t) throw Error(i(300));
- e === null || Oc || (e = e.dependencies, e !== null && ya(e) && (Oc = !0));
+ function qo(e) {
+ I.H = cc;
+ var t = Fo !== null && Fo.next !== null;
+ if (No = 0, Io = Fo = Po = null, Lo = !1, Vo = 0, Ho = null, t) throw Error(i(300));
+ e === null || Dc || (e = e.dependencies, e !== null && va(e) && (Dc = !0));
}
- function Yo(e, t, n, r) {
- Fo = e;
+ function Jo(e, t, n, r) {
+ Po = e;
var a = 0;
do {
- if (zo && (Uo = null), Ho = 0, zo = !1, 25 <= a) throw Error(i(301));
- if (a += 1, Lo = Io = null, e.updateQueue != null) {
+ if (Ro && (Ho = null), Vo = 0, Ro = !1, 25 <= a) throw Error(i(301));
+ if (a += 1, Io = Fo = 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 = fc, o = t(n, r);
- } while (zo);
+ I.H = dc, o = t(n, r);
+ } while (Ro);
return o;
}
- function Xo() {
+ function Yo() {
var e = I.H, t = e.useState()[0];
- return t = typeof t.then == "function" ? rs(t) : t, e = e.useState()[0], (Io === null ? null : Io.memoizedState) !== e && (Fo.flags |= 1024), t;
+ return t = typeof t.then == "function" ? ns(t) : t, e = e.useState()[0], (Fo === null ? null : Fo.memoizedState) !== e && (Po.flags |= 1024), t;
}
- function Zo() {
- var e = Vo !== 0;
- return Vo = 0, e;
+ function Xo() {
+ var e = Bo !== 0;
+ return Bo = 0, e;
}
- function Qo(e, t, n) {
+ function Zo(e, t, n) {
t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n;
}
- function $o(e) {
- if (Ro) {
+ function Qo(e) {
+ if (Lo) {
for (e = e.memoizedState; e !== null;) {
var t = e.queue;
t !== null && (t.pending = null), e = e.next;
}
- Ro = !1;
+ Lo = !1;
}
- Po = 0, Lo = Io = Fo = null, zo = !1, Ho = Vo = 0, Uo = null;
+ No = 0, Io = Fo = Po = null, Ro = !1, Vo = Bo = 0, Ho = null;
}
- function es() {
+ function $o() {
var e = {
memoizedState: null,
baseState: null,
@@ -3090,28 +3091,28 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
queue: null,
next: null
};
- return Lo === null ? Fo.memoizedState = Lo = e : Lo = Lo.next = e, Lo;
+ return Io === null ? Po.memoizedState = Io = e : Io = Io.next = e, Io;
}
- function ts() {
- if (Io === null) {
- var e = Fo.alternate;
+ function es() {
+ if (Fo === null) {
+ var e = Po.alternate;
e = e === null ? null : e.memoizedState;
- } else e = Io.next;
- var t = Lo === null ? Fo.memoizedState : Lo.next;
- if (t !== null) Lo = t, Io = e;
+ } else e = Fo.next;
+ var t = Io === null ? Po.memoizedState : Io.next;
+ if (t !== null) Io = t, Fo = e;
else {
- if (e === null) throw Fo.alternate === null ? Error(i(467)) : Error(i(310));
- Io = e, e = {
- memoizedState: Io.memoizedState,
- baseState: Io.baseState,
- baseQueue: Io.baseQueue,
- queue: Io.queue,
+ if (e === null) throw Po.alternate === null ? Error(i(467)) : Error(i(310));
+ Fo = e, e = {
+ memoizedState: Fo.memoizedState,
+ baseState: Fo.baseState,
+ baseQueue: Fo.baseQueue,
+ queue: Fo.queue,
next: null
- }, Lo === null ? Fo.memoizedState = Lo = e : Lo = Lo.next = e;
+ }, Io === null ? Po.memoizedState = Io = e : Io = Io.next = e;
}
- return Lo;
+ return Io;
}
- function ns() {
+ function ts() {
return {
lastEffect: null,
events: null,
@@ -3119,22 +3120,22 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
memoCache: null
};
}
- function rs(e) {
- var t = Ho;
- return Ho += 1, Uo === null && (Uo = []), e = Ja(Uo, e, t), t = Fo, (Lo === null ? t.memoizedState : Lo.next) === null && (t = t.alternate, I.H = t === null || t.memoizedState === null ? uc : dc), e;
+ function ns(e) {
+ var t = Vo;
+ return Vo += 1, Ho === null && (Ho = []), e = qa(Ho, e, t), t = Po, (Io === null ? t.memoizedState : Io.next) === null && (t = t.alternate, I.H = t === null || t.memoizedState === null ? lc : uc), e;
}
- function is(e) {
+ function rs(e) {
if (typeof e == "object" && e) {
- if (typeof e.then == "function") return rs(e);
+ if (typeof e.then == "function") return ns(e);
if (e.$$typeof === oe) return;
if (e.$$typeof === M) return ba(e);
}
throw Error(i(438, String(e)));
}
- function as(e) {
- var t = null, n = Fo.updateQueue;
+ function is(e) {
+ var t = null, n = Po.updateQueue;
if (n !== null && (t = n.memoCache), t == null) {
- var r = Fo.alternate;
+ var r = Po.alternate;
r !== null && (r = r.updateQueue, r !== null && (r = r.memoCache, r != null && (t = {
data: r.data.map(function(e) {
return e.slice();
@@ -3145,16 +3146,16 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
if (t ??= {
data: [],
index: 0
- }, n === null && (n = ns(), Fo.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] = ie;
+ }, n === null && (n = ts(), Po.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] = ie;
return t.index++, n;
}
- function os(e, t) {
+ function as(e, t) {
return typeof t == "function" ? t(e) : t;
}
- function ss(e) {
- return cs(ts(), Io, e);
+ function os(e) {
+ return ss(es(), Fo, e);
}
- function cs(e, t, n) {
+ function ss(e, t, n) {
var r = e.queue;
if (r === null) throw Error(i(311));
r.lastRenderedReducer = n;
@@ -3172,7 +3173,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
var c = s = null, l = null, u = t, d = !1;
do {
var f = u.lane & -536870913;
- if (f === u.lane ? (Po & f) === f : (ed & f) === f) {
+ if (f === u.lane ? (No & f) === f : ($u & f) === f) {
var p = u.revertLane;
if (p === 0) l !== null && (l = l.next = {
lane: 0,
@@ -3182,9 +3183,9 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
hasEagerState: u.hasEagerState,
eagerState: u.eagerState,
next: null
- }), f === Na && (d = !0);
- else if ((Po & p) === p) {
- u = u.next, p === Na && (d = !0);
+ }), f === Ma && (d = !0);
+ else if ((No & p) === p) {
+ u = u.next, p === Ma && (d = !0);
continue;
} else f = {
lane: 0,
@@ -3194,8 +3195,8 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
hasEagerState: u.hasEagerState,
eagerState: u.eagerState,
next: null
- }, l === null ? (c = l = f, s = o) : l = l.next = f, Fo.lanes |= p, cd |= p;
- f = u.action, Bo && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);
+ }, l === null ? (c = l = f, s = o) : l = l.next = f, Po.lanes |= p, sd |= p;
+ f = u.action, zo && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);
} else p = {
lane: f,
revertLane: u.revertLane,
@@ -3204,16 +3205,16 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
hasEagerState: u.hasEagerState,
eagerState: u.eagerState,
next: null
- }, l === null ? (c = l = p, s = o) : l = l.next = p, Fo.lanes |= f, cd |= f;
+ }, l === null ? (c = l = p, s = o) : l = l.next = p, Po.lanes |= f, sd |= f;
u = u.next;
} while (u !== null && u !== t);
- if (l === null ? s = o : l.next = c, !Hr(o, e.memoizedState) && (Oc = !0, d && (n = Pa, n !== null))) throw n;
+ if (l === null ? s = o : l.next = c, !Vr(o, e.memoizedState) && (Dc = !0, d && (n = Na, n !== null))) throw n;
e.memoizedState = o, e.baseState = s, e.baseQueue = l, r.lastRenderedState = o;
}
return a === null && (r.lanes = 0), [e.memoizedState, r.dispatch];
}
- function ls(e) {
- var t = ts(), n = t.queue;
+ function cs(e) {
+ var t = es(), n = t.queue;
if (n === null) throw Error(i(311));
n.lastRenderedReducer = e;
var r = n.dispatch, a = n.pending, o = t.memoizedState;
@@ -3223,56 +3224,56 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
do
o = e(o, s.action), s = s.next;
while (s !== a);
- Hr(o, t.memoizedState) || (Oc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;
+ Vr(o, t.memoizedState) || (Dc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;
}
return [o, r];
}
- function us(e, t, n) {
- var r = Fo, a = ts(), o = ia;
+ function ls(e, t, n) {
+ var r = Po, a = es(), o = ra;
if (o) {
if (n === void 0) throw Error(i(407));
n = n();
} else n = t();
- var s = !Hr((Io || a).memoizedState, n);
- if (s && (a.memoizedState = n, Oc = !0), a = a.queue, Fs(ps.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Lo !== null && !!(Lo.memoizedState.tag & 1), As(e ? 9 : 8, { destroy: void 0 }, fs.bind(null, r, a, n, t), null), e) {
- if (r.flags |= 2048, Qu === null) throw Error(i(349));
- o || Po & 127 || ds(r, t, n);
+ var s = !Vr((Fo || a).memoizedState, n);
+ if (s && (a.memoizedState = n, Dc = !0), a = a.queue, Ps(fs.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Io !== null && !!(Io.memoizedState.tag & 1), ks(e ? 9 : 8, { destroy: void 0 }, ds.bind(null, r, a, n, t), null), e) {
+ if (r.flags |= 2048, Zu === null) throw Error(i(349));
+ o || No & 127 || us(r, t, n);
}
return n;
}
- function ds(e, t, n) {
+ function us(e, t, n) {
e.flags |= 16384, e = {
getSnapshot: t,
value: n
- }, t = Fo.updateQueue, t === null ? (t = ns(), Fo.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));
+ }, t = Po.updateQueue, t === null ? (t = ts(), Po.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));
}
- function fs(e, t, n, r) {
- t.value = n, t.getSnapshot = r, ms(t) && hs(e);
+ function ds(e, t, n, r) {
+ t.value = n, t.getSnapshot = r, ps(t) && ms(e);
}
- function ps(e, t, n) {
+ function fs(e, t, n) {
return n(function() {
- ms(t) && hs(e);
+ ps(t) && ms(e);
});
}
- function ms(e) {
+ function ps(e) {
var t = e.getSnapshot;
e = e.value;
try {
var n = t();
- return !Hr(e, n);
+ return !Vr(e, n);
} catch {
return !0;
}
}
- function hs(e) {
- var t = Di(e, 2);
- t !== null && Id(t, e, 2);
+ function ms(e) {
+ var t = Ei(e, 2);
+ t !== null && Fd(t, e, 2);
}
- function gs(e) {
- var t = es();
+ function hs(e) {
+ var t = $o();
if (typeof e == "function") {
var n = e;
- if (e = n(), Bo) {
+ if (e = n(), zo) {
Xe(!0);
try {
n();
@@ -3285,15 +3286,15 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: os,
+ lastRenderedReducer: as,
lastRenderedState: e
}, t;
}
- function _s(e, t, n, r) {
- return e.baseState = n, cs(e, Io, typeof r == "function" ? r : os);
+ function gs(e, t, n, r) {
+ return e.baseState = n, ss(e, Fo, typeof r == "function" ? r : as);
}
- function vs(e, t, n, r, a) {
- if (oc(e)) throw Error(i(485));
+ function _s(e, t, n, r, a) {
+ if (ac(e)) throw Error(i(485));
if (e = t.action, e !== null) {
var o = {
payload: a,
@@ -3308,70 +3309,70 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
o.listeners.push(e);
}
};
- I.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, ys(t, o)) : (o.next = n.next, t.pending = n.next = o);
+ I.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, vs(t, o)) : (o.next = n.next, t.pending = n.next = o);
}
}
- function ys(e, t) {
+ function vs(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;
try {
var s = n(i, r), c = I.S;
- c !== null && c(o, s), bs(e, t, s);
+ c !== null && c(o, s), ys(e, t, s);
} catch (n) {
- Ss(e, t, n);
+ xs(e, t, n);
} finally {
a !== null && o.types !== null && (a.types = o.types), I.T = a;
}
} else try {
- a = n(i, r), bs(e, t, a);
+ a = n(i, r), ys(e, t, a);
} catch (n) {
- Ss(e, t, n);
+ xs(e, t, n);
}
}
- function bs(e, t, n) {
+ function ys(e, t, n) {
typeof n == "object" && n && typeof n.then == "function" ? n.then(function(n) {
- xs(e, t, n);
+ bs(e, t, n);
}, function(n) {
- return Ss(e, t, n);
- }) : xs(e, t, n);
+ return xs(e, t, n);
+ }) : bs(e, t, n);
}
- function xs(e, t, n) {
- t.status = "fulfilled", t.value = n, Cs(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, ys(e, n)));
+ function bs(e, t, n) {
+ t.status = "fulfilled", t.value = n, Ss(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, vs(e, n)));
}
- function Ss(e, t, n) {
+ function xs(e, t, n) {
var r = e.pending;
if (e.pending = null, r !== null) {
r = r.next;
do
- t.status = "rejected", t.reason = n, Cs(t), t = t.next;
+ t.status = "rejected", t.reason = n, Ss(t), t = t.next;
while (t !== r);
}
e.action = null;
}
- function Cs(e) {
+ function Ss(e) {
e = e.listeners;
for (var t = 0; t < e.length; t++) (0, e[t])();
}
- function ws(e, t) {
+ function Cs(e, t) {
return t;
}
- function Ts(e, t) {
- if (ia) {
- var n = Qu.formState;
+ function ws(e, t) {
+ if (ra) {
+ var n = Zu.formState;
if (n !== null) {
a: {
- var r = Fo;
- if (ia) {
- if (ra) {
+ var r = Po;
+ if (ra) {
+ if (na) {
b: {
- for (var i = ra, a = V; i.nodeType !== 8;) {
+ for (var i = na, a = aa; i.nodeType !== 8;) {
if (!a) {
i = null;
break b;
}
- if (i = mm(i.nextSibling), i === null) {
+ if (i = pm(i.nextSibling), i === null) {
i = null;
break b;
}
@@ -3379,7 +3380,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
a = i.data, i = a === "F!" || a === "F" ? i : null;
}
if (i) {
- ra = mm(i.nextSibling), r = i.data === "F!";
+ na = pm(i.nextSibling), r = i.data === "F!";
break a;
}
}
@@ -3390,48 +3391,48 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
r && (t = n[0]);
}
}
- return n = es(), n.memoizedState = n.baseState = t, r = {
+ return n = $o(), n.memoizedState = n.baseState = t, r = {
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: ws,
+ lastRenderedReducer: Cs,
lastRenderedState: t
- }, n.queue = r, n = rc.bind(null, Fo, r), r.dispatch = n, r = gs(!1), a = ac.bind(null, Fo, !1, r.queue), r = es(), i = {
+ }, n.queue = r, n = nc.bind(null, Po, r), r.dispatch = n, r = hs(!1), a = ic.bind(null, Po, !1, r.queue), r = $o(), i = {
state: t,
dispatch: null,
action: e,
pending: null
- }, r.queue = i, n = vs.bind(null, Fo, i, a, n), i.dispatch = n, r.memoizedState = e, [
+ }, r.queue = i, n = _s.bind(null, Po, i, a, n), i.dispatch = n, r.memoizedState = e, [
t,
n,
!1
];
}
- function Es(e) {
- return Ds(ts(), Io, e);
+ function Ts(e) {
+ return Es(es(), Fo, e);
}
- function Ds(e, t, n) {
- if (t = cs(e, t, ws)[0], e = ss(os)[0], typeof t == "object" && t && typeof t.then == "function") try {
- var r = rs(t);
+ function Es(e, t, n) {
+ if (t = ss(e, t, Cs)[0], e = os(as)[0], typeof t == "object" && t && typeof t.then == "function") try {
+ var r = ns(t);
} catch (e) {
- throw e === Ua ? Ga : e;
+ throw e === Ha ? Wa : e;
}
else r = t;
- t = ts();
+ t = es();
var i = t.queue, a = i.dispatch;
- return n !== t.memoizedState && (Fo.flags |= 2048, As(9, { destroy: void 0 }, Os.bind(null, i, n), null)), [
+ return n !== t.memoizedState && (Po.flags |= 2048, ks(9, { destroy: void 0 }, Ds.bind(null, i, n), null)), [
r,
a,
e
];
}
- function Os(e, t) {
+ function Ds(e, t) {
e.action = t;
}
- function ks(e) {
- var t = ts(), n = Io;
- if (n !== null) return Ds(t, n, e);
- ts(), t = t.memoizedState, n = ts();
+ function Os(e) {
+ var t = es(), n = Fo;
+ if (n !== null) return Es(t, n, e);
+ es(), t = t.memoizedState, n = es();
var r = n.queue.dispatch;
return n.memoizedState = e, [
t,
@@ -3439,60 +3440,60 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
!1
];
}
- function As(e, t, n, r) {
+ function ks(e, t, n, r) {
return e = {
tag: e,
create: n,
deps: r,
inst: t,
next: null
- }, t = Fo.updateQueue, t === null && (t = ns(), Fo.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;
+ }, t = Po.updateQueue, t === null && (t = ts(), Po.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 js() {
- return ts().memoizedState;
+ function As() {
+ return es().memoizedState;
+ }
+ function js(e, t, n, r) {
+ var i = $o();
+ Po.flags |= e, i.memoizedState = ks(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);
}
function Ms(e, t, n, r) {
var i = es();
- Fo.flags |= e, i.memoizedState = As(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);
- }
- function Ns(e, t, n, r) {
- var i = ts();
r = r === void 0 ? null : r;
var a = i.memoizedState.inst;
- Io !== null && r !== null && Ko(r, Io.memoizedState.deps) ? i.memoizedState = As(t, a, n, r) : (Fo.flags |= e, i.memoizedState = As(1 | t, a, n, r));
+ Fo !== null && r !== null && Go(r, Fo.memoizedState.deps) ? i.memoizedState = ks(t, a, n, r) : (Po.flags |= e, i.memoizedState = ks(1 | t, a, n, r));
}
- function Ps(e, t) {
- Ms(8390656, 8, e, t);
+ function Ns(e, t) {
+ js(8390656, 8, e, t);
}
- function Fs(e, t) {
- Ns(2048, 8, e, t);
+ function Ps(e, t) {
+ Ms(2048, 8, e, t);
}
- function Is(e) {
- Fo.flags |= 4;
- var t = Fo.updateQueue;
- if (t === null) t = ns(), Fo.updateQueue = t, t.events = [e];
+ function Fs(e) {
+ Po.flags |= 4;
+ var t = Po.updateQueue;
+ if (t === null) t = ts(), Po.updateQueue = t, t.events = [e];
else {
var n = t.events;
n === null ? t.events = [e] : n.push(e);
}
}
- function Ls(e) {
- var t = ts().memoizedState;
- return Is({
+ function Is(e) {
+ var t = es().memoizedState;
+ return Fs({
ref: t,
nextImpl: e
}), function() {
- if (Zu & 2) throw Error(i(440));
+ if (Xu & 2) throw Error(i(440));
return t.impl.apply(void 0, arguments);
};
}
+ function Ls(e, t) {
+ return Ms(4, 2, e, t);
+ }
function Rs(e, t) {
- return Ns(4, 2, e, t);
+ return Ms(4, 4, e, t);
}
function zs(e, t) {
- return Ns(4, 4, e, t);
- }
- function Bs(e, t) {
if (typeof t == "function") {
e = e();
var n = t(e);
@@ -3504,22 +3505,22 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
t.current = null;
};
}
- function Vs(e, t, n) {
- n = n == null ? null : n.concat([e]), Ns(4, 4, Bs.bind(null, t, e), n);
+ function Bs(e, t, n) {
+ n = n == null ? null : n.concat([e]), Ms(4, 4, zs.bind(null, t, e), n);
}
- function Hs() {}
- function Us(e, t) {
- var n = ts();
+ function Vs() {}
+ function Hs(e, t) {
+ var n = es();
t = t === void 0 ? null : t;
var r = n.memoizedState;
- return t !== null && Ko(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);
+ return t !== null && Go(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);
}
- function Ws(e, t) {
- var n = ts();
+ function Us(e, t) {
+ var n = es();
t = t === void 0 ? null : t;
var r = n.memoizedState;
- if (t !== null && Ko(t, r[1])) return r[0];
- if (r = e(), Bo) {
+ if (t !== null && Go(t, r[1])) return r[0];
+ if (r = e(), zo) {
Xe(!0);
try {
e();
@@ -3529,39 +3530,39 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return n.memoizedState = [r, t], r;
}
- function Gs(e, t, n) {
- return n === void 0 || Po & 1073741824 && !(ed & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Pd(), Fo.lanes |= e, cd |= e, n);
+ function Ws(e, t, n) {
+ return n === void 0 || No & 1073741824 && !($u & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Nd(), Po.lanes |= e, sd |= e, n);
}
- function Ks(e, t, n, r) {
- return Hr(n, t) ? n : yo.current === null ? !(Po & 106) || Po & 1073741824 && !(ed & 261930) ? (Oc = !0, e.memoizedState = n) : (e = Pd(), Fo.lanes |= e, cd |= e, t) : (e = Gs(e, n, r), Hr(e, t) || (Oc = !0), e);
+ function Gs(e, t, n, r) {
+ return Vr(n, t) ? n : vo.current === null ? !(No & 106) || No & 1073741824 && !($u & 261930) ? (Dc = !0, e.memoizedState = n) : (e = Nd(), Po.lanes |= e, sd |= e, t) : (e = Ws(e, n, r), Vr(e, t) || (Dc = !0), e);
}
- function qs(e, t, n, r, i) {
+ function Ks(e, t, n, r, i) {
var a = fe.p;
fe.p = a !== 0 && 8 > a ? a : 8;
var o = I.T, s = {};
- s.types = o === null ? null : o.types, I.T = s, ac(e, !1, t, n);
+ s.types = o === null ? null : o.types, I.T = s, ic(e, !1, t, n);
try {
var c = i(), l = I.S;
- l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? ic(e, t, La(c, r), Nd(e)) : ic(e, t, r, Nd(e));
+ l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? rc(e, t, Ia(c, r), Md(e)) : rc(e, t, r, Md(e));
} catch (n) {
- ic(e, t, {
+ rc(e, t, {
then: function() {},
status: "rejected",
reason: n
- }, Nd());
+ }, Md());
} finally {
fe.p = a, o !== null && s.types !== null && (o.types = s.types), I.T = o;
}
}
- function Js() {}
- function Ys(e, t, n, r) {
+ function qs() {}
+ function Js(e, t, n, r) {
if (e.tag !== 5) throw Error(i(476));
- var a = Xs(e).queue;
- qs(e, a, t, pe, n === null ? Js : function() {
- return Zs(e), n(r);
+ var a = Ys(e).queue;
+ Ks(e, a, t, pe, n === null ? qs : function() {
+ return Xs(e), n(r);
});
}
- function Xs(e) {
+ function Ys(e) {
var t = e.memoizedState;
if (t !== null) return t;
t = {
@@ -3572,7 +3573,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: os,
+ lastRenderedReducer: as,
lastRenderedState: pe
},
next: null
@@ -3586,41 +3587,41 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: os,
+ lastRenderedReducer: as,
lastRenderedState: n
},
next: null
}, e.memoizedState = t, e = e.alternate, e !== null && (e.memoizedState = t), t;
}
- function Zs(e) {
- var t = Xs(e);
- t.next === null && (t = e.alternate.memoizedState), ic(e, t.next.queue, {}, Nd());
+ function Xs(e) {
+ var t = Ys(e);
+ t.next === null && (t = e.alternate.memoizedState), rc(e, t.next.queue, {}, Md());
+ }
+ function Zs() {
+ return ba(dh);
}
function Qs() {
- return ba(fh);
+ return es().memoizedState;
}
function $s() {
- return ts().memoizedState;
- }
- function ec() {
- return ts().memoizedState;
+ return es().memoizedState;
}
- function tc(e) {
+ function ec(e) {
for (var t = e.return; t !== null;) {
switch (t.tag) {
case 24:
case 3:
- var n = Nd();
- e = lo(n);
- var r = uo(t, e, n);
- r !== null && (Id(r, t, n), fo(r, t, n)), t = { cache: Ea() }, e.payload = t;
+ var n = Md();
+ e = co(n);
+ var r = lo(t, e, n);
+ r !== null && (Fd(r, t, n), uo(r, t, n)), t = { cache: Ea() }, e.payload = t;
return;
}
t = t.return;
}
}
- function nc(e, t, n) {
- var r = Nd();
+ function tc(e, t, n) {
+ var r = Md();
n = {
lane: r,
revertLane: 0,
@@ -3629,12 +3630,12 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
hasEagerState: !1,
eagerState: null,
next: null
- }, oc(e) ? sc(t, n) : (n = Ei(e, t, n, r), n !== null && (Id(n, e, r), cc(n, t, r)));
+ }, ac(e) ? oc(t, n) : (n = z(e, t, n, r), n !== null && (Fd(n, e, r), sc(n, t, r)));
}
- function rc(e, t, n) {
- ic(e, t, n, Nd());
+ function nc(e, t, n) {
+ rc(e, t, n, Md());
}
- function ic(e, t, n, r) {
+ function rc(e, t, n, r) {
var i = {
lane: r,
revertLane: 0,
@@ -3644,92 +3645,92 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
eagerState: null,
next: null
};
- if (oc(e)) sc(t, i);
+ if (ac(e)) oc(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, Hr(s, o)) return Ti(e, t, i, 0), Qu === null && wi(), !1;
+ if (i.hasEagerState = !0, i.eagerState = s, Vr(s, o)) return Ti(e, t, i, 0), Zu === null && wi(), !1;
} catch {}
- if (n = Ei(e, t, i, r), n !== null) return Id(n, e, r), cc(n, t, r), !0;
+ if (n = z(e, t, i, r), n !== null) return Fd(n, e, r), sc(n, t, r), !0;
}
return !1;
}
- function ac(e, t, n, r) {
+ function ic(e, t, n, r) {
if (r = {
lane: 2,
- revertLane: Lf(),
+ revertLane: If(),
gesture: null,
action: r,
hasEagerState: !1,
eagerState: null,
next: null
- }, oc(e)) {
+ }, ac(e)) {
if (t) throw Error(i(479));
- } else t = Ei(e, n, r, 2), t !== null && Id(t, e, 2);
+ } else t = z(e, n, r, 2), t !== null && Fd(t, e, 2);
}
- function oc(e) {
+ function ac(e) {
var t = e.alternate;
- return e === Fo || t !== null && t === Fo;
+ return e === Po || t !== null && t === Po;
}
- function sc(e, t) {
- zo = Ro = !0;
+ function oc(e, t) {
+ Ro = Lo = !0;
var n = e.pending;
n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t;
}
- function cc(e, t, n) {
+ function sc(e, t, n) {
if (n & 4194048) {
var r = t.lanes;
- r &= e.pendingLanes, n |= r, t.lanes = n, gt(e, n);
+ r &= e.pendingLanes, n |= r, t.lanes = n, ht(e, n);
}
}
- var lc = {
+ var cc = {
readContext: ba,
- use: is,
- useCallback: Go,
- useContext: Go,
- useEffect: Go,
- useImperativeHandle: Go,
- useLayoutEffect: Go,
- useInsertionEffect: Go,
- useMemo: Go,
- useReducer: Go,
- useRef: Go,
- useState: Go,
- useDebugValue: Go,
- useDeferredValue: Go,
- useTransition: Go,
- useSyncExternalStore: Go,
- useId: Go,
- useHostTransitionStatus: Go,
- useFormState: Go,
- useActionState: Go,
- useOptimistic: Go,
- useMemoCache: Go,
- useCacheRefresh: Go,
- useEffectEvent: Go
- }, uc = {
+ use: rs,
+ useCallback: Wo,
+ useContext: Wo,
+ useEffect: Wo,
+ useImperativeHandle: Wo,
+ useLayoutEffect: Wo,
+ useInsertionEffect: Wo,
+ useMemo: Wo,
+ useReducer: Wo,
+ useRef: Wo,
+ useState: Wo,
+ useDebugValue: Wo,
+ useDeferredValue: Wo,
+ useTransition: Wo,
+ useSyncExternalStore: Wo,
+ useId: Wo,
+ useHostTransitionStatus: Wo,
+ useFormState: Wo,
+ useActionState: Wo,
+ useOptimistic: Wo,
+ useMemoCache: Wo,
+ useCacheRefresh: Wo,
+ useEffectEvent: Wo
+ }, lc = {
readContext: ba,
- use: is,
+ use: rs,
useCallback: function(e, t) {
- return es().memoizedState = [e, t === void 0 ? null : t], e;
+ return $o().memoizedState = [e, t === void 0 ? null : t], e;
},
useContext: ba,
- useEffect: Ps,
+ useEffect: Ns,
useImperativeHandle: function(e, t, n) {
- n = n == null ? null : n.concat([e]), Ms(4194308, 4, Bs.bind(null, t, e), n);
+ n = n == null ? null : n.concat([e]), js(4194308, 4, zs.bind(null, t, e), n);
},
useLayoutEffect: function(e, t) {
- return Ms(4194308, 4, e, t);
+ return js(4194308, 4, e, t);
},
useInsertionEffect: function(e, t) {
- Ms(4, 2, e, t);
+ js(4, 2, e, t);
},
useMemo: function(e, t) {
- var n = es();
+ var n = $o();
t = t === void 0 ? null : t;
var r = e();
- if (Bo) {
+ if (zo) {
Xe(!0);
try {
e();
@@ -3740,10 +3741,10 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
return n.memoizedState = [r, t], r;
},
useReducer: function(e, t, n) {
- var r = es();
+ var r = $o();
if (n !== void 0) {
var i = n(t);
- if (Bo) {
+ if (zo) {
Xe(!0);
try {
n(t);
@@ -3758,54 +3759,54 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
dispatch: null,
lastRenderedReducer: e,
lastRenderedState: i
- }, r.queue = e, e = e.dispatch = nc.bind(null, Fo, e), [r.memoizedState, e];
+ }, r.queue = e, e = e.dispatch = tc.bind(null, Po, e), [r.memoizedState, e];
},
useRef: function(e) {
- var t = es();
+ var t = $o();
return e = { current: e }, t.memoizedState = e;
},
useState: function(e) {
- e = gs(e);
- var t = e.queue, n = rc.bind(null, Fo, t);
+ e = hs(e);
+ var t = e.queue, n = nc.bind(null, Po, t);
return t.dispatch = n, [e.memoizedState, n];
},
- useDebugValue: Hs,
+ useDebugValue: Vs,
useDeferredValue: function(e, t) {
- return Gs(es(), e, t);
+ return Ws($o(), e, t);
},
useTransition: function() {
- var e = gs(!1);
- return e = qs.bind(null, Fo, e.queue, !0, !1), es().memoizedState = e, [!1, e];
+ var e = hs(!1);
+ return e = Ks.bind(null, Po, e.queue, !0, !1), $o().memoizedState = e, [!1, e];
},
useSyncExternalStore: function(e, t, n) {
- var r = Fo, a = es();
- if (ia) {
+ var r = Po, a = $o();
+ if (ra) {
if (n === void 0) throw Error(i(407));
n = n();
} else {
- if (n = t(), Qu === null) throw Error(i(349));
- ed & 127 || ds(r, t, n);
+ if (n = t(), Zu === null) throw Error(i(349));
+ $u & 127 || us(r, t, n);
}
a.memoizedState = n;
var o = {
value: n,
getSnapshot: t
};
- return a.queue = o, Ps(ps.bind(null, r, o, e), [e]), r.flags |= 2048, As(9, { destroy: void 0 }, fs.bind(null, r, o, n, t), null), n;
+ return a.queue = o, Ns(fs.bind(null, r, o, e), [e]), r.flags |= 2048, ks(9, { destroy: void 0 }, ds.bind(null, r, o, n, t), null), n;
},
useId: function() {
- var e = es(), t = Qu.identifierPrefix;
- if (ia) {
- var n = Xi, r = Yi;
- n = (r & ~(1 << 32 - Qe(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Vo++, 0 < n && (t += "H" + n.toString(32)), t += "_";
- } else n = Wo++, t = "_" + t + "r_" + n.toString(32) + "_";
+ var e = $o(), t = Zu.identifierPrefix;
+ if (ra) {
+ var n = Yi, r = Ji;
+ n = (r & ~(1 << 32 - Ze(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Bo++, 0 < n && (t += "H" + n.toString(32)), t += "_";
+ } else n = Uo++, t = "_" + t + "r_" + n.toString(32) + "_";
return e.memoizedState = t;
},
- useHostTransitionStatus: Qs,
- useFormState: Ts,
- useActionState: Ts,
+ useHostTransitionStatus: Zs,
+ useFormState: ws,
+ useActionState: ws,
useOptimistic: function(e) {
- var t = es();
+ var t = $o();
t.memoizedState = t.baseState = e;
var n = {
pending: null,
@@ -3814,132 +3815,132 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
lastRenderedReducer: null,
lastRenderedState: null
};
- return t.queue = n, t = ac.bind(null, Fo, !0, n), n.dispatch = t, [e, t];
+ return t.queue = n, t = ic.bind(null, Po, !0, n), n.dispatch = t, [e, t];
},
- useMemoCache: as,
+ useMemoCache: is,
useCacheRefresh: function() {
- return es().memoizedState = tc.bind(null, Fo);
+ return $o().memoizedState = ec.bind(null, Po);
},
useEffectEvent: function(e) {
- var t = es(), n = { impl: e };
+ var t = $o(), n = { impl: e };
return t.memoizedState = n, function() {
- if (Zu & 2) throw Error(i(440));
+ if (Xu & 2) throw Error(i(440));
return n.impl.apply(void 0, arguments);
};
}
- }, dc = {
+ }, uc = {
readContext: ba,
- use: is,
- useCallback: Us,
+ use: rs,
+ useCallback: Hs,
useContext: ba,
- useEffect: Fs,
- useImperativeHandle: Vs,
- useInsertionEffect: Rs,
- useLayoutEffect: zs,
- useMemo: Ws,
- useReducer: ss,
- useRef: js,
+ useEffect: Ps,
+ useImperativeHandle: Bs,
+ useInsertionEffect: Ls,
+ useLayoutEffect: Rs,
+ useMemo: Us,
+ useReducer: os,
+ useRef: As,
useState: function() {
- return ss(os);
+ return os(as);
},
- useDebugValue: Hs,
+ useDebugValue: Vs,
useDeferredValue: function(e, t) {
- return Ks(ts(), Io.memoizedState, e, t);
+ return Gs(es(), Fo.memoizedState, e, t);
},
useTransition: function() {
- var e = ss(os)[0], t = ts().memoizedState;
- return [typeof e == "boolean" ? e : rs(e), t];
+ var e = os(as)[0], t = es().memoizedState;
+ return [typeof e == "boolean" ? e : ns(e), t];
},
- useSyncExternalStore: us,
- useId: $s,
- useHostTransitionStatus: Qs,
- useFormState: Es,
- useActionState: Es,
+ useSyncExternalStore: ls,
+ useId: Qs,
+ useHostTransitionStatus: Zs,
+ useFormState: Ts,
+ useActionState: Ts,
useOptimistic: function(e, t) {
- return _s(ts(), Io, e, t);
+ return gs(es(), Fo, e, t);
},
- useMemoCache: as,
- useCacheRefresh: ec,
- useEffectEvent: Ls
- }, fc = {
+ useMemoCache: is,
+ useCacheRefresh: $s,
+ useEffectEvent: Is
+ }, dc = {
readContext: ba,
- use: is,
- useCallback: Us,
+ use: rs,
+ useCallback: Hs,
useContext: ba,
- useEffect: Fs,
- useImperativeHandle: Vs,
- useInsertionEffect: Rs,
- useLayoutEffect: zs,
- useMemo: Ws,
- useReducer: ls,
- useRef: js,
+ useEffect: Ps,
+ useImperativeHandle: Bs,
+ useInsertionEffect: Ls,
+ useLayoutEffect: Rs,
+ useMemo: Us,
+ useReducer: cs,
+ useRef: As,
useState: function() {
- return ls(os);
+ return cs(as);
},
- useDebugValue: Hs,
+ useDebugValue: Vs,
useDeferredValue: function(e, t) {
- var n = ts();
- return Io === null ? Gs(n, e, t) : Ks(n, Io.memoizedState, e, t);
+ var n = es();
+ return Fo === null ? Ws(n, e, t) : Gs(n, Fo.memoizedState, e, t);
},
useTransition: function() {
- var e = ls(os)[0], t = ts().memoizedState;
- return [typeof e == "boolean" ? e : rs(e), t];
+ var e = cs(as)[0], t = es().memoizedState;
+ return [typeof e == "boolean" ? e : ns(e), t];
},
- useSyncExternalStore: us,
- useId: $s,
- useHostTransitionStatus: Qs,
- useFormState: ks,
- useActionState: ks,
+ useSyncExternalStore: ls,
+ useId: Qs,
+ useHostTransitionStatus: Zs,
+ useFormState: Os,
+ useActionState: Os,
useOptimistic: function(e, t) {
- var n = ts();
- return Io === null ? (n.baseState = e, [e, n.queue.dispatch]) : _s(n, Io, e, t);
+ var n = es();
+ return Fo === null ? (n.baseState = e, [e, n.queue.dispatch]) : gs(n, Fo, e, t);
},
- useMemoCache: as,
- useCacheRefresh: ec,
- useEffectEvent: Ls
+ useMemoCache: is,
+ useCacheRefresh: $s,
+ useEffectEvent: Is
};
- function pc(e, t, n, r) {
+ function fc(e, t, n, r) {
t = e.memoizedState, n = n(r, t), n = n == null ? t : w({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n);
}
- var mc = {
+ var pc = {
enqueueSetState: function(e, t, n) {
e = e._reactInternals;
- var r = Nd(), i = lo(r);
- i.payload = t, n != null && (i.callback = n), t = uo(e, i, r), t !== null && (Id(t, e, r), fo(t, e, r));
+ var r = Md(), i = co(r);
+ i.payload = t, n != null && (i.callback = n), t = lo(e, i, r), t !== null && (Fd(t, e, r), uo(t, e, r));
},
enqueueReplaceState: function(e, t, n) {
e = e._reactInternals;
- var r = Nd(), i = lo(r);
- i.tag = 1, i.payload = t, n != null && (i.callback = n), t = uo(e, i, r), t !== null && (Id(t, e, r), fo(t, e, r));
+ var r = Md(), i = co(r);
+ i.tag = 1, i.payload = t, n != null && (i.callback = n), t = lo(e, i, r), t !== null && (Fd(t, e, r), uo(t, e, r));
},
enqueueForceUpdate: function(e, t) {
e = e._reactInternals;
- var n = Nd(), r = lo(n);
- r.tag = 2, t != null && (r.callback = t), t = uo(e, r, n), t !== null && (Id(t, e, n), fo(t, e, n));
+ var n = Md(), r = co(n);
+ r.tag = 2, t != null && (r.callback = t), t = lo(e, r, n), t !== null && (Fd(t, e, n), uo(t, e, n));
}
};
- function hc(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 ? !Ur(n, r) || !Ur(i, a) : !0;
+ function mc(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 ? !Hr(n, r) || !Hr(i, a) : !0;
}
- function gc(e, t, n, r) {
- e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && mc.enqueueReplaceState(t, t.state, null);
+ function hc(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 && pc.enqueueReplaceState(t, t.state, null);
}
- function _c(e, t) {
+ function gc(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 = w({}, n)), e) n[i] === void 0 && (n[i] = e[i]);
return n;
}
- function vc(e) {
- xi(e);
+ function _c(e) {
+ bi(e);
}
- function yc(e) {
+ function vc(e) {
console.error(e);
}
- function bc(e) {
- xi(e);
+ function yc(e) {
+ bi(e);
}
- function xc(e, t) {
+ function bc(e, t) {
try {
var n = e.onUncaughtError;
n(t.value, { componentStack: t.stack });
@@ -3949,7 +3950,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
});
}
}
- function Sc(e, t, n) {
+ function xc(e, t, n) {
try {
var r = e.onCaughtError;
r(n.value, {
@@ -3962,57 +3963,57 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
});
}
}
- function Cc(e, t, n) {
- return n = lo(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {
- xc(e, t);
+ function Sc(e, t, n) {
+ return n = co(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {
+ bc(e, t);
}, n;
}
- function wc(e) {
- return e = lo(e), e.tag = 3, e;
+ function Cc(e) {
+ return e = co(e), e.tag = 3, e;
}
- function Tc(e, t, n, r) {
+ function wc(e, t, n, r) {
var i = n.type.getDerivedStateFromError;
if (typeof i == "function") {
var a = r.value;
e.payload = function() {
return i(a);
}, e.callback = function() {
- Sc(t, n, r);
+ xc(t, n, r);
};
}
var o = n.stateNode;
o !== null && typeof o.componentDidCatch == "function" && (e.callback = function() {
- Sc(t, n, r), typeof i != "function" && (bd === null ? bd = /* @__PURE__ */ new Set([this]) : bd.add(this));
+ xc(t, n, r), typeof i != "function" && (yd === null ? yd = /* @__PURE__ */ new Set([this]) : yd.add(this));
var e = r.stack;
this.componentDidCatch(r.value, { componentStack: e === null ? "" : e });
});
}
- function Ec(e, t, n, r, a) {
+ function Tc(e, t, n, r, a) {
if (n.flags |= 32768, typeof r == "object" && r && typeof r.then == "function") {
- if (t = n.alternate, t !== null && va(t, n, a, !0), n = Co.current, n !== null) {
+ if (t = n.alternate, t !== null && _a(t, n, a, !0), n = Co.current, n !== null) {
switch (n.tag) {
case 31:
case 13:
- case 19: return wo === null ? Jd() : n.alternate === null && sd === 0 && (sd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Ka ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), _f(e, r, a)), !1;
- case 22: return n.flags |= 65536, r === Ka ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {
+ case 19: return wo === null ? qd() : n.alternate === null && od === 0 && (od = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Ga ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), gf(e, r, a)), !1;
+ case 22: return n.flags |= 65536, r === Ga ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {
transitions: null,
markerInstances: null,
retryQueue: /* @__PURE__ */ new Set([r])
- }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), _f(e, r, a)), !1;
+ }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), gf(e, r, a)), !1;
}
throw Error(i(435, n.tag));
}
- return _f(e, r, a), Jd(), !1;
+ return gf(e, r, a), qd(), !1;
}
- if (ia) return t = Co.current, t === null ? (r !== oa && (t = Error(i(423), { cause: r }), ua(Vi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Vi(r, n), a = Cc(e.stateNode, r, a), po(e, a), sd !== 4 && (sd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== oa && (e = Error(i(422), { cause: r }), ua(Vi(e, n)))), !1;
+ if (ra) return t = Co.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 = Sc(e.stateNode, r, a), fo(e, a), od !== 4 && (od = 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 = Vi(o, n), pd === null ? pd = [o] : pd.push(o), sd !== 4 && (sd = 2), t === null) return !0;
- r = Vi(r, n), n = t;
+ if (o = Bi(o, n), fd === null ? fd = [o] : fd.push(o), od !== 4 && (od = 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 = Cc(n.stateNode, r, e), po(n, e), !1;
+ case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = Sc(n.stateNode, r, e), fo(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" && (bd === null || !bd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = wc(a), Tc(a, e, n, r), po(n, a), !1;
+ if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (yd === null || !yd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = Cc(a), wc(a, e, n, r), fo(n, a), !1;
break;
case 22: if (n.memoizedState !== null) return n.flags |= 65536, !1;
}
@@ -4020,41 +4021,41 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
} while (n !== null);
return !1;
}
- var Dc = Error(i(461)), Oc = !1;
- function kc(e, t, n, r) {
- t.child = e === null ? ao(t, null, n, r) : io(t, e.child, n, r);
+ var Ec = Error(i(461)), Dc = !1;
+ function Oc(e, t, n, r) {
+ t.child = e === null ? io(t, null, n, r) : ro(t, e.child, n, r);
}
- function Ac(e, t, n, r, i) {
+ function kc(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 G(t), r = qo(e, t, n, o, a, i), s = Zo(), e !== null && !Oc ? (Qo(e, t, i), il(e, t, i)) : (ia && s && $i(t), t.flags |= 1, kc(e, t, r, i), t.child);
+ return ya(t), r = Ko(e, t, n, o, a, i), s = Xo(), e !== null && !Dc ? (Zo(e, t, i), rl(e, t, i)) : (ra && s && Qi(t), t.flags |= 1, Oc(e, t, r, i), t.child);
}
- function jc(e, t, n, r, i) {
+ function Ac(e, t, n, r, i) {
if (e === null) {
var a = n.type;
- return typeof a == "function" && !Mi(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Mc(e, t, a, r, i)) : (e = Fi(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);
+ return typeof a == "function" && !Mi(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, jc(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, !al(e, i)) {
+ if (a = e.child, !il(e, i)) {
var o = a.memoizedProps;
- if (n = n.compare, n = n === null ? Ur : n, n(o, r) && e.ref === t.ref) return il(e, t, i);
+ if (n = n.compare, n = n === null ? Hr : n, n(o, r) && e.ref === t.ref) return rl(e, t, i);
}
- return t.flags |= 1, e = Ni(a, r), e.ref = t.ref, e.return = t, t.child = e;
+ return t.flags |= 1, e = B(a, r), e.ref = t.ref, e.return = t, t.child = e;
}
- function Mc(e, t, n, r, i) {
+ function jc(e, t, n, r, i) {
if (e !== null) {
var a = e.memoizedProps;
- if (Ur(a, r) && e.ref === t.ref) {
- if (Oc = !1, t.pendingProps = r = a, al(e, i)) e.flags & 131072 && (Oc = !0);
- else return t.lanes = e.lanes, il(e, t, i);
+ if (Hr(a, r) && e.ref === t.ref) {
+ if (Dc = !1, t.pendingProps = r = a, il(e, i)) e.flags & 131072 && (Dc = !0);
+ else return t.lanes = e.lanes, rl(e, t, i);
}
}
- return Bc(e, t, n, r, i);
+ return zc(e, t, n, r, i);
}
- function Nc(e, t, n, r) {
+ function Mc(e, t, n, r) {
var i = r.children, a = e === null ? null : e.memoizedState;
if (e === null && t.stateNode === null && (t.stateNode = {
_visibility: 1,
@@ -4067,17 +4068,17 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
for (r = t.child = e.child, i = 0; r !== null;) i = i | r.lanes | r.childLanes, r = r.sibling;
r = i & ~a;
} else r = 0, t.child = null;
- return Fc(e, t, a, n, r);
+ return Pc(e, t, a, n, r);
}
if (n & 536870912) t.memoizedState = {
baseLanes: 0,
cachePool: null
- }, e !== null && Va(t, a === null ? null : a.cachePool), a === null ? So() : xo(t, a), Do(t);
- else return r = t.lanes = 536870912, Fc(e, t, a === null ? n : a.baseLanes | n, n, r);
- } else a === null ? (e !== null && Va(t, null), So(), Oo()) : (Va(t, a.cachePool), xo(t, a), Oo(), t.memoizedState = null);
- return kc(e, t, i, n), t.child;
+ }, e !== null && Ba(t, a === null ? null : a.cachePool), a === null ? xo() : bo(t, a), J(t);
+ else return r = t.lanes = 536870912, Pc(e, t, a === null ? n : a.baseLanes | n, n, r);
+ } else a === null ? (e !== null && Ba(t, null), xo(), Do()) : (Ba(t, a.cachePool), bo(t, a), Do(), t.memoizedState = null);
+ return Oc(e, t, i, n), t.child;
}
- function Pc(e, t) {
+ function Nc(e, t) {
return e !== null && e.tag === 22 || t.stateNode !== null || (t.stateNode = {
_visibility: 1,
_pendingMarkers: null,
@@ -4085,68 +4086,68 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
_transitions: null
}), t.sibling;
}
- function Fc(e, t, n, r, i) {
- var a = Ba();
+ function Pc(e, t, n, r, i) {
+ var a = za();
return a = a === null ? null : {
parent: Ta._currentValue,
pool: a
}, t.memoizedState = {
baseLanes: n,
cachePool: a
- }, e !== null && Va(t, null), So(), Do(t), e !== null && va(e, t, r, !0), t.childLanes = i, null;
+ }, e !== null && Ba(t, null), xo(), J(t), e !== null && _a(e, t, r, !0), t.childLanes = i, null;
}
- function Ic(e, t) {
- return t = Yc({
+ function Fc(e, t) {
+ return t = Jc({
mode: t.mode,
children: t.children
}, e.mode), t.ref = e.ref, e.child = t, t.return = e, t;
}
- function Lc(e, t, n) {
- return io(t, e.child, null, n), e = Ic(t, t.pendingProps), e.flags |= 2, ko(t), t.memoizedState = null, e;
+ function Ic(e, t, n) {
+ return ro(t, e.child, null, n), e = Fc(t, t.pendingProps), e.flags |= 2, Oo(t), t.memoizedState = null, e;
}
- function Rc(e, t, n) {
+ function Lc(e, t, n) {
var r = t.pendingProps, a = !!(t.flags & 128);
if (t.flags &= -129, e === null) {
- if (ia) {
- if (r.mode === "hidden") return e = Ic(t, r), t.lanes = 536870912, e.memoizedState = {
+ if (ra) {
+ if (r.mode === "hidden") return e = Fc(t, r), t.lanes = 536870912, e.memoizedState = {
baseLanes: 0,
cachePool: null
- }, Pc(null, e);
- if (Eo(t), (e = ra) ? (e = um(e, V), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {
+ }, Nc(null, e);
+ if (Eo(t), (e = na) ? (e = lm(e, aa), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {
dehydrated: e,
- treeContext: Ji === null ? null : {
- id: Yi,
- overflow: Xi
+ treeContext: qi === null ? null : {
+ id: Ji,
+ overflow: Yi
},
retryLane: 536870912,
hydrationErrors: null
- }, n = Ri(e), n.return = t, t.child = n, na = t, ra = null)) : e = null, e === null) throw sa(t);
+ }, n = Li(e), n.return = t, t.child = n, ta = t, na = null)) : e = null, e === null) throw sa(t);
return t.lanes = 536870912, null;
}
- return Ic(t, r);
+ return Fc(t, r);
}
var o = e.memoizedState;
if (o !== null) {
var s = o.dehydrated;
if (Eo(t), a) {
- if (t.flags & 256) t.flags &= -257, t = Lc(e, t, n);
+ if (t.flags & 256) t.flags &= -257, t = Ic(e, t, n);
else if (t.memoizedState !== null) t.child = e.child, t.flags |= 128, t = null;
else throw Error(i(558));
- } else if (Oc || va(e, t, n, !1), a = (n & e.childLanes) !== 0, Oc || a) {
- if (yo.current === null) {
- if (r = Qu, r !== null && (s = _t(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Di(e, s), Id(r, e, s), Dc;
- Jd();
+ } else if (Dc || _a(e, t, n, !1), a = (n & e.childLanes) !== 0, Dc || a) {
+ if (vo.current === null) {
+ if (r = Zu, r !== null && (s = gt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ei(e, s), Fd(r, e, s), Ec;
+ qd();
}
- t = Lc(e, t, n);
- } else e = o.treeContext, ra = mm(s.nextSibling), na = t, ia = !0, aa = null, V = !1, e !== null && ta(t, e), t = Ic(t, r), t.flags |= 134221824;
+ t = Ic(e, t, n);
+ } else e = o.treeContext, na = pm(s.nextSibling), ta = t, ra = !0, ia = null, aa = !1, e !== null && ea(t, e), t = Fc(t, r), t.flags |= 134221824;
return t;
}
- return e = Ni(e.child, {
+ return e = B(e.child, {
mode: r.mode,
children: r.children
}), e.ref = t.ref, t.child = e, e.return = t, e;
}
- function zc(e, t) {
+ function Rc(e, t) {
var n = t.ref;
if (n === null) e !== null && e.ref !== null && (t.flags |= 4194816);
else {
@@ -4154,135 +4155,135 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
(e === null || e.ref !== n) && (t.flags |= 4194816);
}
}
- function Bc(e, t, n, r, i) {
- return G(t), n = qo(e, t, n, r, void 0, i), r = Zo(), e !== null && !Oc ? (Qo(e, t, i), il(e, t, i)) : (ia && r && $i(t), t.flags |= 1, kc(e, t, n, i), t.child);
+ function zc(e, t, n, r, i) {
+ return ya(t), n = Ko(e, t, n, r, void 0, i), r = Xo(), e !== null && !Dc ? (Zo(e, t, i), rl(e, t, i)) : (ra && r && Qi(t), t.flags |= 1, Oc(e, t, n, i), t.child);
}
- function Vc(e, t, n, r, i, a) {
- return G(t), t.updateQueue = null, n = Yo(t, r, n, i), Jo(e), r = Zo(), e !== null && !Oc ? (Qo(e, t, a), il(e, t, a)) : (ia && r && $i(t), t.flags |= 1, kc(e, t, n, a), t.child);
+ function Bc(e, t, n, r, i, a) {
+ return ya(t), t.updateQueue = null, n = Jo(t, r, n, i), qo(e), r = Xo(), e !== null && !Dc ? (Zo(e, t, a), rl(e, t, a)) : (ra && r && Qi(t), t.flags |= 1, Oc(e, t, n, a), t.child);
}
- function Hc(e, t, n, r, i) {
- if (G(t), t.stateNode === null) {
+ function Vc(e, t, n, r, i) {
+ if (ya(t), t.stateNode === null) {
var a = ki, o = n.contextType;
- typeof o == "object" && o && (a = ba(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = mc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, so(t), o = n.contextType, a.context = typeof o == "object" && o ? ba(o) : ki, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (pc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && mc.enqueueReplaceState(a, a.state, null), go(t, r, a, i), ho(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;
+ typeof o == "object" && o && (a = ba(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = pc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, oo(t), o = n.contextType, a.context = typeof o == "object" && o ? ba(o) : ki, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (fc(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 && pc.enqueueReplaceState(a, a.state, null), ho(t, r, a, i), mo(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;
} else if (e === null) {
a = t.stateNode;
- var s = t.memoizedProps, c = _c(n, s);
+ var s = t.memoizedProps, c = gc(n, s);
a.props = c;
var l = a.context, u = n.contextType;
o = ki, typeof u == "object" && u && (o = ba(u));
var d = n.getDerivedStateFromProps;
- u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && gc(t, a, r, o), oo = !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) && hc(t, a, r, o), ao = !1;
var f = t.memoizedState;
- a.state = f, go(t, r, a, i), ho(), l = t.memoizedState, s || f !== l || oo ? (typeof d == "function" && (pc(t, n, d, r), l = t.memoizedState), (c = oo || hc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);
+ a.state = f, ho(t, r, a, i), mo(), l = t.memoizedState, s || f !== l || ao ? (typeof d == "function" && (fc(t, n, d, r), l = t.memoizedState), (c = ao || mc(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, co(e, t), o = t.memoizedProps, u = _c(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = ki, typeof l == "object" && l && (c = ba(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && gc(t, a, r, c), oo = !1, f = t.memoizedState, a.state = f, go(t, r, a, i), ho();
+ a = t.stateNode, so(e, t), o = t.memoizedProps, u = gc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = ki, typeof l == "object" && l && (c = ba(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) && hc(t, a, r, c), ao = !1, f = t.memoizedState, a.state = f, ho(t, r, a, i), mo();
var p = t.memoizedState;
- o !== d || f !== p || oo || e !== null && e.dependencies !== null && ya(e.dependencies) ? (typeof s == "function" && (pc(t, n, s, r), p = t.memoizedState), (u = oo || hc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && ya(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 || ao || e !== null && e.dependencies !== null && va(e.dependencies) ? (typeof s == "function" && (fc(t, n, s, r), p = t.memoizedState), (u = ao || mc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && va(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);
}
- return a = r, zc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = io(t, e.child, null, i), t.child = io(t, null, n, i)) : kc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = il(e, t, i), e;
+ return a = r, Rc(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 = ro(t, e.child, null, i), t.child = ro(t, null, n, i)) : Oc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = rl(e, t, i), e;
}
- function Uc(e, t, n, r) {
- return W(), t.flags |= 256, kc(e, t, n, r), t.child;
+ function Hc(e, t, n, r) {
+ return ua(), t.flags |= 256, Oc(e, t, n, r), t.child;
}
- var Wc = {
+ var Uc = {
dehydrated: null,
treeContext: null,
retryLane: 0,
hydrationErrors: null
};
- function Gc(e) {
+ function Wc(e) {
return {
baseLanes: e,
- cachePool: Ha()
+ cachePool: Va()
};
}
- function Kc(e, t, n) {
- return e = e === null ? 0 : e.childLanes & ~n, t && (e |= dd), e;
+ function Gc(e, t, n) {
+ return e = e === null ? 0 : e.childLanes & ~n, t && (e |= ud), e;
}
- function qc(e, t, n) {
+ function Kc(e, t, n) {
var r = t.pendingProps, i = !1, a = !!(t.flags & 128), o;
- if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Ao.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {
- if (ia) {
- if (i ? To(t) : Oo(), (e = ra) ? (e = um(e, V), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {
+ if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(ko.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {
+ if (ra) {
+ if (i ? To(t) : Do(), (e = na) ? (e = lm(e, aa), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {
dehydrated: e,
- treeContext: Ji === null ? null : {
- id: Yi,
- overflow: Xi
+ treeContext: qi === null ? null : {
+ id: Ji,
+ overflow: Yi
},
retryLane: 536870912,
hydrationErrors: null
- }, n = Ri(e), n.return = t, t.child = n, na = t, ra = null)) : e = null, e === null) throw sa(t);
- return t.lanes = fm(e) ? 32 : 536870912, null;
+ }, n = Li(e), n.return = t, t.child = n, ta = t, na = null)) : e = null, e === null) throw sa(t);
+ return t.lanes = dm(e) ? 32 : 536870912, null;
}
- return a = r.children, r = r.fallback, i ? (Oo(), i = t.mode, a = Yc({
+ return a = r.children, r = r.fallback, i ? (Do(), i = t.mode, a = Jc({
mode: "hidden",
children: a
- }, i), r = Ii(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Gc(n), r.childLanes = Kc(e, o, n), t.memoizedState = Wc, Pc(null, r)) : (To(t), Jc(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 = Wc(n), r.childLanes = Gc(e, o, n), t.memoizedState = Uc, Nc(null, r)) : (To(t), qc(t, a));
}
var s = e.memoizedState;
if (s !== null) {
var c = s.dehydrated;
- if (c !== null) return Zc(e, t, a, o, r, c, s, n);
+ if (c !== null) return Xc(e, t, a, o, r, c, s, n);
}
- return i ? (Oo(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Ni(s, {
+ return i ? (Do(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = B(s, {
mode: "hidden",
children: r.children
- }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Ii(i, a, n, null), i.flags |= 2) : i = Ni(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Pc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Gc(n) : (a = i.cachePool, a === null ? a = Ha() : (s = Ta._currentValue, a = a.parent === s ? a : {
+ }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Fi(i, a, n, null), i.flags |= 2) : i = B(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Nc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Wc(n) : (a = i.cachePool, a === null ? a = Va() : (s = Ta._currentValue, a = a.parent === s ? a : {
parent: s,
pool: s
}), i = {
baseLanes: i.baseLanes | n,
cachePool: a
- }), r.memoizedState = i, r.childLanes = Kc(e, o, n), t.memoizedState = Wc, Pc(e.child, r)) : (To(t), n = e.child, e = n.sibling, n = Ni(n, {
+ }), r.memoizedState = i, r.childLanes = Gc(e, o, n), t.memoizedState = Uc, Nc(e.child, r)) : (To(t), n = e.child, e = n.sibling, n = B(n, {
mode: "visible",
children: r.children
}), n.return = t, n.sibling = null, e !== null && (o = t.deletions, o === null ? (t.deletions = [e], t.flags |= 16) : o.push(e)), t.child = n, t.memoizedState = null, n);
}
- function Jc(e, t) {
- return t = Yc({
+ function qc(e, t) {
+ return t = Jc({
mode: "visible",
children: t
}, e.mode), t.return = e, e.child = t;
}
- function Yc(e, t) {
+ function Jc(e, t) {
return e = ji(22, e, null, t), e.lanes = 0, e;
}
- function Xc(e, t, n) {
- return io(t, e.child, null, n), e = Jc(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
+ function Yc(e, t, n) {
+ return ro(t, e.child, null, n), e = qc(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
}
- function Zc(e, t, n, r, a, o, s, c) {
- if (n) return t.flags & 256 ? (To(t), t.flags &= -257, Xc(e, t, c)) : t.memoizedState === null ? (Oo(), o = a.fallback, s = t.mode, a = Yc({
+ function Xc(e, t, n, r, a, o, s, c) {
+ if (n) return t.flags & 256 ? (To(t), t.flags &= -257, Yc(e, t, c)) : t.memoizedState === null ? (Do(), o = a.fallback, s = t.mode, a = Jc({
mode: "visible",
children: a.children
- }, s), o = Ii(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, io(t, e.child, null, c), a = t.child, a.memoizedState = Gc(c), a.childLanes = Kc(e, r, c), t.memoizedState = Wc, Pc(null, a)) : (Oo(), t.child = e.child, t.flags |= 128, null);
- if (To(t), fm(o)) {
+ }, s), o = Fi(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, ro(t, e.child, null, c), a = t.child, a.memoizedState = Wc(c), a.childLanes = Gc(e, r, c), t.memoizedState = Uc, Nc(null, a)) : (Do(), t.child = e.child, t.flags |= 128, null);
+ if (To(t), dm(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, ua({
+ return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, fa({
value: a,
source: null,
stack: null
- })), Xc(e, t, c);
+ })), Yc(e, t, c);
}
- if (Oc || va(e, t, c, !1), r = (c & e.childLanes) !== 0, Oc || r) {
- if (yo.current !== null) return Xc(e, t, c);
- if (r = Qu, r !== null && (a = _t(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Di(e, a), Id(r, e, a), Dc;
- return dm(o) || Jd(), Xc(e, t, c);
+ if (Dc || _a(e, t, c, !1), r = (c & e.childLanes) !== 0, Dc || r) {
+ if (vo.current !== null) return Yc(e, t, c);
+ if (r = Zu, r !== null && (a = gt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ei(e, a), Fd(r, e, a), Ec;
+ return um(o) || qd(), Yc(e, t, c);
}
- return dm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ra = mm(o.nextSibling), na = t, ia = !0, aa = null, V = !1, e !== null && ta(t, e), t = Jc(t, a.children), t.flags |= 134221824, t);
+ return um(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, na = pm(o.nextSibling), ta = t, ra = !0, ia = null, aa = !1, e !== null && ea(t, e), t = qc(t, a.children), t.flags |= 134221824, t);
}
- function Qc(e, t, n) {
+ function Zc(e, t, n) {
e.lanes |= t;
var r = e.alternate;
- r !== null && (r.lanes |= t), ga(e.return, t, n);
+ r !== null && (r.lanes |= t), ha(e.return, t, n);
}
- function $c(e) {
+ function Qc(e) {
for (var t = null; e !== null;) {
var n = e.alternate;
- n !== null && No(n) === null && (t = e), e = e.sibling;
+ n !== null && Mo(n) === null && (t = e), e = e.sibling;
}
return t;
}
- function el(e, t, n, r, i, a) {
+ function $c(e, t, n, r, i, a) {
var o = e.memoizedState;
o === null ? e.memoizedState = {
isBackwards: t,
@@ -4294,22 +4295,22 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
treeForkCount: a
} : (o.isBackwards = t, o.rendering = null, o.renderingStartTime = 0, o.last = r, o.tail = n, o.tailMode = i, o.treeForkCount = a);
}
- function tl(e) {
+ function el(e) {
var t = e.child;
for (e.child = null; t !== null;) {
var n = t.sibling;
t.sibling = e.child, e.child = t, t = n;
}
}
- function nl(e, t, n) {
+ function tl(e, t, n) {
var r = t.pendingProps, i = r.revealOrder, a = r.tail;
r = r.children;
- var o = Ao.current;
- if (t.flags & 128) return jo(t, o), null;
+ var o = ko.current;
+ if (t.flags & 128) return Ao(t, o), null;
var s = !!(o & 2);
- if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, jo(t, o), i === "backwards" && e !== null ? (tl(e), kc(e, t, r, n), tl(e)) : kc(e, t, r, n), r = ia ? Gi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {
- if (e.tag === 13) e.memoizedState !== null && Qc(e, n, t);
- else if (e.tag === 19) Qc(e, n, t);
+ if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Ao(t, o), i === "backwards" && e !== null ? (el(e), Oc(e, t, r, n), el(e)) : Oc(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 && Zc(e, n, t);
+ else if (e.tag === 19) Zc(e, n, t);
else if (e.child !== null) {
e.child.return = e, e = e.child;
continue;
@@ -4323,52 +4324,52 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
switch (i) {
case "backwards":
- n = $c(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, tl(t)), el(t, !0, i, null, a, r);
+ n = Qc(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, el(t)), $c(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 && No(e) === null) {
+ if (e = i.alternate, e !== null && Mo(e) === null) {
t.child = i;
break;
}
e = i.sibling, i.sibling = n, n = i, i = e;
}
- el(t, !0, n, null, a, r);
+ $c(t, !0, n, null, a, r);
break;
case "together":
- el(t, !1, null, null, void 0, r);
+ $c(t, !1, null, null, void 0, r);
break;
case "independent":
t.memoizedState = null;
break;
- default: n = $c(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), el(t, !1, i, n, a, r);
+ default: n = Qc(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), $c(t, !1, i, n, a, r);
}
return t.child;
}
- function rl(e, t, n) {
+ function nl(e, t, n) {
var r = t.pendingProps;
- return ma(t, t.type, r.value), kc(e, t, r.children, n), t.child;
+ return pa(t, t.type, r.value), Oc(e, t, r.children, n), t.child;
}
- function il(e, t, n) {
- if (e !== null && (t.dependencies = e.dependencies), cd |= t.lanes, (n & t.childLanes) === 0) {
+ function rl(e, t, n) {
+ if (e !== null && (t.dependencies = e.dependencies), sd |= t.lanes, (n & t.childLanes) === 0) {
if (e !== null) {
- if (va(e, t, n, !1), (n & t.childLanes) === 0) return null;
+ if (_a(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 = Ni(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = Ni(e, e.pendingProps), n.return = t;
+ for (e = t.child, n = B(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = B(e, e.pendingProps), n.return = t;
n.sibling = null;
}
return t.child;
}
- function al(e, t) {
- return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && ya(e)));
+ function il(e, t) {
+ return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && va(e)));
}
- function ol(e, t, n) {
+ function al(e, t, n) {
switch (t.tag) {
case 3:
- Ce(t, t.stateNode.containerInfo), ma(t, Ta, e.memoizedState.cache), W();
+ Ce(t, t.stateNode.containerInfo), pa(t, Ta, e.memoizedState.cache), ua();
break;
case 27:
case 5:
@@ -4378,7 +4379,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
Ce(t, t.stateNode.containerInfo);
break;
case 10:
- ma(t, t.type, t.memoizedProps.value);
+ pa(t, t.type, t.memoizedProps.value);
break;
case 31:
if (t.memoizedState !== null) return t.flags |= 128, Eo(t), null;
@@ -4387,51 +4388,51 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
var r = t.memoizedState;
if (r !== null) {
if (r.dehydrated !== null) return To(t), t.flags |= 128, null;
- r = va(e, t, n, !1);
+ r = _a(e, t, n, !1);
var i = t.child.childLanes;
- return r || (n & i) !== 0 ? qc(e, t, n) : (To(t), e = il(e, t, n), e === null ? null : e.sibling);
+ return r || (n & i) !== 0 ? Kc(e, t, n) : (To(t), e = rl(e, t, n), e === null ? null : e.sibling);
}
To(t);
break;
case 19:
- if (t.flags & 128) return nl(e, t, n);
- if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (va(e, t, n, !1), (n & t.childLanes) !== 0), i) {
- if (r) return nl(e, t, n);
+ if (t.flags & 128) return tl(e, t, n);
+ if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (_a(e, t, n, !1), (n & t.childLanes) !== 0), i) {
+ if (r) return tl(e, t, n);
t.flags |= 128;
}
- if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), jo(t, Ao.current), r) break;
+ if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Ao(t, ko.current), r) break;
return null;
- case 22: return t.lanes = 0, Nc(e, t, n, t.pendingProps);
- case 24: ma(t, Ta, e.memoizedState.cache);
+ case 22: return t.lanes = 0, Mc(e, t, n, t.pendingProps);
+ case 24: pa(t, Ta, e.memoizedState.cache);
}
- return il(e, t, n);
+ return rl(e, t, n);
}
- function sl(e, t, n) {
+ function ol(e, t, n) {
if (e !== null) {
- if (e.memoizedProps !== t.pendingProps) Oc = !0;
+ if (e.memoizedProps !== t.pendingProps) Dc = !0;
else {
- if (!al(e, n) && !(t.flags & 128)) return Oc = !1, ol(e, t, n);
- Oc = !!(e.flags & 131072);
+ if (!il(e, n) && !(t.flags & 128)) return Dc = !1, al(e, t, n);
+ Dc = !!(e.flags & 131072);
}
- } else Oc = !1, ia && t.flags & 1048576 && Qi(t, Gi, t.index);
+ } else Dc = !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 = Ya(t.elementType), t.type = e, typeof e == "function") Mi(e) ? (r = _c(e, r), t.tag = 1, t = Hc(null, t, e, r, n)) : (t.tag = 0, t = Bc(null, t, e, r, n));
+ if (e = Ja(t.elementType), t.type = e, typeof e == "function") Mi(e) ? (r = gc(e, r), t.tag = 1, t = Vc(null, t, e, r, n)) : (t.tag = 0, t = zc(null, t, e, r, n));
else {
if (e != null) {
var a = e.$$typeof;
if (a === N) {
- t.tag = 11, t = Ac(null, t, e, r, n);
+ t.tag = 11, t = kc(null, t, e, r, n);
break a;
}
if (a === F) {
- t.tag = 14, t = jc(null, t, e, r, n);
+ t.tag = 14, t = Ac(null, t, e, r, n);
break a;
}
if (a === M) {
- t.tag = 10, t.type = e, t = rl(null, t, n);
+ t.tag = 10, t.type = e, t = nl(null, t, n);
break a;
}
}
@@ -4439,26 +4440,26 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
}
return t;
- case 0: return Bc(e, t, t.type, t.pendingProps, n);
- case 1: return r = t.type, a = _c(r, t.pendingProps), Hc(e, t, r, a, n);
+ case 0: return zc(e, t, t.type, t.pendingProps, n);
+ case 1: return r = t.type, a = gc(r, t.pendingProps), Vc(e, t, r, a, n);
case 3:
a: {
if (Ce(t, t.stateNode.containerInfo), e === null) throw Error(i(387));
r = t.pendingProps;
var o = t.memoizedState;
- a = o.element, co(e, t), go(t, r, null, n);
+ a = o.element, so(e, t), ho(t, r, null, n);
var s = t.memoizedState;
- if (r = s.cache, ma(t, Ta, r), r !== o.cache && _a(t, [Ta], n, !0), ho(), r = s.element, o.isDehydrated) {
+ if (r = s.cache, pa(t, Ta, r), r !== o.cache && ga(t, [Ta], n, !0), mo(), r = s.element, o.isDehydrated) {
if (o = {
element: r,
isDehydrated: !1,
cache: s.cache
}, t.updateQueue.baseState = o, t.memoizedState = o, t.flags & 256) {
- t = Uc(e, t, r, n);
+ t = Hc(e, t, r, n);
break a;
}
if (r !== a) {
- a = Vi(Error(i(424)), t), ua(a), t = Uc(e, t, r, n);
+ a = Bi(Error(i(424)), t), fa(a), t = Hc(e, t, r, n);
break a;
}
switch (e = t.stateNode.containerInfo, e.nodeType) {
@@ -4467,76 +4468,76 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
break;
default: e = e.nodeName === "HTML" ? e.ownerDocument.body : e;
}
- for (ra = mm(e.firstChild), na = t, ia = !0, aa = null, V = !0, n = ao(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;
+ for (na = pm(e.firstChild), ta = t, ra = !0, ia = null, aa = !0, n = io(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;
} else {
- if (W(), r === a) {
- t = il(e, t, n);
+ if (ua(), r === a) {
+ t = rl(e, t, n);
break a;
}
- kc(e, t, r, n);
+ Oc(e, t, r, n);
}
t = t.child;
}
return t;
- case 26: return zc(e, t), e === null ? (n = Rm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : ia || (t.stateNode = _p(t.type, t.pendingProps, xe.current, t)) : t.memoizedState = Rm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;
- case 27: return Te(t), e === null && ia && (r = t.stateNode = bm(t.type, t.pendingProps, xe.current), na = t, V = !0, a = ra, Dp(t.type) ? (hm = a, ra = mm(r.firstChild)) : ra = a), kc(e, t, t.pendingProps.children, n), zc(e, t), e === null && (t.flags |= 4194304), t.child;
- case 5: return e === null && ia && ((a = r = ra) && (r = cm(r, t.type, t.pendingProps, V), r === null ? a = !1 : (t.stateNode = r, na = t, ra = mm(r.firstChild), V = !1, a = !0)), a || sa(t)), Te(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, vp(a, o) ? r = null : s !== null && vp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = qo(e, t, Xo, null, null, n), fh._currentValue = a), zc(e, t), kc(e, t, r, n), t.child;
- case 6: return e === null && ia && ((e = n = ra) && (n = lm(n, t.pendingProps, V), n === null ? e = !1 : (t.stateNode = n, na = t, ra = null, e = !0)), e || sa(t)), null;
- case 13: return qc(e, t, n);
- case 4: return Ce(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = io(t, null, r, n) : kc(e, t, r, n), t.child;
- case 11: return Ac(e, t, t.type, t.pendingProps, n);
- case 7: return r = t.pendingProps, zc(e, t), kc(e, t, r, n), t.child;
- case 8: return kc(e, t, t.pendingProps.children, n), t.child;
- case 12: return kc(e, t, t.pendingProps.children, n), t.child;
- case 10: return rl(e, t, n);
- case 9: return a = t.type._context, r = t.pendingProps.children, G(t), a = ba(a), r = r(a), t.flags |= 1, kc(e, t, r, n), t.child;
- case 14: return jc(e, t, t.type, t.pendingProps, n);
- case 15: return Mc(e, t, t.type, t.pendingProps, n);
- case 19: return nl(e, t, n);
- case 31: return Rc(e, t, n);
- case 22: return Nc(e, t, n, t.pendingProps);
- case 24: return G(t), r = ba(Ta), e === null ? (a = Ba(), a === null && (a = Qu, o = Ea(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {
+ case 26: return Rc(e, t), e === null ? (n = Lm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : ra || (t.stateNode = gp(t.type, t.pendingProps, xe.current, t)) : t.memoizedState = Lm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;
+ case 27: return Te(t), e === null && ra && (r = t.stateNode = ym(t.type, t.pendingProps, xe.current), ta = t, aa = !0, a = na, Ep(t.type) ? (mm = a, na = pm(r.firstChild)) : na = a), Oc(e, t, t.pendingProps.children, n), Rc(e, t), e === null && (t.flags |= 4194304), t.child;
+ case 5: return e === null && ra && ((a = r = na) && (r = sm(r, t.type, t.pendingProps, aa), r === null ? a = !1 : (t.stateNode = r, ta = t, na = pm(r.firstChild), aa = !1, a = !0)), a || sa(t)), Te(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, _p(a, o) ? r = null : s !== null && _p(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = Ko(e, t, Yo, null, null, n), dh._currentValue = a), Rc(e, t), Oc(e, t, r, n), t.child;
+ case 6: return e === null && ra && ((e = n = na) && (n = cm(n, t.pendingProps, aa), n === null ? e = !1 : (t.stateNode = n, ta = t, na = null, e = !0)), e || sa(t)), null;
+ case 13: return Kc(e, t, n);
+ case 4: return Ce(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = ro(t, null, r, n) : Oc(e, t, r, n), t.child;
+ case 11: return kc(e, t, t.type, t.pendingProps, n);
+ case 7: return r = t.pendingProps, Rc(e, t), Oc(e, t, r, n), t.child;
+ case 8: return Oc(e, t, t.pendingProps.children, n), t.child;
+ case 12: return Oc(e, t, t.pendingProps.children, n), t.child;
+ case 10: return nl(e, t, n);
+ case 9: return a = t.type._context, r = t.pendingProps.children, ya(t), a = ba(a), r = r(a), t.flags |= 1, Oc(e, t, r, n), t.child;
+ case 14: return Ac(e, t, t.type, t.pendingProps, n);
+ case 15: return jc(e, t, t.type, t.pendingProps, n);
+ case 19: return tl(e, t, n);
+ case 31: return Lc(e, t, n);
+ case 22: return Mc(e, t, n, t.pendingProps);
+ case 24: return ya(t), r = ba(Ta), e === null ? (a = za(), a === null && (a = Zu, o = Ea(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {
parent: r,
cache: a
- }, so(t), ma(t, Ta, a)) : ((e.lanes & n) !== 0 && (co(e, t), go(t, null, null, n), ho()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, ma(t, Ta, r), r !== a.cache && _a(t, [Ta], n, !0)) : (a = {
+ }, oo(t), pa(t, Ta, a)) : ((e.lanes & n) !== 0 && (so(e, t), ho(t, null, null, n), mo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, pa(t, Ta, r), r !== a.cache && ga(t, [Ta], n, !0)) : (a = {
parent: r,
cache: r
- }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), ma(t, Ta, r))), kc(e, t, t.pendingProps.children, n), t.child;
+ }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), pa(t, Ta, r))), Oc(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 : ia && $i(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : zc(e, t), kc(e, t, r.children, n), t.child;
+ }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : ra && Qi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Rc(e, t), Oc(e, t, r.children, n), t.child;
case 29: throw t.pendingProps;
}
throw Error(i(156, t.tag));
}
- function cl(e) {
+ function sl(e) {
e.flags |= 4;
}
- function ll(e, t, n, r, i) {
+ function cl(e, t, n, r, i) {
var a;
- if ((a = !!(e.mode & 32)) && (a = n === null ? $m(t, r) : $m(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {
+ if ((a = !!(e.mode & 32)) && (a = n === null ? Qm(t, r) : Qm(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 (Gd()) e.flags |= 8192;
- else throw Xa = Ka, Wa;
+ else if (Wd()) e.flags |= 8192;
+ else throw Ya = Ga, Ua;
}
} else e.flags &= -16777217;
}
- function ul(e, t) {
+ function ll(e, t) {
if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;
- else if (e.flags |= 16777216, !eh(t)) {
- if (Gd()) e.flags |= 8192;
- else throw Xa = Ka, Wa;
+ else if (e.flags |= 16777216, !$m(t)) {
+ if (Wd()) e.flags |= 8192;
+ else throw Ya = Ga, Ua;
}
}
- function dl(e, t) {
- t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : dt(), e.lanes |= t, fd |= t);
+ function ul(e, t) {
+ t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ut(), e.lanes |= t, dd |= t);
}
- function fl(e, t) {
- if (!ia) switch (e.tailMode) {
+ function dl(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;
@@ -4547,15 +4548,15 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
n === null ? e.tail = null : n.sibling = null;
}
}
- function pl(e) {
+ function fl(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 ml(e, t, n) {
+ function pl(e, t, n) {
var r = t.pendingProps;
- switch (ea(t), t.tag) {
+ switch ($i(t), t.tag) {
case 16:
case 15:
case 0:
@@ -4564,32 +4565,32 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case 8:
case 12:
case 9:
- case 14: return pl(t), null;
- case 1: return pl(t), null;
- case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), ha(Ta), we(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (U(t) ? cl(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, la())), pl(t), null;
+ case 14: return fl(t), null;
+ case 1: return fl(t), null;
+ case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), ma(Ta), we(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (V(t) ? sl(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, da())), fl(t), null;
case 26:
var a = t.type, o = t.memoizedState;
- return e === null ? (cl(t), o === null ? (pl(t), ll(t, a, null, r, n)) : (pl(t), ul(t, o))) : o ? o === e.memoizedState ? (pl(t), t.flags &= -16777217) : (cl(t), pl(t), ul(t, o)) : (e = e.memoizedProps, e !== r && cl(t), pl(t), ll(t, a, e, r, n)), null;
+ return e === null ? (sl(t), o === null ? (fl(t), cl(t, a, null, r, n)) : (fl(t), ll(t, o))) : o ? o === e.memoizedState ? (fl(t), t.flags &= -16777217) : (sl(t), fl(t), ll(t, o)) : (e = e.memoizedProps, e !== r && sl(t), fl(t), cl(t, a, e, r, n)), null;
case 27:
- if (Ee(t), n = xe.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && cl(t);
+ if (Ee(t), n = xe.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && sl(t);
else {
if (!r) {
if (t.stateNode === null) throw Error(i(166));
- return pl(t), t.subtreeFlags &= -33554433, null;
+ return fl(t), t.subtreeFlags &= -33554433, null;
}
- e = ye.current, U(t) ? ca(t, e) : (e = bm(a, r, n), t.stateNode = e, cl(t));
+ e = ye.current, V(t) ? ca(t, e) : (e = ym(a, r, n), t.stateNode = e, sl(t));
}
- return pl(t), t.subtreeFlags &= -33554433, null;
+ return fl(t), t.subtreeFlags &= -33554433, null;
case 5:
- if (Ee(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && cl(t);
+ if (Ee(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && sl(t);
else {
if (!r) {
if (t.stateNode === null) throw Error(i(166));
- return pl(t), t.subtreeFlags &= -33554433, null;
+ return fl(t), t.subtreeFlags &= -33554433, null;
}
- if (o = ye.current, U(t)) ca(t, o);
+ if (o = ye.current, V(t)) ca(t, o);
else {
- var s = mp(xe.current);
+ var s = pp(xe.current);
switch (o) {
case 1:
o = s.createElementNS("http://www.w3.org/2000/svg", a);
@@ -4613,7 +4614,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
default: o = typeof r.is == "string" ? s.createElement(a, { is: r.is }) : s.createElement(a);
}
}
- o[Ct] = t, o[wt] = 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) {
@@ -4628,7 +4629,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
s.sibling.return = s.return, s = s.sibling;
}
t.stateNode = o;
- a: switch (sp(o, a, r), a) {
+ a: switch (op(o, a, r), a) {
case "button":
case "input":
case "select":
@@ -4640,71 +4641,71 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
break a;
default: r = !1;
}
- r && cl(t);
+ r && sl(t);
}
}
- return pl(t), t.subtreeFlags &= -33554433, ll(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;
+ return fl(t), t.subtreeFlags &= -33554433, cl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;
case 6:
- if (e && t.stateNode != null) e.memoizedProps !== r && cl(t);
+ if (e && t.stateNode != null) e.memoizedProps !== r && sl(t);
else {
if (typeof r != "string" && t.stateNode === null) throw Error(i(166));
- if (e = xe.current, U(t)) {
- if (e = t.stateNode, n = t.memoizedProps, r = null, a = na, a !== null) switch (a.tag) {
+ if (e = xe.current, V(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[Ct] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || ip(e.nodeValue, n)), e || sa(t, !0);
- } else e = mp(e).createTextNode(r), e[Ct] = t, t.stateNode = e;
+ e[St] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || rp(e.nodeValue, n)), e || sa(t, !0);
+ } else e = pp(e).createTextNode(r), e[St] = t, t.stateNode = e;
}
- return pl(t), null;
+ return fl(t), null;
case 31:
if (n = t.memoizedState, e === null || e.memoizedState !== null) {
- if (r = U(t), n !== null) {
+ if (r = V(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[Ct] = t;
- } else W(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
- pl(t), e = !1;
- } else n = la(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;
- if (!e) return t.flags & 256 ? (ko(t), t) : (ko(t), null);
+ e[St] = t;
+ } else ua(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
+ fl(t), e = !1;
+ } else n = da(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;
+ if (!e) return t.flags & 256 ? (Oo(t), t) : (Oo(t), null);
if (t.flags & 128) throw Error(i(558));
}
- return pl(t), null;
+ return fl(t), null;
case 13:
if (r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
- if (a = U(t), r !== null && r.dehydrated !== null) {
+ if (a = V(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[Ct] = t;
- } else W(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
- pl(t), a = !1;
- } else a = la(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;
- if (!a) return t.flags & 256 ? (ko(t), t) : (ko(t), null);
+ a[St] = t;
+ } else ua(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
+ fl(t), a = !1;
+ } else a = da(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;
+ if (!a) return t.flags & 256 ? (Oo(t), t) : (Oo(t), null);
}
- return ko(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), dl(t, t.updateQueue), pl(t), null);
- case 4: return we(), e === null && Jf(t.stateNode.containerInfo), t.flags |= 67108864, pl(t), null;
- case 10: return ha(t.type), pl(t), null;
+ return Oo(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), ul(t, t.updateQueue), fl(t), null);
+ case 4: return we(), e === null && qf(t.stateNode.containerInfo), t.flags |= 67108864, fl(t), null;
+ case 10: return ma(t.type), fl(t), null;
case 19:
- if (Mo(t), r = t.memoizedState, r === null) return pl(t), null;
+ if (jo(t), r = t.memoizedState, r === null) return fl(t), null;
if (a = !!(t.flags & 128), o = r.rendering, o === null) {
- if (a) fl(r, !1);
+ if (a) dl(r, !1);
else {
- if (sd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {
- if (o = No(e), o !== null) {
- for (t.flags |= 128, fl(r, !1), e = o.updateQueue, t.updateQueue = e, dl(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Pi(n, e), n = n.sibling;
- return jo(t, Ao.current & 1 | 2), ia && Zi(t, r.treeForkCount), t.child;
+ if (od !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {
+ if (o = Mo(e), o !== null) {
+ for (t.flags |= 128, dl(r, !1), e = o.updateQueue, t.updateQueue = e, ul(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Ni(n, e), n = n.sibling;
+ return Ao(t, ko.current & 1 | 2), ra && Xi(t, r.treeForkCount), t.child;
}
e = e.sibling;
}
- r.tail !== null && ze() > vd && (t.flags |= 128, a = !0, fl(r, !1), t.lanes = 4194304);
+ r.tail !== null && ze() > _d && (t.flags |= 128, a = !0, dl(r, !1), t.lanes = 4194304);
}
} else {
if (!a) {
- if (e = No(o), e !== null) {
- if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, dl(t, e), fl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !ia) return pl(t), null;
- } else 2 * ze() - r.renderingStartTime > vd && n !== 536870912 && (t.flags |= 128, a = !0, fl(r, !1), t.lanes = 4194304);
+ if (e = Mo(o), e !== null) {
+ if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, ul(t, e), dl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !ra) return fl(t), null;
+ } else 2 * ze() - r.renderingStartTime > _d && n !== 536870912 && (t.flags |= 128, a = !0, dl(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);
}
@@ -4720,50 +4721,50 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
n = !0;
}
- return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = ze(), e.sibling = null, o = Ao.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || ia ? jo(t, o) : (n = o, ve(Co, t), ve(Ao, n), wo === null && (wo = t)), ia && Zi(t, r.treeForkCount), e;
+ return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = ze(), e.sibling = null, o = ko.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || ra ? Ao(t, o) : (n = o, ve(Co, t), ve(ko, n), wo === null && (wo = t)), ra && Xi(t, r.treeForkCount), e;
}
- return pl(t), null;
+ return fl(t), null;
case 22:
- case 23: return ko(t), J(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (pl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : pl(t), n = t.updateQueue, n !== null && dl(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(za), null;
- case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), ha(Ta), pl(t), null;
+ case 23: return Oo(t), So(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (fl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : fl(t), n = t.updateQueue, n !== null && ul(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && _e(Ra), null;
+ case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), ma(Ta), fl(t), null;
case 25: return null;
- case 30: return t.flags |= 33554432, pl(t), null;
+ case 30: return t.flags |= 33554432, fl(t), null;
}
throw Error(i(156, t.tag));
}
- function hl(e, t) {
- switch (ea(t), t.tag) {
+ function ml(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 ha(Ta), we(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
+ case 3: return ma(Ta), we(), 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 31:
if (t.memoizedState !== null) {
- if (ko(t), t.alternate === null) throw Error(i(340));
- W();
+ if (Oo(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 (ko(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {
+ if (Oo(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {
if (t.alternate === null) throw Error(i(340));
- W();
+ ua();
}
return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
- case 19: return Mo(t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, e = t.memoizedState, e !== null && (e.rendering = null, e.tail = null), t.flags |= 4, t) : null;
+ case 19: return jo(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 ha(t.type), null;
+ case 10: return ma(t.type), null;
case 22:
- case 23: return ko(t), J(), e !== null && _e(za), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
- case 24: return ha(Ta), null;
+ case 23: return Oo(t), So(), e !== null && _e(Ra), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
+ case 24: return ma(Ta), null;
case 25: return null;
default: return null;
}
}
- function gl(e, t) {
- switch (ea(t), t.tag) {
+ function hl(e, t) {
+ switch ($i(t), t.tag) {
case 3:
- ha(Ta), we();
+ ma(Ta), we();
break;
case 26:
case 27:
@@ -4774,25 +4775,25 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
we();
break;
case 31:
- t.memoizedState !== null && ko(t);
+ t.memoizedState !== null && Oo(t);
break;
case 13:
- ko(t);
+ Oo(t);
break;
case 19:
- Mo(t);
+ jo(t);
break;
case 10:
- ha(t.type);
+ ma(t.type);
break;
case 22:
case 23:
- ko(t), J(), e !== null && _e(za);
+ Oo(t), So(), e !== null && _e(Ra);
break;
- case 24: ha(Ta);
+ case 24: ma(Ta);
}
}
- function _l(e, t) {
+ function gl(e, t) {
try {
var n = t.updateQueue, r = n === null ? null : n.lastEffect;
if (r !== null) {
@@ -4808,10 +4809,10 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
} while (n !== i);
}
} catch (e) {
- gf(t, t.return, e);
+ hf(t, t.return, e);
}
}
- function vl(e, t, n) {
+ function _l(e, t, n) {
try {
var r = t.updateQueue, i = r === null ? null : r.lastEffect;
if (i !== null) {
@@ -4826,7 +4827,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
try {
l();
} catch (e) {
- gf(i, c, e);
+ hf(i, c, e);
}
}
}
@@ -4834,29 +4835,29 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
} while (r !== a);
}
} catch (e) {
- gf(t, t.return, e);
+ hf(t, t.return, e);
}
}
- function yl(e) {
+ function vl(e) {
var t = e.updateQueue;
if (t !== null) {
var n = e.stateNode;
try {
- vo(t, n);
+ _o(t, n);
} catch (t) {
- gf(e, e.return, t);
+ hf(e, e.return, t);
}
}
}
- function bl(e, t, n) {
- n.props = _c(e.type, e.memoizedProps), n.state = e.memoizedState;
+ function yl(e, t, n) {
+ n.props = gc(e.type, e.memoizedProps), n.state = e.memoizedState;
try {
n.componentWillUnmount();
} catch (n) {
- gf(e, t, n);
+ hf(e, t, n);
}
}
- function xl(e, t) {
+ function bl(e, t) {
try {
var n = e.ref;
if (n !== null) {
@@ -4867,13 +4868,13 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
var r = e.stateNode;
break;
case 30:
- var i = e.stateNode, a = vi(e.memoizedProps, i);
- (i.ref === null || i.ref.name !== a) && (i.ref = zp(a)), r = i.ref;
+ var i = e.stateNode, a = _i(e.memoizedProps, i);
+ (i.ref === null || i.ref.name !== a) && (i.ref = Rp(a)), r = i.ref;
break;
case 7:
if (e.stateNode === null) {
- var o = new Bp(e);
- f(e.child, !1, rm, o, void 0, void 0), e.stateNode = o;
+ var o = new zp(e);
+ f(e.child, !1, nm, o, void 0, void 0), e.stateNode = o;
}
r = e.stateNode;
break;
@@ -4882,43 +4883,43 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
typeof n == "function" ? e.refCleanup = n(r) : n.current = r;
}
} catch (n) {
- gf(e, t, n);
+ hf(e, t, n);
}
}
- function Sl(e, t) {
+ function xl(e, t) {
var n = e.ref, r = e.refCleanup;
if (n !== null) {
if (typeof r == "function") try {
r();
} catch (n) {
- gf(e, t, n);
+ hf(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) {
- gf(e, t, n);
+ hf(e, t, n);
}
else n.current = null;
}
}
- function Cl(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++) am(e.stateNode, t[n]);
+ function Sl(e, t) {
+ if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && e.alternate === null && t !== null) for (var n = 0; n < t.length; n++) im(e.stateNode, t[n]);
+ }
+ function Cl(e) {
+ for (var t = e.return; t !== null && (El(t) && im(e.stateNode, t.stateNode), !Tl(t));) t = t.return;
}
function wl(e) {
- for (var t = e.return; t !== null && (Dl(t) && am(e.stateNode, t.stateNode), !El(t));) t = t.return;
+ for (var t = e.return; t !== null && (El(t) && am(e.stateNode, t.stateNode), !Tl(t));) t = t.return;
}
function Tl(e) {
- for (var t = e.return; t !== null && (Dl(t) && om(e.stateNode, t.stateNode), !El(t));) t = t.return;
- }
- function El(e) {
return e.tag === 5 || e.tag === 3 || e.tag === 27;
}
- function Dl(e) {
+ function El(e) {
return e && e.tag === 7 && e.stateNode !== null;
}
- function Ol(e) {
+ function Dl(e) {
var t = e.type, n = e.memoizedProps, r = e.stateNode;
try {
a: switch (t) {
@@ -4931,103 +4932,103 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case "img": n.src ? r.src = n.src : n.srcSet && (r.srcset = n.srcSet);
}
} catch (t) {
- gf(e, e.return, t);
+ hf(e, e.return, t);
}
}
- function kl(e, t, n) {
+ function Ol(e, t, n) {
try {
var r = e.stateNode;
- lp(r, e.type, n, t), r[wt] = t;
+ cp(r, e.type, n, t), r[Ct] = t;
} catch (t) {
- gf(e, e.return, t);
+ hf(e, e.return, t);
}
}
- function Al(e) {
- return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Dp(e.type) || e.tag === 4;
+ function kl(e) {
+ return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Ep(e.type) || e.tag === 4;
}
- function jl(e) {
+ function Al(e) {
a: for (;;) {
for (; e.sibling === null;) {
- if (e.return === null || Al(e.return)) return null;
+ if (e.return === null || kl(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 && Dp(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue a;
+ if (e.tag === 27 && Ep(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 Ml(e, t, n, r) {
+ function jl(e, t, n, r) {
var i = e.tag;
- if (i === 5 || i === 6) i = e.stateNode, t ? (n.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 = yn)), Cl(e, r), Kt = !0;
- else if (i !== 4 && (i === 27 && (Cl(e, r), r = null, Dp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Ml(e, t, n, r), e = e.sibling; e !== null;) Ml(e, t, n, r), e = e.sibling;
+ if (i === 5 || i === 6) i = e.stateNode, t ? (n.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 = vn)), Sl(e, r), Kt = !0;
+ else if (i !== 4 && (i === 27 && (Sl(e, r), r = null, Ep(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (jl(e, t, n, r), e = e.sibling; e !== null;) jl(e, t, n, r), e = e.sibling;
}
- function Nl(e, t, n, r) {
+ function Ml(e, t, n, r) {
var i = e.tag;
- if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Cl(e, r), Kt = !0;
- else if (i !== 4 && (i === 27 && (Cl(e, r), r = null, Dp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Nl(e, t, n, r), e = e.sibling; e !== null;) Nl(e, t, n, r), e = e.sibling;
+ if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Sl(e, r), Kt = !0;
+ else if (i !== 4 && (i === 27 && (Sl(e, r), r = null, Ep(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Ml(e, t, n, r), e = e.sibling; e !== null;) Ml(e, t, n, r), e = e.sibling;
}
- function Pl(e) {
+ function Nl(e) {
var t = e.stateNode, n = e.memoizedProps;
try {
for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);
- sp(t, r, n), t[Ct] = e, t[wt] = n;
+ op(t, r, n), t[St] = e, t[Ct] = n;
} catch (t) {
- gf(e, e.return, t);
+ hf(e, e.return, t);
}
}
- var Fl = !1, Il = null;
- function Ll(e) {
- (e.tag === 30 || e.subtreeFlags & 33554432) && (Fl = !0);
+ var Pl = !1, Fl = null;
+ function Il(e) {
+ (e.tag === 30 || e.subtreeFlags & 33554432) && (Pl = !0);
}
- var Rl = null;
- function zl() {
- var e = Rl;
- return Rl = null, e;
+ var Ll = null;
+ function Rl() {
+ var e = Ll;
+ return Ll = null, e;
}
- var Bl = 0;
- function Vl(e, t, n, r, i) {
- return Bl = 0, Hl(e.child, t, n, r, i);
+ var zl = 0;
+ function Bl(e, t, n, r, i) {
+ return zl = 0, Vl(e.child, t, n, r, i);
}
- function Hl(e, t, n, r, i) {
+ function Vl(e, t, n, r, i) {
for (var a = !1; e !== null;) {
if (e.tag === 5) {
var o = e.stateNode;
if (r !== null) {
- var s = Np(o);
+ var s = Mp(o);
r.push(s), s.view && (a = !0);
- } else a || Np(o).view && (a = !0);
- Fl = !0, Ap(o, Bl === 0 ? t : t + "_" + Bl, n), Bl++;
- } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Hl(e.child, t, n, r, i) && (a = !0));
+ } else a || Mp(o).view && (a = !0);
+ Pl = !0, kp(o, zl === 0 ? t : t + "_" + zl, n), zl++;
+ } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Vl(e.child, t, n, r, i) && (a = !0));
e = e.sibling;
}
return a;
}
- function Ul(e, t) {
- for (; e !== null;) e.tag === 5 ? jp(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Ul(e.child, t)), e = e.sibling;
+ function Hl(e, t) {
+ for (; e !== null;) e.tag === 5 ? Ap(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Hl(e.child, t)), e = e.sibling;
}
- function Wl(e) {
+ function Ul(e) {
if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {
- if ((e.tag !== 22 || e.memoizedState === null) && (Wl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {
+ if ((e.tag !== 22 || e.memoizedState === null) && (Ul(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 = bi(t.default, t.share), t !== "none" && (Vl(e, n, t, null, !1) || Ul(e.child, !1));
+ t = yi(t.default, t.share), t !== "none" && (Bl(e, n, t, null, !1) || Hl(e.child, !1));
}
e = e.sibling;
}
}
- function Gl(e, t) {
+ function Wl(e, t) {
if (e.tag === 30) {
- var n = e.stateNode, r = e.memoizedProps, i = vi(r, n), a = bi(r.default, n.paired ? r.share : r.enter);
- a === "none" ? Wl(e) : Vl(e, i, a, null, !1) ? (Wl(e), n.paired || t || Fd(e, r.onEnter)) : Ul(e.child, !1);
- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Gl(e, t), e = e.sibling;
- else Wl(e);
- }
- function Kl(e) {
- if (Il !== null && Il.size !== 0) {
- var t = Il;
+ var n = e.stateNode, r = e.memoizedProps, i = _i(r, n), a = yi(r.default, n.paired ? r.share : r.enter);
+ a === "none" ? Ul(e) : Bl(e, i, a, null, !1) ? (Ul(e), n.paired || t || Pd(e, r.onEnter)) : Hl(e.child, !1);
+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Wl(e, t), e = e.sibling;
+ else Ul(e);
+ }
+ function Gl(e) {
+ if (Fl !== null && Fl.size !== 0) {
+ var t = Fl;
if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {
if (e.tag !== 22 || e.memoizedState === null) {
if (e.tag === 30 && e.flags & 18874368) {
@@ -5035,59 +5036,59 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
if (r != null && r !== "auto") {
var i = t.get(r);
if (i !== void 0) {
- var a = bi(n.default, n.share);
- if (a !== "none" && (Vl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Fd(e, n.onShare)) : Ul(e.child, !1)), t.delete(r), t.size === 0) break;
+ var a = yi(n.default, n.share);
+ if (a !== "none" && (Bl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Pd(e, n.onShare)) : Hl(e.child, !1)), t.delete(r), t.size === 0) break;
}
}
}
- Kl(e);
+ Gl(e);
}
e = e.sibling;
}
}
}
- function ql(e) {
+ function Kl(e) {
if (e.tag === 30) {
- var t = e.memoizedProps, n = vi(t, e.stateNode), r = Il === null ? void 0 : Il.get(n), i = bi(t.default, r === void 0 ? t.exit : t.share);
- i !== "none" && (Vl(e, n, i, null, !1) ? r === void 0 ? Fd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Il.delete(n), Fd(e, t.onShare)) : Ul(e.child, !1)), Il !== null && Kl(e);
- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) ql(e), e = e.sibling;
- else Il !== null && Kl(e);
+ var t = e.memoizedProps, n = _i(t, e.stateNode), r = Fl === null ? void 0 : Fl.get(n), i = yi(t.default, r === void 0 ? t.exit : t.share);
+ i !== "none" && (Bl(e, n, i, null, !1) ? r === void 0 ? Pd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Fl.delete(n), Pd(e, t.onShare)) : Hl(e.child, !1)), Fl !== null && Gl(e);
+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Kl(e), e = e.sibling;
+ else Fl !== null && Gl(e);
}
- function Jl(e) {
+ function ql(e) {
for (e = e.child; e !== null;) {
if (e.tag === 30) {
- var t = e.memoizedProps, n = vi(t, e.stateNode);
- t = bi(t.default, t.update), e.flags &= -5, t !== "none" && Vl(e, n, t, e.memoizedState = [], !1);
- } else e.subtreeFlags & 33554432 && Jl(e);
+ var t = e.memoizedProps, n = _i(t, e.stateNode);
+ t = yi(t.default, t.update), e.flags &= -5, t !== "none" && Bl(e, n, t, e.memoizedState = [], !1);
+ } else e.subtreeFlags & 33554432 && ql(e);
e = e.sibling;
}
}
- function Yl(e) {
+ function Jl(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, Ul(e.child, !1));
+ t.paired !== null && (t.paired = null, Hl(e.child, !1));
}
- Yl(e);
+ Jl(e);
}
e = e.sibling;
}
}
- function Xl(e) {
- if (e.tag === 30) e.stateNode.paired = null, Ul(e.child, !1), Yl(e);
- else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Xl(e), e = e.sibling;
- else Yl(e);
+ function Yl(e) {
+ if (e.tag === 30) e.stateNode.paired = null, Hl(e.child, !1), Jl(e);
+ else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Yl(e), e = e.sibling;
+ else Jl(e);
}
- function Zl(e) {
- for (e = e.child; e !== null;) e.tag === 30 ? Ul(e.child, !1) : e.subtreeFlags & 33554432 && Zl(e), e = e.sibling;
+ function Xl(e) {
+ for (e = e.child; e !== null;) e.tag === 30 ? Hl(e.child, !1) : e.subtreeFlags & 33554432 && Xl(e), e = e.sibling;
}
- function Ql(e, t, n, r, i, a, o) {
+ function Zl(e, t, n, r, i, a, o) {
for (var s = !1; t !== null;) {
if (t.tag === 5) {
var c = t.stateNode;
- if (a !== null && Bl < a.length) {
- var l = a[Bl], u = Np(c);
+ if (a !== null && zl < a.length) {
+ var l = a[zl], u = Mp(c);
(l.view || u.view) && (s = !0);
var d;
if (d = !(e.flags & 4)) {
@@ -5100,30 +5101,30 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
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 && Ap(c, Bl === 0 ? n : n + "_" + Bl, i), s && e.flags & 4 || (Rl === null && (Rl = []), Rl.push(c, Bl === 0 ? r : r + "_" + Bl, t.memoizedProps)), Bl++;
- } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : Ql(e, t.child, n, r, i, a, o) && (s = !0));
+ e.flags & 4 && kp(c, zl === 0 ? n : n + "_" + zl, i), s && e.flags & 4 || (Ll === null && (Ll = []), Ll.push(c, zl === 0 ? r : r + "_" + zl, t.memoizedProps)), zl++;
+ } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : Zl(e, t.child, n, r, i, a, o) && (s = !0));
t = t.sibling;
}
return s;
}
- function $l(e, t) {
+ function Ql(e, t) {
for (e = e.child; e !== null;) {
if (e.tag === 30) {
- var n = e.memoizedProps, r = e.stateNode, i = vi(n, r), a = bi(n.default, n.update);
+ var n = e.memoizedProps, r = e.stateNode, i = _i(n, r), a = yi(n.default, n.update);
if (t) {
r = r.clones;
- var o = r === null ? null : r.map(Pp);
+ var o = r === null ? null : r.map(Np);
} else o = e.memoizedState, e.memoizedState = null;
r = e;
var s = e.child;
- Bl = 0, i = Ql(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Fd(e, n.onUpdate));
- } else e.subtreeFlags & 33554432 && $l(e, t);
+ zl = 0, i = Zl(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Pd(e, n.onUpdate));
+ } else e.subtreeFlags & 33554432 && Ql(e, t);
e = e.sibling;
}
}
- var eu = !1, tu = !1, nu = !1, ru = !1, iu = typeof WeakSet == "function" ? WeakSet : Set, au = null, ou = !1, su = !1, cu = !1, lu = !1;
- function uu(e, t, n) {
- if (e = e.containerInfo, fp = xh, e = Jr(e), Yr(e)) {
+ var $l = !1, eu = !1, tu = !1, nu = !1, ru = typeof WeakSet == "function" ? WeakSet : Set, iu = null, au = !1, ou = !1, su = !1, cu = !1;
+ function lu(e, t, n) {
+ if (e = e.containerInfo, dp = bh, e = qr(e), Jr(e)) {
if ("selectionStart" in e) var r = {
start: e.selectionStart,
end: e.selectionEnd
@@ -5162,31 +5163,31 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
end: 0
};
} else r = null;
- for (pp = {
+ for (fp = {
focusedElem: e,
selectionRange: r
- }, xh = !1, n = (n & 335544064) === n, au = t, t = n ? 9270 : 1024; au !== null;) {
- if (e = au, 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 && Ll(e), du(n);
+ }, bh = !1, n = (n & 335544064) === n, iu = t, t = n ? 9270 : 1024; iu !== null;) {
+ if (e = iu, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Kl(r[a]);
+ if (e.alternate === null && e.flags & 2) n && Il(e), uu(n);
else {
if (e.tag === 22) {
if (r = e.alternate, e.memoizedState !== null) {
- r !== null && r.memoizedState === null && n && ql(r), du(n);
+ r !== null && r.memoizedState === null && n && Kl(r), uu(n);
continue;
}
if (r !== null && r.memoizedState !== null) {
- n && Ll(e), du(n);
+ n && Il(e), uu(n);
continue;
}
}
- r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, au = r) : (n && Jl(e), du(n));
+ r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, iu = r) : (n && ql(e), uu(n));
}
}
- Il = null;
+ Fl = null;
}
- function du(e) {
- for (; au !== null;) {
- var t = au, n = e, r = t.alternate, a = t.flags;
+ function uu(e) {
+ for (; iu !== null;) {
+ var t = iu, n = e, r = t.alternate, a = t.flags;
switch (t.tag) {
case 0:
case 11:
@@ -5196,21 +5197,21 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
n = void 0, a = r.memoizedProps, r = r.memoizedState;
var o = t.stateNode;
try {
- var s = _c(t.type, a);
+ var s = gc(t.type, a);
n = o.getSnapshotBeforeUpdate(s, r), o.__reactInternalSnapshotBeforeUpdate = n;
} catch (e) {
- gf(t, t.return, e);
+ hf(t, t.return, e);
}
}
break;
case 3:
if (a & 1024) {
- if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) sm(r);
+ if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) om(r);
else if (n === 1) switch (r.nodeName) {
case "HEAD":
case "HTML":
case "BODY":
- sm(r);
+ om(r);
break;
default: r.textContent = "";
}
@@ -5223,46 +5224,46 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case 4:
case 17: break;
case 30:
- n && r !== null && (n = vi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = bi(a.default, a.update), a !== "none" && Vl(r, n, a, r.memoizedState = [], !0));
+ n && r !== null && (n = _i(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = yi(a.default, a.update), a !== "none" && Bl(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, au = r;
+ r.return = t.return, iu = r;
break;
}
- au = t.return;
+ iu = t.return;
}
}
- function fu(e, t, n) {
+ function du(e, t, n) {
var r = n.flags;
switch (n.tag) {
case 0:
case 11:
case 15:
- Mu(e, n), r & 4 && _l(5, n);
+ ju(e, n), r & 4 && gl(5, n);
break;
case 1:
- if (Mu(e, n), r & 4) {
+ if (ju(e, n), r & 4) {
if (e = n.stateNode, t === null) try {
e.componentDidMount();
} catch (e) {
- gf(n, n.return, e);
+ hf(n, n.return, e);
}
else {
- var i = _c(n.type, t.memoizedProps);
+ var i = gc(n.type, t.memoizedProps);
t = t.memoizedState;
try {
e.componentDidUpdate(i, t, e.__reactInternalSnapshotBeforeUpdate);
} catch (e) {
- gf(n, n.return, e);
+ hf(n, n.return, e);
}
}
}
- r & 64 && yl(n), r & 512 && xl(n, n.return);
+ r & 64 && vl(n), r & 512 && bl(n, n.return);
break;
case 3:
- if (Mu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {
+ if (ju(e, n), r & 64 && (e = n.updateQueue, e !== null)) {
if (t = null, n.child !== null) switch (n.child.tag) {
case 27:
case 5:
@@ -5271,43 +5272,43 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case 1: t = n.child.stateNode;
}
try {
- vo(e, t);
+ _o(e, t);
} catch (e) {
- gf(n, n.return, e);
+ hf(n, n.return, e);
}
}
break;
- case 27: t === null && r & 4 && Pl(n);
+ case 27: t === null && r & 4 && Nl(n);
case 26:
case 5:
- Mu(e, n), t === null && r & 4 && Ol(n), r & 512 && xl(n, n.return);
+ ju(e, n), t === null && r & 4 && Dl(n), r & 512 && bl(n, n.return);
break;
case 12:
- Mu(e, n);
+ ju(e, n);
break;
case 31:
- Mu(e, n), r & 4 && xu(e, n);
+ ju(e, n), r & 4 && bu(e, n);
break;
case 13:
- Mu(e, n), r & 4 && Su(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = bf.bind(null, n), pm(e, n))));
+ ju(e, n), r & 4 && xu(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = yf.bind(null, n), fm(e, n))));
break;
case 22:
- if (r = n.memoizedState !== null || eu, !r) {
- var a = t !== null && t.memoizedState !== null || tu;
- t = eu, i = tu, eu = r, (tu = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Pu(e, n, r)) : Mu(e, n), eu = t, tu = i;
+ if (r = n.memoizedState !== null || $l, !r) {
+ var a = t !== null && t.memoizedState !== null || eu;
+ t = $l, i = eu, $l = r, (eu = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Nu(e, n, r)) : ju(e, n), $l = t, eu = i;
}
break;
case 30:
- Mu(e, n), r & 512 && xl(n, n.return);
+ ju(e, n), r & 512 && bl(n, n.return);
break;
- case 7: r & 512 && xl(n, n.return);
- default: Mu(e, n);
+ case 7: r & 512 && bl(n, n.return);
+ default: ju(e, n);
}
}
- function pu(e, t) {
- for (e = e.child; e !== null;) mu(e, t), e = e.sibling;
+ function fu(e, t) {
+ for (e = e.child; e !== null;) pu(e, t), e = e.sibling;
}
- function mu(e, t) {
+ function pu(e, t) {
switch (e.tag) {
case 5:
case 26:
@@ -5321,182 +5322,182 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
i.style.display = o == null || typeof o == "boolean" ? "" : ("" + o).trim();
}
} catch (t) {
- gf(e, e.return, t);
+ hf(e, e.return, t);
}
- hu(e, t);
+ mu(e, t);
break;
case 6:
try {
e.stateNode.nodeValue = t ? "" : e.memoizedProps, Kt = !0;
} catch (t) {
- gf(e, e.return, t);
+ hf(e, e.return, t);
}
break;
case 18:
try {
var s = e.stateNode;
- t ? kp(s, !0) : kp(e.stateNode, !1);
+ t ? Op(s, !0) : Op(e.stateNode, !1);
} catch (t) {
- gf(e, e.return, t);
+ hf(e, e.return, t);
}
break;
case 22:
case 23:
- e.memoizedState === null && pu(e, t);
+ e.memoizedState === null && fu(e, t);
break;
- default: pu(e, t);
+ default: fu(e, t);
}
}
- function hu(e, t) {
+ function mu(e, t) {
if (e.subtreeFlags & 67108864) for (e = e.child; e !== null;) {
a: {
var n = e, r = t;
switch (n.tag) {
case 4:
- mu(n, r);
+ pu(n, r);
break a;
case 22:
- n.memoizedState === null && hu(n, r);
+ n.memoizedState === null && mu(n, r);
break a;
- default: hu(n, r);
+ default: mu(n, r);
}
}
e = e.sibling;
}
}
- function gu(e) {
+ function hu(e) {
var t = e.alternate;
- t !== null && (e.alternate = null, gu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && Mt(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;
+ t !== null && (e.alternate = null, hu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && jt(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 _u = null, vu = !1;
- function yu(e, t, n) {
- for (n = n.child; n !== null;) bu(e, t, n), n = n.sibling;
+ var gu = null, _u = !1;
+ function vu(e, t, n) {
+ for (n = n.child; n !== null;) yu(e, t, n), n = n.sibling;
}
- function bu(e, t, n) {
+ function yu(e, t, n) {
if (Ye && typeof Ye.onCommitFiberUnmount == "function") try {
Ye.onCommitFiberUnmount(Je, n);
} catch {}
switch (n.tag) {
case 26:
- tu || Sl(n, t), yu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !tu && (n = n.stateNode, n.parentNode.removeChild(n));
+ eu || xl(n, t), vu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !eu && (n = n.stateNode, n.parentNode.removeChild(n));
break;
case 27:
- tu || Sl(n, t), Tl(n);
- var r = _u, i = vu;
- Dp(n.type) && (_u = n.stateNode, vu = !1), yu(e, t, n), xm(n.stateNode, n.type, n.memoizedProps), _u = r, vu = i;
+ eu || xl(n, t), wl(n);
+ var r = gu, i = _u;
+ Ep(n.type) && (gu = n.stateNode, _u = !1), vu(e, t, n), bm(n.stateNode, n.type, n.memoizedProps), gu = r, _u = i;
break;
- case 5: tu || Sl(n, t), Tl(n);
+ case 5: eu || xl(n, t), wl(n);
case 6:
- if (n.tag === 6 && Tl(n), r = _u, i = vu, _u = null, yu(e, t, n), _u = r, vu = i, _u !== null) {
- if (vu) try {
- (_u.nodeType === 9 ? _u.body : _u.nodeName === "HTML" ? _u.ownerDocument.body : _u).removeChild(n.stateNode), Kt = !0;
+ if (n.tag === 6 && wl(n), r = gu, i = _u, gu = null, vu(e, t, n), gu = r, _u = i, gu !== null) {
+ if (_u) try {
+ (gu.nodeType === 9 ? gu.body : gu.nodeName === "HTML" ? gu.ownerDocument.body : gu).removeChild(n.stateNode), Kt = !0;
} catch (e) {
- gf(n, t, e);
+ hf(n, t, e);
}
else try {
- _u.removeChild(n.stateNode), Kt = !0;
+ gu.removeChild(n.stateNode), Kt = !0;
} catch (e) {
- gf(n, t, e);
+ hf(n, t, e);
}
}
break;
case 18:
- _u !== null && (vu ? (e = _u, Op(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), qh(e)) : Op(_u, n.stateNode));
+ gu !== null && (_u ? (e = gu, Dp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Kh(e)) : Dp(gu, n.stateNode));
break;
case 4:
- r = _u, i = vu, _u = n.stateNode.containerInfo, vu = !0, yu(e, t, n), _u = r, vu = i;
+ r = gu, i = _u, gu = n.stateNode.containerInfo, _u = !0, vu(e, t, n), gu = r, _u = i;
break;
case 0:
case 11:
case 14:
case 15:
- vl(2, n, t), tu || vl(4, n, t), yu(e, t, n);
+ _l(2, n, t), eu || _l(4, n, t), vu(e, t, n);
break;
case 1:
- tu || (Sl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && bl(n, t, r)), yu(e, t, n);
+ eu || (xl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && yl(n, t, r)), vu(e, t, n);
break;
case 21:
- yu(e, t, n);
+ vu(e, t, n);
break;
case 22:
- tu = (r = tu) || n.memoizedState !== null, yu(e, t, n), tu = r;
+ eu = (r = eu) || n.memoizedState !== null, vu(e, t, n), eu = r;
break;
case 30:
- Sl(n, t), yu(e, t, n);
+ xl(n, t), vu(e, t, n);
break;
case 7:
- tu || Sl(n, t), yu(e, t, n);
+ eu || xl(n, t), vu(e, t, n);
break;
- default: yu(e, t, n);
+ default: vu(e, t, n);
}
}
- function xu(e, t) {
+ function bu(e, t) {
if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {
e = e.dehydrated;
try {
- qh(e);
+ Kh(e);
} catch (e) {
- gf(t, t.return, e);
+ hf(t, t.return, e);
}
}
}
- function Su(e, t) {
+ function xu(e, t) {
if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {
- qh(e);
+ Kh(e);
} catch (e) {
- gf(t, t.return, e);
+ hf(t, t.return, e);
}
}
- function Cu(e) {
+ function Su(e) {
switch (e.tag) {
case 31:
case 13:
case 19:
var t = e.stateNode;
- return t === null && (t = e.stateNode = new iu()), t;
- case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new iu()), t;
+ return t === null && (t = e.stateNode = new ru()), t;
+ case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new ru()), t;
default: throw Error(i(435, e.tag));
}
}
- function wu(e, t) {
- var n = Cu(e);
+ function Cu(e, t) {
+ var n = Su(e);
t.forEach(function(t) {
if (!n.has(t)) {
n.add(t);
- var r = xf.bind(null, e, t);
+ var r = bf.bind(null, e, t);
t.then(r, r);
}
});
}
- function Tu(e, t, n) {
+ function wu(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 (Dp(l.type)) {
- _u = l.stateNode, vu = !1;
+ if (Ep(l.type)) {
+ gu = l.stateNode, _u = !1;
break a;
}
break;
case 5:
- _u = l.stateNode, vu = !1;
+ gu = l.stateNode, _u = !1;
break a;
case 3:
case 4:
- _u = l.stateNode.containerInfo, vu = !0;
+ gu = l.stateNode.containerInfo, _u = !0;
break a;
}
l = l.return;
}
- if (_u === null) throw Error(i(160));
- bu(s, c, o), _u = null, vu = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;
+ if (gu === null) throw Error(i(160));
+ yu(s, c, o), gu = null, _u = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;
}
- if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Du(t, e, n), t = t.sibling;
+ if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Eu(t, e, n), t = t.sibling;
}
- var Eu = null;
- function Du(e, t, n) {
+ var Tu = null;
+ function Eu(e, t, n) {
var r = e.alternate, a = e.flags;
switch (e.tag) {
case 0:
@@ -5507,120 +5508,120 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
var s = r[o];
s.ref.impl = s.nextImpl;
}
- Tu(t, e, n), Ou(e), a & 4 && (vl(3, e, e.return), _l(3, e), vl(5, e, e.return));
+ wu(t, e, n), Du(e), a & 4 && (_l(3, e, e.return), gl(3, e), _l(5, e, e.return));
break;
case 1:
- Tu(t, e, n), Ou(e), a & 512 && (tu || r === null || Sl(r, r.return)), a & 64 && eu && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));
+ wu(t, e, n), Du(e), a & 512 && (eu || r === null || xl(r, r.return)), a & 64 && $l && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));
break;
case 26:
- if (o = Eu, Tu(t, e, n), Ou(e), a & 512 && (tu || r === null || Sl(r, r.return)), a & 4) {
+ if (o = Tu, wu(t, e, n), Du(e), a & 512 && (eu || r === null || xl(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 (eu) e.stateNode = _p(e.type, e.memoizedProps, t.containerInfo, e);
+ if ($l) e.stateNode = gp(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[At] || r[Ct] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), sp(r, t, n), r[Ct] = e, Lt(r), t = r;
+ r = a.getElementsByTagName("title")[0], (!r || r[kt] || 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"))), op(r, t, n), r[St] = e, It(r), t = r;
break a;
case "link":
- if (o = Xm("link", "href", a).get(t + (n.href || ""))) {
+ if (o = Ym("link", "href", a).get(t + (n.href || ""))) {
for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("href") === (n.href == null || n.href === "" ? null : n.href) && r.getAttribute("rel") === (n.rel == null ? null : n.rel) && r.getAttribute("title") === (n.title == null ? null : n.title) && r.getAttribute("crossorigin") === (n.crossOrigin == null ? null : n.crossOrigin)) {
o.splice(s, 1);
break b;
}
}
- r = a.createElement(t), sp(r, t, n), a.head.appendChild(r);
+ r = a.createElement(t), op(r, t, n), a.head.appendChild(r);
break;
case "meta":
- if (o = Xm("meta", "content", a).get(t + (n.content || ""))) {
+ if (o = Ym("meta", "content", a).get(t + (n.content || ""))) {
for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("content") === (n.content == null ? null : "" + n.content) && r.getAttribute("name") === (n.name == null ? null : n.name) && r.getAttribute("property") === (n.property == null ? null : n.property) && r.getAttribute("http-equiv") === (n.httpEquiv == null ? null : n.httpEquiv) && r.getAttribute("charset") === (n.charSet == null ? null : n.charSet)) {
o.splice(s, 1);
break b;
}
}
- r = a.createElement(t), sp(r, t, n), a.head.appendChild(r);
+ r = a.createElement(t), op(r, t, n), a.head.appendChild(r);
break;
default: throw Error(i(468, t));
}
- r[Ct] = e, Lt(r), t = r;
+ r[St] = e, It(r), t = r;
}
e.stateNode = t;
}
- } else eu || Zm(o, e.type, e.stateNode);
- } else e.stateNode = Gm(o, n, e.memoizedProps);
- } else a === n ? n === null && e.stateNode !== null && kl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || tu || t.parentNode.removeChild(t)) : a.count--, n === null ? eu || Zm(o, e.type, e.stateNode) : Gm(o, n, e.memoizedProps));
+ } else $l || Xm(o, e.type, e.stateNode);
+ } else e.stateNode = Wm(o, n, e.memoizedProps);
+ } else a === n ? n === null && e.stateNode !== null && Ol(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || eu || t.parentNode.removeChild(t)) : a.count--, n === null ? $l || Xm(o, e.type, e.stateNode) : Wm(o, n, e.memoizedProps));
}
break;
case 27:
- Tu(t, e, n), Ou(e), a & 512 && (tu || r === null || Sl(r, r.return)), r !== null && a & 4 && kl(e, e.memoizedProps, r.memoizedProps);
+ wu(t, e, n), Du(e), a & 512 && (eu || r === null || xl(r, r.return)), r !== null && a & 4 && Ol(e, e.memoizedProps, r.memoizedProps);
break;
case 5:
- if (o = nu, nu = !1, Tu(t, e, n), nu = o, Ou(e), a & 512 && (tu || r === null || Sl(r, r.return)), e.flags & 32) {
+ if (o = tu, tu = !1, wu(t, e, n), tu = o, Du(e), a & 512 && (eu || r === null || xl(r, r.return)), e.flags & 32) {
t = e.stateNode;
try {
- dn(t, ""), Kt = !0;
+ un(t, ""), Kt = !0;
} catch (t) {
- gf(e, e.return, t);
+ hf(e, e.return, t);
}
}
- a & 4 && e.stateNode != null && (t = e.memoizedProps, kl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (ru = !0);
+ a & 4 && e.stateNode != null && (t = e.memoizedProps, Ol(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (nu = !0);
break;
case 6:
- if (Tu(t, e, n), Ou(e), a & 4) {
+ if (wu(t, e, n), Du(e), a & 4) {
if (e.stateNode === null) throw Error(i(162));
t = e.memoizedProps, n = e.stateNode;
try {
n.nodeValue = t, Kt = !0;
} catch (t) {
- gf(e, e.return, t);
+ hf(e, e.return, t);
}
}
break;
case 3:
- if (Kt = !1, Ym = null, o = Eu, Eu = Tm(t.containerInfo), Tu(t, e, n), Eu = o, Ou(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {
- qh(t.containerInfo);
+ if (Kt = !1, Jm = null, o = Tu, Tu = wm(t.containerInfo), wu(t, e, n), Tu = o, Du(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {
+ Kh(t.containerInfo);
} catch (t) {
- gf(e, e.return, t);
+ hf(e, e.return, t);
}
- ru && (ru = !1, ku(e)), Kt = !1;
+ nu && (nu = !1, Ou(e)), Kt = !1;
break;
case 4:
- a = nu, nu = eu, r = qt(), o = Eu, Eu = Tm(e.stateNode.containerInfo), Tu(t, e, n), Ou(e), Eu = o, Kt && su && (cu = !0), Kt = r, nu = a;
+ a = tu, tu = $l, r = qt(), o = Tu, Tu = wm(e.stateNode.containerInfo), wu(t, e, n), Du(e), Tu = o, Kt && ou && (su = !0), Kt = r, tu = a;
break;
case 12:
- Tu(t, e, n), Ou(e);
+ wu(t, e, n), Du(e);
break;
case 31:
- Tu(t, e, n), Ou(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, wu(e, t)));
+ wu(t, e, n), Du(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Cu(e, t)));
break;
case 13:
- Tu(t, e, n), Ou(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (gd = ze()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, wu(e, t)));
+ wu(t, e, n), Du(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (hd = ze()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Cu(e, t)));
break;
case 22:
o = e.memoizedState !== null, s = r !== null && r.memoizedState !== null;
- var c = eu, l = tu, u = nu;
- eu = c || o, nu = u || o, tu = l || s, Tu(t, e, n), tu = l, nu = u, eu = c, Ou(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || eu || tu || (t = s || tu, n = eu, r = tu, eu = o || eu, tu = t, Nu(e, 2), eu = n, tu = r), !o && nu || pu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, wu(e, n))));
+ var c = $l, l = eu, u = tu;
+ $l = c || o, tu = u || o, eu = l || s, wu(t, e, n), eu = l, tu = u, $l = c, Du(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || $l || eu || (t = s || eu, n = $l, r = eu, $l = o || $l, eu = t, Mu(e, 2), $l = n, eu = r), !o && tu || fu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, Cu(e, n))));
break;
case 19:
- Tu(t, e, n), Ou(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, wu(e, t)));
+ wu(t, e, n), Du(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Cu(e, t)));
break;
case 30:
- a & 512 && (tu || r === null || Sl(r, r.return)), a = qt(), o = su, s = (n & 335544064) === n, c = e.memoizedProps, su = s && bi(c.default, c.update) !== "none", Tu(t, e, n), Ou(e), s && r !== null && Kt && (e.flags |= 4), su = o, Kt = a;
+ a & 512 && (eu || r === null || xl(r, r.return)), a = qt(), o = ou, s = (n & 335544064) === n, c = e.memoizedProps, ou = s && yi(c.default, c.update) !== "none", wu(t, e, n), Du(e), s && r !== null && Kt && (e.flags |= 4), ou = o, Kt = a;
break;
case 21: break;
- case 7: a & 512 && (tu || r === null || Sl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);
- default: Tu(t, e, n), Ou(e);
+ case 7: a & 512 && (eu || r === null || xl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);
+ default: wu(t, e, n), Du(e);
}
}
- function Ou(e) {
+ function Du(e) {
var t = e.flags;
if (t & 2) {
try {
for (var n, r = e.return; r !== null;) {
- if (Al(r)) {
+ if (kl(r)) {
n = r;
break;
}
@@ -5628,11 +5629,11 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
r = null;
for (var a = e.return; a !== null;) {
- if (Dl(a)) {
+ if (El(a)) {
var o = a.stateNode;
r === null ? r = [o] : r.push(o);
}
- if (El(a)) break;
+ if (Tl(a)) break;
a = a.return;
}
var s = r;
@@ -5640,46 +5641,46 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
switch (n.tag) {
case 27:
var c = n.stateNode;
- Nl(e, jl(e), c, s);
+ Ml(e, Al(e), c, s);
break;
case 5:
var l = n.stateNode;
- n.flags & 32 && (dn(l, ""), n.flags &= -33), Nl(e, jl(e), l, s);
+ n.flags & 32 && (un(l, ""), n.flags &= -33), Ml(e, Al(e), l, s);
break;
case 3:
case 4:
var u = n.stateNode.containerInfo;
- Ml(e, jl(e), u, s);
+ jl(e, Al(e), u, s);
break;
default: throw Error(i(161));
}
} catch (t) {
- gf(e, e.return, t);
+ hf(e, e.return, t);
}
e.flags &= -3;
}
t & 4096 && (e.flags &= -4097);
}
- function ku(e) {
+ function Ou(e) {
if (e.subtreeFlags & 1024) for (e = e.child; e !== null;) {
var t = e;
- ku(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, xh = !0, t.reset(), xh = !1), e = e.sibling;
+ Ou(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, bh = !0, t.reset(), bh = !1), e = e.sibling;
}
}
- function Au(e, t) {
- if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) ju(t, e), t = t.sibling;
- else $l(t, !1);
+ function ku(e, t) {
+ if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Au(t, e), t = t.sibling;
+ else Ql(t, !1);
}
- function ju(e, t) {
+ function Au(e, t) {
var n = e.alternate;
- if (n === null) Gl(e, !1);
+ if (n === null) Wl(e, !1);
else switch (e.tag) {
case 3:
- if (lu = ou = !1, zl(), Au(t, e), !ou && !cu) {
- if (e = Rl, e !== null) for (var r = 0; r < e.length; r += 3) {
+ if (cu = au = !1, Rl(), ku(t, e), !au && !su) {
+ if (e = Ll, e !== null) for (var r = 0; r < e.length; r += 3) {
n = e[r];
var i = e[r + 1];
- jp(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({
+ Ap(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({
opacity: [0, 0],
pointerEvents: ["none", "none"]
}, {
@@ -5702,33 +5703,33 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
duration: 0,
fill: "forwards",
pseudoElement: "::view-transition"
- })), lu = !0;
+ })), cu = !0;
}
- Rl = null;
+ Ll = null;
break;
case 5:
- Au(t, e);
+ ku(t, e);
break;
case 4:
- r = ou, ou = !1, Au(t, e), ou && (cu = !0), ou = r;
+ r = au, au = !1, ku(t, e), au && (su = !0), au = r;
break;
case 22:
- e.memoizedState === null && (n.memoizedState === null ? Au(t, e) : Gl(e, !1));
+ e.memoizedState === null && (n.memoizedState === null ? ku(t, e) : Wl(e, !1));
break;
case 30:
- r = ou, i = zl(), ou = !1, Au(t, e), ou && (e.flags |= 4);
+ r = au, i = Rl(), au = !1, ku(t, e), au && (e.flags |= 4);
var a = e.memoizedProps, o = e.stateNode;
- t = vi(a, o), o = vi(n.memoizedProps, o);
- var s = bi(a.default, a.update);
- s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Bl = 0, t = Ql(e, n, t, o, s, a, !0), Bl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Fd(e, e.memoizedProps.onUpdate), Rl = i) : i !== null && (i.push.apply(i, Rl), Rl = i), ou = e.flags & 32 ? !0 : r;
+ t = _i(a, o), o = _i(n.memoizedProps, o);
+ var s = yi(a.default, a.update);
+ s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, zl = 0, t = Zl(e, n, t, o, s, a, !0), zl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Pd(e, e.memoizedProps.onUpdate), Ll = i) : i !== null && (i.push.apply(i, Ll), Ll = i), au = e.flags & 32 ? !0 : r;
break;
- default: Au(t, e);
+ default: ku(t, e);
}
}
- function Mu(e, t) {
- if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) fu(e, t.alternate, t), t = t.sibling;
+ function ju(e, t) {
+ if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) du(e, t.alternate, t), t = t.sibling;
}
- function Nu(e, t) {
+ function Mu(e, t) {
for (e = e.child; e !== null;) {
var n = e, r = t;
switch (n.tag) {
@@ -5736,218 +5737,218 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case 11:
case 14:
case 15:
- vl(4, n, n.return), Nu(n, r);
+ _l(4, n, n.return), Mu(n, r);
break;
case 1:
- Sl(n, n.return);
+ xl(n, n.return);
var i = n.stateNode;
- typeof i.componentWillUnmount == "function" && bl(n, n.return, i), Nu(n, r);
+ typeof i.componentWillUnmount == "function" && yl(n, n.return, i), Mu(n, r);
break;
- case 27: r & 2 && xm(n.stateNode, n.type, n.memoizedProps);
+ case 27: r & 2 && bm(n.stateNode, n.type, n.memoizedProps);
case 5:
- Sl(n, n.return), n.tag !== 5 && n.tag !== 27 || Tl(n), Nu(n, r);
+ xl(n, n.return), n.tag !== 5 && n.tag !== 27 || wl(n), Mu(n, r);
break;
case 6:
- Tl(n);
+ wl(n);
break;
case 26:
- Sl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || tu || i.parentNode.removeChild(i), Nu(n, r);
+ xl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || eu || i.parentNode.removeChild(i), Mu(n, r);
break;
case 22:
- n.memoizedState === null && Nu(n, r);
+ n.memoizedState === null && Mu(n, r);
break;
case 30:
- Sl(n, n.return), Nu(n, r);
+ xl(n, n.return), Mu(n, r);
break;
- case 7: Sl(n, n.return);
- default: Nu(n, r);
+ case 7: xl(n, n.return);
+ default: Mu(n, r);
}
e = e.sibling;
}
}
- function Pu(e, t, n) {
+ function Nu(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:
- Pu(i, a, n), _l(4, a);
+ Nu(i, a, n), gl(4, a);
break;
case 1:
- if (Pu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {
+ if (Nu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {
i.componentDidMount();
} catch (e) {
- gf(r, r.return, e);
+ hf(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++) _o(l[i], c);
+ if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) go(l[i], c);
} catch (e) {
- gf(r, r.return, e);
+ hf(r, r.return, e);
}
}
- s && o & 64 && yl(a), xl(a, a.return);
+ s && o & 64 && vl(a), bl(a, a.return);
break;
- case 27: n & 2 && Pl(a);
+ case 27: n & 2 && Nl(a);
case 5:
- a.tag !== 5 && a.tag !== 27 || wl(a), Pu(i, a, n), s && r === null && o & 4 && Ol(a), xl(a, a.return);
+ a.tag !== 5 && a.tag !== 27 || Cl(a), Nu(i, a, n), s && r === null && o & 4 && Dl(a), bl(a, a.return);
break;
case 6:
- wl(a);
+ Cl(a);
break;
case 26:
- c = a.stateNode, a.memoizedState !== null || c === null || eu || Zm(Tm(c.ownerDocument), a.type, c), Pu(i, a, n), s && r === null && o & 4 && Ol(a), xl(a, a.return);
+ c = a.stateNode, a.memoizedState !== null || c === null || $l || Xm(wm(c.ownerDocument), a.type, c), Nu(i, a, n), s && r === null && o & 4 && Dl(a), bl(a, a.return);
break;
case 12:
- Pu(i, a, n);
+ Nu(i, a, n);
break;
case 31:
- Pu(i, a, n), s && o & 4 && xu(i, a);
+ Nu(i, a, n), s && o & 4 && bu(i, a);
break;
case 13:
- Pu(i, a, n), s && o & 4 && Su(i, a);
+ Nu(i, a, n), s && o & 4 && xu(i, a);
break;
case 22:
- a.memoizedState === null && Pu(i, a, n), xl(a, a.return);
+ a.memoizedState === null && Nu(i, a, n), bl(a, a.return);
break;
case 30:
- Pu(i, a, n), xl(a, a.return);
+ Nu(i, a, n), bl(a, a.return);
break;
- case 7: xl(a, a.return);
- default: Pu(i, a, n);
+ case 7: bl(a, a.return);
+ default: Nu(i, a, n);
}
t = t.sibling;
}
}
- function Fu(e, t) {
+ function Pu(e, t) {
var n = null;
e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && Da(n));
}
- function Iu(e, t) {
+ function Fu(e, t) {
e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && Da(e));
}
- function Lu(e, t, n, r) {
+ function Iu(e, t, n, r) {
var i = (n & 335544064) === n;
- if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Ru(e, t, n, r), t = t.sibling;
- else i && Zl(t);
+ if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Lu(e, t, n, r), t = t.sibling;
+ else i && Xl(t);
}
- function Ru(e, t, n, r) {
+ function Lu(e, t, n, r) {
var i = (n & 335544064) === n;
- i && t.alternate === null && t.return !== null && t.return.alternate !== null && Xl(t);
+ i && t.alternate === null && t.return !== null && t.return.alternate !== null && Yl(t);
var a = t.flags;
switch (t.tag) {
case 0:
case 11:
case 15:
- Lu(e, t, n, r), a & 2048 && _l(9, t);
+ Iu(e, t, n, r), a & 2048 && gl(9, t);
break;
case 1:
- Lu(e, t, n, r);
+ Iu(e, t, n, r);
break;
case 3:
- Lu(e, t, n, r), i && lu && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && Da(a)));
+ Iu(e, t, n, r), i && cu && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && Da(a)));
break;
case 12:
if (a & 2048) {
- Lu(e, t, n, r), a = t.stateNode;
+ Iu(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) {
- gf(t, t.return, e);
+ hf(t, t.return, e);
}
- } else Lu(e, t, n, r);
+ } else Iu(e, t, n, r);
break;
case 31:
- Lu(e, t, n, r);
+ Iu(e, t, n, r);
break;
case 13:
- Lu(e, t, n, r);
+ Iu(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 && Xl(t), o._visibility & 2 ? Lu(e, t, n, r) : (o._visibility |= 2, zu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && Xl(s), o._visibility & 2 ? Lu(e, t, n, r) : Bu(e, t)), a & 2048 && Fu(s, t);
+ o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && Yl(t), o._visibility & 2 ? Iu(e, t, n, r) : (o._visibility |= 2, Ru(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && Yl(s), o._visibility & 2 ? Iu(e, t, n, r) : zu(e, t)), a & 2048 && Pu(s, t);
break;
case 24:
- Lu(e, t, n, r), a & 2048 && Iu(t.alternate, t);
+ Iu(e, t, n, r), a & 2048 && Fu(t.alternate, t);
break;
case 30:
- i && (a = t.alternate, a !== null && (Ul(a.child, !0), Ul(t.child, !0))), Lu(e, t, n, r);
+ i && (a = t.alternate, a !== null && (Hl(a.child, !0), Hl(t.child, !0))), Iu(e, t, n, r);
break;
- default: Lu(e, t, n, r);
+ default: Iu(e, t, n, r);
}
}
- function zu(e, t, n, r, i) {
+ function Ru(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:
- zu(a, o, s, c, i), _l(8, o);
+ Ru(a, o, s, c, i), gl(8, o);
break;
case 23: break;
case 22:
var u = o.stateNode;
- o.memoizedState === null ? (u._visibility |= 2, zu(a, o, s, c, i)) : u._visibility & 2 ? zu(a, o, s, c, i) : Bu(a, o), i && l & 2048 && Fu(o.alternate, o);
+ o.memoizedState === null ? (u._visibility |= 2, Ru(a, o, s, c, i)) : u._visibility & 2 ? Ru(a, o, s, c, i) : zu(a, o), i && l & 2048 && Pu(o.alternate, o);
break;
case 24:
- zu(a, o, s, c, i), i && l & 2048 && Iu(o.alternate, o);
+ Ru(a, o, s, c, i), i && l & 2048 && Fu(o.alternate, o);
break;
- default: zu(a, o, s, c, i);
+ default: Ru(a, o, s, c, i);
}
t = t.sibling;
}
}
- function Bu(e, t) {
+ function zu(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:
- Bu(n, r), i & 2048 && Fu(r.alternate, r);
+ zu(n, r), i & 2048 && Pu(r.alternate, r);
break;
case 24:
- Bu(n, r), i & 2048 && Iu(r.alternate, r);
+ zu(n, r), i & 2048 && Fu(r.alternate, r);
break;
- default: Bu(n, r);
+ default: zu(n, r);
}
t = t.sibling;
}
}
- var Vu = 8192;
- function Hu(e, t, n) {
- if (e.subtreeFlags & Vu) for (e = e.child; e !== null;) Uu(e, t, n), e = e.sibling;
+ var Bu = 8192;
+ function Vu(e, t, n) {
+ if (e.subtreeFlags & Bu) for (e = e.child; e !== null;) Hu(e, t, n), e = e.sibling;
}
- function Uu(e, t, n) {
+ function Hu(e, t, n) {
switch (e.tag) {
case 26:
- Hu(e, t, n), e.flags & Vu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && nh(n, e)) : rh(n, Eu, e.memoizedState, e.memoizedProps));
+ Vu(e, t, n), e.flags & Bu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && th(n, e)) : nh(n, Tu, e.memoizedState, e.memoizedProps));
break;
case 5:
- Hu(e, t, n), e.flags & Vu && (e = e.stateNode, (t & 335544128) === t && nh(n, e));
+ Vu(e, t, n), e.flags & Bu && (e = e.stateNode, (t & 335544128) === t && th(n, e));
break;
case 3:
case 4:
- var r = Eu;
- Eu = Tm(e.stateNode.containerInfo), Hu(e, t, n), Eu = r;
+ var r = Tu;
+ Tu = wm(e.stateNode.containerInfo), Vu(e, t, n), Tu = r;
break;
case 22:
- e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Vu, Vu = 16777216, Hu(e, t, n), Vu = r) : Hu(e, t, n));
+ e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Bu, Bu = 16777216, Vu(e, t, n), Bu = r) : Vu(e, t, n));
break;
case 30:
- if ((e.flags & Vu) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {
+ if ((e.flags & Bu) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {
var i = e.stateNode;
- i.paired = null, Il === null && (Il = /* @__PURE__ */ new Map()), Il.set(r, i);
+ i.paired = null, Fl === null && (Fl = /* @__PURE__ */ new Map()), Fl.set(r, i);
}
- Hu(e, t, n);
+ Vu(e, t, n);
break;
- default: Hu(e, t, n);
+ default: Vu(e, t, n);
}
}
- function Wu(e) {
+ function Uu(e) {
var t = e.alternate;
if (t !== null && (e = t.child, e !== null)) {
t.child = null;
@@ -5956,69 +5957,69 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
while (e !== null);
}
}
- function Gu(e) {
+ function Wu(e) {
var t = e.deletions;
if (e.flags & 16) {
if (t !== null) for (var n = 0; n < t.length; n++) {
var r = t[n];
- au = r, Ju(r, e);
+ iu = r, qu(r, e);
}
- Wu(e);
+ Uu(e);
}
- if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Ku(e), e = e.sibling;
+ if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Gu(e), e = e.sibling;
}
- function Ku(e) {
+ function Gu(e) {
switch (e.tag) {
case 0:
case 11:
case 15:
- Gu(e), e.flags & 2048 && vl(9, e, e.return);
+ Wu(e), e.flags & 2048 && _l(9, e, e.return);
break;
case 3:
- Gu(e);
+ Wu(e);
break;
case 12:
- Gu(e);
+ Wu(e);
break;
case 22:
var t = e.stateNode;
- e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, qu(e)) : Gu(e);
+ e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, Ku(e)) : Wu(e);
break;
- default: Gu(e);
+ default: Wu(e);
}
}
- function qu(e) {
+ function Ku(e) {
var t = e.deletions;
if (e.flags & 16) {
if (t !== null) for (var n = 0; n < t.length; n++) {
var r = t[n];
- au = r, Ju(r, e);
+ iu = r, qu(r, e);
}
- Wu(e);
+ Uu(e);
}
for (e = e.child; e !== null;) {
switch (t = e, t.tag) {
case 0:
case 11:
case 15:
- vl(8, t, t.return), qu(t);
+ _l(8, t, t.return), Ku(t);
break;
case 22:
- n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, qu(t));
+ n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Ku(t));
break;
- default: qu(t);
+ default: Ku(t);
}
e = e.sibling;
}
}
- function Ju(e, t) {
- for (; au !== null;) {
- var n = au;
+ function qu(e, t) {
+ for (; iu !== null;) {
+ var n = iu;
switch (n.tag) {
case 0:
case 11:
case 15:
- vl(8, n, t);
+ _l(8, n, t);
break;
case 23:
case 22:
@@ -6029,23 +6030,23 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
break;
case 24: Da(n.memoizedState.cache);
}
- if (r = n.child, r !== null) r.return = n, au = r;
- else a: for (n = e; au !== null;) {
- r = au;
+ if (r = n.child, r !== null) r.return = n, iu = r;
+ else a: for (n = e; iu !== null;) {
+ r = iu;
var i = r.sibling, a = r.return;
- if (gu(r), r === n) {
- au = null;
+ if (hu(r), r === n) {
+ iu = null;
break a;
}
if (i !== null) {
- i.return = a, au = i;
+ i.return = a, iu = i;
break a;
}
- au = a;
+ iu = a;
}
}
}
- var Yu = {
+ var Ju = {
getCacheForType: function(e) {
var t = ba(Ta), n = t.data.get(e);
return n === void 0 && (n = e(), t.data.set(e, n)), n;
@@ -6053,38 +6054,38 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
cacheSignal: function() {
return ba(Ta).controller.signal;
}
- }, Xu = typeof WeakMap == "function" ? WeakMap : Map, Zu = 0, Qu = null, $u = null, ed = 0, td = 0, nd = null, rd = !1, id = !1, ad = !1, od = 0, sd = 0, cd = 0, ld = 0, ud = 0, dd = 0, fd = 0, pd = null, md = null, hd = !1, gd = 0, _d = 0, vd = Infinity, yd = null, bd = null, xd = 0, Sd = null, Cd = null, wd = 0, Td = 0, Ed = null, Dd = null, Od = null, kd = null, Ad = null, jd = 0, Md = null;
- function Nd() {
- return Zu & 2 && ed !== 0 ? ed & -ed : I.T === null ? bt() : Lf();
+ }, Yu = typeof WeakMap == "function" ? WeakMap : Map, Xu = 0, Zu = null, Qu = null, $u = 0, ed = 0, td = null, nd = !1, rd = !1, id = !1, ad = 0, od = 0, sd = 0, cd = 0, ld = 0, ud = 0, dd = 0, fd = null, pd = null, md = !1, hd = 0, gd = 0, _d = Infinity, vd = null, yd = null, bd = 0, xd = null, Sd = null, Cd = 0, wd = 0, Td = null, Ed = null, Dd = null, Od = null, kd = null, Ad = 0, jd = null;
+ function Md() {
+ return Xu & 2 && $u !== 0 ? $u & -$u : I.T === null ? yt() : If();
}
- function Pd() {
- if (dd === 0) {
- if (!(ed & 536870912) || ia) {
- var e = at;
- at <<= 1, !(at & 3932160) && (at = 262144), dd = e;
- } else dd = 536870912;
+ function Nd() {
+ if (ud === 0) {
+ if (!($u & 536870912) || ra) {
+ var e = nt;
+ nt <<= 1, !(nt & 3932160) && (nt = 262144), ud = e;
+ } else ud = 536870912;
}
- return e = Co.current, e !== null && (e.flags |= 32), dd;
+ return e = Co.current, e !== null && (e.flags |= 32), ud;
}
- function Fd(e, t) {
+ function Pd(e, t) {
if (t != null) {
var n = e.stateNode, r = n.ref;
- r === null && (r = n.ref = zp(vi(e.memoizedProps, n))), kd === null && (kd = []), kd.push(t.bind(null, r));
+ r === null && (r = n.ref = Rp(_i(e.memoizedProps, n))), Od === null && (Od = []), Od.push(t.bind(null, r));
}
}
- function Id(e, t, n) {
- (e === Qu && (td === 2 || td === 9) || e.cancelPendingCommit !== null) && (Ud(e, 0), Bd(e, ed, dd, !1)), pt(e, n), (!(Zu & 2) || e !== Qu) && (e === Qu && (!(Zu & 2) && (ld |= n), sd === 4 && Bd(e, ed, dd, !1)), kf(e));
+ function Fd(e, t, n) {
+ (e === Zu && (ed === 2 || ed === 9) || e.cancelPendingCommit !== null) && (Hd(e, 0), zd(e, $u, ud, !1)), ft(e, n), (!(Xu & 2) || e !== Zu) && (e === Zu && (!(Xu & 2) && (cd |= n), od === 4 && zd(e, $u, ud, !1)), Of(e));
}
- function Ld(e, t, n) {
- if (Zu & 6) throw Error(i(327));
- var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || ct(e, t), a = r ? Zd(e, t) : Yd(e, t, !0), o = r;
+ function Id(e, t, n) {
+ if (Xu & 6) throw Error(i(327));
+ var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || ct(e, t), a = r ? Xd(e, t) : Jd(e, t, !0), o = r;
do {
if (a === 0) {
- id && !r && Bd(e, t, 0, !1);
+ rd && !r && zd(e, t, 0, !1);
break;
}
- if (n = e.current.alternate, o && !zd(n)) {
- a = Yd(e, t, !1), o = !1;
+ if (n = e.current.alternate, o && !Rd(n)) {
+ a = Jd(e, t, !1), o = !1;
continue;
}
if (a === 2) {
@@ -6094,14 +6095,14 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
t = s;
a: {
var c = e;
- a = pd;
+ a = fd;
var l = c.current.memoizedState.isDehydrated;
- if (l && (Ud(c, s).flags |= 256), s = Yd(c, s, !1), s !== 2 && s !== 6) {
- if (ad && !l) {
- c.errorRecoveryDisabledLanes |= o, ld |= o, a = 4;
+ if (l && (Hd(c, s).flags |= 256), s = Jd(c, s, !1), s !== 2 && s !== 6) {
+ if (id && !l) {
+ c.errorRecoveryDisabledLanes |= o, cd |= o, a = 4;
break a;
}
- o = md, md = a, o !== null && (md === null ? md = o : md.push.apply(md, o));
+ o = pd, pd = a, o !== null && (pd === null ? pd = o : pd.push.apply(pd, o));
}
a = s;
}
@@ -6109,7 +6110,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
}
if (a === 1) {
- Ud(e, 0), Bd(e, t, 0, !0);
+ Hd(e, 0), zd(e, t, 0, !0);
break;
}
a: {
@@ -6118,27 +6119,27 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case 1: throw Error(i(345));
case 4: if ((t & 4194048) !== t && (t & 62914560) !== t) break;
case 6:
- Bd(r, t, dd, !rd);
+ zd(r, t, ud, !nd);
break a;
case 2:
- md = null;
+ pd = null;
break;
case 3:
case 5: break;
default: throw Error(i(329));
}
- if ((t & 62914560) === t && (a = gd + 300 - ze(), 10 < a)) {
- if (Bd(r, t, dd, !rd), st(r, 0, !0) !== 0) break a;
- wd = t, r.timeoutHandle = xp(Rd.bind(null, r, n, md, yd, hd, t, dd, ld, fd, rd, o, "Throttled", -0, 0), a);
+ if ((t & 62914560) === t && (a = hd + 300 - ze(), 10 < a)) {
+ if (zd(r, t, ud, !nd), st(r, 0, !0) !== 0) break a;
+ Cd = t, r.timeoutHandle = bp(Ld.bind(null, r, n, pd, vd, md, t, ud, cd, dd, nd, o, "Throttled", -0, 0), a);
break a;
}
- Rd(r, n, md, yd, hd, t, dd, ld, fd, rd, o, null, -0, 0);
+ Ld(r, n, pd, vd, md, t, ud, cd, dd, nd, o, null, -0, 0);
}
break;
} while (1);
- kf(e);
+ Of(e);
}
- function Rd(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {
+ function Ld(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 = {
@@ -6149,21 +6150,21 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
suspenseyImages: [],
waitingForImages: !0,
waitingForViewTransition: !1,
- unsuspend: yn
- }, Il = null, Uu(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 = sh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? gd - ze() : (a & 4194048) === a ? _d - ze() : 0, m = ah(d, m), m !== null)) {
- wd = a, e.cancelPendingCommit = m(af.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Bd(e, a, o, !l);
+ unsuspend: vn
+ }, Fl = null, Hu(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = oh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? hd - ze() : (a & 4194048) === a ? gd - ze() : 0, m = ih(d, m), m !== null)) {
+ Cd = a, e.cancelPendingCommit = m(rf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), zd(e, a, o, !l);
return;
}
- af(e, t, a, n, r, i, o, s, c, l, u, d);
+ rf(e, t, a, n, r, i, o, s, c, l, u, d);
}
- function zd(e) {
+ function Rd(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 (!Hr(a(), i)) return !1;
+ if (!Vr(a(), i)) return !1;
} catch {
return !1;
}
@@ -6180,281 +6181,281 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return !0;
}
- function Bd(e, t, n, r) {
- t = lt(e, t), t &= ~ud, t &= ~ld, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;
+ function zd(e, t, n, r) {
+ t = lt(e, t), t &= ~ld, t &= ~cd, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;
for (var i = t; 0 < i;) {
- var a = 31 - Qe(i), o = 1 << a;
+ var a = 31 - Ze(i), o = 1 << a;
r[a] = -1, i &= ~o;
}
- n !== 0 && ht(e, n, t);
+ n !== 0 && mt(e, n, t);
}
- function Vd() {
- return Zu & 6 ? !0 : (Af(0, !1), !1);
+ function Bd() {
+ return Xu & 6 ? !0 : (kf(0, !1), !1);
}
- function Hd() {
- if ($u !== null) {
- if (td === 0) var e = $u.return;
- else e = $u, pa = fa = null, $o(e), Qa = null, $a = 0, e = $u;
- for (; e !== null;) gl(e.alternate, e), e = e.return;
- $u = null;
+ function Vd() {
+ if (Qu !== null) {
+ if (ed === 0) var e = Qu.return;
+ else e = Qu, W = U = null, Qo(e), Qa = null, $a = 0, e = Qu;
+ for (; e !== null;) hl(e.alternate, e), e = e.return;
+ Qu = null;
}
}
- function Ud(e, t) {
+ function Hd(e, t) {
var n = e.timeoutHandle;
- return n !== -1 && (e.timeoutHandle = -1, Sp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), wd = 0, Hd(), Qu = e, $u = n = Ni(e.current, null), ed = t, td = 0, nd = null, rd = !1, id = ct(e, t), ad = !1, fd = dd = ud = ld = cd = sd = 0, md = pd = null, hd = !1, od = lt(e, t), wi(), n;
+ return n !== -1 && (e.timeoutHandle = -1, xp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Cd = 0, Vd(), Zu = e, Qu = n = B(e.current, null), $u = t, ed = 0, td = null, nd = !1, rd = ct(e, t), id = !1, dd = ud = ld = cd = sd = od = 0, pd = fd = null, md = !1, ad = lt(e, t), wi(), n;
}
- function Wd(e, t) {
- Fo = null, I.H = lc, t === Ua || t === Ga ? (t = q(), td = 3) : t === Wa ? (t = q(), td = 4) : td = t === Dc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, nd = t, $u === null && (sd = 1, xc(e, Vi(t, e.current)));
+ function Ud(e, t) {
+ Po = null, I.H = cc, t === Ha || t === Wa ? (t = Xa(), ed = 3) : t === Ua ? (t = Xa(), ed = 4) : ed = t === Ec ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, td = t, Qu === null && (od = 1, bc(e, Bi(t, e.current)));
}
- function Gd() {
+ function Wd() {
var e = Co.current;
- return e === null ? !0 : (ed & 4194048) === ed ? wo === null : (ed & 62914560) === ed || ed & 536870912 ? e === wo : !1;
+ return e === null ? !0 : ($u & 4194048) === $u ? wo === null : ($u & 62914560) === $u || $u & 536870912 ? e === wo : !1;
}
- function Kd() {
+ function Gd() {
var e = I.H;
- return I.H = lc, e === null ? lc : e;
+ return I.H = cc, e === null ? cc : e;
}
- function qd() {
+ function Kd() {
var e = I.A;
- return I.A = Yu, e;
+ return I.A = Ju, e;
}
- function Jd() {
- sd = 4, rd || (ed & 4194048) !== ed && Co.current !== null || (id = !0), !(cd & 134217727) && !(ld & 134217727) || Qu === null || Bd(Qu, ed, dd, !1);
- }
- function Yd(e, t, n) {
- var r = Zu;
- Zu |= 2;
- var i = Kd(), a = qd();
- (Qu !== e || ed !== t) && (yd = null, Ud(e, t)), t = !1;
- var o = sd;
+ function qd() {
+ od = 4, nd || ($u & 4194048) !== $u && Co.current !== null || (rd = !0), !(sd & 134217727) && !(cd & 134217727) || Zu === null || zd(Zu, $u, ud, !1);
+ }
+ function Jd(e, t, n) {
+ var r = Xu;
+ Xu |= 2;
+ var i = Gd(), a = Kd();
+ (Zu !== e || $u !== t) && (vd = null, Hd(e, t)), t = !1;
+ var o = od;
a: do
try {
- if (td !== 0 && $u !== null) {
- var s = $u, c = nd;
- switch (td) {
+ if (ed !== 0 && Qu !== null) {
+ var s = Qu, c = td;
+ switch (ed) {
case 8:
- Hd(), o = 6;
+ Vd(), o = 6;
break a;
case 3:
case 2:
case 9:
case 6:
Co.current === null && (t = !0);
- var l = td;
- if (td = 0, nd = null, tf(e, s, c, l), n && id) {
+ var l = ed;
+ if (ed = 0, td = null, ef(e, s, c, l), n && rd) {
o = 0;
break a;
}
break;
- default: l = td, td = 0, nd = null, tf(e, s, c, l);
+ default: l = ed, ed = 0, td = null, ef(e, s, c, l);
}
}
- Xd(), o = sd;
+ Yd(), o = od;
break;
} catch (t) {
- Wd(e, t);
+ Ud(e, t);
}
while (1);
- return t && e.shellSuspendCounter++, pa = fa = null, Zu = r, I.H = i, I.A = a, $u === null && (Qu = null, ed = 0, wi()), o;
+ return t && e.shellSuspendCounter++, W = U = null, Xu = r, I.H = i, I.A = a, Qu === null && (Zu = null, $u = 0, wi()), o;
}
- function Xd() {
- for (; $u !== null;) $d($u);
+ function Yd() {
+ for (; Qu !== null;) Qd(Qu);
}
- function Zd(e, t) {
- var n = Zu;
- Zu |= 2;
- var r = Kd(), a = qd();
- Qu !== e || ed !== t ? (yd = null, vd = ze() + 500, Ud(e, t)) : id = ct(e, t);
+ function Xd(e, t) {
+ var n = Xu;
+ Xu |= 2;
+ var r = Gd(), a = Kd();
+ Zu !== e || $u !== t ? (vd = null, _d = ze() + 500, Hd(e, t)) : rd = ct(e, t);
a: do
try {
- if (td !== 0 && $u !== null) {
- t = $u;
- var o = nd;
- b: switch (td) {
+ if (ed !== 0 && Qu !== null) {
+ t = Qu;
+ var o = td;
+ b: switch (ed) {
case 1:
- td = 0, nd = null, tf(e, t, o, 1);
+ ed = 0, td = null, ef(e, t, o, 1);
break;
case 2:
case 9:
- if (qa(o)) {
- td = 0, nd = null, ef(t);
+ if (Ka(o)) {
+ ed = 0, td = null, $d(t);
break;
}
t = function() {
- td !== 2 && td !== 9 || Qu !== e || (td = 7), kf(e);
+ ed !== 2 && ed !== 9 || Zu !== e || (ed = 7), Of(e);
}, o.then(t, t);
break a;
case 3:
- td = 7;
+ ed = 7;
break a;
case 4:
- td = 5;
+ ed = 5;
break a;
case 7:
- qa(o) ? (td = 0, nd = null, ef(t)) : (td = 0, nd = null, tf(e, t, o, 7));
+ Ka(o) ? (ed = 0, td = null, $d(t)) : (ed = 0, td = null, ef(e, t, o, 7));
break;
case 5:
var s = null;
- switch ($u.tag) {
- case 26: s = $u.memoizedState;
+ switch (Qu.tag) {
+ case 26: s = Qu.memoizedState;
case 5:
case 27:
- var c = $u;
- if (s ? eh(s) : c.stateNode.complete) {
- td = 0, nd = null;
+ var c = Qu;
+ if (s ? $m(s) : c.stateNode.complete) {
+ ed = 0, td = null;
var l = c.sibling;
- if (l !== null) $u = l;
+ if (l !== null) Qu = l;
else {
var u = c.return;
- u === null ? $u = null : ($u = u, nf(u));
+ u === null ? Qu = null : (Qu = u, tf(u));
}
break b;
}
}
- td = 0, nd = null, tf(e, t, o, 5);
+ ed = 0, td = null, ef(e, t, o, 5);
break;
case 6:
- td = 0, nd = null, tf(e, t, o, 6);
+ ed = 0, td = null, ef(e, t, o, 6);
break;
case 8:
- Hd(), sd = 6;
+ Vd(), od = 6;
break a;
default: throw Error(i(462));
}
}
- Qd();
+ Zd();
break;
} catch (t) {
- Wd(e, t);
+ Ud(e, t);
}
while (1);
- return pa = fa = null, I.H = r, I.A = a, Zu = n, $u === null ? (Qu = null, ed = 0, wi(), sd) : 0;
+ return W = U = null, I.H = r, I.A = a, Xu = n, Qu === null ? (Zu = null, $u = 0, wi(), od) : 0;
}
- function Qd() {
- for (; $u !== null && !Le();) $d($u);
+ function Zd() {
+ for (; Qu !== null && !Le();) Qd(Qu);
}
- function $d(e) {
- var t = sl(e.alternate, e, od);
- e.memoizedProps = e.pendingProps, t === null ? nf(e) : $u = t;
+ function Qd(e) {
+ var t = ol(e.alternate, e, ad);
+ e.memoizedProps = e.pendingProps, t === null ? tf(e) : Qu = t;
}
- function ef(e) {
+ function $d(e) {
var t = e, n = t.alternate;
switch (t.tag) {
case 15:
case 0:
- t = Vc(n, t, t.pendingProps, t.type, void 0, ed);
+ t = Bc(n, t, t.pendingProps, t.type, void 0, $u);
break;
case 11:
- t = Vc(n, t, t.pendingProps, t.type.render, t.ref, ed);
+ t = Bc(n, t, t.pendingProps, t.type.render, t.ref, $u);
break;
case 5:
- $o(t);
+ Qo(t);
var r = t;
- r === na && (ia ? (H(r), r.tag === 5 && r.stateNode != null && (ra = r.stateNode)) : (H(r), ia = !0));
- default: gl(n, t), t = $u = Pi(t, od), t = sl(n, t, od);
+ r === ta && (ra ? (la(r), r.tag === 5 && r.stateNode != null && (na = r.stateNode)) : (la(r), ra = !0));
+ default: hl(n, t), t = Qu = Ni(t, ad), t = ol(n, t, ad);
}
- e.memoizedProps = e.pendingProps, t === null ? nf(e) : $u = t;
+ e.memoizedProps = e.pendingProps, t === null ? tf(e) : Qu = t;
}
- function tf(e, t, n, r) {
- pa = fa = null, $o(t), Qa = null, $a = 0;
+ function ef(e, t, n, r) {
+ W = U = null, Qo(t), Qa = null, $a = 0;
var i = t.return;
try {
- if (Ec(e, i, t, n, ed)) {
- sd = 1, xc(e, Vi(n, e.current)), $u = null;
+ if (Tc(e, i, t, n, $u)) {
+ od = 1, bc(e, Bi(n, e.current)), Qu = null;
return;
}
} catch (t) {
- if (i !== null) throw $u = i, t;
- sd = 1, xc(e, Vi(n, e.current)), $u = null;
+ if (i !== null) throw Qu = i, t;
+ od = 1, bc(e, Bi(n, e.current)), Qu = null;
return;
}
- t.flags & 32768 ? (ia || r === 1 ? e = !0 : id || ed & 536870912 ? e = !1 : (rd = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Co.current, r !== null && r.tag === 13 && (r.flags |= 16384))), rf(t, e)) : nf(t);
+ t.flags & 32768 ? (ra || r === 1 ? e = !0 : rd || $u & 536870912 ? e = !1 : (nd = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Co.current, r !== null && r.tag === 13 && (r.flags |= 16384))), nf(t, e)) : tf(t);
}
- function nf(e) {
+ function tf(e) {
var t = e;
do {
if (t.flags & 32768) {
- rf(t, rd);
+ nf(t, nd);
return;
}
e = t.return;
- var n = ml(t.alternate, t, od);
+ var n = pl(t.alternate, t, ad);
if (n !== null) {
- $u = n;
+ Qu = n;
return;
}
if (t = t.sibling, t !== null) {
- $u = t;
+ Qu = t;
return;
}
- $u = t = e;
+ Qu = t = e;
} while (t !== null);
- sd === 0 && (sd = 5);
+ od === 0 && (od = 5);
}
- function rf(e, t) {
+ function nf(e, t) {
do {
- var n = hl(e.alternate, e);
+ var n = ml(e.alternate, e);
if (n !== null) {
- n.flags &= 32767, $u = n;
+ n.flags &= 32767, Qu = n;
return;
}
if (n = e.return, n !== null && (n.flags |= 32768, n.subtreeFlags = 0, n.deletions = null), !t && (e = e.sibling, e !== null)) {
- $u = e;
+ Qu = e;
return;
}
- $u = e = n;
+ Qu = e = n;
} while (e !== null);
- sd = 6, $u = null;
+ od = 6, Qu = null;
}
- function af(e, t, n, r, a, o, s, c, l, u, d, f) {
+ function rf(e, t, n, r, a, o, s, c, l, u, d, f) {
e.cancelPendingCommit = null;
do
- pf();
- while (xd !== 0);
- if (Zu & 6) throw Error(i(327));
+ ff();
+ while (bd !== 0);
+ if (Xu & 6) throw Error(i(327));
if (t !== null) {
if (t === e.current) throw Error(i(177));
- e === Qu && ($u = Qu = null, ed = 0), Cd = t, Sd = e, wd = n, Ed = a, Dd = r, of(e, t, n, s, c, l, f);
+ e === Zu && (Qu = Zu = null, $u = 0), Sd = t, xd = e, Cd = n, Td = a, Ed = r, af(e, t, n, s, c, l, f);
}
}
- function of(e, t, n, r, i, a, o) {
+ function af(e, t, n, r, i, a, o) {
var s = t.lanes | t.childLanes;
- if (Td = s, s |= Ci, mt(e, n, s, r, i, a), kd = null, (n & 335544064) === n ? (Ad = Aa(e), r = 10262) : (Ad = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Sf(Ue, function() {
- return mf(), null;
- })) : (e.callbackNode = null, e.callbackPriority = 0), Fl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {
- r = I.T, I.T = null, i = fe.p, fe.p = 2, a = Zu, Zu |= 4;
+ if (wd = s, s |= Ci, pt(e, n, s, r, i, a), Od = null, (n & 335544064) === n ? (kd = ka(e), r = 10262) : (kd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, xf(Ue, function() {
+ return pf(), null;
+ })) : (e.callbackNode = null, e.callbackPriority = 0), Pl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {
+ r = I.T, I.T = null, i = fe.p, fe.p = 2, a = Xu, Xu |= 4;
try {
- uu(e, t, n);
+ lu(e, t, n);
} finally {
- Zu = a, fe.p = i, I.T = r;
+ Xu = a, fe.p = i, I.T = r;
}
}
- xd = 1, Fl ? Od = Lp(o, e.containerInfo, Ad, lf, uf, cf, df, mf, sf, null, null) : (lf(), uf(), df());
+ bd = 1, Pl ? Dd = Ip(o, e.containerInfo, kd, cf, lf, sf, uf, pf, of, null, null) : (cf(), lf(), uf());
}
- function sf(e) {
- if (xd !== 0) {
- var t = Sd.onRecoverableError;
+ function of(e) {
+ if (bd !== 0) {
+ var t = xd.onRecoverableError;
t(e, { componentStack: null });
}
}
- function cf() {
- xd === 3 && (xd = 0, ju(Cd, Sd), xd = 4);
+ function sf() {
+ bd === 3 && (bd = 0, Au(Sd, xd), bd = 4);
}
- function lf() {
- if (xd === 1) {
- xd = 0;
- var e = Sd, t = Cd, n = wd, r = !!(t.flags & 13878);
+ function cf() {
+ if (bd === 1) {
+ bd = 0;
+ var e = xd, t = Sd, n = Cd, r = !!(t.flags & 13878);
if (t.subtreeFlags & 13878 || r) {
r = I.T, I.T = null;
var i = fe.p;
fe.p = 2;
- var a = Zu;
- Zu |= 4;
+ var a = Xu;
+ Xu |= 4;
try {
- su = cu = !1, Du(t, e, n), n = pp;
- var o = Jr(e.containerInfo), s = n.focusedElem, c = n.selectionRange;
- if (o !== s && s && s.ownerDocument && qr(s.ownerDocument.documentElement, s)) {
- if (c !== null && Yr(s)) {
+ ou = su = !1, Eu(t, e, n), n = fp;
+ var o = qr(e.containerInfo), s = n.focusedElem, c = n.selectionRange;
+ if (o !== s && s && s.ownerDocument && Kr(s.ownerDocument.documentElement, s)) {
+ if (c !== null && Jr(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 {
@@ -6462,7 +6463,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
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 _ = Kr(s, h), v = Kr(s, g);
+ var _ = Gr(s, h), v = Gr(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));
@@ -6480,40 +6481,40 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
b.element.scrollLeft = b.left, b.element.scrollTop = b.top;
}
}
- xh = !!fp, pp = fp = null;
+ bh = !!dp, fp = dp = null;
} finally {
- Zu = a, fe.p = i, I.T = r;
+ Xu = a, fe.p = i, I.T = r;
}
}
- e.current = t, xd = 2;
+ e.current = t, bd = 2;
}
}
- function uf() {
- if (xd === 2) {
- xd = 0;
- var e = Sd, t = Cd, n = !!(t.flags & 8772);
+ function lf() {
+ if (bd === 2) {
+ bd = 0;
+ var e = xd, t = Sd, n = !!(t.flags & 8772);
if (t.subtreeFlags & 8772 || n) {
n = I.T, I.T = null;
var r = fe.p;
fe.p = 2;
- var i = Zu;
- Zu |= 4;
+ var i = Xu;
+ Xu |= 4;
try {
- fu(e, t.alternate, t);
+ du(e, t.alternate, t);
} finally {
- Zu = i, fe.p = r, I.T = n;
+ Xu = i, fe.p = r, I.T = n;
}
}
- xd = 3;
+ bd = 3;
}
}
- function df() {
- if (xd === 4 || xd === 3) {
- xd = 0;
- var e = Od;
- Od = null, Re();
- var t = Sd, n = Cd, r = wd, i = Dd, a = (r & 335544064) === r ? 10262 : 10256;
- if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? xd = 5 : (xd = 0, Cd = Sd = null, ff(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (bd = null), yt(r), n = n.stateNode, Ye && typeof Ye.onCommitFiberRoot == "function") try {
+ function uf() {
+ if (bd === 4 || bd === 3) {
+ bd = 0;
+ var e = Dd;
+ Dd = null, Re();
+ var t = xd, n = Sd, r = Cd, i = Ed, a = (r & 335544064) === r ? 10262 : 10256;
+ if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? bd = 5 : (bd = 0, Sd = xd = null, df(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (yd = null), vt(r), n = n.stateNode, Ye && typeof Ye.onCommitFiberRoot == "function") try {
Ye.onCommitFiberRoot(Je, n, void 0, (n.current.flags & 128) == 128);
} catch {}
if (i !== null) {
@@ -6527,75 +6528,75 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
I.T = n, fe.p = a;
}
}
- if (i = kd, o = Ad, Ad = null, i !== null && (kd = 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);
- wd & 3 && pf(), kf(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Md ? jd++ : (jd = 0, Md = t) : (jd = 0, Md = null), Af(0, !1);
+ if (i = Od, o = kd, kd = null, i !== null && (Od = 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);
+ Cd & 3 && ff(), Of(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === jd ? Ad++ : (Ad = 0, jd = t) : (Ad = 0, jd = null), kf(0, !1);
}
}
- function ff(e, t) {
+ function df(e, t) {
(e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, Da(t)));
}
- function pf() {
- return Od !== null && (Od.skipTransition(), Od = null), lf(), uf(), df(), mf();
+ function ff() {
+ return Dd !== null && (Dd.skipTransition(), Dd = null), cf(), lf(), uf(), pf();
}
- function mf() {
- if (xd !== 5) return !1;
- var e = Sd, t = Td;
- Td = 0;
- var n = yt(wd), r = I.T, a = fe.p;
+ function pf() {
+ if (bd !== 5) return !1;
+ var e = xd, t = wd;
+ wd = 0;
+ var n = vt(Cd), r = I.T, a = fe.p;
try {
- fe.p = 32 > n ? 32 : n, I.T = null, n = Ed, Ed = null;
- var o = Sd, s = wd;
- if (xd = 0, Cd = Sd = null, wd = 0, Zu & 6) throw Error(i(331));
- var c = Zu;
- if (Zu |= 4, Ku(o.current), Ru(o, o.current, s, n), Zu = c, Af(0, !1), Ye && typeof Ye.onPostCommitFiberRoot == "function") try {
+ fe.p = 32 > n ? 32 : n, I.T = null, n = Td, Td = null;
+ var o = xd, s = Cd;
+ if (bd = 0, Sd = xd = null, Cd = 0, Xu & 6) throw Error(i(331));
+ var c = Xu;
+ if (Xu |= 4, Gu(o.current), Lu(o, o.current, s, n), Xu = c, kf(0, !1), Ye && typeof Ye.onPostCommitFiberRoot == "function") try {
Ye.onPostCommitFiberRoot(Je, o);
} catch {}
return !0;
} finally {
- fe.p = a, I.T = r, ff(e, t);
+ fe.p = a, I.T = r, df(e, t);
}
}
- function hf(e, t, n) {
- t = Vi(n, t), t = Cc(e.stateNode, t, 2), e = uo(e, t, 2), e !== null && (pt(e, 2), kf(e));
+ function mf(e, t, n) {
+ t = Bi(n, t), t = Sc(e.stateNode, t, 2), e = lo(e, t, 2), e !== null && (ft(e, 2), Of(e));
}
- function gf(e, t, n) {
- if (e.tag === 3) hf(e, e, n);
+ function hf(e, t, n) {
+ if (e.tag === 3) mf(e, e, n);
else for (; t !== null;) {
if (t.tag === 3) {
- hf(t, e, n);
+ mf(t, e, n);
break;
}
if (t.tag === 1) {
var r = t.stateNode;
- if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (bd === null || !bd.has(r))) {
- e = Vi(n, e), n = wc(2), r = uo(t, n, 2), r !== null && (Tc(n, r, t, e), pt(r, 2), kf(r));
+ if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (yd === null || !yd.has(r))) {
+ e = Bi(n, e), n = Cc(2), r = lo(t, n, 2), r !== null && (wc(n, r, t, e), ft(r, 2), Of(r));
break;
}
}
t = t.return;
}
}
- function _f(e, t, n) {
+ function gf(e, t, n) {
var r = e.pingCache;
if (r === null) {
- r = e.pingCache = new Xu();
+ r = e.pingCache = new Yu();
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) || (ad = !0, i.add(n), e = vf.bind(null, e, t, n), t.then(e, e));
+ i.has(n) || (id = !0, i.add(n), e = _f.bind(null, e, t, n), t.then(e, e));
}
- function vf(e, t, n) {
+ function _f(e, t, n) {
var r = e.pingCache;
- r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, Qu === e && (ed & n) === n && (sd === 4 || sd === 3 && (ed & 62914560) === ed && 300 > ze() - gd ? Zu & 2 ? ud |= n : Ud(e, 0) : ud |= n, fd === ed && (fd = 0)), kf(e);
+ r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, Zu === e && ($u & n) === n && (od === 4 || od === 3 && ($u & 62914560) === $u && 300 > ze() - hd ? Xu & 2 ? ld |= n : Hd(e, 0) : ld |= n, dd === $u && (dd = 0)), Of(e);
}
- function yf(e, t) {
- t === 0 && (t = dt()), e = Di(e, t), e !== null && (pt(e, t), kf(e));
+ function vf(e, t) {
+ t === 0 && (t = ut()), e = Ei(e, t), e !== null && (ft(e, t), Of(e));
}
- function bf(e) {
+ function yf(e) {
var t = e.memoizedState, n = 0;
- t !== null && (n = t.retryLane), yf(e, n);
+ t !== null && (n = t.retryLane), vf(e, n);
}
- function xf(e, t) {
+ function bf(e, t) {
var n = 0;
switch (e.tag) {
case 31:
@@ -6611,59 +6612,59 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
break;
default: throw Error(i(314));
}
- r !== null && r.delete(t), yf(e, n);
+ r !== null && r.delete(t), vf(e, n);
}
- function Sf(e, t) {
+ function xf(e, t) {
return Fe(e, t);
}
- var Cf = null, wf = null, Tf = !1, Ef = !1, Df = !1, Of = 0;
- function kf(e) {
- e !== wf && e.next === null && (wf === null ? Cf = wf = e : wf = wf.next = e), Ef = !0, Tf || (Tf = !0, If());
+ var Sf = null, Cf = null, wf = !1, Tf = !1, Ef = !1, Df = 0;
+ function Of(e) {
+ e !== Cf && e.next === null && (Cf === null ? Sf = Cf = e : Cf = Cf.next = e), Tf = !0, wf || (wf = !0, Ff());
}
- function Af(e, t) {
- if (!Df && Ef) {
- Df = !0;
+ function kf(e, t) {
+ if (!Ef && Tf) {
+ Ef = !0;
do
- for (var n = !1, r = Cf; r !== null;) {
+ for (var n = !1, r = Sf; 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 - Qe(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;
+ a = (1 << 31 - Ze(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;
}
- a !== 0 && (n = !0, Ff(r, a));
- } else a = ed, a = st(r, r === Qu ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || ct(r, a) || (n = !0, Ff(r, a));
+ a !== 0 && (n = !0, Pf(r, a));
+ } else a = $u, a = st(r, r === Zu ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || ct(r, a) || (n = !0, Pf(r, a));
}
r = r.next;
}
while (n);
- Df = !1;
+ Ef = !1;
}
}
- function jf() {
- Mf();
+ function Af() {
+ jf();
}
- function Mf() {
- Ef = Tf = !1;
+ function jf() {
+ Tf = wf = !1;
var e = 0;
- Of !== 0 && bp() && (e = Of);
- for (var t = ze(), n = null, r = Cf; r !== null;) {
- var i = r.next, a = Nf(r, t);
- a === 0 ? (r.next = null, n === null ? Cf = i : n.next = i, i === null && (wf = n)) : (n = r, (e !== 0 || a & 3) && (Ef = !0)), r = i;
+ Df !== 0 && yp() && (e = Df);
+ for (var t = ze(), n = null, r = Sf; r !== null;) {
+ var i = r.next, a = Mf(r, t);
+ a === 0 ? (r.next = null, n === null ? Sf = i : n.next = i, i === null && (Cf = n)) : (n = r, (e !== 0 || a & 3) && (Tf = !0)), r = i;
}
- xd !== 0 && xd !== 5 || Af(e, !1), Of !== 0 && (Of = 0);
+ bd !== 0 && bd !== 5 || kf(e, !1), Df !== 0 && (Df = 0);
}
- function Nf(e, t) {
+ function Mf(e, t) {
for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes & -62914561; 0 < a;) {
- var o = 31 - Qe(a), s = 1 << o, c = i[o];
- c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = ut(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;
+ var o = 31 - Ze(a), s = 1 << o, c = i[o];
+ c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = L(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;
}
- if (t = Qu, n = ed, n = st(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (td === 2 || td === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Ie(r), e.callbackNode = null, e.callbackPriority = 0;
+ if (t = Zu, n = $u, n = st(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (ed === 2 || ed === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Ie(r), e.callbackNode = null, e.callbackPriority = 0;
if (!(n & 3) || ct(e, n)) {
if (t = n & -n, t === e.callbackPriority) return t;
- switch (r !== null && Ie(r), yt(n)) {
+ switch (r !== null && Ie(r), vt(n)) {
case 2:
case 8:
n = He;
@@ -6676,57 +6677,57 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
break;
default: n = Ue;
}
- return r = Pf.bind(null, e), n = Fe(n, r), e.callbackPriority = t, e.callbackNode = n, t;
+ return r = Nf.bind(null, e), n = Fe(n, r), e.callbackPriority = t, e.callbackNode = n, t;
}
return r !== null && r !== null && Ie(r), e.callbackPriority = 2, e.callbackNode = null, 2;
}
- function Pf(e, t) {
- if (xd !== 0 && xd !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;
+ function Nf(e, t) {
+ if (bd !== 0 && bd !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;
var n = e.callbackNode;
- if (pf() && e.callbackNode !== n) return null;
- var r = ed;
- return r = st(e, e === Qu ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Ld(e, r, t), Nf(e, ze()), e.callbackNode != null && e.callbackNode === n ? Pf.bind(null, e) : null);
+ if (ff() && e.callbackNode !== n) return null;
+ var r = $u;
+ return r = st(e, e === Zu ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Id(e, r, t), Mf(e, ze()), e.callbackNode != null && e.callbackNode === n ? Nf.bind(null, e) : null);
}
- function Ff(e, t) {
- if (pf()) return null;
- Ld(e, t, !0);
+ function Pf(e, t) {
+ if (ff()) return null;
+ Id(e, t, !0);
}
- function If() {
- Tp(function() {
- Zu & 6 ? Fe(Ve, jf) : Mf();
+ function Ff() {
+ wp(function() {
+ Xu & 6 ? Fe(Ve, Af) : jf();
});
}
- function Lf() {
- if (Of === 0) {
- var e = Na;
- e === 0 && (e = it, it <<= 1, !(it & 261888) && (it = 256)), Of = e;
+ function If() {
+ if (Df === 0) {
+ var e = Ma;
+ e === 0 && (e = tt, tt <<= 1, !(tt & 261888) && (tt = 256)), Df = e;
}
- return Of;
+ return Df;
}
- function Rf(e) {
- return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : vn(e);
+ function Lf(e) {
+ return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : _n(e);
}
- function zf(e, t, n, r, i) {
+ function Rf(e, t, n, r, i) {
if (t === "submit" && n && n.stateNode === i) {
- var a = Rf((i[wt] || null).action), o = r.submitter;
- o && (t = (t = o[wt] || null) ? Rf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));
- var s = new Bn("action", "action", null, r, i);
+ var a = Lf((i[Ct] || null).action), o = r.submitter;
+ o && (t = (t = o[Ct] || null) ? Lf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));
+ var s = new zn("action", "action", null, r, i);
e.push({
event: s,
listeners: [{
instance: null,
listener: function() {
if (r.defaultPrevented) {
- if (Of !== 0) {
+ if (Df !== 0) {
var e = new FormData(i, o);
- Ys(n, {
+ Js(n, {
pending: !0,
data: e,
method: i.method,
action: a
}, null, e);
}
- } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), Ys(n, {
+ } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), Js(n, {
pending: !0,
data: e,
method: i.method,
@@ -6738,18 +6739,18 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
});
}
}
- for (var Bf = 0; Bf < hi.length; Bf++) {
- var Vf = hi[Bf];
- gi(Vf.toLowerCase(), "on" + (Vf[0].toUpperCase() + Vf.slice(1)));
+ for (var zf = 0; zf < mi.length; zf++) {
+ var Bf = mi[zf];
+ hi(Bf.toLowerCase(), "on" + (Bf[0].toUpperCase() + Bf.slice(1)));
}
- gi(si, "onAnimationEnd"), gi(ci, "onAnimationIteration"), gi(li, "onAnimationStart"), gi("dblclick", "onDoubleClick"), gi("focusin", "onFocus"), gi("focusout", "onBlur"), gi(ui, "onTransitionRun"), gi(di, "onTransitionStart"), gi(fi, "onTransitionCancel"), gi(pi, "onTransitionEnd"), Ht("onMouseEnter", ["mouseout", "mouseover"]), Ht("onMouseLeave", ["mouseout", "mouseover"]), Ht("onPointerEnter", ["pointerout", "pointerover"]), Ht("onPointerLeave", ["pointerout", "pointerover"]), Vt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Vt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Vt("onBeforeInput", [
+ hi(oi, "onAnimationEnd"), hi(si, "onAnimationIteration"), hi(ci, "onAnimationStart"), hi("dblclick", "onDoubleClick"), hi("focusin", "onFocus"), hi("focusout", "onBlur"), hi(li, "onTransitionRun"), hi(ui, "onTransitionStart"), hi(di, "onTransitionCancel"), hi(fi, "onTransitionEnd"), Vt("onMouseEnter", ["mouseout", "mouseover"]), Vt("onMouseLeave", ["mouseout", "mouseover"]), Vt("onPointerEnter", ["pointerout", "pointerover"]), Vt("onPointerLeave", ["pointerout", "pointerover"]), Bt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Bt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Bt("onBeforeInput", [
"compositionend",
"keypress",
"textInput",
"paste"
- ]), Vt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Vt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Vt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
- var Hf = "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(" "), Uf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Hf));
- function Wf(e, t) {
+ ]), Bt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Bt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Bt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
+ var Vf = "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(" "), Hf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Vf));
+ function Uf(e, t) {
t = !!(t & 4);
for (var n = 0; n < e.length; n++) {
var r = e[n], i = r.event;
@@ -6763,7 +6764,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
try {
a(i);
} catch (e) {
- xi(e);
+ bi(e);
}
i.currentTarget = null, a = c;
}
@@ -6773,49 +6774,49 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
try {
a(i);
} catch (e) {
- xi(e);
+ bi(e);
}
i.currentTarget = null, a = c;
}
}
}
}
- function Gf(e, t) {
- var n = t[Et];
- n === void 0 && (n = t[Et] = /* @__PURE__ */ new Set());
+ function Wf(e, t) {
+ var n = t[Tt];
+ n === void 0 && (n = t[Tt] = /* @__PURE__ */ new Set());
var r = e + "__bubble";
- n.has(r) || (Yf(t, e, 2, !1), n.add(r));
+ n.has(r) || (Jf(t, e, 2, !1), n.add(r));
}
- function Kf(e, t, n) {
+ function Gf(e, t, n) {
var r = 0;
- t && (r |= 4), Yf(n, e, r, t);
+ t && (r |= 4), Jf(n, e, r, t);
}
- var qf = "_reactListening" + Math.random().toString(36).slice(2);
- function Jf(e) {
- if (!e[qf]) {
- e[qf] = !0, zt.forEach(function(t) {
- t !== "selectionchange" && (Uf.has(t) || Kf(t, !1, e), Kf(t, !0, e));
+ var Kf = "_reactListening" + Math.random().toString(36).slice(2);
+ function qf(e) {
+ if (!e[Kf]) {
+ e[Kf] = !0, Rt.forEach(function(t) {
+ t !== "selectionchange" && (Hf.has(t) || Gf(t, !1, e), Gf(t, !0, e));
});
var t = e.nodeType === 9 ? e : e.ownerDocument;
- t === null || t[qf] || (t[qf] = !0, Kf("selectionchange", !1, t));
+ t === null || t[Kf] || (t[Kf] = !0, Gf("selectionchange", !1, t));
}
}
- function Yf(e, t, n, r) {
- switch (Oh(t)) {
+ function Jf(e, t, n, r) {
+ switch (Dh(t)) {
case 2:
- var i = Sh;
+ var i = xh;
break;
case 8:
- i = Ch;
+ i = Sh;
break;
- default: i = wh;
+ default: i = Ch;
}
- n = i.bind(null, t, n, e), i = void 0, !kn || 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, !On || 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 Xf(e, t, n, r, i) {
+ function Yf(e, t, n, r, i) {
var a = r;
if (!(t & 1) && !(t & 2) && r !== null) a: for (;;) {
if (r === null) return;
@@ -6829,7 +6830,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
s = s.return;
}
for (; c !== null;) {
- if (s = Nt(c), s === null) return;
+ if (s = Mt(c), s === null) return;
if (l = s.tag, l === 5 || l === 6 || l === 26 || l === 27) {
r = a = s;
continue a;
@@ -6839,27 +6840,27 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
r = r.return;
}
- En(function() {
- var r = a, i = xn(n), s = [];
+ Tn(function() {
+ var r = a, i = bn(n), s = [];
a: {
- var c = mi.get(e);
+ var c = pi.get(e);
if (c !== void 0) {
- var l = Bn, u = e;
+ var l = zn, u = e;
switch (e) {
- case "keypress": if (Fn(n) === 0) break a;
+ case "keypress": if (Pn(n) === 0) break a;
case "keydown":
case "keyup":
- l = ir;
+ l = rr;
break;
case "focusin":
- u = "focus", l = Yn;
+ u = "focus", l = Jn;
break;
case "focusout":
- u = "blur", l = Yn;
+ u = "blur", l = Jn;
break;
case "beforeblur":
case "afterblur":
- l = Yn;
+ l = Jn;
break;
case "click": if (n.button === 2) break a;
case "auxclick":
@@ -6870,7 +6871,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case "mouseout":
case "mouseover":
case "contextmenu":
- l = qn;
+ l = Kn;
break;
case "drag":
case "dragend":
@@ -6880,33 +6881,33 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case "dragover":
case "dragstart":
case "drop":
- l = Jn;
+ l = qn;
break;
case "touchcancel":
case "touchend":
case "touchmove":
case "touchstart":
- l = sr;
+ l = or;
break;
+ case oi:
case si:
case ci:
- case li:
- l = Xn;
+ l = Yn;
break;
- case pi:
- l = cr;
+ case fi:
+ l = sr;
break;
case "scroll":
case "scrollend":
- l = Hn;
+ l = Vn;
break;
case "wheel":
- l = lr;
+ l = cr;
break;
case "copy":
case "cut":
case "paste":
- l = Zn;
+ l = Xn;
break;
case "gotpointercapture":
case "lostpointercapture":
@@ -6916,19 +6917,19 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case "pointerout":
case "pointerover":
case "pointerup":
- l = ar;
+ l = ir;
break;
case "submit":
- l = or;
+ l = ar;
break;
case "toggle":
- case "beforetoggle": l = ur;
+ case "beforetoggle": l = lr;
}
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 = Dn(m, p), g != null && d.push(Zf(m, g, h))), f) break;
+ if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = En(m, p), g != null && d.push(Xf(m, g, h))), f) break;
m = m.return;
}
0 < d.length && (c = new l(c, u, null, n, i), s.push({
@@ -6939,45 +6940,45 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
if (!(t & 7)) {
a: {
- if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== bn && (u = n.relatedTarget || n.fromElement) && (Nt(u) || u[Tt])) 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 ? Nt(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 = qn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = ar, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Ft(c), h = l == null ? u : Ft(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Nt(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? C(c, l, $f) : null, c !== null && ep(s, u, c, d, !1), l !== null && f !== null && ep(s, f, l, d, !0)));
+ if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== yn && (u = n.relatedTarget || n.fromElement) && (Mt(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 ? Mt(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 = Kn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = ir, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Pt(c), h = l == null ? u : Pt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Mt(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? C(c, l, Qf) : null, c !== null && $f(s, u, c, d, !1), l !== null && f !== null && $f(s, f, l, d, !0)));
}
a: {
- if (c = r ? Ft(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Ar;
- else if (wr(c)) {
- if (jr) _ = Br;
+ if (c = r ? Pt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = kr;
+ else if (Cr(c)) {
+ if (Ar) _ = zr;
else {
- _ = Rr;
- var v = Lr;
+ _ = Lr;
+ var v = Ir;
}
- } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && hn(r.elementType) && (_ = Ar) : _ = zr;
+ } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && mn(r.elementType) && (_ = kr) : _ = Rr;
if (_ &&= _(e, r)) {
- Tr(s, _, n, i);
+ wr(s, _, n, i);
break a;
}
v && v(e, c, r);
}
- switch (v = r ? Ft(r) : window, e) {
+ switch (v = r ? Pt(r) : window, e) {
case "focusin":
- (wr(v) || v.contentEditable === "true") && (Zr = v, Qr = r, $r = null);
+ (Cr(v) || v.contentEditable === "true") && (Xr = v, Zr = r, Qr = null);
break;
case "focusout":
- $r = Qr = Zr = null;
+ Qr = Zr = Xr = null;
break;
case "mousedown":
- ei = !0;
+ $r = !0;
break;
case "contextmenu":
case "mouseup":
case "dragend":
- ei = !1, ti(s, n, i);
+ $r = !1, ei(s, n, i);
break;
- case "selectionchange": if (Xr) break;
+ case "selectionchange": if (Yr) break;
case "keydown":
- case "keyup": ti(s, n, i);
+ case "keyup": ei(s, n, i);
}
var y;
- if (fr) b: {
+ if (dr) b: {
switch (e) {
case "compositionstart":
var b = "onCompositionStart";
@@ -6991,83 +6992,83 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
b = void 0;
}
- else br ? vr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");
- b && (hr && n.locale !== "ko" && (br || b !== "onCompositionStart" ? b === "onCompositionEnd" && br && (y = Pn()) : (jn = i, Mn = "value" in jn ? jn.value : jn.textContent, br = !0)), v = Qf(r, b), 0 < v.length && (b = new Qn(b, e, null, n, i), s.push({
+ else yr ? _r(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");
+ b && (mr && n.locale !== "ko" && (yr || b !== "onCompositionStart" ? b === "onCompositionEnd" && yr && (y = Nn()) : (An = i, jn = "value" in An ? An.value : An.textContent, yr = !0)), v = Zf(r, b), 0 < v.length && (b = new Zn(b, e, null, n, i), s.push({
event: b,
listeners: v
- }), y ? b.data = y : (y = yr(n), y !== null && (b.data = y)))), (y = mr ? xr(e, n) : Sr(e, n)) && (b = Qf(r, "onBeforeInput"), 0 < b.length && (v = new Qn("onBeforeInput", "beforeinput", null, n, i), s.push({
+ }), y ? b.data = y : (y = vr(n), y !== null && (b.data = y)))), (y = pr ? br(e, n) : xr(e, n)) && (b = Zf(r, "onBeforeInput"), 0 < b.length && (v = new Zn("onBeforeInput", "beforeinput", null, n, i), s.push({
event: v,
listeners: b
- }), v.data = y)), zf(s, e, r, n, i);
+ }), v.data = y)), Rf(s, e, r, n, i);
}
- Wf(s, t);
+ Uf(s, t);
});
}
- function Zf(e, t, n) {
+ function Xf(e, t, n) {
return {
instance: e,
listener: t,
currentTarget: n
};
}
- function Qf(e, t) {
+ function Zf(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 = Dn(e, n), i != null && r.unshift(Zf(e, i, a)), i = Dn(e, t), i != null && r.push(Zf(e, i, a))), e.tag === 3) return r;
+ if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = En(e, n), i != null && r.unshift(Xf(e, i, a)), i = En(e, t), i != null && r.push(Xf(e, i, a))), e.tag === 3) return r;
e = e.return;
}
return [];
}
- function $f(e) {
+ function Qf(e) {
if (e === null) return null;
do
e = e.return;
while (e && e.tag !== 5 && e.tag !== 27);
return e || null;
}
- function ep(e, t, n, r, i) {
+ function $f(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 = Dn(n, a), l != null && o.unshift(Zf(n, l, c))) : i || (l = Dn(n, a), l != null && o.push(Zf(n, l, c)))), n = n.return;
+ s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = En(n, a), l != null && o.unshift(Xf(n, l, c))) : i || (l = En(n, a), l != null && o.push(Xf(n, l, c)))), n = n.return;
}
o.length !== 0 && e.push({
event: t,
listeners: o
});
}
- var tp = /\r\n?/g, np = /\u0000|\uFFFD/g;
- function rp(e) {
- return (typeof e == "string" ? e : "" + e).replace(tp, "\n").replace(np, "");
+ var ep = /\r\n?/g, tp = /\u0000|\uFFFD/g;
+ function np(e) {
+ return (typeof e == "string" ? e : "" + e).replace(ep, "\n").replace(tp, "");
}
- function ip(e, t) {
- return t = rp(t), rp(e) === t;
+ function rp(e, t) {
+ return t = np(t), np(e) === t;
}
- function ap(e, t, n, r, a, o) {
+ function ip(e, t, n, r, a, o) {
switch (n) {
case "children":
- if (typeof r == "string") t === "body" || t === "textarea" && r === "" || dn(e, r);
- else if (typeof r == "number" || typeof r == "bigint") t !== "body" && dn(e, "" + r);
+ if (typeof r == "string") t === "body" || t === "textarea" && r === "" || un(e, r);
+ else if (typeof r == "number" || typeof r == "bigint") t !== "body" && un(e, "" + r);
else return;
break;
case "className":
- Yt(e, "class", r);
+ R(e, "class", r);
break;
case "tabIndex":
- Yt(e, "tabindex", r);
+ R(e, "tabindex", r);
break;
case "dir":
case "role":
case "viewBox":
case "width":
case "height":
- Yt(e, n, r);
+ R(e, n, r);
break;
case "style":
- mn(e, r, o);
+ pn(e, r, o);
return;
case "data": if (t !== "object") {
- Yt(e, "data", r);
+ R(e, "data", r);
break;
}
case "src":
@@ -7080,7 +7081,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
e.removeAttribute(n);
break;
}
- r = vn(r), e.setAttribute(n, r);
+ r = _n(r), e.setAttribute(n, r);
break;
case "action":
case "formAction":
@@ -7088,20 +7089,20 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
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" && ap(e, t, "name", a.name, a, null), ap(e, t, "formEncType", a.formEncType, a, null), ap(e, t, "formMethod", a.formMethod, a, null), ap(e, t, "formTarget", a.formTarget, a, null)) : (ap(e, t, "encType", a.encType, a, null), ap(e, t, "method", a.method, a, null), ap(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {
+ if (typeof o == "function" && (n === "formAction" ? (t !== "input" && ip(e, t, "name", a.name, a, null), ip(e, t, "formEncType", a.formEncType, a, null), ip(e, t, "formMethod", a.formMethod, a, null), ip(e, t, "formTarget", a.formTarget, a, null)) : (ip(e, t, "encType", a.encType, a, null), ip(e, t, "method", a.method, a, null), ip(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {
e.removeAttribute(n);
break;
}
- r = vn(r), e.setAttribute(n, r);
+ r = _n(r), e.setAttribute(n, r);
break;
case "onClick":
- r != null && (e.onclick = yn);
+ r != null && (e.onclick = vn);
return;
case "onScroll":
- r != null && Gf("scroll", e);
+ r != null && Wf("scroll", e);
return;
case "onScrollEnd":
- r != null && Gf("scrollend", e);
+ r != null && Wf("scrollend", e);
return;
case "dangerouslySetInnerHTML":
if (r != null) {
@@ -7130,7 +7131,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
e.removeAttribute("xlink:href");
break;
}
- n = vn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);
+ n = _n(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);
break;
case "contentEditable":
case "spellCheck":
@@ -7183,49 +7184,49 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);
break;
case "popover":
- Gf("beforetoggle", e), Gf("toggle", e), Jt(e, "popover", r);
+ Wf("beforetoggle", e), Wf("toggle", e), Jt(e, "popover", r);
break;
case "xlinkActuate":
- Xt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);
+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);
break;
case "xlinkArcrole":
- Xt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);
+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);
break;
case "xlinkRole":
- Xt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);
+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);
break;
case "xlinkShow":
- Xt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);
+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);
break;
case "xlinkTitle":
- Xt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);
+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);
break;
case "xlinkType":
- Xt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);
+ Yt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);
break;
case "xmlBase":
- Xt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);
+ Yt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);
break;
case "xmlLang":
- Xt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);
+ Yt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);
break;
case "xmlSpace":
- Xt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);
+ Yt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);
break;
case "is":
Jt(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 = gn.get(n) || n, Jt(e, n, r);
+ default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = hn.get(n) || n, Jt(e, n, r);
else return;
}
Kt = !0;
}
- function op(e, t, n, r, a, o) {
+ function ap(e, t, n, r, a, o) {
switch (n) {
case "style":
- mn(e, r, o);
+ pn(e, r, o);
return;
case "dangerouslySetInnerHTML":
if (r != null) {
@@ -7237,18 +7238,18 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
break;
case "children":
- if (typeof r == "string") dn(e, r);
- else if (typeof r == "number" || typeof r == "bigint") dn(e, "" + r);
+ if (typeof r == "string") un(e, r);
+ else if (typeof r == "number" || typeof r == "bigint") un(e, "" + r);
else return;
break;
case "onScroll":
- r != null && Gf("scroll", e);
+ r != null && Wf("scroll", e);
return;
case "onScrollEnd":
- r != null && Gf("scrollend", e);
+ r != null && Wf("scrollend", e);
return;
case "onClick":
- r != null && (e.onclick = yn);
+ r != null && (e.onclick = vn);
return;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
@@ -7257,8 +7258,8 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case "innerText":
case "textContent": return;
default:
- if (!Bt.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[wt] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {
+ if (!zt.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;
}
@@ -7268,7 +7269,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
Kt = !0;
}
- function sp(e, t, n) {
+ function op(e, t, n) {
switch (t) {
case "div":
case "span":
@@ -7279,7 +7280,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case "p":
case "li": break;
case "img":
- Gf("error", e), Gf("load", e);
+ Wf("error", e), Wf("load", e);
var r = !1, a = !1, o;
for (o in n) if (n.hasOwnProperty(o)) {
var s = n[o];
@@ -7292,13 +7293,13 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
break;
case "children":
case "dangerouslySetInnerHTML": throw Error(i(137, t));
- default: ap(e, t, o, s, n, null);
+ default: ip(e, t, o, s, n, null);
}
}
- a && ap(e, t, "srcSet", n.srcSet, n, null), r && ap(e, t, "src", n.src, n, null);
+ a && ip(e, t, "srcSet", n.srcSet, n, null), r && ip(e, t, "src", n.src, n, null);
return;
case "input":
- Gf("invalid", e);
+ Wf("invalid", e);
var c = o = s = a = null, l = null, u = null;
for (r in n) if (n.hasOwnProperty(r)) {
var d = n[r];
@@ -7325,13 +7326,13 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case "dangerouslySetInnerHTML":
if (d != null) throw Error(i(137, t));
break;
- default: ap(e, t, r, d, n, null);
+ default: ip(e, t, r, d, n, null);
}
}
- on(e, o, c, l, u, s, a, !1);
+ an(e, o, c, l, u, s, a, !1);
return;
case "select":
- for (a in Gf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {
+ for (a in Wf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {
case "value":
o = c;
break;
@@ -7339,12 +7340,12 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
s = c;
break;
case "multiple": r = c;
- default: ap(e, t, a, c, n, null);
+ default: ip(e, t, a, c, n, null);
}
- t = o, n = s, e.multiple = !!r, t == null ? n != null && cn(e, !!r, n, !0) : cn(e, !!r, t, !1);
+ t = o, n = s, e.multiple = !!r, t == null ? n != null && sn(e, !!r, n, !0) : sn(e, !!r, t, !1);
return;
case "textarea":
- for (s in Gf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {
+ for (s in Wf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {
case "value":
r = c;
break;
@@ -7357,38 +7358,38 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case "dangerouslySetInnerHTML":
if (c != null) throw Error(i(91));
break;
- default: ap(e, t, s, c, n, null);
+ default: ip(e, t, s, c, n, null);
}
- un(e, r, a, o);
+ ln(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: ap(e, t, l, r, n, null);
+ default: ip(e, t, l, r, n, null);
}
return;
case "dialog":
- Gf("beforetoggle", e), Gf("toggle", e), Gf("cancel", e), Gf("close", e);
+ Wf("beforetoggle", e), Wf("toggle", e), Wf("cancel", e), Wf("close", e);
break;
case "iframe":
case "object":
- Gf("load", e);
+ Wf("load", e);
break;
case "video":
case "audio":
- for (r = 0; r < Hf.length; r++) Gf(Hf[r], e);
+ for (r = 0; r < Vf.length; r++) Wf(Vf[r], e);
break;
case "image":
- Gf("error", e), Gf("load", e);
+ Wf("error", e), Wf("load", e);
break;
case "details":
- Gf("toggle", e);
+ Wf("toggle", e);
break;
case "embed":
case "source":
- case "link": Gf("error", e), Gf("load", e);
+ case "link": Wf("error", e), Wf("load", e);
case "area":
case "base":
case "br":
@@ -7403,18 +7404,18 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
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: ap(e, t, u, r, n, null);
+ default: ip(e, t, u, r, n, null);
}
return;
- default: if (hn(t)) {
- for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && op(e, t, d, r, n, void 0));
+ default: if (mn(t)) {
+ for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && ap(e, t, d, r, n, void 0));
return;
}
}
- for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && ap(e, t, c, r, n, null));
+ for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && ip(e, t, c, r, n, null));
}
- var cp = {};
- function lp(e, t, n, r) {
+ var sp = {};
+ function cp(e, t, n, r) {
switch (t) {
case "div":
case "span":
@@ -7432,7 +7433,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case "checked": break;
case "value": break;
case "defaultValue": l = f;
- default: r.hasOwnProperty(m) || ap(e, t, m, null, r, f);
+ default: r.hasOwnProperty(m) || ip(e, t, m, null, r, f);
}
}
for (var p in r) {
@@ -7460,16 +7461,16 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case "dangerouslySetInnerHTML":
if (m != null) throw Error(i(137, t));
break;
- default: m !== f && ap(e, t, p, m, r, f);
+ default: m !== f && ip(e, t, p, m, r, f);
}
}
- an(e, s, c, l, u, d, o, a);
+ rn(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) || ap(e, t, o, null, r, l);
+ default: r.hasOwnProperty(o) || ip(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":
@@ -7479,15 +7480,15 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
o !== l && (Kt = !0), c = o;
break;
case "multiple": o !== l && (Kt = !0), s = o;
- default: o !== l && ap(e, t, a, o, r, l);
+ default: o !== l && ip(e, t, a, o, r, l);
}
- t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? cn(e, !!n, n ? [] : "", !1) : cn(e, !!n, t, !0)) : cn(e, !!n, p, !1);
+ t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? sn(e, !!n, n ? [] : "", !1) : sn(e, !!n, t, !0)) : sn(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: ap(e, t, c, null, r, a);
+ default: ip(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":
@@ -7500,22 +7501,22 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case "dangerouslySetInnerHTML":
if (a != null) throw Error(i(91));
break;
- default: a !== o && ap(e, t, s, a, r, o);
+ default: a !== o && ip(e, t, s, a, r, o);
}
- ln(e, p, m);
+ cn(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: ap(e, t, h, null, r, p);
+ default: ip(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 && (Kt = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";
break;
- default: ap(e, t, l, p, r, m);
+ default: ip(e, t, l, p, r, m);
}
return;
case "img":
@@ -7533,25 +7534,25 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case "track":
case "wbr":
case "menuitem":
- for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && ap(e, t, g, null, r, p);
+ for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && ip(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: ap(e, t, u, p, r, m);
+ default: ip(e, t, u, p, r, m);
}
return;
- default: if (hn(t)) {
- for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && op(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 || op(e, t, d, p, r, m);
+ default: if (mn(t)) {
+ for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && ap(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 || ap(e, t, d, p, r, m);
return;
}
}
- for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && ap(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 || ap(e, t, f, p, r, m);
+ for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && ip(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 || ip(e, t, f, p, r, m);
}
- function up(e) {
+ function lp(e) {
switch (e) {
case "css":
case "script":
@@ -7563,16 +7564,16 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
default: return !1;
}
}
- function dp() {
+ function up() {
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 && up(o)) {
+ if (a && s && lp(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 && up(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));
+ u && lp(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;
}
@@ -7581,18 +7582,18 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return navigator.connection && (e = navigator.connection.downlink, typeof e == "number") ? e : 5;
}
- var fp = null, pp = null;
- function mp(e) {
+ var dp = null, fp = null;
+ function pp(e) {
return e.nodeType === 9 ? e : e.ownerDocument;
}
- function hp(e) {
+ function mp(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 gp(e, t) {
+ function hp(e, t) {
if (e === 0) switch (t) {
case "svg": return 1;
case "math": return 2;
@@ -7600,54 +7601,54 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return e === 1 && t === "foreignObject" ? 0 : e;
}
- function _p(e, t, n, r) {
- return n = mp(n).createElement(e), n[Ct] = r, n[wt] = t, sp(n, e, t), Lt(n), n;
+ function gp(e, t, n, r) {
+ return n = pp(n).createElement(e), n[St] = r, n[Ct] = t, op(n, e, t), It(n), n;
}
- function vp(e, t) {
+ function _p(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 yp = null;
- function bp() {
+ var vp = null;
+ function yp() {
var e = window.event;
- return e && e.type === "popstate" ? e !== yp && (yp = e, !0) : (yp = null, !1);
+ return e && e.type === "popstate" ? e !== vp && (vp = e, !0) : (vp = null, !1);
}
- var xp = typeof setTimeout == "function" ? setTimeout : void 0, Sp = typeof clearTimeout == "function" ? clearTimeout : void 0, Cp = typeof Promise == "function" ? Promise : void 0, wp = typeof requestAnimationFrame == "function" ? requestAnimationFrame : xp, Tp = typeof queueMicrotask == "function" ? queueMicrotask : Cp === void 0 ? xp : function(e) {
- return Cp.resolve(null).then(e).catch(Ep);
+ var bp = typeof setTimeout == "function" ? setTimeout : void 0, xp = typeof clearTimeout == "function" ? clearTimeout : void 0, Sp = typeof Promise == "function" ? Promise : void 0, Cp = typeof requestAnimationFrame == "function" ? requestAnimationFrame : bp, wp = typeof queueMicrotask == "function" ? queueMicrotask : Sp === void 0 ? bp : function(e) {
+ return Sp.resolve(null).then(e).catch(Tp);
};
- function Ep(e) {
+ function Tp(e) {
setTimeout(function() {
throw e;
});
}
- function Dp(e) {
+ function Ep(e) {
return e === "head";
}
- function Op(e, t) {
+ function Dp(e, t) {
var n = t, r = 0;
do {
var i = n.nextSibling;
if (e.removeChild(n), i && i.nodeType === 8) {
if (n = i.data, n === "/$" || n === "/&") {
if (r === 0) {
- e.removeChild(i), qh(t);
+ e.removeChild(i), Kh(t);
return;
}
r--;
} else if (n === "$" || n === "$?" || n === "$~" || n === "$!" || n === "&") r++;
- else if (n === "html") Sm(e.ownerDocument.documentElement);
+ else if (n === "html") xm(e.ownerDocument.documentElement);
else if (n === "head") {
- n = e.ownerDocument.head, Sm(n);
+ n = e.ownerDocument.head, xm(n);
for (var a = n.firstChild; a;) {
var o = a.nextSibling, s = a.nodeName;
- a[At] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;
+ a[kt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;
}
- } else n === "body" && Sm(e.ownerDocument.body);
+ } else n === "body" && xm(e.ownerDocument.body);
}
n = i;
} while (n);
- qh(t);
+ Kh(t);
}
- function kp(e, t) {
+ function Op(e, t) {
var n = e;
e = 0;
do {
@@ -7661,7 +7662,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
n = r;
} while (n);
}
- function Ap(e, t, n) {
+ function kp(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++) {
@@ -7671,12 +7672,12 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
r === 1 && (e = e.style, e.display = t.length === 1 ? "inline-block" : "block", e.marginTop = "-" + n.paddingTop, e.marginBottom = "-" + n.paddingBottom);
}
}
- function jp(e, t) {
+ function Ap(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 Mp(e, t, n) {
+ function jp(e, t, n) {
return n = n.ownerDocument.defaultView, {
rect: e,
abs: t.position === "absolute" || t.position === "fixed",
@@ -7684,22 +7685,22 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
view: 0 <= e.bottom && 0 <= e.right && e.top <= n.innerHeight && e.left <= n.innerWidth
};
}
- function Np(e) {
- return Mp(e.getBoundingClientRect(), getComputedStyle(e), e);
+ function Mp(e) {
+ return jp(e.getBoundingClientRect(), getComputedStyle(e), e);
}
- function Pp(e) {
+ function Np(e) {
var t = e.getBoundingClientRect();
t = new DOMRect(t.x + 2e4, t.y + 2e4, t.width, t.height);
var n = getComputedStyle(e);
- return Mp(t, n, e);
+ return jp(t, n, e);
}
- function Fp(e) {
+ function Pp(e) {
return e.documentElement.clientHeight;
}
- function Ip(e) {
+ function Fp(e) {
this.addEventListener("load", e), this.addEventListener("error", e);
}
- function Lp(e, t, n, r, i, a, o, s, c) {
+ function Ip(e, t, n, r, i, a, o, s, c) {
var l = t.nodeType === 9 ? t : t.ownerDocument;
try {
var u = l.startViewTransition({
@@ -7707,16 +7708,16 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
var t = l.defaultView, n = t.navigation && t.navigation.transition, o = l.fonts.status;
r();
var s = [];
- if (o === "loaded" && (Fp(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" && (Pp(l), l.fonts.status === "loading" && s.push(l.fonts.ready)), o = s.length, e !== null) for (var c = e.suspenseyImages, u = 0, d = 0; d < c.length; d++) {
var f = c[d];
if (!f.complete) {
var p = f.getBoundingClientRect();
if (0 < p.bottom && 0 < p.right && p.top < t.innerHeight && p.left < t.innerWidth) {
- if (u += th(f), u > ih) {
+ if (u += eh(f), u > rh) {
s.length = o;
break;
}
- f = new Promise(Ip.bind(f)), s.push(f);
+ f = new Promise(Fp.bind(f)), s.push(f);
}
}
}
@@ -7771,86 +7772,86 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
return r(), i(), o(), null;
}
}
- function Rp(e, t) {
+ function Lp(e, t) {
this._scope = document.documentElement, this._selector = "::view-transition-" + e + "(" + t + ")";
}
- Rp.prototype.animate = function(e, t) {
+ Lp.prototype.animate = function(e, t) {
return t = typeof t == "number" ? { duration: t } : w({}, t), t.pseudoElement = this._selector, this._scope.animate(e, t);
- }, Rp.prototype.getAnimations = function() {
+ }, Lp.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;
- }, Rp.prototype.getComputedStyle = function() {
+ }, Lp.prototype.getComputedStyle = function() {
return getComputedStyle(this._scope, this._selector);
};
- function zp(e) {
+ function Rp(e) {
return {
name: e,
- group: new Rp("group", e),
- imagePair: new Rp("image-pair", e),
- old: new Rp("old", e),
- new: new Rp("new", e)
+ group: new Lp("group", e),
+ imagePair: new Lp("image-pair", e),
+ old: new Lp("old", e),
+ new: new Lp("new", e)
};
}
- function Bp(e) {
+ function zp(e) {
this._fragmentFiber = e, this._observers = this._eventListeners = null;
}
- Bp.prototype.addEventListener = function(e, t, n) {
+ zp.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 (Gp(a, e, t, n) === -1) {
+ if (Wp(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 = Up(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 = Hp(n), a.push({
type: e,
listener: t,
optionsOrUseCapture: n,
attachedListener: s,
cleanup: i
- }), f(this._fragmentFiber.child, !1, Vp, e, s, r);
+ }), f(this._fragmentFiber.child, !1, Bp, e, s, r);
}
this._eventListeners = a;
}
};
- function Vp(e, t, n, r) {
+ function Bp(e, t, n, r) {
return _(e).addEventListener(t, n, r), !1;
}
- Bp.prototype.removeEventListener = function(e, t, n) {
+ zp.prototype.removeEventListener = function(e, t, n) {
var r = this._eventListeners;
- if (r !== null && (t = Gp(r, e, t, n), t !== -1)) {
+ if (r !== null && (t = Wp(r, e, t, n), t !== -1)) {
var i = r[t];
n = i.attachedListener;
var a = i.cleanup;
- i = Up(i.optionsOrUseCapture), f(this._fragmentFiber.child, !1, Hp, e, n, i), r.splice(t, 1), a !== null && a();
+ i = Hp(i.optionsOrUseCapture), f(this._fragmentFiber.child, !1, Vp, e, n, i), r.splice(t, 1), a !== null && a();
}
};
- function Hp(e, t, n, r) {
+ function Vp(e, t, n, r) {
return _(e).removeEventListener(t, n, r), !1;
}
- function Up(e) {
+ function Hp(e) {
return e != null && typeof e != "boolean" && (!0 === e.once || e.signal instanceof AbortSignal) ? {
capture: e.capture,
passive: e.passive
} : e;
}
- function Wp(e) {
+ function Up(e) {
return e == null ? "c=0" : typeof e == "boolean" ? "c=" + (e ? "1" : "0") : "c=" + (e.capture ? "1" : "0");
}
- function Gp(e, t, n, r) {
+ function Wp(e, t, n, r) {
if (e.length === 0) return -1;
- r = Wp(r);
+ r = Up(r);
for (var i = 0; i < e.length; i++) {
var a = e[i];
- if (a.type === t && a.listener === n && Wp(a.optionsOrUseCapture) === r) return i;
+ if (a.type === t && a.listener === n && Up(a.optionsOrUseCapture) === r) return i;
}
return -1;
}
- Bp.prototype.dispatchEvent = function(e) {
+ zp.prototype.dispatchEvent = function(e) {
var t = p(this._fragmentFiber);
if (t === null) return !0;
t = _(t);
@@ -7859,74 +7860,74 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
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, Up(a.optionsOrUseCapture));
+ r.addEventListener(a.type, a.attachedListener, Hp(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, Up(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, Hp(a.optionsOrUseCapture));
return t.removeChild(r), e;
}
return t.dispatchEvent(e);
- }, Bp.prototype.focus = function(e) {
- f(this._fragmentFiber.child, !0, Kp, e, void 0, void 0);
+ }, zp.prototype.focus = function(e) {
+ f(this._fragmentFiber.child, !0, Gp, e, void 0, void 0);
};
- function Kp(e, t) {
- return e.tag !== 6 && (e = _(e), vm(e, t));
+ function Gp(e, t) {
+ return e.tag !== 6 && (e = _(e), _m(e, t));
}
- Bp.prototype.focusLast = function(e) {
+ zp.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 && !Kp(t[n], e); n--);
+ f(this._fragmentFiber.child, !0, Kp, t, void 0, void 0);
+ for (var n = t.length - 1; 0 <= n && !Gp(t[n], e); n--);
};
- function qp(e, t) {
+ function Kp(e, t) {
return t.push(e), !1;
}
- Bp.prototype.blur = function() {
+ zp.prototype.blur = function() {
var e = p(this._fragmentFiber);
- e !== null && (e = _(e), e = mp(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, Jp, e, void 0, void 0));
+ e !== null && (e = _(e), e = pp(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, qp, e, void 0, void 0));
};
- function Jp(e, t) {
+ function qp(e, t) {
return e.tag !== 6 && (e = _(e), e === t || e.contains(t) ? (t.blur(), !0) : !1);
}
- Bp.prototype.observeUsing = function(e) {
- this._observers === null && (this._observers = /* @__PURE__ */ new Set()), this._observers.add(e), f(this._fragmentFiber.child, !1, Yp, e, void 0, void 0);
+ zp.prototype.observeUsing = function(e) {
+ this._observers === null && (this._observers = /* @__PURE__ */ new Set()), this._observers.add(e), f(this._fragmentFiber.child, !1, Jp, e, void 0, void 0);
};
- function Yp(e, t) {
+ function Jp(e, t) {
return e.tag !== 6 && (e = _(e), t.observe(e), !1);
}
- Bp.prototype.unobserveUsing = function(e) {
+ zp.prototype.unobserveUsing = function(e) {
var t = this._observers;
if (t !== null && t.has(e)) {
- t.delete(e), f(this._fragmentFiber.child, !1, Xp, e, void 0, void 0);
- for (var n = t = 0; n < Zp.length; n++) {
- var r = Zp[n];
- r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : Zp[t++] = r;
+ t.delete(e), f(this._fragmentFiber.child, !1, Yp, e, void 0, void 0);
+ for (var n = t = 0; n < Xp.length; n++) {
+ var r = Xp[n];
+ r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : Xp[t++] = r;
}
- Zp.length = t;
+ Xp.length = t;
}
};
- function Xp(e, t) {
+ function Yp(e, t) {
return e.tag !== 6 && (e = _(e), t.unobserve(e), !1);
}
- var Zp = [], Qp = !1;
- function $p(e, t, n) {
- Zp.push({
+ var Xp = [], Zp = !1;
+ function Qp(e, t, n) {
+ Xp.push({
fragmentInstance: e,
observer: t,
instance: n
- }), Qp || (Qp = !0, ym(function() {
- Qp = !1;
- var e = Zp;
- Zp = [];
+ }), Zp || (Zp = !0, vm(function() {
+ Zp = !1;
+ var e = Xp;
+ Xp = [];
for (var t = 0; t < e.length; t++) {
var n = e[t];
n.observer.unobserve(n.instance);
}
}));
}
- Bp.prototype.getClientRects = function() {
+ zp.prototype.getClientRects = function() {
var e = [];
- return f(this._fragmentFiber.child, !1, em, e, void 0, void 0), e;
+ return f(this._fragmentFiber.child, !1, $p, e, void 0, void 0), e;
};
- function em(e, t) {
+ function $p(e, t) {
if (e.tag === 6) {
e = e.stateNode;
var n = e.ownerDocument.createRange();
@@ -7934,14 +7935,14 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
} else e = _(e), t.push.apply(t, e.getClientRects());
return !1;
}
- Bp.prototype.getRootNode = function(e) {
+ zp.prototype.getRootNode = function(e) {
var t = p(this._fragmentFiber);
return t === null ? this : _(t).getRootNode(e);
- }, Bp.prototype.compareDocumentPosition = function(e) {
+ }, zp.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, Kp, n, void 0, void 0);
var r = _(t);
if (n.length === 0) {
if (n = r, m(this._fragmentFiber)) {
@@ -7967,10 +7968,10 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
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 || tm(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 || em(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;
};
- function tm(e, t, n, r, i) {
- var a = Nt(i);
+ function em(e, t, n, r, i) {
+ var a = Mt(i);
if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {
if (n = !!a) a: {
for (; a !== null;) {
@@ -8000,20 +8001,20 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return e & Node.DOCUMENT_POSITION_PRECEDING ? ((t = !!a) && !(t = a === n) && (t = C(n, a, S), t === null ? t = !1 : (f(t, !0, b, a, n), a = v, v = null, t = a !== null)), t) : e & Node.DOCUMENT_POSITION_FOLLOWING ? ((t = !!a) && !(t = a === r) && (t = C(r, a, S), t === null ? t = !1 : (f(t, !0, x, a, r), a = v, y = v = null, t = a !== null)), t) : !1;
}
- function nm(e, t) {
+ function tm(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);
}
- Bp.prototype.scrollIntoView = function(e) {
+ zp.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, Kp, 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), nm(e, n);
+ e = _(r), tm(e, n);
return;
}
if (r = _(r), r.nodeType !== 9) {
@@ -8026,40 +8027,40 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
for (r = n ? t.length - 1 : 0; r !== (n ? -1 : t.length);) {
var a = t[r];
- a.tag === 6 ? (a = _(a), nm(a, n)) : _(a).scrollIntoView(e), r += n ? -1 : 1;
+ a.tag === 6 ? (a = _(a), tm(a, n)) : _(a).scrollIntoView(e), r += n ? -1 : 1;
}
};
- function rm(e, t) {
- return e = _(e), im(e, t), !1;
+ function nm(e, t) {
+ return e = _(e), rm(e, t), !1;
}
- function im(e, t) {
+ function rm(e, t) {
e.reactFragments ??= /* @__PURE__ */ new Set(), e.reactFragments.add(t);
}
- function am(e, t) {
+ function im(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, Up(i.optionsOrUseCapture));
+ e.addEventListener(i.type, i.attachedListener, Hp(i.optionsOrUseCapture));
}
e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {
- for (var r = 0, i = 0; i < Zp.length; i++) {
- var a = Zp[i];
- (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && (Zp[r++] = a);
+ for (var r = 0, i = 0; i < Xp.length; i++) {
+ var a = Xp[i];
+ (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && (Xp[r++] = a);
}
- Zp.length = r, n.observe(e);
- }), im(e, t));
+ Xp.length = r, n.observe(e);
+ }), rm(e, t));
}
- function om(e, t) {
+ function am(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, Up(i.optionsOrUseCapture));
+ e.removeEventListener(i.type, i.attachedListener, Hp(i.optionsOrUseCapture));
}
e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {
- typeof n.rootMargin == "string" ? $p(t, n, e) : n.unobserve(e);
+ typeof n.rootMargin == "string" ? Qp(t, n, e) : n.unobserve(e);
}), e.reactFragments != null && e.reactFragments.delete(t));
}
- function sm(e) {
+ function om(e) {
var t = e.firstChild;
for (t && t.nodeType === 10 && (t = t.nextSibling); t;) {
var n = t;
@@ -8067,7 +8068,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
case "HTML":
case "HEAD":
case "BODY":
- sm(n), Mt(n);
+ om(n), jt(n);
continue;
case "SCRIPT":
case "STYLE": continue;
@@ -8076,7 +8077,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
e.removeChild(n);
}
}
- function cm(e, t, n, r) {
+ function sm(e, t, n, r) {
for (; e.nodeType === 1;) {
var i = n;
if (e.nodeName.toLowerCase() !== t.toLowerCase()) {
@@ -8086,7 +8087,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
var a = i.name == null ? null : "" + i.name;
if (i.type === "hidden" && e.getAttribute("name") === a) return e;
} else return e;
- } else if (!e[At]) switch (t) {
+ } else if (!e[kt]) switch (t) {
case "meta":
if (!e.hasAttribute("itemprop")) break;
return e;
@@ -8101,26 +8102,26 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
return e;
default: return e;
}
- if (e = mm(e.nextSibling), e === null) break;
+ if (e = pm(e.nextSibling), e === null) break;
}
return null;
}
- function lm(e, t, n) {
+ function cm(e, t, n) {
if (t === "") return null;
- for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = mm(e.nextSibling), e === null)) return null;
+ for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = pm(e.nextSibling), e === null)) return null;
return e;
}
- function um(e, t) {
- for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = mm(e.nextSibling), e === null)) return null;
+ function lm(e, t) {
+ for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = pm(e.nextSibling), e === null)) return null;
return e;
}
- function dm(e) {
+ function um(e) {
return e.data === "$?" || e.data === "$~";
}
- function fm(e) {
+ function dm(e) {
return e.data === "$!" || e.data === "$?" && e.ownerDocument.readyState !== "loading";
}
- function pm(e, t) {
+ function fm(e, t) {
var n = e.ownerDocument;
if (e.data === "$~") e._reactRetry = t;
else if (e.data !== "$?" || n.readyState !== "loading") t();
@@ -8131,7 +8132,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
n.addEventListener("DOMContentLoaded", r), e._reactRetry = r;
}
}
- function mm(e) {
+ function pm(e) {
for (; e != null; e = e.nextSibling) {
var t = e.nodeType;
if (t === 1 || t === 3) break;
@@ -8142,14 +8143,14 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return e;
}
- var hm = null;
- function gm(e) {
+ var mm = null;
+ function hm(e) {
e = e.nextSibling;
for (var t = 0; e;) {
if (e.nodeType === 8) {
var n = e.data;
if (n === "/$" || n === "/&") {
- if (t === 0) return mm(e.nextSibling);
+ if (t === 0) return pm(e.nextSibling);
t--;
} else n !== "$" && n !== "$!" && n !== "$?" && n !== "$~" && n !== "&" || t++;
}
@@ -8157,7 +8158,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return null;
}
- function _m(e) {
+ function gm(e) {
e = e.previousSibling;
for (var t = 0; e;) {
if (e.nodeType === 8) {
@@ -8171,7 +8172,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return null;
}
- function vm(e, t) {
+ function _m(e, t) {
function n() {
r = !0;
}
@@ -8184,15 +8185,15 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return r;
}
- function ym(e) {
- wp(function() {
- wp(function(t) {
+ function vm(e) {
+ Cp(function() {
+ Cp(function(t) {
return e(t);
});
});
}
- function bm(e, t, n) {
- switch (t = mp(n), e) {
+ function ym(e, t, n) {
+ switch (t = pp(n), e) {
case "html":
if (e = t.documentElement, !e) throw Error(i(452));
return e;
@@ -8205,122 +8206,122 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
default: throw Error(i(451));
}
}
- function xm(e, t, n) {
+ function bm(e, t, n) {
for (var r in n) {
var i = n[r];
- n.hasOwnProperty(r) && i != null && ap(e, t, r, null, cp, i);
+ n.hasOwnProperty(r) && i != null && ip(e, t, r, null, sp, i);
}
- n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === yn && (e.onclick = null), Mt(e);
+ n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === vn && (e.onclick = null), jt(e);
}
- function Sm(e) {
+ function xm(e) {
for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);
- Mt(e);
+ jt(e);
}
- var Cm = /* @__PURE__ */ new Map(), wm = /* @__PURE__ */ new Set();
- function Tm(e) {
+ var Sm = /* @__PURE__ */ new Map(), Cm = /* @__PURE__ */ new Set();
+ function wm(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 Em = fe.d;
+ var Tm = fe.d;
fe.d = {
- f: Dm,
- r: Om,
- D: jm,
- C: Mm,
- L: Nm,
- m: Pm,
- X: Im,
- S: Fm,
- M: Lm
- };
- function Dm() {
- var e = Em.f(), t = Vd();
+ f: Em,
+ r: Dm,
+ D: Am,
+ C: jm,
+ L: Mm,
+ m: Nm,
+ X: Fm,
+ S: Pm,
+ M: Im
+ };
+ function Em() {
+ var e = Tm.f(), t = Bd();
return e || t;
}
- function Om(e) {
- var t = Pt(e);
- t !== null && t.tag === 5 && t.type === "form" ? Zs(t) : Em.r(e);
+ function Dm(e) {
+ var t = Nt(e);
+ t !== null && t.tag === 5 && t.type === "form" ? Xs(t) : Tm.r(e);
}
- var km = typeof document > "u" ? null : document;
- function Am(e, t, n) {
- var r = km;
+ var Om = typeof document > "u" ? null : document;
+ function km(e, t, n) {
+ var r = Om;
if (r && typeof t == "string" && t) {
- var i = rn(t);
- i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), wm.has(i) || (wm.add(i), e = {
+ var i = nn(t);
+ i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), Cm.has(i) || (Cm.add(i), e = {
rel: e,
crossOrigin: n,
href: t
- }, r.querySelector(i) === null && (t = r.createElement("link"), sp(t, "link", e), Lt(t), r.head.appendChild(t)));
+ }, r.querySelector(i) === null && (t = r.createElement("link"), op(t, "link", e), It(t), r.head.appendChild(t)));
}
}
- function jm(e) {
- Em.D(e), Am("dns-prefetch", e, null);
+ function Am(e) {
+ Tm.D(e), km("dns-prefetch", e, null);
}
- function Mm(e, t) {
- Em.C(e, t), Am("preconnect", e, t);
+ function jm(e, t) {
+ Tm.C(e, t), km("preconnect", e, t);
}
- function Nm(e, t, n) {
- Em.L(e, t, n);
- var r = km;
+ function Mm(e, t, n) {
+ Tm.L(e, t, n);
+ var r = Om;
if (r && e && t) {
- var i = "link[rel=\"preload\"][as=\"" + rn(t) + "\"]";
- t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + rn(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + rn(n.imageSizes) + "\"]")) : i += "[href=\"" + rn(e) + "\"]";
+ var i = "link[rel=\"preload\"][as=\"" + nn(t) + "\"]";
+ t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + nn(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + nn(n.imageSizes) + "\"]")) : i += "[href=\"" + nn(e) + "\"]";
var a = i;
switch (t) {
case "style":
- a = zm(e);
+ a = Rm(e);
break;
- case "script": a = Um(e);
+ case "script": a = Hm(e);
}
- if (!(Cm.has(a) || (e = w({
+ if (!(Sm.has(a) || (e = w({
rel: "preload",
href: t === "image" && n && n.imageSrcSet ? void 0 : e,
as: t
- }, n), Cm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Bm(a)) || t === "script" && r.querySelector(Wm(a))))) {
+ }, n), Sm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(zm(a)) || t === "script" && r.querySelector(Um(a))))) {
var o = r.createElement("link");
- sp(o, "link", e), t === "style" && (o[jt] = !0, o.onload = o.onerror = function() {
- Rt(o);
- }), Lt(o), r.head.appendChild(o);
+ op(o, "link", e), t === "style" && (o[At] = !0, o.onload = o.onerror = function() {
+ Lt(o);
+ }), It(o), r.head.appendChild(o);
}
}
}
- function Pm(e, t) {
- Em.m(e, t);
- var n = km;
+ function Nm(e, t) {
+ Tm.m(e, t);
+ var n = Om;
if (n && e) {
- var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + rn(r) + "\"][href=\"" + rn(e) + "\"]", a = i;
+ var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + nn(r) + "\"][href=\"" + nn(e) + "\"]", a = i;
switch (r) {
case "audioworklet":
case "paintworklet":
case "serviceworker":
case "sharedworker":
case "worker":
- case "script": a = Um(e);
+ case "script": a = Hm(e);
}
- if (!Cm.has(a) && (e = w({
+ if (!Sm.has(a) && (e = w({
rel: "modulepreload",
href: e
- }, t), Cm.set(a, e), n.querySelector(i) === null)) {
+ }, t), Sm.set(a, e), n.querySelector(i) === null)) {
switch (r) {
case "audioworklet":
case "paintworklet":
case "serviceworker":
case "sharedworker":
case "worker":
- case "script": if (n.querySelector(Wm(a))) return;
+ case "script": if (n.querySelector(Um(a))) return;
}
- r = n.createElement("link"), sp(r, "link", e), Lt(r), n.head.appendChild(r);
+ r = n.createElement("link"), op(r, "link", e), It(r), n.head.appendChild(r);
}
}
}
- function Fm(e, t, n) {
- Em.S(e, t, n);
- var r = km;
+ function Pm(e, t, n) {
+ Tm.S(e, t, n);
+ var r = Om;
if (r && e) {
- var i = It(r).hoistableStyles, a = zm(e);
+ var i = Ft(r).hoistableStyles, a = Rm(e);
t ||= "default";
var o = i.get(a);
if (!o) {
@@ -8328,21 +8329,21 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
loading: 0,
preload: null
};
- if (o = r.querySelector(Bm(a))) s.loading = 5;
+ if (o = r.querySelector(zm(a))) s.loading = 5;
else {
e = w({
rel: "stylesheet",
href: e,
"data-precedence": t
- }, n), (n = Cm.get(a)) && qm(e, n);
+ }, n), (n = Sm.get(a)) && Km(e, n);
var c = o = r.createElement("link");
- Lt(c), sp(c, "link", e), c._p = new Promise(function(e, t) {
+ It(c), op(c, "link", e), c._p = new Promise(function(e, t) {
c.onload = e, c.onerror = t;
}), c.addEventListener("load", function() {
s.loading |= 1;
}), c.addEventListener("error", function() {
s.loading |= 2;
- }), s.loading |= 4, Km(o, t, r);
+ }), s.loading |= 4, Gm(o, t, r);
}
o = {
type: "stylesheet",
@@ -8353,15 +8354,15 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
}
}
- function Im(e, t) {
- Em.X(e, t);
- var n = km;
+ function Fm(e, t) {
+ Tm.X(e, t);
+ var n = Om;
if (n && e) {
- var r = It(n).hoistableScripts, i = Um(e), a = r.get(i);
- a || (a = n.querySelector(Wm(i)), a || (e = w({
+ var r = Ft(n).hoistableScripts, i = Hm(e), a = r.get(i);
+ a || (a = n.querySelector(Um(i)), a || (e = w({
src: e,
async: !0
- }, t), (t = Cm.get(i)) && Jm(e, t), a = n.createElement("script"), Lt(a), sp(a, "link", e), n.head.appendChild(a)), a = {
+ }, t), (t = Sm.get(i)) && qm(e, t), a = n.createElement("script"), It(a), op(a, "link", e), n.head.appendChild(a)), a = {
type: "script",
instance: a,
count: 1,
@@ -8369,16 +8370,16 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}, r.set(i, a));
}
}
- function Lm(e, t) {
- Em.M(e, t);
- var n = km;
+ function Im(e, t) {
+ Tm.M(e, t);
+ var n = Om;
if (n && e) {
- var r = It(n).hoistableScripts, i = Um(e), a = r.get(i);
- a || (a = n.querySelector(Wm(i)), a || (e = w({
+ var r = Ft(n).hoistableScripts, i = Hm(e), a = r.get(i);
+ a || (a = n.querySelector(Um(i)), a || (e = w({
src: e,
async: !0,
type: "module"
- }, t), (t = Cm.get(i)) && Jm(e, t), a = n.createElement("script"), Lt(a), sp(a, "link", e), n.head.appendChild(a)), a = {
+ }, t), (t = Sm.get(i)) && qm(e, t), a = n.createElement("script"), It(a), op(a, "link", e), n.head.appendChild(a)), a = {
type: "script",
instance: a,
count: 1,
@@ -8386,13 +8387,13 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}, r.set(i, a));
}
}
- function Rm(e, t, n, r) {
- var a = (a = xe.current) ? Tm(a) : null;
+ function Lm(e, t, n, r) {
+ var a = (a = xe.current) ? wm(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 = zm(n.href), t = It(a).hoistableStyles, r = t.get(n), r || (r = {
+ case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Rm(n.href), t = Ft(a).hoistableStyles, r = t.get(n), r || (r = {
type: "style",
instance: null,
count: 0,
@@ -8405,8 +8406,8 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
};
case "link":
if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {
- e = zm(n.href);
- var o = It(a).hoistableStyles, s = o.get(e);
+ e = Rm(n.href);
+ var o = Ft(a).hoistableStyles, s = o.get(e);
if (s || (a = a.ownerDocument || a, s = {
type: "stylesheet",
instance: null,
@@ -8415,7 +8416,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
loading: 0,
preload: null
}
- }, o.set(e, s), (o = a.querySelector(Bm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Cm.get(e), o || (o = {
+ }, o.set(e, s), (o = a.querySelector(zm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Sm.get(e), o || (o = {
rel: "preload",
as: "style",
href: n.href,
@@ -8424,12 +8425,12 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
media: n.media,
hrefLang: n.hrefLang,
referrerPolicy: n.referrerPolicy
- }, Cm.set(e, o)), Hm(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));
+ }, Sm.set(e, o)), Vm(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 = Um(n), t = It(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 = Hm(n), t = Ft(a).hoistableScripts, r = t.get(n), r || (r = {
type: "script",
instance: null,
count: 0,
@@ -8443,66 +8444,66 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
default: throw Error(i(444, e));
}
}
- function zm(e) {
- return "href=\"" + rn(e) + "\"";
+ function Rm(e) {
+ return "href=\"" + nn(e) + "\"";
}
- function Bm(e) {
+ function zm(e) {
return "link[rel=\"stylesheet\"][" + e + "]";
}
- function Vm(e) {
+ function Bm(e) {
return w({}, e, {
"data-precedence": e.precedence,
precedence: null
});
}
- function Hm(e, t, n, r) {
+ function Vm(e, t, n, r) {
if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {
- if (!0 !== t[jt]) {
+ if (!0 !== t[At]) {
r.loading = 1;
return;
}
- } else t = e.createElement("link"), t[jt] = !0, t.onload = t.onerror = Rt.bind(null, t), sp(t, "link", n), Lt(t), e.head.appendChild(t);
+ } else t = e.createElement("link"), t[At] = !0, t.onload = t.onerror = Lt.bind(null, t), op(t, "link", n), It(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 Um(e) {
- return "[src=\"" + rn(e) + "\"]";
+ function Hm(e) {
+ return "[src=\"" + nn(e) + "\"]";
}
- function Wm(e) {
+ function Um(e) {
return "script[async]" + e;
}
- function Gm(e, t, n) {
+ function Wm(e, t, n) {
if (t.count++, t.instance === null) switch (t.type) {
case "style":
- var r = e.querySelector("style[data-href~=\"" + rn(n.href) + "\"]");
- if (r) return t.instance = r, Lt(r), r;
+ var r = e.querySelector("style[data-href~=\"" + nn(n.href) + "\"]");
+ if (r) return t.instance = r, It(r), r;
var a = w({}, n, {
"data-href": n.href,
"data-precedence": n.precedence,
href: null,
precedence: null
});
- return r = (e.ownerDocument || e).createElement("style"), Lt(r), sp(r, "style", a), Km(r, n.precedence, e), t.instance = r;
+ return r = (e.ownerDocument || e).createElement("style"), It(r), op(r, "style", a), Gm(r, n.precedence, e), t.instance = r;
case "stylesheet":
- a = zm(n.href);
- var o = e.querySelector(Bm(a));
- if (o) return t.state.loading |= 4, t.instance = o, Lt(o), o;
- r = Vm(n), (a = Cm.get(a)) && qm(r, a), o = (e.ownerDocument || e).createElement("link"), Lt(o);
+ a = Rm(n.href);
+ var o = e.querySelector(zm(a));
+ if (o) return t.state.loading |= 4, t.instance = o, It(o), o;
+ r = Bm(n), (a = Sm.get(a)) && Km(r, a), o = (e.ownerDocument || e).createElement("link"), It(o);
var s = o;
return s._p = new Promise(function(e, t) {
s.onload = e, s.onerror = t;
- }), sp(o, "link", r), t.state.loading |= 4, Km(o, n.precedence, e), t.instance = o;
- case "script": return o = Um(n.src), (a = e.querySelector(Wm(o))) ? (t.instance = a, Lt(a), a) : (r = n, (a = Cm.get(o)) && (r = w({}, n), Jm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Lt(a), sp(a, "link", r), e.head.appendChild(a), t.instance = a);
+ }), op(o, "link", r), t.state.loading |= 4, Gm(o, n.precedence, e), t.instance = o;
+ case "script": return o = Hm(n.src), (a = e.querySelector(Um(o))) ? (t.instance = a, It(a), a) : (r = n, (a = Sm.get(o)) && (r = w({}, n), qm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), It(a), op(a, "link", r), e.head.appendChild(a), t.instance = a);
case "void": return null;
default: throw Error(i(443, t.type));
}
- else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Km(r, n.precedence, e));
+ else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Gm(r, n.precedence, e));
return t.instance;
}
- function Km(e, t, n) {
+ function Gm(e, t, n) {
for (var r = n.querySelectorAll("link[rel=\"stylesheet\"][data-precedence],style[data-precedence]"), i = r.length ? r[r.length - 1] : null, a = i, o = 0; o < r.length; o++) {
var s = r[o];
if (s.dataset.precedence === t) a = s;
@@ -8510,22 +8511,22 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
a ? a.parentNode.insertBefore(e, a.nextSibling) : (t = n.nodeType === 9 ? n.head : n, t.insertBefore(e, t.firstChild));
}
- function qm(e, t) {
+ function Km(e, t) {
e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.title ??= t.title;
}
- function Jm(e, t) {
+ function qm(e, t) {
e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.integrity ??= t.integrity;
}
- var Ym = null;
- function Xm(e, t, n) {
- if (Ym === null) {
- var r = /* @__PURE__ */ new Map(), i = Ym = /* @__PURE__ */ new Map();
+ var Jm = null;
+ function Ym(e, t, n) {
+ if (Jm === null) {
+ var r = /* @__PURE__ */ new Map(), i = Jm = /* @__PURE__ */ new Map();
i.set(n, r);
- } else i = Ym, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));
+ } else i = Jm, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));
if (r.has(e)) return r;
for (r.set(e, null), n = n.getElementsByTagName(e), i = 0; i < n.length; i++) {
var a = n[i];
- if (!(a[At] || a[Ct] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {
+ if (!(a[kt] || 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);
@@ -8534,10 +8535,10 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return r;
}
- function Zm(e, t, n) {
+ function Xm(e, t, n) {
e = e.ownerDocument || e, e.head.insertBefore(n, t === "title" ? e.querySelector("head > title") : null);
}
- function Qm(e, t, n) {
+ function Zm(e, t, n) {
if (n === 1 || t.itemProp != null) return !1;
switch (e) {
case "meta":
@@ -8555,91 +8556,91 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
return !1;
}
- function $m(e, t) {
+ function Qm(e, t) {
return e === "img" && t.src != null && t.src !== "" && t.onLoad == null && t.loading !== "lazy";
}
- function eh(e) {
+ function $m(e) {
return !(e.type === "stylesheet" && !(e.state.loading & 3));
}
- function th(e) {
+ function eh(e) {
return (e.width || 100) * (e.height || 100) * (typeof devicePixelRatio == "number" ? devicePixelRatio : 1) * .25;
}
- function nh(e, t) {
- typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += th(t), e.suspenseyImages.push(t)), e = ch.bind(e), t.decode().then(e, e));
+ function th(e, t) {
+ typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += eh(t), e.suspenseyImages.push(t)), e = sh.bind(e), t.decode().then(e, e));
}
- function rh(e, t, n, r) {
+ function nh(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 = zm(r.href), a = t.querySelector(Bm(i));
+ var i = Rm(r.href), a = t.querySelector(zm(i));
if (a) {
- t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = sh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Lt(a);
+ t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = oh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, It(a);
return;
}
- a = t.ownerDocument || t, r = Vm(r), (i = Cm.get(i)) && qm(r, i), a = a.createElement("link"), Lt(a);
+ a = t.ownerDocument || t, r = Bm(r), (i = Sm.get(i)) && Km(r, i), a = a.createElement("link"), It(a);
var o = a;
o._p = new Promise(function(e, t) {
o.onload = e, o.onerror = t;
- }), sp(a, "link", r), n.instance = a;
+ }), op(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 = sh.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));
+ e.stylesheets === null && (e.stylesheets = /* @__PURE__ */ new Map()), e.stylesheets.set(n, t), (t = n.state.preload) && !(n.state.loading & 3) && (e.count++, n = oh.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));
}
}
- var ih = 0;
- function ah(e, t) {
- return e.stylesheets && e.count === 0 && uh(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {
+ var rh = 0;
+ function ih(e, t) {
+ return e.stylesheets && e.count === 0 && lh(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {
var r = setTimeout(function() {
- if (e.stylesheets && uh(e, e.stylesheets), e.unsuspend) {
+ if (e.stylesheets && lh(e, e.stylesheets), e.unsuspend) {
var t = e.unsuspend;
e.unsuspend = null, t();
}
}, 6e4 + t);
- 0 < e.imgBytes && ih === 0 && (ih = 62500 * dp());
+ 0 < e.imgBytes && rh === 0 && (rh = 62500 * up());
var i = setTimeout(function() {
- if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && uh(e, e.stylesheets), e.unsuspend)) {
+ if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && lh(e, e.stylesheets), e.unsuspend)) {
var t = e.unsuspend;
e.unsuspend = null, t();
}
- }, (e.imgBytes > ih ? 50 : 800) + t);
+ }, (e.imgBytes > rh ? 50 : 800) + t);
return e.unsuspend = n, function() {
e.unsuspend = null, clearTimeout(r), clearTimeout(i);
};
} : null;
}
- function oh(e) {
+ function ah(e) {
if (e.count === 0 && (e.imgCount === 0 || !e.waitingForImages)) {
- if (e.stylesheets) uh(e, e.stylesheets);
+ if (e.stylesheets) lh(e, e.stylesheets);
else if (e.unsuspend) {
var t = e.unsuspend;
e.unsuspend = null, t();
}
}
}
+ function oh() {
+ this.count--, ah(this);
+ }
function sh() {
- this.count--, oh(this);
+ this.imgCount--, ah(this);
}
- function ch() {
- this.imgCount--, oh(this);
+ var ch = null;
+ function lh(e, t) {
+ e.stylesheets = null, e.unsuspend !== null && (e.count++, ch = /* @__PURE__ */ new Map(), t.forEach(uh, e), ch = null, oh.call(e));
}
- var lh = null;
function uh(e, t) {
- e.stylesheets = null, e.unsuspend !== null && (e.count++, lh = /* @__PURE__ */ new Map(), t.forEach(dh, e), lh = null, sh.call(e));
- }
- function dh(e, t) {
if (!(t.state.loading & 4)) {
- var n = lh.get(e);
+ var n = ch.get(e);
if (n) var r = n.get(null);
else {
- n = /* @__PURE__ */ new Map(), lh.set(e, n);
+ n = /* @__PURE__ */ new Map(), ch.set(e, n);
for (var i = e.querySelectorAll("link[data-precedence],style[data-precedence]"), a = 0; a < i.length; a++) {
var o = i[a];
(o.nodeName === "LINK" || o.getAttribute("media") !== "not all") && (n.set(o.dataset.precedence, o), r = o);
}
r && n.set(null, r);
}
- i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = sh.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;
+ i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = oh.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;
}
}
- var fh = {
+ var dh = {
$$typeof: M,
Provider: null,
Consumer: null,
@@ -8647,74 +8648,74 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
_currentValue2: pe,
_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 = ft(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = ft(0), this.hiddenUpdates = ft(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 fh(e, t, n, r, i, a, o, s, c) {
+ this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = dt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = dt(0), this.hiddenUpdates = dt(null), this.identifierPrefix = r, this.onUncaughtError = i, this.onCaughtError = a, this.onRecoverableError = o, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = c, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();
}
- function 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 = ji(3, null, null, t), e.current = a, a.stateNode = e, t = Ea(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {
+ function ph(e, t, n, r, i, a, o, s, c, l, u, d) {
+ return e = new fh(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = ji(3, null, null, t), e.current = a, a.stateNode = e, t = Ea(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {
element: r,
isDehydrated: n,
cache: t
- }, so(a), e;
+ }, oo(a), e;
}
- function hh(e) {
+ function mh(e) {
return e ? (e = ki, e) : ki;
}
- function gh(e, t, n, r, i, a) {
- i = hh(i), r.context === null ? r.context = i : r.pendingContext = i, r = lo(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = uo(e, r, t), n !== null && (Id(n, e, t), fo(n, e, t));
+ function hh(e, t, n, r, i, a) {
+ i = mh(i), r.context === null ? r.context = i : r.pendingContext = i, r = co(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = lo(e, r, t), n !== null && (Fd(n, e, t), uo(n, e, t));
}
- function _h(e, t) {
+ function gh(e, t) {
if (e = e.memoizedState, e !== null && e.dehydrated !== null) {
var n = e.retryLane;
e.retryLane = n !== 0 && n < t ? n : t;
}
}
- function vh(e, t) {
- _h(e, t), (e = e.alternate) && _h(e, t);
+ function _h(e, t) {
+ gh(e, t), (e = e.alternate) && gh(e, t);
}
- function yh(e) {
+ function vh(e) {
if (e.tag === 13 || e.tag === 31) {
- var t = Di(e, 67108864);
- t !== null && Id(t, e, 67108864), vh(e, 67108864);
+ var t = Ei(e, 67108864);
+ t !== null && Fd(t, e, 67108864), _h(e, 67108864);
}
}
- function bh(e) {
+ function yh(e) {
if (e.tag === 13 || e.tag === 31) {
- var t = Nd();
- t = vt(t);
- var n = Di(e, t);
- n !== null && Id(n, e, t), vh(e, t);
+ var t = Md();
+ t = _t(t);
+ var n = Ei(e, t);
+ n !== null && Fd(n, e, t), _h(e, t);
}
}
- var xh = !0;
- function Sh(e, t, n, r) {
+ var bh = !0;
+ function xh(e, t, n, r) {
var i = I.T;
I.T = null;
var a = fe.p;
try {
- fe.p = 2, wh(e, t, n, r);
+ fe.p = 2, Ch(e, t, n, r);
} finally {
fe.p = a, I.T = i;
}
}
- function Ch(e, t, n, r) {
+ function Sh(e, t, n, r) {
var i = I.T;
I.T = null;
var a = fe.p;
try {
- fe.p = 8, wh(e, t, n, r);
+ fe.p = 8, Ch(e, t, n, r);
} finally {
fe.p = a, I.T = i;
}
}
- function wh(e, t, n, r) {
- if (xh) {
- var i = Th(r);
- if (i === null) Xf(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)) {
+ function Ch(e, t, n, r) {
+ if (bh) {
+ var i = wh(r);
+ if (i === null) Yf(e, t, r, Th, n), Ih(e, r);
+ else if (Rh(i, e, t, n, r)) r.stopPropagation();
+ else if (Ih(e, r), t & 4 && -1 < Fh.indexOf(e)) {
for (; i !== null;) {
- var a = Pt(i);
+ var a = Nt(i);
if (a !== null) switch (a.tag) {
case 3:
if (a = a.stateNode, a.current.memoizedState.isDehydrated) {
@@ -8722,29 +8723,29 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
if (o !== 0) {
var s = a;
for (s.pendingLanes |= 2, s.entangledLanes |= 2; o;) {
- var c = 1 << 31 - Qe(o);
+ var c = 1 << 31 - Ze(o);
s.entanglements[1] |= c, o &= ~c;
}
- kf(a), !(Zu & 6) && (vd = ze() + 500, Af(0, !1));
+ Of(a), !(Xu & 6) && (_d = ze() + 500, kf(0, !1));
}
}
break;
case 31:
- case 13: s = Di(a, 2), s !== null && Id(s, a, 2), Vd(), vh(a, 2);
+ case 13: s = Ei(a, 2), s !== null && Fd(s, a, 2), Bd(), _h(a, 2);
}
- if (a = Th(r), a === null && Xf(e, t, r, Eh, n), a === i) break;
+ if (a = wh(r), a === null && Yf(e, t, r, Th, n), a === i) break;
i = a;
}
i !== null && r.stopPropagation();
- } else Xf(e, t, r, null, n);
+ } else Yf(e, t, r, null, n);
}
}
- function Th(e) {
- return e = xn(e), Dh(e);
+ function wh(e) {
+ return e = bn(e), Eh(e);
}
- var Eh = null;
- function Dh(e) {
- if (Eh = null, e = Nt(e), e !== null) {
+ var Th = null;
+ function Eh(e) {
+ if (Th = null, e = Mt(e), e !== null) {
var t = o(e);
if (t === null) e = null;
else {
@@ -8761,9 +8762,9 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
} else t !== e && (e = null);
}
}
- return Eh = e, null;
+ return Th = e, null;
}
- function Oh(e) {
+ function Dh(e) {
switch (e) {
case "beforetoggle":
case "cancel":
@@ -8848,66 +8849,66 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
default: return 32;
}
}
- var kh = !1, Ah = null, jh = null, Mh = null, Nh = /* @__PURE__ */ new Map(), Ph = /* @__PURE__ */ new Map(), Fh = [], Ih = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");
- function Lh(e, t) {
+ var Oh = !1, kh = null, Ah = null, jh = null, Mh = /* @__PURE__ */ new Map(), Nh = /* @__PURE__ */ new Map(), Ph = [], Fh = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");
+ function Ih(e, t) {
switch (e) {
case "focusin":
case "focusout":
- Ah = null;
+ kh = null;
break;
case "dragenter":
case "dragleave":
- jh = null;
+ Ah = null;
break;
case "mouseover":
case "mouseout":
- Mh = null;
+ jh = null;
break;
case "pointerover":
case "pointerout":
- Nh.delete(t.pointerId);
+ Mh.delete(t.pointerId);
break;
case "gotpointercapture":
- case "lostpointercapture": Ph.delete(t.pointerId);
+ case "lostpointercapture": Nh.delete(t.pointerId);
}
}
- function Rh(e, t, n, r, i, a) {
+ function Lh(e, t, n, r, i, a) {
return e === null || e.nativeEvent !== a ? (e = {
blockedOn: t,
domEventName: n,
eventSystemFlags: r,
nativeEvent: a,
targetContainers: [i]
- }, t !== null && (t = Pt(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 = Nt(t), t !== null && vh(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) {
+ function Rh(e, t, n, r, i) {
switch (t) {
- case "focusin": return Ah = Rh(Ah, e, t, n, r, i), !0;
- case "dragenter": return jh = Rh(jh, e, t, n, r, i), !0;
- case "mouseover": return Mh = Rh(Mh, e, t, n, r, i), !0;
+ case "focusin": return kh = Lh(kh, e, t, n, r, i), !0;
+ case "dragenter": return Ah = Lh(Ah, e, t, n, r, i), !0;
+ case "mouseover": return jh = Lh(jh, e, t, n, r, i), !0;
case "pointerover":
var a = i.pointerId;
- return Nh.set(a, Rh(Nh.get(a) || null, e, t, n, r, i)), !0;
- case "gotpointercapture": return a = i.pointerId, Ph.set(a, Rh(Ph.get(a) || null, e, t, n, r, i)), !0;
+ return Mh.set(a, Lh(Mh.get(a) || null, e, t, n, r, i)), !0;
+ case "gotpointercapture": return a = i.pointerId, Nh.set(a, Lh(Nh.get(a) || null, e, t, n, r, i)), !0;
}
return !1;
}
- function Bh(e) {
- var t = Nt(e.target);
+ function zh(e) {
+ var t = Mt(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, xt(e.priority, function() {
- bh(n);
+ e.blockedOn = t, bt(e.priority, function() {
+ yh(n);
});
return;
}
} else if (t === 31) {
if (t = c(n), t !== null) {
- e.blockedOn = t, xt(e.priority, function() {
- bh(n);
+ e.blockedOn = t, bt(e.priority, function() {
+ yh(n);
});
return;
}
@@ -8919,40 +8920,40 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
e.blockedOn = null;
}
- function Vh(e) {
+ function Bh(e) {
if (e.blockedOn !== null) return !1;
for (var t = e.targetContainers; 0 < t.length;) {
- var n = Th(e.nativeEvent);
+ var n = wh(e.nativeEvent);
if (n === null) {
n = e.nativeEvent;
var r = new n.constructor(n.type, n);
- bn = r, n.target.dispatchEvent(r), bn = null;
- } else return t = Pt(n), t !== null && yh(t), e.blockedOn = n, !1;
+ yn = r, n.target.dispatchEvent(r), yn = null;
+ } else return t = Nt(n), t !== null && vh(t), e.blockedOn = n, !1;
t.shift();
}
return !0;
}
- function Hh(e, t, n) {
- Vh(e) && n.delete(t);
+ function Vh(e, t, n) {
+ Bh(e) && n.delete(t);
}
- function Uh() {
- kh = !1, Ah !== null && Vh(Ah) && (Ah = null), jh !== null && Vh(jh) && (jh = null), Mh !== null && Vh(Mh) && (Mh = null), Nh.forEach(Hh), Ph.forEach(Hh);
+ function Hh() {
+ Oh = !1, kh !== null && Bh(kh) && (kh = null), Ah !== null && Bh(Ah) && (Ah = null), jh !== null && Bh(jh) && (jh = null), Mh.forEach(Vh), Nh.forEach(Vh);
}
- function Wh(e, n) {
- e.blockedOn === n && (e.blockedOn = null, kh || (kh = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Uh)));
+ function Uh(e, n) {
+ e.blockedOn === n && (e.blockedOn = null, Oh || (Oh = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Hh)));
}
- var Gh = null;
- function Kh(e) {
- Gh !== e && (Gh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {
- Gh === e && (Gh = null);
+ var Wh = null;
+ function Gh(e) {
+ Wh !== e && (Wh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {
+ Wh === e && (Wh = null);
for (var t = 0; t < e.length; t += 3) {
var n = e[t], r = e[t + 1], i = e[t + 2];
if (typeof r != "function") {
- if (Dh(r || n) === null) continue;
+ if (Eh(r || n) === null) continue;
break;
}
- var a = Pt(n);
- a !== null && (e.splice(t, 3), t -= 3, Ys(a, {
+ var a = Nt(n);
+ a !== null && (e.splice(t, 3), t -= 3, Js(a, {
pending: !0,
data: i,
method: n.method,
@@ -8961,30 +8962,30 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
}
}));
}
- function qh(e) {
+ function Kh(e) {
function t(t) {
- return Wh(t, e);
+ return Uh(t, e);
}
- Ah !== null && Wh(Ah, e), jh !== null && Wh(jh, e), Mh !== null && Wh(Mh, e), Nh.forEach(t), Ph.forEach(t);
- for (var n = 0; n < Fh.length; n++) {
- var r = Fh[n];
+ kh !== null && Uh(kh, e), Ah !== null && Uh(Ah, e), jh !== null && Uh(jh, e), Mh.forEach(t), Nh.forEach(t);
+ for (var n = 0; n < Ph.length; n++) {
+ var r = Ph[n];
r.blockedOn === e && (r.blockedOn = null);
}
- for (; 0 < Fh.length && (n = Fh[0], n.blockedOn === null);) Bh(n), n.blockedOn === null && Fh.shift();
+ for (; 0 < Ph.length && (n = Ph[0], n.blockedOn === null);) zh(n), n.blockedOn === null && Ph.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[wt] || null;
- if (typeof a == "function") o || Kh(n);
+ var i = n[r], a = n[r + 1], o = i[Ct] || null;
+ if (typeof a == "function") o || Gh(n);
else if (o) {
var s = null;
if (a && a.hasAttribute("formAction")) {
- if (i = a, o = a[wt] || null) s = o.formAction;
- else if (Dh(i) !== null) continue;
+ if (i = a, o = a[Ct] || null) s = o.formAction;
+ else if (Eh(i) !== null) continue;
} else s = o.action;
- typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Kh(n);
+ typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Gh(n);
}
}
}
- function Jh() {
+ function qh() {
function e(e) {
e.canIntercept && e.info === "react-transition" && e.intercept({
handler: function() {
@@ -9016,45 +9017,45 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
};
}
}
- function Yh(e) {
+ function Jh(e) {
this._internalRoot = e;
}
- Xh.prototype.render = Yh.prototype.render = function(e) {
+ Yh.prototype.render = Jh.prototype.render = function(e) {
var t = this._internalRoot;
if (t === null) throw Error(i(409));
var n = t.current;
- gh(n, Nd(), e, t, null, null);
- }, Xh.prototype.unmount = Yh.prototype.unmount = function() {
+ hh(n, Md(), 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), Vd(), t[Tt] = null;
+ hh(e.current, 2, null, e, null, null), Bd(), t[wt] = null;
}
};
- function Xh(e) {
+ function Yh(e) {
this._internalRoot = e;
}
- Xh.prototype.unstable_scheduleHydration = function(e) {
+ Yh.prototype.unstable_scheduleHydration = function(e) {
if (e) {
- var t = bt();
+ var t = yt();
e = {
blockedOn: null,
target: e,
priority: t
};
- for (var n = 0; n < Fh.length && t !== 0 && t < Fh[n].priority; n++);
- Fh.splice(n, 0, e), n === 0 && Bh(e);
+ for (var n = 0; n < Ph.length && t !== 0 && t < Ph[n].priority; n++);
+ Ph.splice(n, 0, e), n === 0 && zh(e);
}
};
- var Zh = n.version;
- if (Zh !== "19.3.0") throw Error(i(527, Zh, "19.3.0"));
+ var Xh = n.version;
+ if (Xh !== "19.3.0") throw Error(i(527, Xh, "19.3.0"));
fe.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;
};
- var Qh = {
+ var Zh = {
bundleType: 0,
version: "19.3.0",
rendererPackageName: "react-dom",
@@ -9062,17 +9063,17 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
reconcilerVersion: "19.3.0"
};
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
- var $h = __REACT_DEVTOOLS_GLOBAL_HOOK__;
- if (!$h.isDisabled && $h.supportsFiber) try {
- Je = $h.inject(Qh), Ye = $h;
+ var Qh = __REACT_DEVTOOLS_GLOBAL_HOOK__;
+ if (!Qh.isDisabled && Qh.supportsFiber) try {
+ Je = Qh.inject(Zh), Ye = Qh;
} catch {}
}
e.createRoot = function(e, t) {
if (!a(e)) throw Error(i(299));
- var n = !1, r = "", o = vc, s = yc, c = bc;
- return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = mh(e, 1, !1, null, null, n, r, null, o, s, c, Jh), e[Tt] = t.current, Jf(e), new Yh(t);
+ var n = !1, r = "", o = _c, s = vc, c = yc;
+ 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 = ph(e, 1, !1, null, null, n, r, null, o, s, c, qh), e[wt] = t.current, qf(e), new Jh(t);
};
-})), rt = /* @__PURE__ */ Ge(((e, t) => {
+})), st = /* @__PURE__ */ Xe(((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);
@@ -9080,8 +9081,8 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
console.error(e);
}
}
- n(), t.exports = nt();
-})), it = /* @__PURE__ */ Je(tt(), 1), at = rt(), L = /* @__PURE__ */ Je($e(), 1), ot = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+ n(), t.exports = ot();
+})), ct = /* @__PURE__ */ $e(at(), 1), lt = st(), L = /* @__PURE__ */ $e(rt(), 1), ut = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9089,7 +9090,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), st = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), dt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9097,7 +9098,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), ct = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), ft = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9105,7 +9106,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), lt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), pt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9113,7 +9114,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), ut = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), mt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9121,7 +9122,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), dt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), ht = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9129,7 +9130,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), ft = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), gt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9137,7 +9138,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), pt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), _t = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9145,7 +9146,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), mt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), vt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9153,7 +9154,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), ht = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), yt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9161,7 +9162,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), gt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), bt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9169,7 +9170,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), _t = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), xt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9177,7 +9178,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), vt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), St = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9185,7 +9186,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), yt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Ct = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9193,7 +9194,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), bt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), wt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9201,7 +9202,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), xt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Tt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9209,7 +9210,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), St = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Et = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9217,7 +9218,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Ct = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Dt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9225,7 +9226,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), wt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Ot = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9233,7 +9234,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), Tt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), kt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9241,7 +9242,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), Et = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), At = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9249,7 +9250,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), Dt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), jt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9257,7 +9258,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), Ot = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Mt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9265,7 +9266,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), kt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Nt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9273,7 +9274,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), At = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Pt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9281,7 +9282,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), jt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Ft = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9289,7 +9290,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), Mt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), It = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9297,7 +9298,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), Nt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Lt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9305,7 +9306,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), Pt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Rt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9313,7 +9314,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), Ft = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), zt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9321,7 +9322,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), It = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Bt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9329,7 +9330,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), Lt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), Vt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9337,7 +9338,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), Rt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Ht = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9345,7 +9346,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), zt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Ut = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9353,7 +9354,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), Bt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Wt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9361,7 +9362,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Vt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Gt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9369,7 +9370,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), Ht = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), Kt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9377,7 +9378,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), Ut = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
+}, L.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" })), qt = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => L.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -9385,7 +9386,7 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
fill: e,
...r,
className: "remixicon " + (n || "")
-}, L.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" })), Wt = /* @__PURE__ */ Ge(((e) => {
+}, L.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" })), Jt = /* @__PURE__ */ Xe(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
function r(e, n, r) {
var i = null;
@@ -9400,25 +9401,25 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
};
}
e.Fragment = n, e.jsx = r, e.jsxs = r;
-})), R = (/* @__PURE__ */ Ge(((e, t) => {
- t.exports = Wt();
-})))(), Gt = L.createContext(void 0), Kt = (e) => {
- let t = L.useContext(Gt);
+})), R = (/* @__PURE__ */ Xe(((e, t) => {
+ t.exports = Jt();
+})))(), Yt = L.createContext(void 0), Xt = (e) => {
+ let t = L.useContext(Yt);
if (e) return e;
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
return t;
-}, qt = ({ client: e, children: t }) => (L.useEffect(() => (e.mount(), () => {
+}, Zt = ({ client: e, children: t }) => (L.useEffect(() => (e.mount(), () => {
e.unmount();
-}), [e]), /* @__PURE__ */ (0, R.jsx)(Gt.Provider, {
+}), [e]), /* @__PURE__ */ (0, R.jsx)(Yt.Provider, {
value: e,
children: t
-})), Jt = {
+})), Qt = {
setTimeout: (e, t) => setTimeout(e, t),
clearTimeout: (e) => clearTimeout(e),
setInterval: (e, t) => setInterval(e, t),
clearInterval: (e) => clearInterval(e)
-}, Yt = new class {
- #e = Jt;
+}, $t = new class {
+ #e = Qt;
setTimeoutProvider(e) {
this.#e = e;
}
@@ -9435,31 +9436,31 @@ var Re = Object.create, ze = Object.defineProperty, Be = Object.getOwnPropertyDe
this.#e.clearInterval(e);
}
}();
-function Xt(e) {
+function en(e) {
setTimeout(e, 0);
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/utils.js
-var Zt = typeof window > "u" || "Deno" in globalThis;
-function Qt() {}
-function $t(e, t) {
+var tn = typeof window > "u" || "Deno" in globalThis;
+function nn() {}
+function rn(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function en(e) {
+function an(e) {
return typeof e == "number" && e >= 0 && e !== Infinity;
}
-function tn(e, t) {
+function on(e, t) {
return Math.max(e + (t || 0) - Date.now(), 0);
}
-function nn(e, t) {
+function sn(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function rn(e, t) {
+function cn(e, t) {
let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
if (o) {
if (r) {
- if (t.queryHash !== on(o, t.options)) return !1;
- } else if (!cn(t.queryKey, o)) return !1;
+ if (t.queryHash !== un(o, t.options)) return !1;
+ } else if (!fn(t.queryKey, o)) return !1;
}
if (n !== "all") {
let e = t.isActive();
@@ -9467,105 +9468,105 @@ function rn(e, t) {
}
return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
}
-function an(e, t) {
+function ln(e, t) {
let { exact: n, status: r, predicate: i, mutationKey: a } = e;
if (a) {
if (!t.options.mutationKey) return !1;
if (n) {
- if (sn(t.options.mutationKey) !== sn(a)) return !1;
- } else if (!cn(t.options.mutationKey, a)) return !1;
+ if (dn(t.options.mutationKey) !== dn(a)) return !1;
+ } else if (!fn(t.options.mutationKey, a)) return !1;
}
return !(r && t.state.status !== r || i && !i(t));
}
-function on(e, t) {
- return (t?.queryKeyHashFn || sn)(e);
+function un(e, t) {
+ return (t?.queryKeyHashFn || dn)(e);
}
-function sn(e) {
- return JSON.stringify(e, (e, t) => pn(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
+function dn(e) {
+ return JSON.stringify(e, (e, t) => _n(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
}
-function cn(e, t) {
+function fn(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 (!cn(e[n], t[n])) return !1;
+ for (let n = 0; n < t.length; n++) if (!fn(e[n], t[n])) return !1;
return !0;
}
let n = Object.keys(t);
- for (let r of n) if (!cn(e[r], t[r])) return !1;
+ for (let r of n) if (!fn(e[r], t[r])) return !1;
return !0;
}
return !1;
}
-var ln = Object.prototype.hasOwnProperty;
-function un(e, t, n = 0) {
+var pn = Object.prototype.hasOwnProperty;
+function mn(e, t, n = 0) {
if (e === t) return e;
if (n > 500) return t;
- let r = fn(e) && fn(t);
- if (!r && !(pn(e) && pn(t))) return t;
+ let r = gn(e) && gn(t);
+ if (!r && !(_n(e) && _n(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 : ln.call(e, o)) && c++;
+ s[o] = u, (r ? l < i : pn.call(e, o)) && c++;
continue;
}
if (u === null || d === null || typeof u != "object" || typeof d != "object") {
s[o] = d;
continue;
}
- let f = un(u, d, n + 1);
+ let f = mn(u, d, n + 1);
s[o] = f, f === u && c++;
}
return i === o && c === i ? e : s;
}
-function dn(e, t) {
+function hn(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 fn(e) {
+function gn(e) {
return Array.isArray(e) && e.length === Object.keys(e).length;
}
-function pn(e) {
- if (!mn(e)) return !1;
+function _n(e) {
+ if (!vn(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 !(!mn(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);
+ return !(!vn(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);
}
-function mn(e) {
+function vn(e) {
return Object.prototype.toString.call(e) === "[object Object]";
}
-function hn(e) {
+function yn(e) {
return new Promise((t) => {
- Yt.setTimeout(t, e);
+ $t.setTimeout(t, e);
});
}
-function gn(e, t, n) {
- return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : un(e, t);
+function bn(e, t, n) {
+ return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : mn(e, t);
}
-function _n(e) {
+function xn(e) {
return e;
}
-function vn(e, t, n = 0) {
+function Sn(e, t, n = 0) {
let r = [...e, t];
return n && r.length > n ? r.slice(1) : r;
}
-function yn(e, t, n = 0) {
+function Cn(e, t, n = 0) {
let r = [t, ...e];
return n && r.length > n ? r.slice(0, -1) : r;
}
-var bn = Symbol();
-function xn(e, t) {
- return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === bn ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
+var wn = Symbol();
+function Tn(e, t) {
+ return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === wn ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
}
-function Sn(e, t) {
+function En(e, t) {
return typeof e == "function" ? e(...t) : !!e;
}
-function Cn(e, t, n) {
+function Dn(e, t, n) {
let r = !1, i;
return Object.defineProperty(e, "signal", {
enumerable: !0,
@@ -9574,7 +9575,7 @@ function Cn(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
-var wn = () => Zt, Tn = () => wn(), En = class {
+var On = () => tn, kn = () => On(), An = class {
constructor() {
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
}
@@ -9588,7 +9589,7 @@ var wn = () => Zt, Tn = () => wn(), En = class {
}
onSubscribe() {}
onUnsubscribe() {}
-}, Dn = new class extends En {
+}, jn = new class extends An {
#e;
#t;
#n;
@@ -9625,13 +9626,13 @@ var wn = () => Zt, Tn = () => wn(), En = class {
isFocused() {
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
}
-}(), On = Xt;
-function kn() {
+}(), Mn = en;
+function Nn() {
let e = [], t = 0, n = (e) => {
e();
}, r = (e) => {
e();
- }, i = On, a = (r) => {
+ }, i = Mn, a = (r) => {
t ? e.push(r) : i(() => {
n(r);
});
@@ -9673,7 +9674,7 @@ function kn() {
}
};
}
-var An = kn(), jn = new class extends En {
+var Pn = Nn(), Fn = new class extends An {
#e = !0;
#t;
#n;
@@ -9707,32 +9708,32 @@ var An = kn(), jn = new class extends En {
}();
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/retryer.js
-function Mn(e) {
+function In(e) {
return Math.min(1e3 * 2 ** e, 3e4);
}
-function Nn(e) {
- return (e ?? "online") !== "online" || jn.isOnline();
+function Ln(e) {
+ return (e ?? "online") !== "online" || Fn.isOnline();
}
-var Pn = class extends Error {
+var Rn = class extends Error {
constructor(e) {
super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
}
};
-function Fn(e) {
+function zn(e) {
let t = !1, n = 0, r, i = "pending", a, o, s = new Promise((e, t) => {
a = e, o = t;
});
- s.catch(Qt);
+ s.catch(nn);
let c = () => i !== "pending", l = (t) => {
if (!c()) {
- let n = new Pn(t);
+ let n = new Rn(t);
h(n), e.onCancel?.(n);
}
}, u = () => {
t = !0;
}, d = () => {
t = !1;
- }, f = () => Dn.isFocused() && (e.networkMode === "always" || jn.isOnline()) && e.canRun(), p = () => Nn(e.networkMode) && e.canRun(), m = (e) => {
+ }, f = () => jn.isFocused() && (e.networkMode === "always" || Fn.isOnline()) && e.canRun(), p = () => Ln(e.networkMode) && e.canRun(), m = (e) => {
c() || (r?.(), i = "resolved", a(e));
}, h = (e) => {
c() || (r?.(), i = "rejected", o(e));
@@ -9752,12 +9753,12 @@ function Fn(e) {
}
Promise.resolve(r).then(m).catch((r) => {
if (c()) return;
- let i = e.retry ?? (Tn() ? 0 : 3), a = e.retryDelay ?? Mn, 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 ?? (kn() ? 0 : 3), a = e.retryDelay ?? In, 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), hn(o).then(() => f() ? void 0 : g()).then(() => {
+ n++, e.onFail?.(n, r), yn(o).then(() => f() ? void 0 : g()).then(() => {
t ? h(r) : _();
});
});
@@ -9775,34 +9776,34 @@ function Fn(e) {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/removable.js
-var In = class {
+var Bn = class {
#e;
destroy() {
this.clearGcTimeout();
}
scheduleGc() {
- this.clearGcTimeout(), en(this.gcTime) && (this.#e = Yt.setTimeout(() => {
+ this.clearGcTimeout(), an(this.gcTime) && (this.#e = $t.setTimeout(() => {
this.optionalRemove();
}, this.gcTime));
}
updateGcTime(e) {
- this.gcTime = Math.max(this.gcTime || 0, e ?? (Tn() ? Infinity : 3e5));
+ this.gcTime = Math.max(this.gcTime || 0, e ?? (kn() ? Infinity : 3e5));
}
clearGcTimeout() {
- this.#e !== void 0 && (Yt.clearTimeout(this.#e), this.#e = void 0);
+ this.#e !== void 0 && ($t.clearTimeout(this.#e), this.#e = void 0);
}
};
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
-function Ln(e) {
+function Vn(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) => {
- Cn(e, () => t.signal, () => n = !0);
- }, u = xn(t.options, t.fetchOptions), d = async (e, r, i) => {
+ Dn(e, () => t.signal, () => n = !0);
+ }, u = Tn(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 = (() => {
@@ -9814,14 +9815,14 @@ function Ln(e) {
meta: t.options.meta
};
return l(e), e;
- })(), o = await u(a), { maxPages: s } = t.options, c = i ? yn : vn;
+ })(), o = await u(a), { maxPages: s } = t.options, c = i ? Cn : Sn;
return {
pages: c(e.pages, o, s),
pageParams: c(e.pageParams, r, s)
};
};
if (i && a.length) {
- let e = i === "backward", t = e ? zn : Rn, n = {
+ let e = i === "backward", t = e ? Un : Hn, n = {
pages: a,
pageParams: o
};
@@ -9829,7 +9830,7 @@ function Ln(e) {
} else {
let t = e ?? a.length;
do {
- let e = c === 0 ? o[0] ?? r.initialPageParam : Rn(r, s);
+ let e = c === 0 ? o[0] ?? r.initialPageParam : Hn(r, s);
if (c > 0 && e == null) break;
s = await d(s, e), c++;
} while (c < t);
@@ -9844,22 +9845,22 @@ function Ln(e) {
}, n) : l;
} };
}
-function Rn(e, { pages: t, pageParams: n }) {
+function Hn(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 zn(e, { pages: t, pageParams: n }) {
+function Un(e, { pages: t, pageParams: n }) {
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
}
-function Bn(e, t) {
- return t ? Rn(e, t) != null : !1;
+function Wn(e, t) {
+ return t ? Hn(e, t) != null : !1;
}
-function Vn(e, t) {
- return !t || !e.getPreviousPageParam ? !1 : zn(e, t) != null;
+function Gn(e, t) {
+ return !t || !e.getPreviousPageParam ? !1 : Un(e, t) != null;
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/query.js
-var Hn = class extends In {
+var Kn = class extends Bn {
#e;
#t;
#n;
@@ -9869,7 +9870,7 @@ var Hn = class extends In {
#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 = Gn(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 = Yn(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
}
get meta() {
return this.options.meta;
@@ -9885,15 +9886,15 @@ var Hn = class extends In {
...this.#o,
...e
}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
- let e = Gn(this.options);
- e.data !== void 0 && (this.setState(Wn(e.data, e.dataUpdatedAt)), this.#t = e);
+ let e = Yn(this.options);
+ e.data !== void 0 && (this.setState(Jn(e.data, e.dataUpdatedAt)), this.#t = e);
}
}
optionalRemove() {
!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
}
setData(e, t) {
- let n = gn(this.state.data, e, this.options);
+ let n = bn(this.state.data, e, this.options);
return this.#c({
data: n,
type: "success",
@@ -9909,7 +9910,7 @@ var Hn = class extends In {
}
cancel(e) {
let t = this.#a?.promise;
- return this.#a?.cancel(e), t ? t.then(Qt).catch(Qt) : Promise.resolve();
+ return this.#a?.cancel(e), t ? t.then(nn).catch(nn) : Promise.resolve();
}
destroy() {
super.destroy(), this.cancel({ silent: !0 });
@@ -9921,22 +9922,22 @@ var Hn = class extends In {
this.destroy(), this.setState(this.resetState);
}
isActive() {
- return this.observers.some((e) => nn(e.options.enabled, this) !== !1);
+ return this.observers.some((e) => sn(e.options.enabled, this) !== !1);
}
isDisabled() {
- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === bn || !this.isFetched();
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === wn || !this.isFetched();
}
isFetched() {
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
}
isStatic() {
- return this.getObserversCount() > 0 && this.observers.some((e) => nn(e.options.staleTime, this) === "static");
+ return this.getObserversCount() > 0 && this.observers.some((e) => sn(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 : !tn(this.state.dataUpdatedAt, e);
+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !on(this.state.dataUpdatedAt, e);
}
onFocus() {
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
@@ -9980,7 +9981,7 @@ var Hn = class extends In {
get: () => (this.#s = !0, n.signal)
});
}, i = () => {
- let e = xn(this.options, t), n = (() => {
+ let e = Tn(this.options, t), n = (() => {
let e = {
client: this.#i,
queryKey: this.queryKey,
@@ -10000,15 +10001,15 @@ var Hn = class extends In {
};
return r(e), e;
})();
- (this.#e === "infinite" ? Ln(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" ? Vn(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 = Fn({
+ let o = this.#a = zn({
initialPromise: t?.initialPromise,
fn: a.fetchFn,
onCancel: (e) => {
- e instanceof Pn && e.revert && this.setState({
+ e instanceof Rn && e.revert && this.setState({
...this.#n,
fetchStatus: "idle"
}), n.abort();
@@ -10036,7 +10037,7 @@ var Hn = class extends In {
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 Pn) {
+ if (e instanceof Rn) {
if (e.silent) return this.#a.promise;
if (e.revert) {
if (this.state.data === void 0) throw e;
@@ -10069,13 +10070,13 @@ var Hn = class extends In {
};
case "fetch": return {
...t,
- ...Un(t.data, this.options),
+ ...qn(t.data, this.options),
fetchMeta: e.meta ?? null
};
case "success":
let n = {
...t,
- ...Wn(e.data, e.dataUpdatedAt),
+ ...Jn(e.data, e.dataUpdatedAt),
dataUpdateCount: t.dataUpdateCount + 1,
...!e.manual && {
fetchStatus: "idle",
@@ -10107,7 +10108,7 @@ var Hn = class extends In {
};
}
};
- this.state = t(this.state), An.batch(() => {
+ this.state = t(this.state), Pn.batch(() => {
this.observers.slice().forEach((e) => {
e.onQueryUpdate();
}), this.#r.notify({
@@ -10118,18 +10119,18 @@ var Hn = class extends In {
});
}
};
-function Un(e, t) {
+function qn(e, t) {
return {
fetchFailureCount: 0,
fetchFailureReason: null,
- fetchStatus: Nn(t.networkMode) ? "fetching" : "paused",
+ fetchStatus: Ln(t.networkMode) ? "fetching" : "paused",
...e === void 0 && {
error: null,
status: "pending"
}
};
}
-function Wn(e, t) {
+function Jn(e, t) {
return {
data: e,
dataUpdatedAt: t ?? Date.now(),
@@ -10138,7 +10139,7 @@ function Wn(e, t) {
status: "success"
};
}
-function Gn(e) {
+function Yn(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,
@@ -10157,7 +10158,7 @@ function Gn(e) {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
-var Kn = class extends En {
+var Xn = class extends An {
#e;
#t = void 0;
#n = void 0;
@@ -10179,36 +10180,36 @@ var Kn = class extends En {
this.refetch = this.refetch.bind(this);
}
onSubscribe() {
- this.listeners.size === 1 && (this.#t.addObserver(this), Jn(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());
+ this.listeners.size === 1 && (this.#t.addObserver(this), Qn(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());
}
onUnsubscribe() {
this.hasListeners() || this.destroy();
}
shouldFetchOnReconnect() {
- return Yn(this.#t, this.options, this.options.refetchOnReconnect);
+ return $n(this.#t, this.options, this.options.refetchOnReconnect);
}
shouldFetchOnWindowFocus() {
- return Yn(this.#t, this.options, this.options.refetchOnWindowFocus);
+ return $n(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 nn(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 && !dn(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 sn(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 && !hn(this.options, t) && this.#e.getQueryCache().notify({
type: "observerOptionsUpdated",
query: this.#t,
observer: this
});
let r = this.hasListeners();
- r && Xn(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || nn(this.options.enabled, this.#t) !== nn(t.enabled, this.#t) || nn(this.options.staleTime, this.#t) !== nn(t.staleTime, this.#t)) && this.#g();
+ r && er(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || sn(this.options.enabled, this.#t) !== sn(t.enabled, this.#t) || sn(this.options.staleTime, this.#t) !== sn(t.staleTime, this.#t)) && this.#g();
let i = this.#_();
- r && (this.#t !== n || nn(this.options.enabled, this.#t) !== nn(t.enabled, this.#t) || i !== this.#f) && this.#v(i);
+ r && (this.#t !== n || sn(this.options.enabled, this.#t) !== sn(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 dn(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
+ return hn(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
}
getCurrentResult() {
return this.#r;
@@ -10247,44 +10248,44 @@ var Kn = class extends En {
#m(e) {
this.#S();
let t = this.#t.fetch(this.options, e);
- return e?.throwOnError || (t = t.catch(Qt)), t;
+ return e?.throwOnError || (t = t.catch(nn)), t;
}
#h(e) {
- return !Tn() && nn(this.options.enabled, this.#t) !== !1 && en(e);
+ return !kn() && sn(this.options.enabled, this.#t) !== !1 && an(e);
}
#g() {
this.#b();
- let e = nn(this.options.staleTime, this.#t);
+ let e = sn(this.options.staleTime, this.#t);
if (this.#r.isStale || !this.#h(e)) return;
- let t = tn(this.#r.dataUpdatedAt, e) + 1;
- this.#u = Yt.setTimeout(() => {
+ let t = on(this.#r.dataUpdatedAt, e) + 1;
+ this.#u = $t.setTimeout(() => {
this.#r.isStale || this.updateResult();
}, t);
}
#_() {
- return nn(this.options.refetchInterval, this.#t) ?? !1;
+ return sn(this.options.refetchInterval, this.#t) ?? !1;
}
#v(e) {
- this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d = Yt.setInterval(() => {
- (this.options.refetchIntervalInBackground || Dn.isFocused()) && this.#m();
+ this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d = $t.setInterval(() => {
+ (this.options.refetchIntervalInBackground || jn.isFocused()) && this.#m();
}, this.#f));
}
#y() {
this.#g(), this.#v(this.#_());
}
#b() {
- this.#u !== void 0 && (Yt.clearTimeout(this.#u), this.#u = void 0);
+ this.#u !== void 0 && ($t.clearTimeout(this.#u), this.#u = void 0);
}
#x() {
- this.#d !== void 0 && (Yt.clearInterval(this.#d), this.#d = void 0);
+ this.#d !== void 0 && ($t.clearInterval(this.#d), this.#d = void 0);
}
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 && Jn(e, t), o = i && Xn(e, n, t, r);
+ let i = this.hasListeners(), a = !i && Qn(e, t), o = i && er(e, n, t, r);
(a || o) && (l = {
...l,
- ...Un(c.data, e.options)
+ ...qn(c.data, e.options)
}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
}
let { error: f, errorUpdatedAt: p, status: m } = l;
@@ -10292,12 +10293,12 @@ var Kn = class extends En {
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 = gn(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 = bn(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 = gn(i?.data, d, t), this.#c = d, this.#o = null;
+ this.#s = t.select, d = t.select(d), d = bn(i?.data, d, t), this.#c = d, this.#o = null;
} catch (e) {
this.#o = e;
}
@@ -10327,14 +10328,14 @@ var Kn = class extends En {
isPaused: l.fetchStatus === "paused",
isPlaceholderData: u,
isRefetchError: v && b,
- isStale: Zn(e, t),
+ isStale: tr(e, t),
refetch: this.refetch,
- isEnabled: nn(t.enabled, e) !== !1
+ isEnabled: sn(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), dn(t, e)) return;
+ if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), hn(t, e)) return;
this.#r = t;
let n = (() => {
if (!e) return !0;
@@ -10346,7 +10347,7 @@ var Kn = class extends En {
return this.#r[n] !== e[n] && r.has(n);
});
})();
- An.batch(() => {
+ Pn.batch(() => {
n && this.listeners.forEach((e) => {
e(this.#r);
}), this.#e.getQueryCache().notify({
@@ -10365,28 +10366,28 @@ var Kn = class extends En {
this.updateResult(), this.hasListeners() && this.#y();
}
};
-function qn(e, t) {
- return nn(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || nn(t.retryOnMount, e) !== !1);
+function Zn(e, t) {
+ return sn(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || sn(t.retryOnMount, e) !== !1);
}
-function Jn(e, t) {
- return qn(e, t) || e.state.data !== void 0 && Yn(e, t, t.refetchOnMount);
+function Qn(e, t) {
+ return Zn(e, t) || e.state.data !== void 0 && $n(e, t, t.refetchOnMount);
}
-function Yn(e, t, n) {
- if (nn(t.enabled, e) !== !1 && nn(t.staleTime, e) !== "static") {
- let r = nn(n, e);
- return r === "always" || r !== !1 && Zn(e, t);
+function $n(e, t, n) {
+ if (sn(t.enabled, e) !== !1 && sn(t.staleTime, e) !== "static") {
+ let r = sn(n, e);
+ return r === "always" || r !== !1 && tr(e, t);
}
return !1;
}
-function Xn(e, t, n, r) {
- return (e !== t || nn(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Zn(e, n);
+function er(e, t, n, r) {
+ return (e !== t || sn(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && tr(e, n);
}
-function Zn(e, t) {
- return nn(t.enabled, e) !== !1 && e.isStaleByTime(nn(t.staleTime, e));
+function tr(e, t) {
+ return sn(t.enabled, e) !== !1 && e.isStaleByTime(sn(t.staleTime, e));
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js
-var Qn = class extends Kn {
+var nr = class extends Xn {
constructor(e, t) {
super(e, t);
}
@@ -10417,8 +10418,8 @@ var Qn = class extends Kn {
...r,
fetchNextPage: this.fetchNextPage,
fetchPreviousPage: this.fetchPreviousPage,
- hasNextPage: Bn(t, n.data),
- hasPreviousPage: Vn(t, n.data),
+ hasNextPage: Wn(t, n.data),
+ hasPreviousPage: Gn(t, n.data),
isFetchNextPageError: l,
isFetchingNextPage: u,
isFetchPreviousPageError: d,
@@ -10427,13 +10428,13 @@ var Qn = class extends Kn {
isRefetching: a && !u && !f
};
}
-}, $n = class extends In {
+}, rr = class extends Bn {
#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 || er(), 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 || ir(), this.setOptions(e.options), this.scheduleGc();
}
setOptions(e) {
this.options = e, this.updateGcTime(this.options.gcTime);
@@ -10468,7 +10469,7 @@ var Qn = class extends Kn {
client: this.#e,
meta: this.options.meta,
mutationKey: this.options.mutationKey
- }, r = this.#r = Fn({
+ }, r = this.#r = zn({
fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
onFail: (e, t) => {
this.#i({
@@ -10584,7 +10585,7 @@ var Qn = class extends Kn {
};
}
};
- this.state = t(this.state), An.batch(() => {
+ this.state = t(this.state), Pn.batch(() => {
this.#t.forEach((t) => {
t.onMutationUpdate(e);
}), this.#n.notify({
@@ -10595,7 +10596,7 @@ var Qn = class extends Kn {
});
}
};
-function er() {
+function ir() {
return {
context: void 0,
data: void 0,
@@ -10610,7 +10611,7 @@ function er() {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
-var tr = class extends En {
+var ar = class extends An {
#e;
#t;
#n;
@@ -10618,7 +10619,7 @@ var tr = class extends En {
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
}
build(e, t, n) {
- let r = new $n({
+ let r = new rr({
client: e,
mutationCache: this,
mutationId: ++this.#n,
@@ -10629,7 +10630,7 @@ var tr = class extends En {
}
add(e) {
this.#e.add(e);
- let t = nr(e);
+ let t = or(e);
if (typeof t == "string") {
let n = this.#t.get(t);
n ? n.push(e) : this.#t.set(t, [e]);
@@ -10641,7 +10642,7 @@ var tr = class extends En {
}
remove(e) {
if (this.#e.delete(e)) {
- let t = nr(e);
+ let t = or(e);
if (typeof t == "string") {
let n = this.#t.get(t);
if (n) {
@@ -10658,7 +10659,7 @@ var tr = class extends En {
});
}
canRun(e) {
- let t = nr(e);
+ let t = or(e);
if (typeof t == "string") {
let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
return !n || n === e;
@@ -10666,11 +10667,11 @@ var tr = class extends En {
return !0;
}
runNext(e) {
- let t = nr(e);
+ let t = or(e);
return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
}
clear() {
- An.batch(() => {
+ Pn.batch(() => {
this.#e.forEach((e) => {
this.notify({
type: "removed",
@@ -10687,13 +10688,13 @@ var tr = class extends En {
exact: !0,
...e
};
- return this.getAll().find((e) => an(t, e));
+ return this.getAll().find((e) => ln(t, e));
}
findAll(e = {}) {
- return this.getAll().filter((t) => an(e, t));
+ return this.getAll().filter((t) => ln(e, t));
}
notify(e) {
- An.batch(() => {
+ Pn.batch(() => {
this.listeners.forEach((t) => {
t(e);
});
@@ -10701,15 +10702,15 @@ var tr = class extends En {
}
resumePausedMutations() {
let e = this.getAll().filter((e) => e.state.isPaused);
- return An.batch(() => Promise.all(e.map((e) => e.continue().catch(Qt))));
+ return Pn.batch(() => Promise.all(e.map((e) => e.continue().catch(nn))));
}
};
-function nr(e) {
+function or(e) {
return e.options.scope?.id;
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/mutationObserver.js
-var rr = class extends En {
+var sr = class extends An {
#e;
#t = void 0;
#n;
@@ -10722,11 +10723,11 @@ var rr = class extends En {
}
setOptions(e) {
let t = this.options;
- this.options = this.#e.defaultMutationOptions(e), dn(this.options, t) || this.#e.getMutationCache().notify({
+ this.options = this.#e.defaultMutationOptions(e), hn(this.options, t) || this.#e.getMutationCache().notify({
type: "observerOptionsUpdated",
mutation: this.#n,
observer: this
- }), t?.mutationKey && this.options.mutationKey && sn(t.mutationKey) !== sn(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);
+ }), t?.mutationKey && this.options.mutationKey && dn(t.mutationKey) !== dn(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());
@@ -10747,7 +10748,7 @@ var rr = class extends En {
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 ?? er();
+ let e = this.#n?.state ?? ir();
this.#t = {
...e,
isPending: e.status === "pending",
@@ -10759,7 +10760,7 @@ var rr = class extends En {
};
}
#a(e) {
- An.batch(() => {
+ Pn.batch(() => {
if (this.#r && this.hasListeners()) {
let t = this.#t.variables, n = this.#t.context, r = {
client: this.#e,
@@ -10795,14 +10796,14 @@ var rr = class extends En {
});
});
}
-}, ir = class extends En {
+}, cr = class extends An {
#e;
constructor(e = {}) {
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
}
build(e, t, n) {
- let r = t.queryKey, i = t.queryHash ?? on(r, t), a = this.get(i);
- return a || (a = new Hn({
+ let r = t.queryKey, i = t.queryHash ?? un(r, t), a = this.get(i);
+ return a || (a = new Kn({
client: e,
queryKey: r,
queryHash: i,
@@ -10824,7 +10825,7 @@ var rr = class extends En {
}));
}
clear() {
- An.batch(() => {
+ Pn.batch(() => {
this.getAll().forEach((e) => {
this.remove(e);
});
@@ -10841,34 +10842,34 @@ var rr = class extends En {
exact: !0,
...e
};
- return this.getAll().find((e) => rn(t, e));
+ return this.getAll().find((e) => cn(t, e));
}
findAll(e = {}) {
let t = this.getAll();
- return Object.keys(e).length > 0 ? t.filter((t) => rn(e, t)) : t;
+ return Object.keys(e).length > 0 ? t.filter((t) => cn(e, t)) : t;
}
notify(e) {
- An.batch(() => {
+ Pn.batch(() => {
this.listeners.forEach((t) => {
t(e);
});
});
}
onFocus() {
- An.batch(() => {
+ Pn.batch(() => {
this.getAll().forEach((e) => {
e.onFocus();
});
});
}
onOnline() {
- An.batch(() => {
+ Pn.batch(() => {
this.getAll().forEach((e) => {
e.onOnline();
});
});
}
-}, ar = class {
+}, lr = class {
#e;
#t;
#n;
@@ -10878,12 +10879,12 @@ var rr = class extends En {
#o;
#s;
constructor(e = {}) {
- this.#e = e.queryCache || new ir(), this.#t = e.mutationCache || new tr(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
+ this.#e = e.queryCache || new cr(), this.#t = e.mutationCache || new ar(), 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 = Dn.subscribe(async (e) => {
+ this.#a++, this.#a === 1 && (this.#o = jn.subscribe(async (e) => {
e && (await this.resumePausedMutations(), this.#e.onFocus());
- }), this.#s = jn.subscribe(async (e) => {
+ }), this.#s = Fn.subscribe(async (e) => {
e && (await this.resumePausedMutations(), this.#e.onOnline());
}));
}
@@ -10908,20 +10909,20 @@ var rr = class extends En {
}
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(nn(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(sn(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
}
getQueriesData(e) {
return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
}
setQueryData(e, t, n) {
- let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = $t(t, i);
+ let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = rn(t, i);
if (a !== void 0) return this.#e.build(this, r).setData(a, {
...n,
manual: !0
});
}
setQueriesData(e, t, n) {
- return An.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
+ return Pn.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
}
getQueryState(e) {
let t = this.defaultQueryOptions({ queryKey: e });
@@ -10929,7 +10930,7 @@ var rr = class extends En {
}
removeQueries(e) {
let t = this.#e;
- An.batch(() => {
+ Pn.batch(() => {
t.findAll(e).forEach((e) => {
t.remove(e);
});
@@ -10937,7 +10938,7 @@ var rr = class extends En {
}
resetQueries(e, t) {
let n = this.#e;
- return An.batch(() => {
+ return Pn.batch(() => {
let r = n.findAll(e), i = new Set(r);
return r.forEach((e) => {
e.reset();
@@ -10951,11 +10952,11 @@ var rr = class extends En {
let n = {
revert: !0,
...t
- }, r = An.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
- return Promise.all(r).then(Qt).catch(Qt);
+ }, r = Pn.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
+ return Promise.all(r).then(nn).catch(nn);
}
invalidateQueries(e, t = {}) {
- return An.batch(() => (this.#e.findAll(e).forEach((e) => {
+ return Pn.batch(() => (this.#e.findAll(e).forEach((e) => {
e.invalidate();
}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
...e,
@@ -10966,26 +10967,26 @@ var rr = class extends En {
let n = {
...t,
cancelRefetch: t.cancelRefetch ?? !0
- }, r = An.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
+ }, r = Pn.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(Qt)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
+ return n.throwOnError || (t = t.catch(nn)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
}));
- return Promise.all(r).then(Qt);
+ return Promise.all(r).then(nn);
}
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(nn(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;
+ let n = this.#e.build(this, t), r = n.isStaleByTime(sn(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(nn(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
+ return n.isStaleByTime(sn(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
}
prefetchQuery(e) {
- return this.fetchQuery(e).then(Qt).catch(Qt);
+ return this.fetchQuery(e).then(nn).catch(nn);
}
infiniteQuery(e) {
return e._type = "infinite", this.query(e);
@@ -10994,13 +10995,13 @@ var rr = class extends En {
return e._type = "infinite", this.fetchQuery(e);
}
prefetchInfiniteQuery(e) {
- return this.fetchInfiniteQuery(e).then(Qt).catch(Qt);
+ return this.fetchInfiniteQuery(e).then(nn).catch(nn);
}
ensureInfiniteQueryData(e) {
return e._type = "infinite", this.ensureQueryData(e);
}
resumePausedMutations() {
- return jn.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
+ return Fn.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
}
getQueryCache() {
return this.#e;
@@ -11015,7 +11016,7 @@ var rr = class extends En {
this.#n = e;
}
setQueryDefaults(e, t) {
- this.#r.set(sn(e), {
+ this.#r.set(dn(e), {
queryKey: e,
defaultOptions: t
});
@@ -11023,11 +11024,11 @@ var rr = class extends En {
getQueryDefaults(e) {
let t = [...this.#r.values()], n = {};
return t.forEach((t) => {
- cn(e, t.queryKey) && Object.assign(n, t.defaultOptions);
+ fn(e, t.queryKey) && Object.assign(n, t.defaultOptions);
}), n;
}
setMutationDefaults(e, t) {
- this.#i.set(sn(e), {
+ this.#i.set(dn(e), {
mutationKey: e,
defaultOptions: t
});
@@ -11035,7 +11036,7 @@ var rr = class extends En {
getMutationDefaults(e) {
let t = [...this.#i.values()], n = {};
return t.forEach((t) => {
- cn(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
+ fn(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
}), n;
}
defaultQueryOptions(e) {
@@ -11046,7 +11047,7 @@ var rr = class extends En {
...e,
_defaulted: !0
};
- return t.queryHash ||= on(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 === bn && (t.enabled = !1), t;
+ return t.queryHash ||= un(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 === wn && (t.enabled = !1), t;
}
defaultMutationOptions(e) {
return e?._defaulted ? e : {
@@ -11059,11 +11060,11 @@ var rr = class extends En {
clear() {
this.#e.clear(), this.#t.clear();
}
-}, or = L.createContext(!1), sr = () => L.useContext(or);
-or.Provider;
+}, ur = L.createContext(!1), dr = () => L.useContext(ur);
+ur.Provider;
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
-function cr() {
+function fr() {
let e = !1;
return {
clearReset: () => {
@@ -11075,34 +11076,34 @@ function cr() {
isReset: () => e
};
}
-var lr = L.createContext(cr()), ur = () => L.useContext(lr), dr = (e, t, n) => {
- let r = n?.state.error && typeof e.throwOnError == "function" ? Sn(e.throwOnError, [n.state.error, n]) : e.throwOnError;
+var pr = L.createContext(fr()), mr = () => L.useContext(pr), hr = (e, t, n) => {
+ let r = n?.state.error && typeof e.throwOnError == "function" ? En(e.throwOnError, [n.state.error, n]) : e.throwOnError;
(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));
-}, fr = (e) => {
+}, gr = (e) => {
L.useEffect(() => {
e.clearReset();
}, [e]);
-}, pr = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Sn(n, [e.error, r])), mr = (e) => {
+}, _r = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || En(n, [e.error, r])), vr = (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));
}
-}, hr = (e, t) => e?.suspense && t.isPending, gr = (e, t, n) => t.fetchOptimistic(e).catch(() => {
+}, yr = (e, t) => e?.suspense && t.isPending, br = (e, t, n) => t.fetchOptimistic(e).catch(() => {
n.clearReset();
});
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
-function _r(e, t, n) {
- let r = sr(), i = ur(), a = Kt(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;
- o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, mr(o), dr(o, i, s), fr(i);
+function xr(e, t, n) {
+ let r = dr(), i = mr(), a = Xt(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;
+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, vr(o), hr(o, i, s), gr(i);
let [l] = L.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;
if (L.useSyncExternalStore(L.useCallback((e) => {
- let t = d ? l.subscribe(An.batchCalls(e)) : Qt;
+ let t = d ? l.subscribe(Pn.batchCalls(e)) : nn;
return l.updateResult(), t;
}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), L.useEffect(() => {
l.setOptions(o);
- }, [o, l]), hr(o, u)) throw gr(o, l, i);
- if (pr({
+ }, [o, l]), yr(o, u)) throw br(o, l, i);
+ if (_r({
result: u,
errorResetBoundary: i,
throwOnError: o.throwOnError,
@@ -11113,20 +11114,20 @@ function _r(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
-function vr(e, t) {
- return _r(e, Kn, t);
+function Sr(e, t) {
+ return xr(e, Xn, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useMutation.js
-function yr(e, t) {
- let n = Kt(t), [r] = L.useState(() => new rr(n, e));
+function Cr(e, t) {
+ let n = Xt(t), [r] = L.useState(() => new sr(n, e));
L.useEffect(() => {
r.setOptions(e);
}, [r, e]);
- let i = L.useSyncExternalStore(L.useCallback((e) => r.subscribe(An.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = L.useCallback((...e) => {
- r.mutate(e[0], e[1]).catch(Qt);
+ let i = L.useSyncExternalStore(L.useCallback((e) => r.subscribe(Pn.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = L.useCallback((...e) => {
+ r.mutate(e[0], e[1]).catch(nn);
}, [r]);
- if (i.error && Sn(r.options.throwOnError, [i.error])) throw i.error;
+ if (i.error && En(r.options.throwOnError, [i.error])) throw i.error;
return {
...i,
mutate: a,
@@ -11135,105 +11136,105 @@ function yr(e, t) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js
-function br(e, t) {
- return _r(e, Qn, t);
+function wr(e, t) {
+ return xr(e, nr, t);
}
//#endregion
//#region node_modules/tailwind-merge/dist/bundle-mjs.mjs
-var xr = (e, t) => {
+var Tr = (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;
-}, Sr = (e, t) => ({
+}, Er = (e, t) => ({
classGroupId: e,
validator: t
-}), Cr = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), Dr = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), wr = "-", Tr = [], Er = "arbitrary..", Dr = (e) => {
- let t = Ar(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), Or = "-", kr = [], Ar = "arbitrary..", jr = (e) => {
+ let t = Pr(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return kr(e);
- let n = e.split(wr);
- return Or(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return Nr(e);
+ let n = e.split(Or);
+ return Mr(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? xr(i, t) : t : i || Tr;
+ return t ? i ? Tr(i, t) : t : i || kr;
}
- return n[e] || Tr;
+ return n[e] || kr;
}
};
-}, Or = (e, t, n) => {
+}, Mr = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = Or(e, t + 1, i);
+ let n = Mr(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(wr) : e.slice(t).join(wr), s = a.length;
+ let o = t === 0 ? e.join(Or) : e.slice(t).join(Or), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, kr = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, Nr = (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 ? Er + r : void 0;
-})(), Ar = (e) => {
+ return r ? Ar + r : void 0;
+})(), Pr = (e) => {
let { theme: t, classGroups: n } = e;
- return jr(n, t);
-}, jr = (e, t) => {
- let n = Cr();
+ return Fr(n, t);
+}, Fr = (e, t) => {
+ let n = Dr();
for (let r in e) {
let i = e[r];
- Mr(i, n, r, t);
+ Ir(i, n, r, t);
}
return n;
-}, Mr = (e, t, n, r) => {
+}, Ir = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- Nr(i, t, n, r);
+ Lr(i, t, n, r);
}
-}, Nr = (e, t, n, r) => {
+}, Lr = (e, t, n, r) => {
if (typeof e == "string") {
- Pr(e, t, n);
+ Rr(e, t, n);
return;
}
if (typeof e == "function") {
- Fr(e, t, n, r);
+ zr(e, t, n, r);
return;
}
- Ir(e, t, n, r);
-}, Pr = (e, t, n) => {
- let r = e === "" ? t : Lr(t, e);
+ Br(e, t, n, r);
+}, Rr = (e, t, n) => {
+ let r = e === "" ? t : Vr(t, e);
r.classGroupId = n;
-}, Fr = (e, t, n, r) => {
- if (Rr(e)) {
- Mr(e(r), t, n, r);
+}, zr = (e, t, n, r) => {
+ if (Hr(e)) {
+ Ir(e(r), t, n, r);
return;
}
- t.validators === null && (t.validators = []), t.validators.push(Sr(n, e));
-}, Ir = (e, t, n, r) => {
+ t.validators === null && (t.validators = []), t.validators.push(Er(n, e));
+}, Br = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- Mr(o, Lr(t, a), n, r);
+ Ir(o, Vr(t, a), n, r);
}
-}, Lr = (e, t) => {
- let n = e, r = t.split(wr), i = r.length;
+}, Vr = (e, t) => {
+ let n = e, r = t.split(Or), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = Cr(), n.nextPart.set(t, i)), n = i;
+ i || (i = Dr(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, Rr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, zr = (e) => {
+}, Hr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ur = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -11251,19 +11252,19 @@ var xr = (e, t) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, Br = "!", Vr = ":", Hr = [], Ur = (e, t, n, r, i) => ({
+}, Wr = "!", Gr = ":", Kr = [], qr = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), Wr = (e) => {
+}), Jr = (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 === Vr) {
+ if (o === Gr) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -11275,13 +11276,13 @@ var xr = (e, t) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(Br) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Br) && (c = s.slice(1), l = !0);
+ s.endsWith(Wr) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Wr) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return Ur(t, l, c, u);
+ return qr(t, l, c, u);
};
if (t) {
- let e = t + Vr, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Ur(Hr, !1, t, void 0, !0);
+ let e = t + Gr, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : qr(Kr, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -11291,7 +11292,7 @@ var xr = (e, t) => {
});
}
return r;
-}, Gr = (e) => {
+}, Yr = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -11303,18 +11304,18 @@ var xr = (e, t) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, Kr = (e) => ({
- cache: zr(e.cacheSize),
- parseClassName: Wr(e),
- sortModifiers: Gr(e),
- postfixLookupClassGroupIds: qr(e),
- ...Dr(e)
-}), qr = (e) => {
+}, Xr = (e) => ({
+ cache: Ur(e.cacheSize),
+ parseClassName: Jr(e),
+ sortModifiers: Yr(e),
+ postfixLookupClassGroupIds: Zr(e),
+ ...jr(e)
+}), Zr = (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;
-}, Jr = /\s+/, Yr = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Jr), l = "";
+}, Qr = /\s+/, $r = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Qr), 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) {
@@ -11338,7 +11339,7 @@ var xr = (e, t) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Br : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Wr : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -11349,34 +11350,34 @@ var xr = (e, t) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, Xr = (...e) => {
+}, ei = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = Zr(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = ti(n)) && (i && (i += " "), i += r);
return i;
-}, Zr = (e) => {
+}, ti = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = Zr(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = ti(e[r])) && (n && (n += " "), n += t);
return n;
-}, Qr = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = Kr(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, ni = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = Xr(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 = Yr(e, n);
+ let a = $r(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(Xr(...e));
-}, $r = [], ei = (e) => {
- let t = (t) => t[e] || $r;
+ return a = o, (...e) => a(ei(...e));
+}, ri = [], ii = (e) => {
+ let t = (t) => t[e] || ri;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, ti = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ni = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ri = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ii = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ai = /\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$/, oi = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, si = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ci = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, li = (e) => ri.test(e), ui = (e) => !!e && !Number.isNaN(Number(e)), di = (e) => !!e && Number.isInteger(Number(e)), fi = (e) => e.endsWith("%") && ui(e.slice(0, -1)), pi = (e) => ii.test(e), mi = () => !0, hi = (e) => ai.test(e) && !oi.test(e), gi = () => !1, _i = (e) => si.test(e), vi = (e) => ci.test(e), yi = (e) => !z(e) && !B(e), bi = (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)), xi = (e) => Ii(e, Bi, gi), z = (e) => ti.test(e), Si = (e) => Ii(e, Vi, hi), Ci = (e) => Ii(e, Hi, ui), wi = (e) => Ii(e, Wi, mi), Ti = (e) => Ii(e, Ui, gi), Ei = (e) => Ii(e, Ri, gi), Di = (e) => Ii(e, zi, vi), Oi = (e) => Ii(e, Gi, _i), B = (e) => ni.test(e), ki = (e) => Li(e, Vi), Ai = (e) => Li(e, Ui), ji = (e) => Li(e, Ri), Mi = (e) => Li(e, Bi), Ni = (e) => Li(e, zi), Pi = (e) => Li(e, Gi, !0), Fi = (e) => Li(e, Wi, !0), Ii = (e, t, n) => {
- let r = ti.exec(e);
+}, ai = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, oi = /^\((?:(\w[\w-]*):)?(.+)\)$/i, si = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ci = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, li = /\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$/, ui = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, di = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, fi = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, pi = (e) => si.test(e), mi = (e) => !!e && !Number.isNaN(Number(e)), hi = (e) => !!e && Number.isInteger(Number(e)), gi = (e) => e.endsWith("%") && mi(e.slice(0, -1)), _i = (e) => ci.test(e), vi = () => !0, yi = (e) => li.test(e) && !ui.test(e), bi = () => !1, xi = (e) => di.test(e), Si = (e) => fi.test(e), Ci = (e) => !z(e) && !B(e), wi = (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)), Ti = (e) => Bi(e, Wi, bi), z = (e) => ai.test(e), Ei = (e) => Bi(e, Gi, yi), Di = (e) => Bi(e, Ki, mi), Oi = (e) => Bi(e, Ji, vi), ki = (e) => Bi(e, qi, bi), Ai = (e) => Bi(e, Hi, bi), ji = (e) => Bi(e, Ui, Si), Mi = (e) => Bi(e, Yi, xi), B = (e) => oi.test(e), Ni = (e) => Vi(e, Gi), Pi = (e) => Vi(e, qi), Fi = (e) => Vi(e, Hi), Ii = (e) => Vi(e, Wi), Li = (e) => Vi(e, Ui), Ri = (e) => Vi(e, Yi, !0), zi = (e) => Vi(e, Ji, !0), Bi = (e, t, n) => {
+ let r = ai.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, Li = (e, t, n = !1) => {
- let r = ni.exec(e);
+}, Vi = (e, t, n = !1) => {
+ let r = oi.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, Ri = (e) => e === "position" || e === "percentage", zi = (e) => e === "image" || e === "url", Bi = (e) => e === "length" || e === "size" || e === "bg-size", Vi = (e) => e === "length", Hi = (e) => e === "number", Ui = (e) => e === "family-name", Wi = (e) => e === "number" || e === "weight", Gi = (e) => e === "shadow", Ki = () => {
- let e = ei("color"), t = ei("font"), n = ei("text"), r = ei("font-weight"), i = ei("tracking"), a = ei("leading"), o = ei("breakpoint"), s = ei("container"), c = ei("spacing"), l = ei("radius"), u = ei("shadow"), d = ei("inset-shadow"), f = ei("text-shadow"), p = ei("drop-shadow"), m = ei("blur"), h = ei("perspective"), g = ei("aspect"), _ = ei("ease"), v = ei("animate"), y = () => [
+}, Hi = (e) => e === "position" || e === "percentage", Ui = (e) => e === "image" || e === "url", Wi = (e) => e === "length" || e === "size" || e === "bg-size", Gi = (e) => e === "length", Ki = (e) => e === "number", qi = (e) => e === "family-name", Ji = (e) => e === "number" || e === "weight", Yi = (e) => e === "shadow", Xi = () => {
+ let e = ii("color"), t = ii("font"), n = ii("text"), r = ii("font-weight"), i = ii("tracking"), a = ii("leading"), o = ii("breakpoint"), s = ii("container"), c = ii("spacing"), l = ii("radius"), u = ii("shadow"), d = ii("inset-shadow"), f = ii("text-shadow"), p = ii("drop-shadow"), m = ii("blur"), h = ii("perspective"), g = ii("aspect"), _ = ii("ease"), v = ii("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -11418,12 +11419,12 @@ var xr = (e, t) => {
z,
c
], T = () => [
- li,
+ pi,
"full",
"auto",
...w()
], E = () => [
- di,
+ hi,
"none",
"subgrid",
B,
@@ -11432,15 +11433,15 @@ var xr = (e, t) => {
"auto",
{ span: [
"full",
- di,
+ hi,
B,
z
] },
- di,
+ hi,
B,
z
], O = () => [
- di,
+ hi,
"auto",
B,
z
@@ -11470,7 +11471,7 @@ var xr = (e, t) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- li,
+ pi,
"auto",
"full",
"dvw",
@@ -11485,7 +11486,7 @@ var xr = (e, t) => {
...w()
], P = () => [
s,
- li,
+ pi,
"screen",
"full",
"dvw",
@@ -11496,7 +11497,7 @@ var xr = (e, t) => {
"fit",
...w()
], ee = () => [
- li,
+ pi,
"screen",
"full",
"lh",
@@ -11513,8 +11514,8 @@ var xr = (e, t) => {
z
], te = () => [
...b(),
- ji,
- Ei,
+ Fi,
+ Ai,
{ position: [B, z] }
], ne = () => ["no-repeat", { repeat: [
"",
@@ -11526,13 +11527,13 @@ var xr = (e, t) => {
"auto",
"cover",
"contain",
- Mi,
- xi,
+ Ii,
+ Ti,
{ size: [B, z] }
], ie = () => [
- fi,
- ki,
- Si
+ gi,
+ Ni,
+ Ei
], ae = () => [
"",
"none",
@@ -11542,9 +11543,9 @@ var xr = (e, t) => {
z
], oe = () => [
"",
- ui,
- ki,
- Si
+ mi,
+ Ni,
+ Ei
], se = () => [
"solid",
"dashed",
@@ -11568,10 +11569,10 @@ var xr = (e, t) => {
"color",
"luminosity"
], le = () => [
- ui,
- fi,
- ji,
- Ei
+ mi,
+ gi,
+ Fi,
+ Ai
], ue = () => [
"",
"none",
@@ -11580,20 +11581,20 @@ var xr = (e, t) => {
z
], de = () => [
"none",
- ui,
+ mi,
B,
z
], I = () => [
"none",
- ui,
+ mi,
B,
z
], fe = () => [
- ui,
+ mi,
B,
z
], pe = () => [
- li,
+ pi,
"full",
...w()
];
@@ -11607,17 +11608,17 @@ var xr = (e, t) => {
"bounce"
],
aspect: ["video"],
- blur: [pi],
- breakpoint: [pi],
- color: [mi],
- container: [pi],
- "drop-shadow": [pi],
+ blur: [_i],
+ breakpoint: [_i],
+ color: [vi],
+ container: [_i],
+ "drop-shadow": [_i],
ease: [
"in",
"out",
"in-out"
],
- font: [yi],
+ font: [Ci],
"font-weight": [
"thin",
"extralight",
@@ -11629,7 +11630,7 @@ var xr = (e, t) => {
"extrabold",
"black"
],
- "inset-shadow": [pi],
+ "inset-shadow": [_i],
leading: [
"none",
"tight",
@@ -11646,11 +11647,11 @@ var xr = (e, t) => {
"distant",
"none"
],
- radius: [pi],
- shadow: [pi],
- spacing: ["px", ui],
- text: [pi],
- "text-shadow": [pi],
+ radius: [_i],
+ shadow: [_i],
+ spacing: ["px", mi],
+ text: [_i],
+ "text-shadow": [_i],
tracking: [
"tighter",
"tight",
@@ -11664,7 +11665,7 @@ var xr = (e, t) => {
aspect: [{ aspect: [
"auto",
"square",
- li,
+ pi,
z,
B,
g
@@ -11677,9 +11678,9 @@ var xr = (e, t) => {
B,
z
] }],
- "container-named": [bi],
+ "container-named": [wi],
columns: [{ columns: [
- ui,
+ mi,
"auto",
z,
B,
@@ -11779,13 +11780,13 @@ var xr = (e, t) => {
"collapse"
],
z: [{ z: [
- di,
+ hi,
"auto",
B,
z
] }],
basis: [{ basis: [
- li,
+ pi,
"full",
"auto",
s,
@@ -11803,8 +11804,8 @@ var xr = (e, t) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- ui,
- li,
+ mi,
+ pi,
"auto",
"initial",
"none",
@@ -11812,18 +11813,18 @@ var xr = (e, t) => {
] }],
grow: [{ grow: [
"",
- ui,
+ mi,
B,
z
] }],
shrink: [{ shrink: [
"",
- ui,
+ mi,
B,
z
] }],
order: [{ order: [
- di,
+ hi,
"first",
"last",
"none",
@@ -11935,15 +11936,15 @@ var xr = (e, t) => {
"font-size": [{ text: [
"base",
n,
- ki,
- Si
+ Ni,
+ Ei
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- Fi,
- wi
+ zi,
+ Oi
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -11955,12 +11956,12 @@ var xr = (e, t) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- fi,
+ gi,
z
] }],
"font-family": [{ font: [
- Ai,
- Ti,
+ Pi,
+ ki,
t
] }],
"font-features": [{ "font-features": [z] }],
@@ -11976,10 +11977,10 @@ var xr = (e, t) => {
z
] }],
"line-clamp": [{ "line-clamp": [
- ui,
+ mi,
"none",
B,
- Ci
+ Di
] }],
leading: [{ leading: [
"none",
@@ -12017,15 +12018,15 @@ var xr = (e, t) => {
],
"text-decoration-style": [{ decoration: [...se(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- ui,
+ mi,
"from-font",
"auto",
B,
- Si
+ Ei
] }],
"text-decoration-color": [{ decoration: F() }],
"underline-offset": [{ "underline-offset": [
- ui,
+ mi,
"auto",
B,
z
@@ -12049,7 +12050,7 @@ var xr = (e, t) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- di,
+ hi,
B,
z
] }],
@@ -12127,7 +12128,7 @@ var xr = (e, t) => {
"l",
"tl"
] },
- di,
+ hi,
B,
z
],
@@ -12138,13 +12139,13 @@ var xr = (e, t) => {
],
conic: [
"",
- di,
+ hi,
B,
z
]
},
- Ni,
- Di
+ Li,
+ ji
] }],
"bg-color": [{ bg: F() }],
"gradient-from-pos": [{ from: ie() }],
@@ -12211,15 +12212,15 @@ var xr = (e, t) => {
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- ui,
+ mi,
B,
z
] }],
"outline-w": [{ outline: [
"",
- ui,
- ki,
- Si
+ mi,
+ Ni,
+ Ei
] }],
"outline-color": [{ outline: F() }],
shadow: [{ shadow: [
@@ -12227,33 +12228,33 @@ var xr = (e, t) => {
"inner",
"none",
u,
- Pi,
- Oi
+ Ri,
+ Mi
] }],
"shadow-color": [{ shadow: F() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- Pi,
- Oi
+ Ri,
+ Mi
] }],
"inset-shadow-color": [{ "inset-shadow": F() }],
"ring-w": [{ ring: oe() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: F() }],
- "ring-offset-w": [{ "ring-offset": [ui, Si] }],
+ "ring-offset-w": [{ "ring-offset": [mi, Ei] }],
"ring-offset-color": [{ "ring-offset": F() }],
"inset-ring-w": [{ "inset-ring": oe() }],
"inset-ring-color": [{ "inset-ring": F() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- Pi,
- Oi
+ Ri,
+ Mi
] }],
"text-shadow-color": [{ "text-shadow": F() }],
opacity: [{ opacity: [
- ui,
+ mi,
B,
z
] }],
@@ -12277,7 +12278,7 @@ var xr = (e, t) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [ui] }],
+ "mask-image-linear-pos": [{ "mask-linear": [mi] }],
"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() }],
@@ -12317,7 +12318,7 @@ var xr = (e, t) => {
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [ui] }],
+ "mask-image-conic-pos": [{ "mask-conic": [mi] }],
"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() }],
@@ -12352,12 +12353,12 @@ var xr = (e, t) => {
] }],
blur: [{ blur: ue() }],
brightness: [{ brightness: [
- ui,
+ mi,
B,
z
] }],
contrast: [{ contrast: [
- ui,
+ mi,
B,
z
] }],
@@ -12365,35 +12366,35 @@ var xr = (e, t) => {
"",
"none",
p,
- Pi,
- Oi
+ Ri,
+ Mi
] }],
"drop-shadow-color": [{ "drop-shadow": F() }],
grayscale: [{ grayscale: [
"",
- ui,
+ mi,
B,
z
] }],
"hue-rotate": [{ "hue-rotate": [
- ui,
+ mi,
B,
z
] }],
invert: [{ invert: [
"",
- ui,
+ mi,
B,
z
] }],
saturate: [{ saturate: [
- ui,
+ mi,
B,
z
] }],
sepia: [{ sepia: [
"",
- ui,
+ mi,
B,
z
] }],
@@ -12405,45 +12406,45 @@ var xr = (e, t) => {
] }],
"backdrop-blur": [{ "backdrop-blur": ue() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- ui,
+ mi,
B,
z
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- ui,
+ mi,
B,
z
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- ui,
+ mi,
B,
z
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- ui,
+ mi,
B,
z
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- ui,
+ mi,
B,
z
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- ui,
+ mi,
B,
z
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- ui,
+ mi,
B,
z
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- ui,
+ mi,
B,
z
] }],
@@ -12466,7 +12467,7 @@ var xr = (e, t) => {
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- ui,
+ mi,
"initial",
B,
z
@@ -12479,7 +12480,7 @@ var xr = (e, t) => {
z
] }],
delay: [{ delay: [
- ui,
+ mi,
B,
z
] }],
@@ -12524,7 +12525,7 @@ var xr = (e, t) => {
"translate-z": [{ "translate-z": pe() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- di,
+ hi,
B,
z
] }],
@@ -12668,10 +12669,10 @@ var xr = (e, t) => {
] }],
fill: [{ fill: ["none", ...F()] }],
"stroke-w": [{ stroke: [
- ui,
- ki,
- Si,
- Ci
+ mi,
+ Ni,
+ Ei,
+ Di
] }],
stroke: [{ stroke: ["none", ...F()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -12929,16 +12930,16 @@ var xr = (e, t) => {
"selection"
]
};
-}, qi = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Ji(e, "cacheSize", t), Ji(e, "prefix", n), Ji(e, "experimentalParseClassName", r), Yi(e.theme, a.theme), Yi(e.classGroups, a.classGroups), Yi(e.conflictingClassGroups, a.conflictingClassGroups), Yi(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Ji(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Ji(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), Xi(e.theme, i.theme), Xi(e.classGroups, i.classGroups), Xi(e.conflictingClassGroups, i.conflictingClassGroups), Xi(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), Zi(e, i, "postfixLookupClassGroups"), Zi(e, i, "orderSensitiveModifiers"), e), Ji = (e, t, n) => {
+}, Zi = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Qi(e, "cacheSize", t), Qi(e, "prefix", n), Qi(e, "experimentalParseClassName", r), $i(e.theme, a.theme), $i(e.classGroups, a.classGroups), $i(e.conflictingClassGroups, a.conflictingClassGroups), $i(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Qi(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Qi(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), ea(e.theme, i.theme), ea(e.classGroups, i.classGroups), ea(e.conflictingClassGroups, i.conflictingClassGroups), ea(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), ta(e, i, "postfixLookupClassGroups"), ta(e, i, "orderSensitiveModifiers"), e), Qi = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, Yi = (e, t) => {
- if (t) for (let n in t) Ji(e, n, t[n]);
-}, Xi = (e, t) => {
- if (t) for (let n in t) Zi(e, t, n);
-}, Zi = (e, t, n) => {
+}, $i = (e, t) => {
+ if (t) for (let n in t) Qi(e, n, t[n]);
+}, ea = (e, t) => {
+ if (t) for (let n in t) ta(e, t, n);
+}, ta = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, Qi = (e, ...t) => typeof e == "function" ? Qr(Ki, e, ...t) : Qr(() => qi(Ki(), e), ...t), $i = [
+}, na = (e, ...t) => typeof e == "function" ? ni(Xi, e, ...t) : ni(() => Zi(Xi(), e), ...t), ra = [
"large-title",
"display-1",
"display-2",
@@ -12952,18 +12953,18 @@ var xr = (e, t) => {
"body-2",
"caption-1",
"caption-2"
-], ea = [
+], ia = [
"regular",
"medium",
"semibold",
"bold"
-], ta = Qi({ extend: { classGroups: { "font-size": [{ text: $i.flatMap((e) => ea.map((t) => `${e}-${t}`)) }] } } });
-function na(e) {
+], aa = na({ extend: { classGroups: { "font-size": [{ text: ra.flatMap((e) => ia.map((t) => `${e}-${t}`)) }] } } });
+function oa(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var ra = na({
+var sa = oa({
base: "inline-flex items-center justify-center rounded-md px-1.5 whitespace-nowrap transition-[padding,font-size] duration-200 ease",
variant: {
bold: "py-0.5 text-body-medium",
@@ -12982,16 +12983,16 @@ var ra = na({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function ia({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function ca({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, R.jsx)("span", {
ref: r,
- className: ta(ra.base, ra.variant[e], ra.color[t], n),
+ className: aa(sa.base, sa.variant[e], sa.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var aa = na({
+var la = oa({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -13050,40 +13051,40 @@ function V({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, R.jsxs)("button", {
ref: c,
type: s,
- className: ta(aa.base, aa.size[t], aa.variant[e], n && aa.iconOnlySize[t], o),
+ className: aa(la.base, la.size[t], la.variant[e], n && la.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, R.jsx)(r, {
- className: aa.icon[t],
+ className: la.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, R.jsx)("span", {
- className: aa.label[t],
+ className: la.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, R.jsx)(i, {
- className: aa.icon[t],
+ className: la.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function oa({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function ua({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, R.jsxs)("a", {
ref: s,
- className: ta(aa.base, aa.size[t], aa.variant[e], n && aa.iconOnlySize[t], o),
+ className: aa(la.base, la.size[t], la.variant[e], n && la.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, R.jsx)(r, {
- className: aa.icon[t],
+ className: la.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, R.jsx)("span", {
- className: aa.label[t],
+ className: la.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, R.jsx)(i, {
- className: aa.icon[t],
+ className: la.icon[t],
"aria-hidden": !0
}) : null
]
@@ -13091,13 +13092,13 @@ function oa({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/api.ts
-var sa = class extends Error {
+var da = class extends Error {
status;
body;
constructor(e, t, n = null) {
super(m(e, t)), this.name = "ApiError", this.status = t, this.body = n;
}
-}, ca = (e) => {
+}, fa = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -13119,7 +13120,7 @@ async function U(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new sa(ca(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new da(fa(r) || `请求失败(${n.status})`, n.status);
return r;
}
async function W(e, t, n = "POST", r) {
@@ -13136,52 +13137,52 @@ async function W(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new sa(ca(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new da(fa(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/react/components/card.tsx
-var la = "min-w-0", ua = {
+var pa = "min-w-0", ma = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, da = {
+}, ha = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, fa = {
+}, ga = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, pa = {
+}, _a = {
none: "",
default: "p-5"
-}, ma = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", ha = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
-function ga(e = {}) {
+}, va = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", ya = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
+function ba(e = {}) {
let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");
return [
- la,
- ua[t],
- da[s],
- pa[n],
- a ? fa[a] : "",
- r ? ma : "",
- i ? ha : "",
+ pa,
+ ma[t],
+ ha[s],
+ _a[n],
+ a ? ga[a] : "",
+ r ? va : "",
+ i ? ya : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var _a = {
+var xa = {
page: "min-h-80 justify-center rounded-floating border border-separator-border bg-background-secondary-default px-6 py-12",
plain: "px-6 py-12",
inset: "min-h-40 justify-center rounded-xl bg-background-secondary-default px-4 py-4"
};
-function va({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function Sa({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
let a = i === "page";
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-empty-state": "",
- className: `flex flex-col items-center gap-2 text-center ${_a[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${xa[i]}`,
children: [
a ? /* @__PURE__ */ (0, R.jsx)("span", {
"aria-hidden": !0,
@@ -13211,7 +13212,7 @@ function va({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function ya({ label: e, inline: t = !1 }) {
+function Ca({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, R.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex items-center gap-1",
@@ -13277,7 +13278,7 @@ function G({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function ba({ children: e }) {
+function wa({ children: e }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -13285,21 +13286,21 @@ function ba({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var xa = 100, Sa = .4;
-function Ca({ label: e, value: t, max: n = 100, stops: r = [] }) {
- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * xa;
+var Ta = 100, Ea = .4;
+function Da({ label: e, value: t, max: n = 100, stops: r = [] }) {
+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * Ta;
return /* @__PURE__ */ (0, R.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": n,
"aria-valuenow": t,
- viewBox: `0 0 ${xa} 1`,
+ viewBox: `0 0 ${Ta} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, R.jsx)("rect", {
- width: xa,
+ width: Ta,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -13310,7 +13311,7 @@ function Ca({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, R.jsx)("rect", {
x: a(e),
- width: Sa,
+ width: Ea,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -13319,7 +13320,7 @@ function Ca({ label: e, value: t, max: n = 100, stops: r = [] }) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function wa(e = "") {
+function Oa(e = "") {
let t = (0, L.useRef)(null), [n, r] = (0, L.useState)(""), [i, a] = (0, L.useState)(e);
(0, L.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -13351,58 +13352,58 @@ function K(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/chain.mjs
-function Ta(...e) {
+function ka(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var Ea = typeof document < "u" ? L.useLayoutEffect : () => {}, Da = {
+var Aa = typeof document < "u" ? L.useLayoutEffect : () => {}, ja = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, Oa = /*#__PURE__*/ L.createContext(Da), ka = /*#__PURE__*/ L.createContext(!1);
+}, Ma = /*#__PURE__*/ L.createContext(ja), Na = /*#__PURE__*/ L.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var Aa = /* @__PURE__ */ new WeakMap();
-function ja(e = !1) {
- let t = (0, L.useContext)(Oa), n = (0, L.useRef)(null);
+var Pa = /* @__PURE__ */ new WeakMap();
+function Fa(e = !1) {
+ let t = (0, L.useContext)(Ma), n = (0, L.useRef)(null);
if (n.current === null && !e) {
let e = L.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
if (e) {
- let n = Aa.get(e);
- n == null ? Aa.set(e, {
+ let n = Pa.get(e);
+ n == null ? Pa.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, Aa.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, Pa.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function Ma(e) {
- let t = (0, L.useContext)(Oa), n = ja(!!e), r = `react-aria${t.prefix}`;
+function Ia(e) {
+ let t = (0, L.useContext)(Ma), n = Fa(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function Na(e) {
- let t = L.useId(), [n] = (0, L.useState)(Ra()), r = n ? "react-aria" : `react-aria${Da.prefix}`;
+function La(e) {
+ let t = L.useId(), [n] = (0, L.useState)(Ha()), r = n ? "react-aria" : `react-aria${ja.prefix}`;
return e || `${r}-${t}`;
}
-var Pa = typeof L.useId == "function" ? Na : Ma;
-function Fa() {
+var Ra = typeof L.useId == "function" ? La : Ia;
+function za() {
return !1;
}
-function Ia() {
+function Ba() {
return !0;
}
-function La(e) {
+function Va(e) {
return () => {};
}
-function Ra() {
- return typeof L.useSyncExternalStore == "function" ? L.useSyncExternalStore(La, Fa, Ia) : (0, L.useContext)(ka);
+function Ha() {
+ return typeof L.useSyncExternalStore == "function" ? L.useSyncExternalStore(Va, za, Ba) : (0, L.useContext)(Na);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function za(e) {
+function Ua(e) {
let [t, n] = (0, L.useState)(e), r = (0, L.useRef)(t), i = (0, L.useRef)(null), a = (0, L.useRef)(() => {
if (!i.current) return;
let e = i.current.next();
@@ -13412,7 +13413,7 @@ function za(e) {
}
r.current === e.value ? a.current() : n(e.value);
});
- return Ea(() => {
+ return Aa(() => {
r.current = t, i.current && a.current();
}), [t, (0, L.useCallback)((e) => {
i.current = e(r.current), a.current();
@@ -13420,21 +13421,21 @@ function za(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useId.mjs
-var Ba = !!(typeof window < "u" && window.document && window.document.createElement), Va = /* @__PURE__ */ new Map(), Ha;
-typeof FinalizationRegistry < "u" && (Ha = new FinalizationRegistry((e) => {
- Va.delete(e);
+var Wa = !!(typeof window < "u" && window.document && window.document.createElement), Ga = /* @__PURE__ */ new Map(), Ka;
+typeof FinalizationRegistry < "u" && (Ka = new FinalizationRegistry((e) => {
+ Ga.delete(e);
}));
-var Ua = /* @__PURE__ */ new WeakMap();
-function Wa(e) {
- let [t, n] = (0, L.useState)(e), r = (0, L.useRef)(null), i = Pa(t), a = (0, L.useRef)(null), o = Ua.get(a);
- if (Ha && o !== i && (o != null && Ha.unregister(a), Ha.register(a, i, a), Ua.set(a, i)), Ba) {
- let e = Va.get(i);
- e && !e.includes(r) ? e.push(r) : Va.set(i, [r]);
- }
- return Ea(() => {
+var qa = /* @__PURE__ */ new WeakMap();
+function Ja(e) {
+ let [t, n] = (0, L.useState)(e), r = (0, L.useRef)(null), i = Ra(t), a = (0, L.useRef)(null), o = qa.get(a);
+ if (Ka && o !== i && (o != null && Ka.unregister(a), Ka.register(a, i, a), qa.set(a, i)), Wa) {
+ let e = Ga.get(i);
+ e && !e.includes(r) ? e.push(r) : Ga.set(i, [r]);
+ }
+ return Aa(() => {
let e = i;
return () => {
- Ha && (Ha.unregister(a), Ua.delete(a)), Va.delete(e);
+ Ka && (Ka.unregister(a), qa.delete(a)), Ga.delete(e);
};
}, [i]), (0, L.useEffect)(() => {
let e = r.current;
@@ -13443,20 +13444,20 @@ function Wa(e) {
};
}), i;
}
-function Ga(e, t) {
+function Ya(e, t) {
if (e === t) return e;
- let n = Va.get(e);
+ let n = Ga.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = Va.get(t);
+ let r = Ga.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function Ka(e = []) {
- let t = Wa(), [n, r] = za(t), i = (0, L.useCallback)(() => {
+function Xa(e = []) {
+ let t = Ja(), [n, r] = Ua(t), i = (0, L.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return Ea(i, [
+ return Aa(i, [
t,
i,
...e
@@ -13464,38 +13465,38 @@ function Ka(e = []) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function qa(...e) {
+function Za(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = Ja(e, t);
+ let r = Qa(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : Ja(e[n], null);
+ typeof t == "function" ? t() : Qa(e[n], null);
});
};
};
}
-function Ja(e, t) {
+function Qa(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
//#endregion
//#region node_modules/clsx/dist/clsx.mjs
-function Ya(e) {
+function $a(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 = Ya(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = $a(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function Xa() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Ya(e)) && (r && (r += " "), r += t);
+function eo() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = $a(e)) && (r && (r += " "), r += t);
return r;
}
//#endregion
@@ -13506,14 +13507,14 @@ function q(...e) {
let r = e[n];
for (let e in r) {
let n = t[e], i = r[e];
- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = Ta(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Xa(n, i) : e === "id" && n && i ? t.id = Ga(n, i) : e === "ref" && n && i ? t.ref = qa(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] = ka(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = eo(n, i) : e === "id" && n && i ? t.id = Ya(n, i) : e === "ref" && n && i ? t.ref = Za(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function Za(e) {
+function to(e) {
let t = (0, L.useRef)(null), n = (0, L.useRef)(void 0), r = (0, L.useCallback)((t) => {
if (typeof e == "function") {
let n = e, r = n(t);
@@ -13536,12 +13537,12 @@ function Za(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var Qa = Symbol("default");
-function $a({ values: e, children: t }) {
+var no = Symbol("default");
+function ro({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ L.createElement(n.Provider, { value: r }, t);
return t;
}
-function eo(e) {
+function io(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, L.useMemo)(() => {
let e, l, u;
@@ -13575,11 +13576,11 @@ function eo(e) {
c
]);
}
-function to(e, t) {
+function ao(e, t) {
let n = (0, L.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || Qa;
+ let e = t || no;
if (!n.slots[e]) {
let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";
throw Error(`${r} Valid slot names are ${e}.`);
@@ -13588,8 +13589,8 @@ function to(e, t) {
}
return n;
}
-function no(e, t, n) {
- let { ref: r, ...i } = to(n, e.slot) || {}, a = Za((0, L.useMemo)(() => qa(t, r), [t, r])), o = q(i, e);
+function oo(e, t, n) {
+ let { ref: r, ...i } = ao(n, e.slot) || {}, a = to((0, L.useMemo)(() => Za(t, r), [t, r])), o = q(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,
@@ -13607,46 +13608,46 @@ function no(e, t, n) {
...e.style
}), [o, a];
}
-function ro(e = !0) {
+function so(e = !0) {
let [t, n] = (0, L.useState)(e), r = (0, L.useRef)(!1), i = (0, L.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return Ea(() => {
+ return Aa(() => {
r.current || n(!1);
}, []), [i, t];
}
-function io(e) {
+function co(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function ao(e, t, n) {
- let { render: r, ...i } = t, a = (0, L.useRef)(null), o = (0, L.useMemo)(() => qa(n, a), [n, a]);
- Ea(() => {}, [e, r]);
+function lo(e, t, n) {
+ let { render: r, ...i } = t, a = (0, L.useRef)(null), o = (0, L.useMemo)(() => Za(n, a), [n, a]);
+ Aa(() => {}, [e, r]);
let s = {
...i,
ref: o
};
return r ? r(s, void 0) : /*#__PURE__*/ L.createElement(e, s);
}
-var oo = {}, so = new Proxy({}, { get(e, t) {
+var uo = {}, fo = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = oo[t];
- return n || (n = /*#__PURE__*/ (0, L.forwardRef)(ao.bind(null, t)), oo[t] = n), n;
-} }), co = "react-aria-clear-focus", lo = "react-aria-focus", uo = (e) => mo(e) ? e.document : ho(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), fo = (e) => uo(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function po(e) {
+ let n = uo[t];
+ return n || (n = /*#__PURE__*/ (0, L.forwardRef)(lo.bind(null, t)), uo[t] = n), n;
+} }), po = "react-aria-clear-focus", mo = "react-aria-focus", ho = (e) => vo(e) ? e.document : yo(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), go = (e) => ho(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
+function _o(e) {
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
-function mo(e) {
+function vo(e) {
return typeof e == "object" && !!e && "window" in e && e.window === e;
}
-function ho(e) {
- return po(e) && e.nodeType === 9;
+function yo(e) {
+ return _o(e) && e.nodeType === 9;
}
-function go(e) {
- return po(e) && e.nodeType === 11 && "host" in e;
+function bo(e) {
+ return _o(e) && e.nodeType === 11 && "host" in e;
}
-function _o(e, t, n, r) {
+function xo(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);
@@ -13654,7 +13655,7 @@ function _o(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function vo(e, t, n, r) {
+function So(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -13669,95 +13670,95 @@ function vo(e, t, n, r) {
}
//#endregion
//#region node_modules/react-stately/dist/private/flags/flags.mjs
-var yo = !1;
-function bo() {
- return yo;
+var Co = !1;
+function wo() {
+ return Co;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function xo(e, t) {
- if (!bo()) return t && e ? e.contains(t) : !1;
+function To(e, t) {
+ if (!wo()) 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 : go(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : bo(n) ? n.host : n.parentNode;
}
return !1;
}
-var So = (e = document) => {
- if (!bo()) return e.activeElement;
+var Eo = (e = document) => {
+ if (!wo()) return e.activeElement;
let t = e.activeElement;
for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;
return t;
};
function J(e) {
- if (bo() && e.target instanceof Element && e.target.shadowRoot) {
+ if (wo() && 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 Co(e, t) {
+function Do(e, t) {
if (t === null) return [];
- t ??= fo(e);
+ t ??= go(e);
let n = [t];
- if (!bo() || !e || e === t) return n;
+ if (!wo() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; go(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; bo(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function wo(e) {
+function Oo(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = fo(e);
+ let t = e.getRootNode(), n = go(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/focus/virtualFocus.mjs
-function To(e) {
- let t = Oo(uo(e));
- t !== e && (t && Eo(t, e), e && Do(e, t));
+function ko(e) {
+ let t = Mo(ho(e));
+ t !== e && (t && Ao(t, e), e && jo(e, t));
}
-function Eo(e, t) {
+function Ao(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function Do(e, t) {
+function jo(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function Oo(e) {
- let t = So(e), n = t?.getAttribute("aria-activedescendant");
+function Mo(e) {
+ let t = Eo(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function ko(e) {
- if (jo()) e.focus({ preventScroll: !0 });
+function No(e) {
+ if (Fo()) e.focus({ preventScroll: !0 });
else {
- let t = Mo(e);
- e.focus(), No(t);
+ let t = Io(e);
+ e.focus(), Lo(t);
}
}
-var Ao = null;
-function jo() {
- if (Ao == null) {
- Ao = !1;
+var Po = null;
+function Fo() {
+ if (Po == null) {
+ Po = !1;
try {
document.createElement("div").focus({ get preventScroll() {
- return Ao = !0, !0;
+ return Po = !0, !0;
} });
} catch {}
}
- return Ao;
+ return Po;
}
-function Mo(e) {
+function Io(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,
@@ -13770,31 +13771,31 @@ function Mo(e) {
scrollLeft: r.scrollLeft
}), n;
}
-function No(e) {
+function Lo(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/isElementVisible.mjs
-var Po = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function Fo(e) {
- let t = fo(e);
+var Ro = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function zo(e) {
+ let t = go(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 } = fo(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = go(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
}
-function Io(e, t) {
+function Bo(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 Lo(e, t) {
- return Po ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Fo(e) && Io(e, t) && (!e.parentElement || Lo(e.parentElement, e));
+function Vo(e, t) {
+ return Ro ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && zo(e) && Bo(e, t) && (!e.parentElement || Vo(e.parentElement, e));
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var Ro = [
+var Ho = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -13809,38 +13810,38 @@ var Ro = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], zo = Ro.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-Ro.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var Bo = Ro.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function Vo(e, t) {
- return e.matches(zo) && !Uo(e) && (t?.skipVisibilityCheck || Lo(e));
+], Uo = Ho.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+Ho.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var Wo = Ho.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function Go(e, t) {
+ return e.matches(Uo) && !qo(e) && (t?.skipVisibilityCheck || Vo(e));
}
-function Ho(e) {
- return e.matches(Bo) && Lo(e) && !Uo(e);
+function Ko(e) {
+ return e.matches(Wo) && Vo(e) && !qo(e);
}
-function Uo(e) {
+function qo(e) {
let t = e;
for (; t != null;) {
- if (t instanceof fo(t).HTMLElement && t.inert) return !0;
+ if (t instanceof go(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/utils.mjs
-function Wo(e) {
+function Jo(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function Go(e, t) {
+function Yo(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function Ko(e) {
+function Xo(e) {
let t = (0, L.useRef)({
isFocused: !1,
observer: null
});
- return Ea(() => {
+ return Aa(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
@@ -13852,14 +13853,14 @@ function Ko(e) {
let n = r;
n.addEventListener("focusout", (r) => {
if (t.current.isFocused = !1, n.disabled) {
- let t = Wo(r);
+ let t = Jo(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 === So() ? null : So();
+ let e = n === Eo() ? null : Eo();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -13872,87 +13873,87 @@ function Ko(e) {
}
}, [e]);
}
-var qo = !1;
-function Jo(e) {
- for (; e && !Vo(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = So(fo(e).document);
+var Zo = !1;
+function Qo(e) {
+ for (; e && !Go(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = Eo(go(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && go(n) ? n : fo(e), i = (t) => t === e || t != null && xo(e, t), a = (e) => e === t || t != null && e != null && xo(t, e);
- qo = !0;
+ let n = e?.getRootNode(), r = n != null && bo(n) ? n : go(e), i = (t) => t === e || t != null && To(e, t), a = (e) => e === t || t != null && e != null && To(t, e);
+ Zo = !0;
let o = !1, s = (e) => {
(a(J(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(J(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, ko(t), d()));
+ (a(J(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, No(t), d()));
}, l = (e) => {
(i(J(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(J(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, ko(t), d()));
+ (i(J(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, No(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), qo = !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), Zo = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/platform.mjs
-function Yo(e) {
+function $o(e) {
if (typeof window > "u" || window.navigator == null) return !1;
let t = window.navigator.userAgentData?.brands;
return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);
}
-function Xo(e) {
+function es(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function Zo(e) {
+function ts(e) {
let t = null;
return () => (t ??= e(), t);
}
-var Qo = Zo(function() {
- return Xo(/^Mac/i);
-}), $o = Zo(function() {
- return Xo(/^iPhone/i);
-}), es = Zo(function() {
- return Xo(/^iPad/i) || Qo() && navigator.maxTouchPoints > 1;
-}), ts = Zo(function() {
- return $o() || es();
-}), ns = Zo(function() {
- return Qo() || ts();
-}), rs = Zo(function() {
- return Yo(/AppleWebKit/i) && (ts() || !is());
-}), is = Zo(function() {
- return Yo(/Chrome|CriOS|CrMo/i);
-}), as = Zo(function() {
- return Yo(/Android/i);
-}), os = Zo(function() {
- return Yo(/(Firefox|FxiOS)/i);
+var ns = ts(function() {
+ return es(/^Mac/i);
+}), rs = ts(function() {
+ return es(/^iPhone/i);
+}), is = ts(function() {
+ return es(/^iPad/i) || ns() && navigator.maxTouchPoints > 1;
+}), as = ts(function() {
+ return rs() || is();
+}), os = ts(function() {
+ return ns() || as();
+}), ss = ts(function() {
+ return $o(/AppleWebKit/i) && (as() || !cs());
+}), cs = ts(function() {
+ return $o(/Chrome|CriOS|CrMo/i);
+}), ls = ts(function() {
+ return $o(/Android/i);
+}), us = ts(function() {
+ return $o(/(Firefox|FxiOS)/i);
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function ss(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : as() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+function ds(e) {
+ return e.pointerType === "" && e.isTrusted ? !0 : ls() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
}
-function cs(e) {
- return !as() && e.width === 0 && e.height === 0 || as() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+function fs(e) {
+ return !ls() && e.width === 0 && e.height === 0 || ls() && 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 ls = /*#__PURE__*/ (0, L.createContext)({
+var ps = /*#__PURE__*/ (0, L.createContext)({
isNative: !0,
- open: ms,
+ open: vs,
useHref: (e) => e
});
-function us() {
- return (0, L.useContext)(ls);
+function ms() {
+ return (0, L.useContext)(ps);
}
-function ds(e, t) {
+function hs(e, t) {
let n = e.getAttribute("target");
return (!n || n === "_self") && e.origin === location.origin && !e.hasAttribute("download") && !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey;
}
-function fs(e, t, n = !0) {
+function gs(e, t, n = !0) {
let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t;
- !rs() && os() && window.event?.type?.startsWith("key") && e.target === "_blank" && (Qo() ? r = !0 : i = !0);
- let s = rs() && Qo() && !es() ? new KeyboardEvent("keydown", {
+ !ss() && us() && window.event?.type?.startsWith("key") && e.target === "_blank" && (ns() ? r = !0 : i = !0);
+ let s = ss() && ns() && !is() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -13967,21 +13968,21 @@ function fs(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- fs.isOpening = n, ko(e), e.dispatchEvent(s), fs.isOpening = !1;
+ gs.isOpening = n, No(e), e.dispatchEvent(s), gs.isOpening = !1;
}
-fs.isOpening = !1;
-function ps(e, t) {
+gs.isOpening = !1;
+function _s(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 ms(e, t) {
- ps(e, (e) => fs(e, t));
+function vs(e, t) {
+ _s(e, (e) => gs(e, t));
}
-function hs(e) {
- let t = us().useHref(e.href ?? "");
+function ys(e) {
+ let t = ms().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -13991,8 +13992,8 @@ function hs(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function gs(e) {
- let t = us().useHref(e?.href ?? ""), n = {};
+function bs(e) {
+ let t = ms().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -14003,94 +14004,94 @@ function gs(e) {
]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);
return n;
}
-function _s(e, t, n, r) {
- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && ds(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
+function xs(e, t, n, r) {
+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && hs(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var vs = null, ys = /* @__PURE__ */ new Set(), bs = /* @__PURE__ */ new Map(), xs = !1, Ss = !1, Cs = {
+var Ss = null, Cs = /* @__PURE__ */ new Set(), ws = /* @__PURE__ */ new Map(), Ts = !1, Es = !1, Ds = {
Tab: !0,
Escape: !0
};
-function ws(e, t) {
- for (let n of ys) n(e, t);
+function Os(e, t) {
+ for (let n of Cs) n(e, t);
}
-function Ts(e) {
- return !(e.metaKey || !Qo() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+function ks(e) {
+ return !(e.metaKey || !ns() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
}
-function Es(e) {
- xs = !0, !fs.isOpening && Ts(e) && (vs = "keyboard", ws("keyboard", e));
+function As(e) {
+ Ts = !0, !gs.isOpening && ks(e) && (Ss = "keyboard", Os("keyboard", e));
}
-function Ds(e) {
- vs = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (xs = !0, ws("pointer", e));
+function js(e) {
+ Ss = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Ts = !0, Os("pointer", e));
}
-function Os(e) {
- !fs.isOpening && ss(e) && (xs = !0, vs = "virtual");
+function Ms(e) {
+ !gs.isOpening && ds(e) && (Ts = !0, Ss = "virtual");
}
-function ks(e) {
- if (qo) return;
- let t = J(e), n = fo(t), r = uo(t);
+function Ns(e) {
+ if (Zo) return;
+ let t = J(e), n = go(t), r = ho(t);
if (t === n) {
- Ss = !0;
+ Es = !0;
return;
}
- t === r || !e.isTrusted || (!xs && !Ss && (vs = "virtual", ws("virtual", e)), xs = !1, Ss = !1);
+ t === r || !e.isTrusted || (!Ts && !Es && (Ss = "virtual", Os("virtual", e)), Ts = !1, Es = !1);
}
-function As() {
- qo || (xs = !1, Ss = !0);
+function Ps() {
+ Zo || (Ts = !1, Es = !0);
}
-function js(e) {
+function Fs(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = fo(e), n = uo(e);
- if (bs.get(t)) return;
+ let t = go(e), n = ho(e);
+ if (ws.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- xs = !0, r.apply(this, arguments);
+ Ts = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", Es, !0), n.addEventListener("keyup", Es, !0), n.addEventListener("click", Os, !0), t.addEventListener("focus", ks, !0), t.addEventListener("blur", As, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Ds, !0), n.addEventListener("pointermove", Ds, !0), n.addEventListener("pointerup", Ds, !0)), t.addEventListener("beforeunload", () => {
- Ms(e);
- }, { once: !0 }), bs.set(t, { focus: r });
+ }), n.addEventListener("keydown", As, !0), n.addEventListener("keyup", As, !0), n.addEventListener("click", Ms, !0), t.addEventListener("focus", Ns, !0), t.addEventListener("blur", Ps, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", js, !0), n.addEventListener("pointermove", js, !0), n.addEventListener("pointerup", js, !0)), t.addEventListener("beforeunload", () => {
+ Is(e);
+ }, { once: !0 }), ws.set(t, { focus: r });
}
-var Ms = (e, t) => {
- let n = fo(e), r = uo(e);
- t && r.removeEventListener("DOMContentLoaded", t), bs.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var Is = (e, t) => {
+ let n = go(e), r = ho(e);
+ t && r.removeEventListener("DOMContentLoaded", t), ws.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: bs.get(n).focus
- }), r.removeEventListener("keydown", Es, !0), r.removeEventListener("keyup", Es, !0), r.removeEventListener("click", Os, !0), n.removeEventListener("focus", ks, !0), n.removeEventListener("blur", As, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Ds, !0), r.removeEventListener("pointermove", Ds, !0), r.removeEventListener("pointerup", Ds, !0)), bs.delete(n));
+ value: ws.get(n).focus
+ }), r.removeEventListener("keydown", As, !0), r.removeEventListener("keyup", As, !0), r.removeEventListener("click", Ms, !0), n.removeEventListener("focus", Ns, !0), n.removeEventListener("blur", Ps, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", js, !0), r.removeEventListener("pointermove", js, !0), r.removeEventListener("pointerup", js, !0)), ws.delete(n));
};
-function Ns(e) {
- let t = uo(e), n;
+function Ls(e) {
+ let t = ho(e), n;
return t.readyState === "loading" ? (n = () => {
- js(e);
- }, t.addEventListener("DOMContentLoaded", n)) : js(e), () => Ms(e, n);
+ Fs(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : Fs(e), () => Is(e, n);
}
-typeof document < "u" && Ns();
-function Ps() {
- return vs !== "pointer";
+typeof document < "u" && Ls();
+function Rs() {
+ return Ss !== "pointer";
}
-function Fs() {
- return vs;
+function zs() {
+ return Ss;
}
-function Is(e) {
- vs = e, ws(e, null);
+function Bs(e) {
+ Ss = e, Os(e, null);
}
-function Ls() {
- js();
- let [e, t] = (0, L.useState)(vs);
+function Vs() {
+ Fs();
+ let [e, t] = (0, L.useState)(Ss);
return (0, L.useEffect)(() => {
let e = () => {
- t(vs);
+ t(Ss);
};
- return ys.add(e), () => {
- ys.delete(e);
+ return Cs.add(e), () => {
+ Cs.delete(e);
};
- }, []), Ra() ? null : e;
+ }, []), Ha() ? null : e;
}
-var Rs = /* @__PURE__ */ new Set([
+var Hs = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -14101,33 +14102,33 @@ var Rs = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function zs(e, t, n) {
- let r = n ? J(n) : void 0, i = uo(r), a = fo(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 = So(i);
- return e = e || u instanceof o && !Rs.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Cs[n.key]);
+function Us(e, t, n) {
+ let r = n ? J(n) : void 0, i = ho(r), a = go(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 = Eo(i);
+ return e = e || u instanceof o && !Hs.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Ds[n.key]);
}
-function Bs(e = {}) {
- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, L.useState)(n || Ps());
- return Vs((e) => {
+function Ws(e = {}) {
+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, L.useState)(n || Rs());
+ return Gs((e) => {
i(e);
}, [t], { isTextInput: t }), { isFocusVisible: r };
}
-function Vs(e, t, n) {
- js(), (0, L.useEffect)(() => {
+function Gs(e, t, n) {
+ Fs(), (0, L.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- zs(!!n?.isTextInput, t, r) && e(Ps());
+ Us(!!n?.isTextInput, t, r) && e(Rs());
};
- return ys.add(t), () => {
- ys.delete(t);
+ return Cs.add(t), () => {
+ Cs.delete(t);
};
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/keyboard.mjs
-function Hs(e) {
- return Qo() ? e.metaKey : e.ctrlKey;
+function Ks(e) {
+ return ns() ? e.metaKey : e.ctrlKey;
}
-var Us = /* @__PURE__ */ new Set([
+var qs = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -14138,15 +14139,15 @@ var Us = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Ws(e) {
- return e instanceof HTMLInputElement && !Us.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
+function Js(e) {
+ return e instanceof HTMLInputElement && !qs.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var Gs = L.useInsertionEffect ?? Ea;
-function Ks(e) {
+var Ys = L.useInsertionEffect ?? Aa;
+function Xs(e) {
let t = (0, L.useRef)(null);
- return Gs(() => {
+ return Ys(() => {
t.current = e;
}, [e]), (0, L.useCallback)((...e) => {
let n = t.current;
@@ -14155,10 +14156,10 @@ function Ks(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEvent.mjs
-function qs(e, t, n, r) {
- let i = Ks(n), a = n == null;
+function Zs(e, t, n, r) {
+ let i = Xs(n), a = n == null;
(0, L.useEffect)(() => {
- if (!(a || e.current == null)) return _o(e.current, t, i, r);
+ if (!(a || e.current == null)) return xo(e.current, t, i, r);
}, [
e,
t,
@@ -14168,9 +14169,9 @@ function qs(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLabels.mjs
-function Js(e, t) {
+function Qs(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = Wa(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 = Ja(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
@@ -14178,7 +14179,7 @@ function Js(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/utils.mjs
-var Ys = /* @__PURE__ */ new Set([
+var $s = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -14189,7 +14190,7 @@ var Ys = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), Xs = /* @__PURE__ */ new Set([
+]), ec = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -14210,20 +14211,20 @@ var Ys = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function Zs(e) {
+function tc(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 Ys.has(t.script);
+ if (t.script) return $s.has(t.script);
}
let t = e.split("-")[0];
- return Xs.has(t);
+ return ec.has(t);
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var Qs = Symbol.for("react-aria.i18n.locale");
-function $s() {
- let e = typeof window < "u" && window[Qs] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var nc = Symbol.for("react-aria.i18n.locale");
+function rc() {
+ let e = typeof window < "u" && window[nc] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -14231,33 +14232,33 @@ function $s() {
}
return {
locale: e,
- direction: Zs(e) ? "rtl" : "ltr"
+ direction: tc(e) ? "rtl" : "ltr"
};
}
-var ec = $s(), tc = /* @__PURE__ */ new Set();
-function nc() {
- ec = $s();
- for (let e of tc) e(ec);
+var ic = rc(), ac = /* @__PURE__ */ new Set();
+function oc() {
+ ic = rc();
+ for (let e of ac) e(ic);
}
-function rc() {
- let e = Ra(), [t, n] = (0, L.useState)(ec);
- return (0, L.useEffect)(() => (tc.size === 0 && window.addEventListener("languagechange", nc), tc.add(n), () => {
- tc.delete(n), tc.size === 0 && window.removeEventListener("languagechange", nc);
+function sc() {
+ let e = Ha(), [t, n] = (0, L.useState)(ic);
+ return (0, L.useEffect)(() => (ac.size === 0 && window.addEventListener("languagechange", oc), ac.add(n), () => {
+ ac.delete(n), ac.size === 0 && window.removeEventListener("languagechange", oc);
}), []), e ? {
- locale: typeof window < "u" && window[Qs] || "en-US",
+ locale: typeof window < "u" && window[nc] || "en-US",
direction: "ltr"
} : t;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var ic = /*#__PURE__*/ L.createContext(null);
-function ac() {
- let e = rc();
- return (0, L.useContext)(ic) || e;
+var cc = /*#__PURE__*/ L.createContext(null);
+function lc() {
+ let e = sc();
+ return (0, L.useContext)(cc) || e;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var oc = Symbol.for("react-aria.i18n.locale"), sc = Symbol.for("react-aria.i18n.strings"), cc = void 0, lc = class e {
+var uc = Symbol.for("react-aria.i18n.locale"), dc = Symbol.for("react-aria.i18n.strings"), fc = void 0, pc = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -14268,39 +14269,39 @@ var oc = Symbol.for("react-aria.i18n.locale"), sc = Symbol.for("react-aria.i18n.
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = uc(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = mc(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[oc];
- if (cc === void 0) {
- let t = window[sc];
+ let n = window[uc];
+ if (fc === void 0) {
+ let t = window[dc];
if (!t) return null;
- cc = {};
- for (let r in t) cc[r] = new e({ [n]: t[r] }, n);
+ fc = {};
+ for (let r in t) fc[r] = new e({ [n]: t[r] }, n);
}
- let r = cc?.[t];
+ let r = fc?.[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 uc(e, t, n = "en-US") {
+function mc(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = dc(e), i = fc(e);
+ let r = hc(e), i = gc(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 dc(e) {
+function hc(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function fc(e) {
+function gc(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var pc = /* @__PURE__ */ new Map(), mc = /* @__PURE__ */ new Map(), hc = class {
+var _c = /* @__PURE__ */ new Map(), vc = /* @__PURE__ */ new Map(), yc = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -14311,39 +14312,39 @@ var pc = /* @__PURE__ */ new Map(), mc = /* @__PURE__ */ new Map(), hc = class {
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = pc.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), pc.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = _c.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), _c.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = mc.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), mc.set(this.locale, t)), t.format(e);
+ let t = vc.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), vc.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, gc = /* @__PURE__ */ new WeakMap();
-function _c(e) {
- let t = gc.get(e);
- return t || (t = new lc(e), gc.set(e, t)), t;
+}, bc = /* @__PURE__ */ new WeakMap();
+function xc(e) {
+ let t = bc.get(e);
+ return t || (t = new pc(e), bc.set(e, t)), t;
}
-function vc(e, t) {
- return t && lc.getGlobalDictionaryForPackage(t) || _c(e);
+function Sc(e, t) {
+ return t && pc.getGlobalDictionaryForPackage(t) || xc(e);
}
-function yc(e, t) {
- let { locale: n } = ac(), r = vc(e, t);
- return (0, L.useMemo)(() => new hc(n, r), [n, r]);
+function Cc(e, t) {
+ let { locale: n } = lc(), r = Sc(e, t);
+ return (0, L.useMemo)(() => new yc(n, r), [n, r]);
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var bc = typeof document < "u" ? L.useInsertionEffect ?? L.useLayoutEffect : () => {};
-function xc(e, t, n) {
+var wc = typeof document < "u" ? L.useInsertionEffect ?? L.useLayoutEffect : () => {};
+function Tc(e, t, n) {
let [r, i] = (0, L.useState)(e || t), a = (0, L.useRef)(r), o = (0, L.useRef)(e !== void 0), s = e !== void 0;
(0, L.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- bc(() => {
+ wc(() => {
a.current = c;
});
let [, l] = (0, L.useReducer)(() => ({}), {});
@@ -14354,7 +14355,7 @@ function xc(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Autocomplete.mjs
-var Sc = /*#__PURE__*/ (0, L.createContext)(null), Cc = /*#__PURE__*/ (0, L.createContext)(null), wc = class {
+var Ec = /*#__PURE__*/ (0, L.createContext)(null), Dc = /*#__PURE__*/ (0, L.createContext)(null), Oc = 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;
}
@@ -14369,22 +14370,22 @@ var Sc = /*#__PURE__*/ (0, L.createContext)(null), Cc = /*#__PURE__*/ (0, L.crea
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, Tc = class extends wc {
+}, kc = class extends Oc {
filter(e, t, n) {
- let [r, i] = Ac(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = Pc(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends wc {
+(class extends Oc {
static {
this.type = "header";
}
});
-var Ec = class extends wc {
+var Ac = class extends Oc {
static {
this.type = "loader";
}
-}, Dc = class extends Tc {
+}, jc = class extends kc {
static {
this.type = "item";
}
@@ -14395,7 +14396,7 @@ var Ec = class extends wc {
}
return null;
}
-}, Oc = class extends Tc {
+}, Mc = class extends kc {
static {
this.type = "section";
}
@@ -14407,7 +14408,7 @@ var Ec = class extends wc {
}
return null;
}
-}, kc = class {
+}, Nc = class {
get size() {
return this.itemCount;
}
@@ -14482,14 +14483,14 @@ var Ec = class extends wc {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = Ac(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = Pc(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 Ac(e, t, n, r) {
+function Pc(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -14504,7 +14505,7 @@ function Ac(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/collections/Document.mjs
-var jc = class {
+var Fc = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -14585,7 +14586,7 @@ var jc = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, Mc = class e extends jc {
+}, Ic = class e extends Fc {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -14636,7 +14637,7 @@ var jc = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, Nc = class extends jc {
+}, Lc = class extends Fc {
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;
}
@@ -14644,7 +14645,7 @@ var jc = class {
return !0;
}
createElement(e) {
- return new Mc(e, this);
+ return new Ic(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -14666,8 +14667,8 @@ var jc = class {
return this.inSubscription ? this.collection : (this.queuedRender = !1, this.updateCollection(), this.collection);
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof Mc && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof Mc ? (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 Ic && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof Ic ? (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() {
@@ -14686,13 +14687,13 @@ var jc = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function Pc(e) {
+function Rc(e) {
let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, L.useMemo)(() => void 0, [t]), s = (0, L.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
return (0, L.useMemo)(() => {
if (n && typeof t == "function") {
let e = [];
for (let a of n) {
- let n = Fc(a) ? a : null, o = n ? s.get(n) : null;
+ let n = zc(a) ? a : null, o = n ? s.get(n) : null;
if (!o) {
o = t(a);
let c = o.props.id ?? a?.key ?? a?.id;
@@ -14717,7 +14718,7 @@ function Pc(e) {
i
]);
}
-function Fc(e) {
+function zc(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -14727,8 +14728,8 @@ function Fc(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var Ic = /* @__PURE__ */ new Map(), Lc = /* @__PURE__ */ new Set();
-function Rc() {
+var Bc = /* @__PURE__ */ new Map(), Vc = /* @__PURE__ */ new Set();
+function Hc() {
if (typeof window > "u") return;
function e(e) {
return "propertyName" in e;
@@ -14736,48 +14737,48 @@ function Rc() {
let t = (t) => {
let r = J(t);
if (!e(t) || !r) return;
- let i = Ic.get(r);
- i || (i = /* @__PURE__ */ new Set(), Ic.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
+ let i = Bc.get(r);
+ i || (i = /* @__PURE__ */ new Set(), Bc.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
}, n = (t) => {
let r = J(t);
if (!e(t) || !r) return;
- let i = Ic.get(r);
- if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), Ic.delete(r)), Ic.size === 0)) {
- for (let e of Lc) e();
- Lc.clear();
+ let i = Bc.get(r);
+ if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), Bc.delete(r)), Bc.size === 0)) {
+ for (let e of Vc) e();
+ Vc.clear();
}
};
document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);
}
-typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", Rc) : Rc());
-function zc() {
- for (let [e] of Ic) "isConnected" in e && !e.isConnected && Ic.delete(e);
+typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", Hc) : Hc());
+function Uc() {
+ for (let [e] of Bc) "isConnected" in e && !e.isConnected && Bc.delete(e);
}
-function Bc(e) {
+function Wc(e) {
requestAnimationFrame(() => {
- zc(), Ic.size === 0 ? e() : Lc.add(e);
+ Uc(), Bc.size === 0 ? e() : Vc.add(e);
});
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function Vc(e) {
+function Gc(e) {
if (!e.isConnected) return;
- let t = uo(e);
- if (Fs() === "virtual") {
- let n = So(t);
- Bc(() => {
- let r = So(t);
- (r === n || r === t.body) && e.isConnected && ko(e);
+ let t = ho(e);
+ if (zs() === "virtual") {
+ let n = Eo(t);
+ Wc(() => {
+ let r = Eo(t);
+ (r === n || r === t.body) && e.isConnected && No(e);
});
- } else ko(e);
+ } else No(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function Hc(e) {
+function Kc(e) {
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, L.useCallback)((e) => {
if (J(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
- }, [r, i]), o = Ko(a), s = (0, L.useCallback)((e) => {
- let t = J(e), r = uo(t), a = r ? So(r) : So();
+ }, [r, i]), o = Xo(a), s = (0, L.useCallback)((e) => {
+ let t = J(e), r = ho(t), a = r ? Eo(r) : Eo();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -14791,7 +14792,7 @@ function Hc(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function Uc(e) {
+function qc(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -14816,33 +14817,33 @@ function Uc(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var Wc = /* @__PURE__ */ new Set([
+var Jc = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), Gc = [
+]), Yc = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function Kc(e) {
+function Xc(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(Qo() ? "Meta" : "Control"), t;
+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(ns() ? "Meta" : "Control"), t;
}
-function qc(e) {
+function Zc(e) {
let t = /* @__PURE__ */ new Set();
return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;
}
-function Jc(e) {
- return Gc.filter((t) => e.has(t));
+function Qc(e) {
+ return Yc.filter((t) => e.has(t));
}
-function Yc(e) {
+function $c(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return Wc.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 Jc.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,
@@ -14854,10 +14855,10 @@ function Yc(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 Xc(e) {
+function el(e) {
return e.toLowerCase();
}
-var Zc = {
+var tl = {
space: " ",
esc: "escape",
del: "delete",
@@ -14869,26 +14870,26 @@ var Zc = {
pageup: "pageup",
pagedown: "pagedown"
};
-function Qc(e) {
- let t = Xc(e);
- return Zc[t] ?? t;
+function nl(e) {
+ let t = el(e);
+ return tl[t] ?? t;
}
-function $c(e) {
- let t = Jc(Kc(e)), n = Qc(e.key);
+function rl(e) {
+ let t = Qc(Xc(e)), n = nl(e.key);
return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
-function el(e) {
- let t = Jc(qc(e)), n = Xc(e.key);
+function il(e) {
+ let t = Qc(Zc(e)), n = el(e.key);
return (t.length > 0 ? `${t.join("+")}+` : "") + n;
}
-function tl(e) {
+function al(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = Yc(n);
- t.set($c(e), r);
+ let e = $c(n);
+ t.set(rl(e), r);
}
return (e) => {
- let n = el(e), r = t.get(n), i = r?.(e);
+ let n = il(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -14900,11 +14901,11 @@ function tl(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function nl(e) {
+function ol(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = tl(t), s = Uc((e) => {
- if (!xo(e.currentTarget, J(e))) {
+ let o = al(t), s = qc((e) => {
+ if (!To(e.currentTarget, J(e))) {
e.continuePropagation();
return;
}
@@ -14913,8 +14914,8 @@ function nl(e) {
return;
}
o(e);
- }), c = Uc((e) => {
- if (!xo(e.currentTarget, J(e))) {
+ }), c = qc((e) => {
+ if (!To(e.currentTarget, J(e))) {
e.continuePropagation();
return;
}
@@ -14924,8 +14925,8 @@ function nl(e) {
}
e.continuePropagation();
});
- i = e.onKeyDown ? Ta(e.onKeyDown, s) : s, a = e.onKeyUp ? Ta(e.onKeyUp, c) : c;
- } else i = Uc(e.onKeyDown), a = Uc(e.onKeyUp);
+ i = e.onKeyDown ? ka(e.onKeyDown, s) : s, a = e.onKeyUp ? ka(e.onKeyUp, c) : c;
+ } else i = qc(e.onKeyDown), a = qc(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
@@ -14933,8 +14934,8 @@ function nl(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function rl(e, t) {
- Ea(() => {
+function sl(e, t) {
+ Aa(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
};
@@ -14942,17 +14943,17 @@ function rl(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var il = /*#__PURE__*/ L.createContext(null);
-function al(e) {
- let t = (0, L.useContext)(il) || {};
- rl(t, e);
+var cl = /*#__PURE__*/ L.createContext(null);
+function ll(e) {
+ let t = (0, L.useContext)(cl) || {};
+ sl(t, e);
let { ref: n, ...r } = t;
return r;
}
-function ol(e, t) {
- let { focusProps: n } = Hc(e), { keyboardProps: r } = nl(e), i = q(n, r), a = al(t), o = e.isDisabled ? {} : a, s = (0, L.useRef)(e.autoFocus);
+function ul(e, t) {
+ let { focusProps: n } = Kc(e), { keyboardProps: r } = ol(e), i = q(n, r), a = ll(t), o = e.isDisabled ? {} : a, s = (0, L.useRef)(e.autoFocus);
(0, L.useEffect)(() => {
- s.current && t.current && Vc(t.current), s.current = !1;
+ s.current && t.current && Gc(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
return e.isDisabled && (c = void 0), { focusableProps: q({
@@ -14987,23 +14988,23 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var sl = /*#__PURE__*/ (0, L.createContext)(!1);
-function cl(e) {
- if ((0, L.useContext)(sl)) return /*#__PURE__*/ L.createElement(L.Fragment, null, e.children);
- let t = /*#__PURE__*/ L.createElement(sl.Provider, { value: !0 }, e.children);
+var dl = /*#__PURE__*/ (0, L.createContext)(!1);
+function fl(e) {
+ if ((0, L.useContext)(dl)) return /*#__PURE__*/ L.createElement(L.Fragment, null, e.children);
+ let t = /*#__PURE__*/ L.createElement(dl.Provider, { value: !0 }, e.children);
return /*#__PURE__*/ L.createElement("template", null, t);
}
-function ll(e) {
- let t = (t, n) => (0, L.useContext)(sl) ? null : e(t, n);
+function pl(e) {
+ let t = (t, n) => (0, L.useContext)(dl) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, L.forwardRef)(t);
}
-function ul() {
- return (0, L.useContext)(sl);
+function ml() {
+ return (0, L.useContext)(dl);
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
-var dl = /* @__PURE__ */ Ge(((e) => {
- var t = $e();
+var hl = /* @__PURE__ */ Xe(((e) => {
+ var t = rt();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -15040,47 +15041,47 @@ var dl = /* @__PURE__ */ Ge(((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;
-})), fl = /* @__PURE__ */ Ge(((e, t) => {
- t.exports = dl();
-})), pl = fl(), ml = /*#__PURE__*/ (0, L.createContext)(!1), hl = /*#__PURE__*/ (0, L.createContext)(null);
-function gl(e) {
- if ((0, L.useContext)(hl)) return e.content;
- let { collection: t, document: n } = bl(e.createCollection);
- return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(cl, null, /*#__PURE__*/ L.createElement(hl.Provider, { value: n }, e.content)), /*#__PURE__*/ L.createElement(_l, {
+})), gl = /* @__PURE__ */ Xe(((e, t) => {
+ t.exports = hl();
+})), _l = gl(), vl = /*#__PURE__*/ (0, L.createContext)(!1), yl = /*#__PURE__*/ (0, L.createContext)(null);
+function bl(e) {
+ if ((0, L.useContext)(yl)) return e.content;
+ let { collection: t, document: n } = wl(e.createCollection);
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(fl, null, /*#__PURE__*/ L.createElement(yl.Provider, { value: n }, e.content)), /*#__PURE__*/ L.createElement(xl, {
render: e.children,
collection: t
}));
}
-function _l({ collection: e, render: t }) {
+function xl({ collection: e, render: t }) {
return t(e);
}
-function vl(e, t, n) {
- let r = Ra(), i = (0, L.useRef)(r);
+function Sl(e, t, n) {
+ let r = Ha(), i = (0, L.useRef)(r);
i.current = r;
let a = (0, L.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, pl.useSyncExternalStore)(e, a);
+ return (0, _l.useSyncExternalStore)(e, a);
}
-var yl = typeof L.useSyncExternalStore == "function" ? L.useSyncExternalStore : vl;
-function bl(e) {
- let [t] = (0, L.useState)(() => new Nc(e?.() || new kc()));
+var Cl = typeof L.useSyncExternalStore == "function" ? L.useSyncExternalStore : Sl;
+function wl(e) {
+ let [t] = (0, L.useState)(() => new Lc(e?.() || new Nc()));
return {
- collection: yl((0, L.useCallback)((e) => t.subscribe(e), [t]), (0, L.useCallback)(() => {
+ collection: Cl((0, L.useCallback)((e) => t.subscribe(e), [t]), (0, L.useCallback)(() => {
let e = t.getCollection();
return t.isSSR && t.resetAfterSSR(), e;
}, [t]), (0, L.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
document: t
};
}
-var xl = /*#__PURE__*/ (0, L.createContext)(null);
-function Sl(e) {
- return class extends wc {
+var Tl = /*#__PURE__*/ (0, L.createContext)(null);
+function El(e) {
+ return class extends Oc {
static {
this.type = e;
}
};
}
-function Cl(e, t, n, r, i, a) {
- typeof e == "string" && (e = Sl(e));
+function Dl(e, t, n, r, i, a) {
+ typeof e == "string" && (e = El(e));
let o = (0, L.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -15089,62 +15090,62 @@ function Cl(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, L.useContext)(xl);
+ ]), s = (0, L.useContext)(Tl);
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__*/ L.createElement(xl.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__*/ L.createElement(Tl.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ L.createElement(e.type, { ref: o }, i);
}
-function wl(e, t) {
+function Ol(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, L.forwardRef)((r, i) => {
- let a = (0, L.useContext)(il);
- if (!(0, L.useContext)(ml)) {
+ let a = (0, L.useContext)(cl);
+ if (!(0, L.useContext)(vl)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return Cl(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ L.createElement(il.Provider, { value: a }, /*#__PURE__*/ L.createElement(n, { node: e })));
+ return Dl(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ L.createElement(cl.Provider, { value: a }, /*#__PURE__*/ L.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function Tl(e, t, n = El) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, L.forwardRef)((t, i) => Cl(e, t, i, null, n(t), (e) => /*#__PURE__*/ L.createElement(r, { node: e })) ?? /*#__PURE__*/ L.createElement(L.Fragment, null));
+function kl(e, t, n = Al) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, L.forwardRef)((t, i) => Dl(e, t, i, null, n(t), (e) => /*#__PURE__*/ L.createElement(r, { node: e })) ?? /*#__PURE__*/ L.createElement(L.Fragment, null));
return i.displayName = t.name, i;
}
-function El(e) {
- return Pc({
+function Al(e) {
+ return Rc({
...e,
addIdAndValue: !0
});
}
-var Dl = /*#__PURE__*/ (0, L.createContext)(null);
-function Ol(e) {
- let t = (0, L.useContext)(Dl), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = El({
+var jl = /*#__PURE__*/ (0, L.createContext)(null);
+function Ml(e) {
+ let t = (0, L.useContext)(jl), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = Al({
...e,
idScope: r,
dependencies: n
});
- return (0, L.useContext)(hl) && (i = /*#__PURE__*/ L.createElement(kl, null, i)), t = (0, L.useMemo)(() => ({
+ return (0, L.useContext)(yl) && (i = /*#__PURE__*/ L.createElement(Nl, null, i)), t = (0, L.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ L.createElement(Dl.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ L.createElement(jl.Provider, { value: t }, i);
}
-function kl({ children: e }) {
- let t = (0, L.useContext)(hl), n = (0, L.useMemo)(() => /*#__PURE__*/ L.createElement(hl.Provider, { value: null }, /*#__PURE__*/ L.createElement(ml.Provider, { value: !0 }, e)), [e]);
- return Ra() ? /*#__PURE__*/ L.createElement(xl.Provider, { value: t }, n) : /*#__PURE__*/ (0, it.createPortal)(n, t);
+function Nl({ children: e }) {
+ let t = (0, L.useContext)(yl), n = (0, L.useMemo)(() => /*#__PURE__*/ L.createElement(yl.Provider, { value: null }, /*#__PURE__*/ L.createElement(vl.Provider, { value: !0 }, e)), [e]);
+ return Ha() ? /*#__PURE__*/ L.createElement(Tl.Provider, { value: t }, n) : /*#__PURE__*/ (0, ct.createPortal)(n, t);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Collection.mjs
-var Al = /*#__PURE__*/ (0, L.createContext)(null), jl = {
+var Pl = /*#__PURE__*/ (0, L.createContext)(null), Fl = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return Ml(e, null, t);
+ return Il(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return Ml(e, t, n);
+ return Il(e, t, n);
}
};
-function Ml(e, t, n) {
- return Pc({
+function Il(e, t, n) {
+ return Rc({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
@@ -15154,11 +15155,11 @@ function Ml(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, Nl(e, t, n));
+ }), r, Ll(e, t, n));
}
});
}
-function Nl(e, t, n) {
+function Ll(e, t, n) {
let r = t.key, i = e.getKeyAfter(r), a = i == null ? null : e.getItem(i);
for (; a != null && a.type !== "item";) i = e.getKeyAfter(a.key), a = i == null ? null : e.getItem(i);
let o = t.nextKey == null ? null : e.getItem(t.nextKey);
@@ -15177,18 +15178,18 @@ function Nl(e, t, n) {
}
return s;
}
-var Pl = /*#__PURE__*/ (0, L.createContext)(jl);
-function Fl(e) {
+var Rl = /*#__PURE__*/ (0, L.createContext)(Fl);
+function zl(e) {
return (0, L.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var Il = /* @__PURE__ */ new Set(["id"]), Ll = /* @__PURE__ */ new Set([
+var Bl = /* @__PURE__ */ new Set(["id"]), Vl = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), Rl = /* @__PURE__ */ new Set([
+]), Hl = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -15196,71 +15197,71 @@ var Il = /* @__PURE__ */ new Set(["id"]), Ll = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), zl = /* @__PURE__ */ new Set([
+]), Ul = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate"
-]), Bl = /* @__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(".")), Vl = /^(data-.*)$/;
-function Hl(e, t = {}) {
+]), Wl = /* @__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(".")), Gl = /^(data-.*)$/;
+function Kl(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) && (Il.has(t) || n && Ll.has(t) || r && Rl.has(t) || i && zl.has(t) || a && (Bl.has(t) || t.endsWith("Capture") && Bl.has(t.slice(0, -7))) || o?.has(t) || Vl.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (Bl.has(t) || n && Vl.has(t) || r && Hl.has(t) || i && Ul.has(t) || a && (Wl.has(t) || t.endsWith("Capture") && Wl.has(t.slice(0, -7))) || o?.has(t) || Gl.test(t)) && (s[t] = e[t]);
return s;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var Ul = "default", Wl = "", Gl = /* @__PURE__ */ new WeakMap();
-function Kl(e) {
- if (ts() && rs()) {
- if (Ul === "default") {
- let t = uo(e);
- Wl = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
- }
- Ul = "disabled";
+var ql = "default", Jl = "", Yl = /* @__PURE__ */ new WeakMap();
+function Xl(e) {
+ if (as() && ss()) {
+ if (ql === "default") {
+ let t = ho(e);
+ Jl = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ }
+ ql = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- Gl.set(e, e.style[t]), e.style[t] = "none";
+ Yl.set(e, e.style[t]), e.style[t] = "none";
}
}
-function ql(e) {
- if (ts() && rs()) {
- if (Ul !== "disabled") return;
- Ul = "restoring", setTimeout(() => {
- Bc(() => {
- if (Ul === "restoring") {
- let t = uo(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Wl || ""), Wl = "", Ul = "default";
+function Zl(e) {
+ if (as() && ss()) {
+ if (ql !== "disabled") return;
+ ql = "restoring", setTimeout(() => {
+ Wc(() => {
+ if (ql === "restoring") {
+ let t = ho(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Jl || ""), Jl = "", ql = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Gl.has(e)) {
- let t = Gl.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Gl.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Yl.has(e)) {
+ let t = Yl.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Yl.delete(e);
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function Jl(e, t) {
- let n = fo(t), r = uo(t);
+function Ql(e, t) {
+ let n = go(t), r = ho(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 Yl = /* @__PURE__ */ new WeakMap();
-function Xl(e) {
- let t = uo(e), n = Yl.get(t);
- return n ??= Jl("csp-nonce", t), n !== void 0 && Yl.set(t, n), n;
+var $l = /* @__PURE__ */ new WeakMap();
+function eu(e) {
+ let t = ho(e), n = $l.get(t);
+ return n ??= Ql("csp-nonce", t), n !== void 0 && $l.set(t, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/context.mjs
-var Zl = L.createContext({ register: () => {} });
-Zl.displayName = "PressResponderContext";
+var tu = L.createContext({ register: () => {} });
+tu.displayName = "PressResponderContext";
//#endregion
//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function Ql() {
+function nu() {
let e = (0, L.useRef)(/* @__PURE__ */ new Map()), t = (0, L.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -15287,15 +15288,15 @@ function Ql() {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
-function $l(e) {
- let t = (0, L.useContext)(Zl);
+function ru(e) {
+ let t = (0, L.useContext)(tu);
if (t) {
let { register: n, ref: r, ...i } = t;
e = q(i, e), n();
}
- return rl(t, e.ref), e;
+ return sl(t, e.ref), e;
}
-var eu = class {
+var iu = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -15308,9 +15309,9 @@ var eu = class {
get shouldStopPropagation() {
return this.#e;
}
-}, tu = Symbol("linkClicked"), nu = "react-aria-pressable-style", ru = "data-react-aria-pressable";
-function iu(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 } = $l(e), [m, h] = (0, L.useState)(!1), g = (0, L.useRef)({
+}, au = Symbol("linkClicked"), ou = "react-aria-pressable-style", su = "data-react-aria-pressable";
+function cu(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 } = ru(e), [m, h] = (0, L.useState)(!1), g = (0, L.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -15320,12 +15321,12 @@ function iu(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = Ql(), y = (0, L.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = nu(), y = (0, L.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new eu("pressstart", t, e);
+ let n = new iu("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -15339,11 +15340,11 @@ function iu(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new eu("pressend", r, e);
+ let t = new iu("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new eu("press", r, e);
+ let n = new iu("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -15352,19 +15353,19 @@ function iu(e) {
i,
n,
t
- ]), x = Ks(b), S = Ks((0, L.useCallback)((e, t) => {
+ ]), x = Xs(b), S = Xs((0, L.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new eu("pressup", t, e);
+ let r = new iu("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
}, [s, a])), C = (0, L.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(su(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || ql(t.target);
+ t.didFirePressStart && t.pointerType != null && b(du(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Zl(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -15372,7 +15373,7 @@ function iu(e) {
d,
v,
b
- ]), w = Ks(C);
+ ]), w = Xs(C);
(0, L.useEffect)(() => {
s && g.current.isPressed && w({
currentTarget: g.current.target,
@@ -15389,39 +15390,39 @@ function iu(e) {
}, [s, o]), D = (0, L.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- Go(n, t), o(Wo(n));
+ Yo(n, t), o(Jo(n));
}
}, [s, o]), O = (0, L.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (ou(t.nativeEvent, t.currentTarget) && xo(t.currentTarget, J(t))) {
- lu(J(t), t.key) && t.preventDefault();
+ if (uu(t.nativeEvent, t.currentTarget) && To(t.currentTarget, J(t))) {
+ pu(J(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;
- _(uo(t.currentTarget), "keyup", Ta((t) => {
- ou(t, i) && !t.repeat && xo(i, J(t)) && e.target && S(su(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && Qo() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(ho(t.currentTarget), "keyup", ka((t) => {
+ uu(t, i) && !t.repeat && To(i, J(t)) && e.target && S(du(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && ns() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if (!(t && !xo(t.currentTarget, J(t))) && t && t.button === 0 && !e.isTriggeringEvent && !fs.isOpening) {
+ if (!(t && !To(t.currentTarget, J(t))) && t && t.button === 0 && !e.isTriggeringEvent && !gs.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || ss(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || ds(t.nativeEvent))) {
let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");
E(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(su(t.currentTarget, t), r), a = x(su(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(du(t.currentTarget, t), r), a = x(du(t.currentTarget, t), r, !0);
n = i && a, e.isOverTarget = !1, E(t), w(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && ou(t, e.target)) {
- lu(J(t), t.key) && t.preventDefault();
- let n = J(t), r = xo(e.target, n);
- x(su(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && au(e.target) && xo(e.target, n) && !t[tu] && (t[tu] = !0, fs(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && uu(t, e.target)) {
+ pu(J(t), t.key) && t.preventDefault();
+ let n = J(t), r = To(e.target, n);
+ x(du(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && lu(e.target) && To(e.target, n) && !t[au] && (t[au] = !0, gs(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;
@@ -15430,39 +15431,39 @@ function iu(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !xo(t.currentTarget, J(t))) return;
- if (cs(t.nativeEvent)) {
+ if (t.button !== 0 || !To(t.currentTarget, J(t))) return;
+ if (fs(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 || Kl(e.target), i = y(t, e.pointerType);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || Xl(e.target), i = y(t, e.pointerType);
let a = J(t);
- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(uo(t.currentTarget), "pointerup", n, !1), _(uo(t.currentTarget), "pointercancel", r, !1);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(ho(t.currentTarget), "pointerup", n, !1), _(ho(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (xo(t.currentTarget, J(t)) && t.button === 0) {
+ if (To(t.currentTarget, J(t)) && t.button === 0) {
if (l) {
- let n = Jo(t.target);
+ let n = Qo(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- !xo(t.currentTarget, J(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
+ !To(t.currentTarget, J(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(su(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(du(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(su(e.target, t), e.pointerType, !1), T(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(du(e.target, t), e.pointerType, !1), T(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (xo(e.target, J(t)) && e.pointerType != null) {
+ if (To(e.target, J(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (ko(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (No(e.target), e.target.click()));
}, 80);
_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
} else w(t);
@@ -15472,7 +15473,7 @@ function iu(e) {
w(e);
};
t.onDragStart = (e) => {
- xo(e.currentTarget, J(e)) && w(e);
+ To(e.currentTarget, J(e)) && w(e);
};
}
return t;
@@ -15489,14 +15490,14 @@ function iu(e) {
]);
return (0, L.useEffect)(() => {
if (!f) return;
- let e = uo(f.current);
- if (!e || !e.head || e.getElementById(nu)) return;
+ let e = ho(f.current);
+ if (!e || !e.head || e.getElementById(ou)) return;
let t = e.createElement("style");
- t.id = nu;
- let n = Xl(e);
+ t.id = ou;
+ let n = eu(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${ru}] {
+ [${su}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -15504,23 +15505,23 @@ function iu(e) {
}, [f]), (0, L.useEffect)(() => {
let e = g.current;
return () => {
- d || ql(e.target ?? void 0);
+ d || Zl(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: q(p, O, { [ru]: !0 })
+ pressProps: q(p, O, { [su]: !0 })
};
}
-function au(e) {
+function lu(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function ou(e, t) {
+function uu(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof fo(i).HTMLInputElement && !du(i, n) || i instanceof fo(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && au(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof go(i).HTMLInputElement && !hu(i, n) || i instanceof go(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && lu(i)) && n !== "Enter");
}
-function su(e, t) {
+function du(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -15533,13 +15534,13 @@ function su(e, t) {
key: t.key
};
}
-function cu(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !au(e);
+function fu(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !lu(e);
}
-function lu(e, t) {
- return Qo() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !du(e, t) : cu(e);
+function pu(e, t) {
+ return ns() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !hu(e, t) : fu(e);
}
-var uu = /* @__PURE__ */ new Set([
+var mu = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -15550,31 +15551,31 @@ var uu = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function du(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : uu.has(e.type);
+function hu(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : mu.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function fu(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, L.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Ql(), c = (0, L.useCallback)((e) => {
- xo(e.currentTarget, J(e)) && a.current.isFocusWithin && !xo(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function gu(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, L.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = nu(), c = (0, L.useCallback)((e) => {
+ To(e.currentTarget, J(e)) && a.current.isFocusWithin && !To(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = Ko(c), u = (0, L.useCallback)((e) => {
- if (!xo(e.currentTarget, J(e))) return;
- let t = J(e), n = uo(t), s = So(n);
+ ]), l = Xo(c), u = (0, L.useCallback)((e) => {
+ if (!To(e.currentTarget, J(e))) return;
+ let t = J(e), n = ho(t), s = Eo(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 = J(e);
- if (a.current.isFocusWithin && !xo(t, r)) {
+ if (a.current.isFocusWithin && !To(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- Go(e, t);
- let i = Wo(e);
+ Yo(e, t);
+ let i = Jo(e);
c(i);
}
}, { capture: !0 });
@@ -15596,23 +15597,23 @@ function fu(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function pu(e = {}) {
+function _u(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, L.useRef)({
isFocused: !1,
- isFocusVisible: t || Ps()
+ isFocusVisible: t || Rs()
}), [a, o] = (0, L.useState)(!1), [s, c] = (0, L.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, L.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, L.useCallback)((e) => {
- i.current.isFocused = e, i.current.isFocusVisible = Ps(), o(e), l();
+ i.current.isFocused = e, i.current.isFocusVisible = Rs(), o(e), l();
}, [l]);
- Vs((e) => {
+ Gs((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = Hc({
+ let { focusProps: d } = Kc({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = fu({
+ }), { focusWithinProps: f } = gu({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -15624,36 +15625,36 @@ function pu(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var mu = !1, hu = 0;
-function gu() {
- mu = !0, setTimeout(() => {
- mu = !1;
+var vu = !1, yu = 0;
+function bu() {
+ vu = !0, setTimeout(() => {
+ vu = !1;
}, 500);
}
-function _u(e) {
- e.pointerType === "touch" && gu();
+function xu(e) {
+ e.pointerType === "touch" && bu();
}
-function vu() {
- let e = uo(null);
- if (e !== void 0) return hu === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", _u), hu++, () => {
- hu--, !(hu > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", _u);
+function Su() {
+ let e = ho(null);
+ if (e !== void 0) return yu === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", xu), yu++, () => {
+ yu--, !(yu > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", xu);
};
}
-function yu(e) {
+function Cu(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, L.useState)(!1), s = (0, L.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, L.useEffect)(vu, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = Ql(), { hoverProps: u, triggerHoverEnd: d } = (0, L.useMemo)(() => {
+ (0, L.useEffect)(Su, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = nu(), { hoverProps: u, triggerHoverEnd: d } = (0, L.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !xo(e.currentTarget, J(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !To(e.currentTarget, J(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(uo(J(e)), "pointerover", (e) => {
- s.isHovered && s.target && !xo(s.target, J(e)) && a(e, e.pointerType);
+ s.target = l, c(ho(J(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !To(s.target, J(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -15668,9 +15669,9 @@ function yu(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- mu && t.pointerType === "mouse" || e(t, t.pointerType);
+ vu && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && xo(e.currentTarget, J(e)) && a(e, e.pointerType);
+ !i && To(e.currentTarget, J(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -15693,9 +15694,9 @@ function yu(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var bu = /*#__PURE__*/ (0, L.createContext)({}), xu = /*#__PURE__*/ ll(function(e, t) {
- [e, t] = no(e, t, bu);
- let { elementType: n = "label", ...r } = e, i = so[n];
+var wu = /*#__PURE__*/ (0, L.createContext)({}), Tu = /*#__PURE__*/ pl(function(e, t) {
+ [e, t] = oo(e, t, wu);
+ let { elementType: n = "label", ...r } = e, i = fo[n];
return /*#__PURE__*/ L.createElement(i, {
className: "react-aria-Label",
...r,
@@ -15704,15 +15705,15 @@ var bu = /*#__PURE__*/ (0, L.createContext)({}), xu = /*#__PURE__*/ ll(function(
});
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function Su(e) {
+function Eu(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = Wa(t);
- let o = Wa(), s = {};
+ t = Ja(t);
+ let o = Ja(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = Js({
+ let c = Qs({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -15724,18 +15725,18 @@ function Su(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function Cu(e, t = -Infinity, n = Infinity) {
+function Du(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ProgressBar.mjs
-var wu = /*#__PURE__*/ (0, L.createContext)(null), Tu = 7e3, Eu = null;
-function Du(e, t = "assertive", n = Tu) {
- Eu ? Eu.announce(e, t, n) : (Eu = new Ou(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Eu.announce(e, t, n) : setTimeout(() => {
- Eu?.isAttached() && Eu?.announce(e, t, n);
+var Ou = /*#__PURE__*/ (0, L.createContext)(null), ku = 7e3, Au = null;
+function ju(e, t = "assertive", n = ku) {
+ Au ? Au.announce(e, t, n) : (Au = new Mu(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Au.announce(e, t, n) : setTimeout(() => {
+ Au?.isAttached() && Au?.announce(e, t, n);
}, 100));
}
-var Ou = class {
+var Mu = 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,
@@ -15760,7 +15761,7 @@ var Ou = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = Tu) {
+ announce(e, t = "assertive", n = ku) {
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(() => {
@@ -15773,7 +15774,7 @@ var Ou = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function ku(e, t) {
+function Nu(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,
@@ -15795,7 +15796,7 @@ function ku(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = iu({
+ let { pressProps: _, isPressed: v } = cu({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -15805,9 +15806,9 @@ function ku(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = ol(e, t);
+ }), { focusableProps: y } = ul(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = q(y, _, Hl(e, { labelable: !0 }));
+ let b = q(y, _, Kl(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: q(g, b, {
@@ -15822,11 +15823,11 @@ function ku(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Button.mjs
-var Au = /*#__PURE__*/ (0, L.createContext)({}), ju = /*#__PURE__*/ ll(function(e, t) {
- [e, t] = no(e, t, Au);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = ku(e, t);
- i = Nu(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = pu(e), { hoverProps: l, isHovered: u } = yu({
+var Pu = /*#__PURE__*/ (0, L.createContext)({}), Fu = /*#__PURE__*/ pl(function(e, t) {
+ [e, t] = oo(e, t, Pu);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Nu(e, t);
+ i = Lu(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = _u(e), { hoverProps: l, isHovered: u } = Cu({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -15836,24 +15837,24 @@ var Au = /*#__PURE__*/ (0, L.createContext)({}), ju = /*#__PURE__*/ ll(function(
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = eo({
+ }, f = io({
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = Wa(i.id), m = Wa(), h = i["aria-labelledby"];
+ }), p = Ja(i.id), m = Ja(), h = i["aria-labelledby"];
r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));
let g = (0, L.useRef)(r);
(0, L.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && Du(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && ju(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = Hl(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ L.createElement(so.button, {
+ let _ = Kl(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ L.createElement(fo.button, {
...q(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -15867,28 +15868,28 @@ var Au = /*#__PURE__*/ (0, L.createContext)({}), ju = /*#__PURE__*/ ll(function(
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ L.createElement(wu.Provider, { value: { id: m } }, f.children));
-}), Mu = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function Nu(e, t) {
+ }, /*#__PURE__*/ L.createElement(Ou.Provider, { value: { id: m } }, f.children));
+}), Iu = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function Lu(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !Mu.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !Iu.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Heading.mjs
-var Pu = /*#__PURE__*/ (0, L.createContext)({}), Fu = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- [e, t] = no(e, t, Pu);
- let { children: n, level: r = 3, className: i, ...a } = e, o = so[`h${r}`];
+var Ru = /*#__PURE__*/ (0, L.createContext)({}), zu = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ [e, t] = oo(e, t, Ru);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = fo[`h${r}`];
return /*#__PURE__*/ L.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), Iu = /*#__PURE__*/ (0, L.createContext)({}), Lu = /*#__PURE__*/ ll(function(e, t) {
- [e, t] = no(e, t, Iu);
- let { elementType: n = "span", ...r } = e, i = so[n];
+}), Bu = /*#__PURE__*/ (0, L.createContext)({}), Vu = /*#__PURE__*/ pl(function(e, t) {
+ [e, t] = oo(e, t, Bu);
+ let { elementType: n = "span", ...r } = e, i = fo[n];
return /*#__PURE__*/ L.createElement(i, {
className: "react-aria-Text",
...r,
@@ -15897,8 +15898,8 @@ var Pu = /*#__PURE__*/ (0, L.createContext)({}), Fu = /*#__PURE__*/ (0, L.forwar
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function Ru(e, t) {
- let n = (0, L.useRef)(!0), r = (0, L.useRef)(null), i = Ks(e);
+function Hu(e, t) {
+ let n = (0, L.useRef)(!0), r = (0, L.useRef)(null), i = Xs(e);
(0, L.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, L.useEffect)(() => {
@@ -15908,33 +15909,33 @@ function Ru(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function zu(e, t) {
+function Uu(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 Bu(e, t) {
+function Wu(e, t) {
let n = e;
- for (zu(n, t) && (n = n.parentElement); n && !zu(n, t);) n = n.parentElement;
+ for (Uu(n, t) && (n = n.parentElement); n && !Uu(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function Vu(e, t) {
+function Gu(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (zu(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (Uu(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function Hu(e, t, n = {}) {
- e !== t && Uu(e, t, t.getBoundingClientRect(), n);
+function Ku(e, t, n = {}) {
+ e !== t && qu(e, t, t.getBoundingClientRect(), n);
}
-function Uu(e, t, n, r = {}) {
+function qu(e, t, n, r = {}) {
let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, P = e === d ? 0 : T + E, ee = e === d ? 0 : e.offsetWidth - e.clientWidth - N, F = e === d ? 0 : e.offsetHeight - e.clientHeight - P, te = p + (f ? 0 : T) + x, ne = m - (f ? 0 : E) - S - F, re = h + (f ? 0 : D) + C, ie = g - (f ? 0 : O) - w;
- ts() && rs() || u.direction === "ltr" ? ie -= ee : u.direction === "rtl" && (re += ee);
+ as() && ss() || u.direction === "ltr" ? ie -= ee : u.direction === "rtl" && (re += ee);
let ae = k < te || A > ne, oe = j < re || M > ie;
if (ae && i === "start") o += k - te;
else if (ae && i === "center") o += (k + A) / 2 - (te + ne) / 2;
@@ -15955,7 +15956,7 @@ function Uu(e, t, n, r = {}) {
top: o
});
}
-function Wu(e, t = {}) {
+function Ju(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -15968,46 +15969,46 @@ function Wu(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = Vu(e, !0);
- for (let t of i) Hu(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = Gu(e, !0);
+ for (let t of i) Ku(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? Vu(n, !0) : [];
- for (let e of i) Hu(e, n, {
+ i = n ? Gu(n, !0) : [];
+ for (let e of i) Ku(e, n, {
block: "center",
inline: "center"
});
- for (let t of Vu(e, !0)) Hu(t, e);
+ for (let t of Gu(e, !0)) Ku(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var Gu = 0, Ku = /* @__PURE__ */ new Map();
-function qu(e) {
+var Yu = 0, Xu = /* @__PURE__ */ new Map();
+function Zu(e) {
let [t, n] = (0, L.useState)();
- return Ea(() => {
+ return Aa(() => {
if (!e) return;
- let t = Ku.get(e);
+ let t = Xu.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${Gu++}`;
+ let r = `react-aria-description-${Yu++}`;
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
- }, Ku.set(e, t);
+ }, Xu.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), Ku.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), Xu.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var Ju = {
+var Qu = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -16019,26 +16020,26 @@ var Ju = {
width: "1px",
whiteSpace: "nowrap"
};
-function Yu(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, L.useState)(!1), { focusWithinProps: a } = fu({
+function $u(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, L.useState)(!1), { focusWithinProps: a } = gu({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, L.useMemo)(() => r ? t : t ? {
- ...Ju,
+ ...Qu,
...t
- } : Ju, [r]);
+ } : Qu, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function Xu(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Yu(e);
+function ed(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = $u(e);
return /*#__PURE__*/ L.createElement(n, q(a, o), t);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/FieldError.mjs
-var Zu = /*#__PURE__*/ (0, L.createContext)(null), Qu = {
+var td = /*#__PURE__*/ (0, L.createContext)(null), nd = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -16050,18 +16051,18 @@ var Zu = /*#__PURE__*/ (0, L.createContext)(null), Qu = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, $u = {
- ...Qu,
+}, rd = {
+ ...nd,
customError: !0,
valid: !1
-}, ed = {
+}, id = {
isInvalid: !1,
- validationDetails: Qu,
+ validationDetails: nd,
validationErrors: []
-}, td = (0, L.createContext)({}), nd = "__reactAriaFormValidationState";
-function rd(e) {
+}, ad = (0, L.createContext)({}), od = "__reactAriaFormValidationState";
+function sd(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[nd];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[od];
return {
realtimeValidation: t,
displayValidation: n,
@@ -16070,72 +16071,72 @@ function rd(e) {
commitValidation: a
};
}
- return id(e);
+ return cd(e);
}
-function id(e) {
+function cd(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: $u
- }, l = (0, L.useMemo)(() => !o || i == null ? null : sd(od(o, i)), [o, i]);
+ validationDetails: rd
+ }, l = (0, L.useMemo)(() => !o || i == null ? null : dd(ud(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, L.useContext)(td), d = (0, L.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => ad(u[e])) : ad(u[r]) : [], [u, r]), [f, p] = (0, L.useState)(u), [m, h] = (0, L.useState)(!1);
+ let u = (0, L.useContext)(ad), d = (0, L.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => ld(u[e])) : ld(u[r]) : [], [u, r]), [f, p] = (0, L.useState)(u), [m, h] = (0, L.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, L.useMemo)(() => sd(m ? [] : d), [m, d]), _ = (0, L.useRef)(ed), [v, y] = (0, L.useState)(ed), b = (0, L.useRef)(ed), x = () => {
+ let g = (0, L.useMemo)(() => dd(m ? [] : d), [m, d]), _ = (0, L.useRef)(id), [v, y] = (0, L.useState)(id), b = (0, L.useRef)(id), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- cd(e, b.current) || (b.current = e, y(e));
+ fd(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, L.useState)(!1);
return (0, L.useEffect)(x), {
- realtimeValidation: c || g || l || a || ed,
+ realtimeValidation: c || g || l || a || id,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !cd(v, e) ? y(e) : _.current = e;
+ s === "aria" && !fd(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = ed;
- cd(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = id;
+ fd(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function ad(e) {
+function ld(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function od(e, t) {
+function ud(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return ad(n);
+ if (n && typeof n != "boolean") return ld(n);
}
return [];
}
-function sd(e) {
+function dd(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: $u
+ validationDetails: rd
} : null;
}
-function cd(e, t) {
+function fd(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-components/dist/private/Form.mjs
-var ld = /*#__PURE__*/ (0, L.createContext)(null), ud = /* @__PURE__ */ new WeakMap();
+var pd = /*#__PURE__*/ (0, L.createContext)(null), md = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function dd(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = Su(e), s = Ka([
+function hd(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = Eu(e), s = Xa([
!!t,
!!n,
r,
i
- ]), c = Ka([
+ ]), c = Xa([
!!t,
!!n,
r,
@@ -16154,8 +16155,8 @@ function dd(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function fd(e, t, n) {
- let r = Ks((e) => {
+function gd(e, t, n) {
+ let r = Xs((e) => {
n && !e.defaultPrevented && n(t);
});
(0, L.useEffect)(() => {
@@ -16167,21 +16168,21 @@ function fd(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function pd(e, t, n) {
+function _d(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- Ea(() => {
+ Aa(() => {
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(hd(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(yd(n.current));
}
});
- let a = (0, L.useRef)(!1), o = Ks(() => {
+ let a = (0, L.useRef)(!1), o = Xs(() => {
a.current || t.resetValidation();
- }), s = Ks((e) => {
+ }), s = Xs((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && gd(r) === n.current && (i ? i() : n.current?.focus(), Is("keyboard")), e.preventDefault();
- }), c = Ks(() => {
+ !e.defaultPrevented && n && r && bd(r) === n.current && (i ? i() : n.current?.focus(), Bs("keyboard")), e.preventDefault();
+ }), c = Xs(() => {
t.commitValidation();
});
(0, L.useEffect)(() => {
@@ -16195,7 +16196,7 @@ function pd(e, t, n) {
};
}, [n, r]);
}
-function md(e) {
+function vd(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -16211,14 +16212,14 @@ function md(e) {
valid: t.valid
};
}
-function hd(e) {
+function yd(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: md(e),
+ validationDetails: vd(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function gd(e) {
+function bd(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -16227,16 +16228,16 @@ function gd(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function _d(e = !0) {
+function xd(e = !0) {
let [t, n] = (0, L.useState)(e), r = (0, L.useRef)(!1), i = (0, L.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return Ea(() => {
+ return Aa(() => {
r.current || n(!1);
}, []), [i, t];
}
-function vd(e = !0) {
- let t = Wa(), [n, r] = _d(e);
+function Sd(e = !0) {
+ let t = Ja(), [n, r] = xd(e);
return {
id: r ? t : void 0,
ref: n
@@ -16244,15 +16245,15 @@ function vd(e = !0) {
}
//#endregion
//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function yd(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 = rd({
+function Cd(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 = sd({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- pd(e, b, n);
+ _d(e, b, n);
let w = (e) => {
e.stopPropagation(), t.setSelected(J(e).checked);
- }, { pressProps: T, isPressed: E } = iu({
+ }, { pressProps: T, isPressed: E } = cu({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -16260,7 +16261,7 @@ function yd(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [D, O] = (0, L.useState)(!1), { pressProps: k } = iu({
+ }), [D, O] = (0, L.useState)(!1), { pressProps: k } = cu({
onPressStart(e) {
if (e.pointerType === "keyboard" || e.pointerType === "virtual") {
e.continuePropagation();
@@ -16289,13 +16290,13 @@ function yd(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [nd]: i } = e, { commitValidation: a } = i || b;
+ let { [od]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: A } = ol(e, n), j = q(T, A), M = Hl(e, { labelable: !0 });
- fd(n, t.defaultSelected, t.setSelected);
- let N = vd(), P = vd();
+ }), { focusableProps: A } = ul(e, n), j = q(T, A), M = Kl(e, { labelable: !0 });
+ gd(n, t.defaultSelected, t.setSelected);
+ let N = Sd(), P = Sd();
return {
labelProps: q(k, { onClick: (e) => e.preventDefault() }),
inputProps: q(M, {
@@ -16332,8 +16333,8 @@ function yd(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function bd(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 } = yd(e, t, n), { isIndeterminate: m } = e;
+function wd(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 } = Cd(e, t, n), { isIndeterminate: m } = e;
return (0, L.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -16352,8 +16353,8 @@ function bd(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function xd(e = {}) {
- let { isReadOnly: t } = e, [n, r] = xc(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, L.useState)(n);
+function Td(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = Tc(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, L.useState)(n);
function a(e) {
t || r(e);
}
@@ -16369,26 +16370,26 @@ function xd(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function Sd(e, t, n) {
- let r = xd({
+function Ed(e, t, n) {
+ let r = Td({
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 } = ud.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = md.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = rd({
+ let { realtimeValidation: l } = sd({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, L.useRef)(ed), d = () => {
+ }), u = (0, L.useRef)(id), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, L.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = bd({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = wd({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -16396,7 +16397,7 @@ function Sd(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [nd]: {
+ [od]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -16420,35 +16421,35 @@ function Sd(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Checkbox.mjs
-var Cd = /*#__PURE__*/ (0, L.createContext)(null), wd = /*#__PURE__*/ (0, L.createContext)(null), Td = /*#__PURE__*/ (0, L.createContext)(null), Ed = /*#__PURE__*/ (0, L.createContext)(null);
-function Dd(e, t) {
- let { validationBehavior: n } = to(ld) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, L.useContext)(Td), a = Za((0, L.useMemo)(() => qa(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...io(e),
+var Dd = /*#__PURE__*/ (0, L.createContext)(null), Od = /*#__PURE__*/ (0, L.createContext)(null), kd = /*#__PURE__*/ (0, L.createContext)(null), Ad = /*#__PURE__*/ (0, L.createContext)(null);
+function jd(e, t) {
+ let { validationBehavior: n } = ao(pd) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, L.useContext)(kd), a = to((0, L.useMemo)(() => Za(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...co(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? Sd(o, i, a) : bd(o, xd(e), a), a];
+ return [i ? Ed(o, i, a) : wd(o, Td(e), a), a];
}
-var Od = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+var Md = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = no(r, t, Cd);
- let [i, a] = Dd(e, n);
- return /*#__PURE__*/ L.createElement(Ed.Provider, { value: {
+ [e, t] = oo(r, t, Dd);
+ let [i, a] = jd(e, n);
+ return /*#__PURE__*/ L.createElement(Ad.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ L.createElement(kd, {
+ } }, /*#__PURE__*/ L.createElement(Nd, {
...e,
ref: t
}));
-}), kd = /*#__PURE__*/ (0, L.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, L.useContext)(Ed), { isFocused: p, isFocusVisible: m, focusProps: h } = pu(), g = a || o, { hoverProps: _, isHovered: v } = yu({
+}), Nd = /*#__PURE__*/ (0, L.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, L.useContext)(Ad), { isFocused: p, isFocusVisible: m, focusProps: h } = _u(), g = a || o, { hoverProps: _, isHovered: v } = Cu({
...e,
isDisabled: g
- }), y = eo({
+ }), y = io({
...e,
defaultClassName: u,
values: {
@@ -16463,8 +16464,8 @@ var Od = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = Hl(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ L.createElement(so.label, {
+ }), b = Kl(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ L.createElement(fo.label, {
...q(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -16478,20 +16479,20 @@ var Od = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ L.createElement(Xu, { elementType: "span" }, /*#__PURE__*/ L.createElement("input", {
+ }, /*#__PURE__*/ L.createElement(ed, { elementType: "span" }, /*#__PURE__*/ L.createElement("input", {
...q(r, h),
ref: l
})), y.children);
-}), Ad = /*#__PURE__*/ (0, L.createContext)({}), jd = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- [e, t] = no(e, t, Ad);
+}), Pd = /*#__PURE__*/ (0, L.createContext)({}), Fd = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ [e, t] = oo(e, t, Pd);
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 } = yu({
+ let { hoverProps: l, isHovered: u } = Cu({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = pu({ within: !0 }), m = eo({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = _u({ within: !0 }), m = io({
...e,
values: {
isHovered: u,
@@ -16502,7 +16503,7 @@ var Od = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ L.createElement(so.div, {
+ return /*#__PURE__*/ L.createElement(fo.div, {
...q(c, p, l),
...m,
ref: t,
@@ -16515,18 +16516,18 @@ var Od = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), Md = /*#__PURE__*/ (0, L.createContext)({}), Nd = (e) => {
+}), Id = /*#__PURE__*/ (0, L.createContext)({}), Ld = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Pd = /*#__PURE__*/ ll(function(e, t) {
- [e, t] = no(e, t, Md);
- let { hoverProps: n, isHovered: r } = yu({
+}, Rd = /*#__PURE__*/ pl(function(e, t) {
+ [e, t] = oo(e, t, Id);
+ let { hoverProps: n, isHovered: r } = Cu({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = pu({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = _u({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = eo({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = io({
...e,
values: {
isHovered: r,
@@ -16537,8 +16538,8 @@ var Od = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ L.createElement(so.input, {
- ...q(Nd(e), o, n),
+ return /*#__PURE__*/ L.createElement(fo.input, {
+ ...q(Ld(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -16550,19 +16551,19 @@ var Od = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
});
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function Fd(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = xc(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = ol(e, t), d = rd({
+function zd(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Tc(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = ul(e, t), d = sd({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = dd({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = hd({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = Hl(e, { labelable: !0 }), b = {
+ }), y = Kl(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, L.useState)(c);
- return fd(t, e.defaultValue ?? x, l), pd(e, d, t), {
+ return gd(t, e.defaultValue ?? x, l), _d(e, d, t), {
labelProps: h,
inputProps: q(y, n === "input" ? b : void 0, {
disabled: r,
@@ -16609,8 +16610,8 @@ function Fd(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ar-AE.mjs
-var Id = {};
-Id = {
+var Bd = {};
+Bd = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -16618,8 +16619,8 @@ Id = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var Ld = {};
-Ld = {
+var Vd = {};
+Vd = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -16627,8 +16628,8 @@ Ld = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var Rd = {};
-Rd = {
+var Hd = {};
+Hd = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -16636,8 +16637,8 @@ Rd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var zd = {};
-zd = {
+var Ud = {};
+Ud = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -16645,8 +16646,8 @@ zd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var Bd = {};
-Bd = {
+var Wd = {};
+Wd = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -16654,8 +16655,8 @@ Bd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var Vd = {};
-Vd = {
+var Gd = {};
+Gd = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -16663,8 +16664,8 @@ Vd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var Hd = {};
-Hd = {
+var Kd = {};
+Kd = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -16672,8 +16673,8 @@ Hd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var Ud = {};
-Ud = {
+var qd = {};
+qd = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -16681,8 +16682,8 @@ Ud = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var Wd = {};
-Wd = {
+var Jd = {};
+Jd = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -16690,8 +16691,8 @@ Wd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var Gd = {};
-Gd = {
+var Yd = {};
+Yd = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -16699,8 +16700,8 @@ Gd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var Kd = {};
-Kd = {
+var Xd = {};
+Xd = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -16708,8 +16709,8 @@ Kd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var qd = {};
-qd = {
+var Zd = {};
+Zd = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -16717,8 +16718,8 @@ qd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var Jd = {};
-Jd = {
+var Qd = {};
+Qd = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -16726,8 +16727,8 @@ Jd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var Yd = {};
-Yd = {
+var $d = {};
+$d = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -16735,8 +16736,8 @@ Yd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var Xd = {};
-Xd = {
+var ef = {};
+ef = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -16744,8 +16745,8 @@ Xd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var Zd = {};
-Zd = {
+var tf = {};
+tf = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -16753,8 +16754,8 @@ Zd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var Qd = {};
-Qd = {
+var nf = {};
+nf = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -16762,8 +16763,8 @@ Qd = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var $d = {};
-$d = {
+var rf = {};
+rf = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -16771,8 +16772,8 @@ $d = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var ef = {};
-ef = {
+var af = {};
+af = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -16780,8 +16781,8 @@ ef = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var tf = {};
-tf = {
+var of = {};
+of = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -16789,8 +16790,8 @@ tf = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var nf = {};
-nf = {
+var sf = {};
+sf = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -16798,8 +16799,8 @@ nf = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var rf = {};
-rf = {
+var cf = {};
+cf = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -16807,8 +16808,8 @@ rf = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var af = {};
-af = {
+var lf = {};
+lf = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -16816,8 +16817,8 @@ af = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var of = {};
-of = {
+var uf = {};
+uf = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -16825,8 +16826,8 @@ of = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var sf = {};
-sf = {
+var df = {};
+df = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -16834,8 +16835,8 @@ sf = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var cf = {};
-cf = {
+var ff = {};
+ff = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -16843,8 +16844,8 @@ cf = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var lf = {};
-lf = {
+var pf = {};
+pf = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -16852,8 +16853,8 @@ lf = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var uf = {};
-uf = {
+var mf = {};
+mf = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -16861,8 +16862,8 @@ uf = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var df = {};
-df = {
+var hf = {};
+hf = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -16870,8 +16871,8 @@ df = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var ff = {};
-ff = {
+var gf = {};
+gf = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -16879,8 +16880,8 @@ ff = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var pf = {};
-pf = {
+var _f = {};
+_f = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -16888,8 +16889,8 @@ pf = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var mf = {};
-mf = {
+var vf = {};
+vf = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -16897,8 +16898,8 @@ mf = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var hf = {};
-hf = {
+var yf = {};
+yf = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -16906,8 +16907,8 @@ hf = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var gf = {};
-gf = {
+var bf = {};
+bf = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -16915,52 +16916,52 @@ gf = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var _f = {};
-_f = {
- "ar-AE": Id,
- "bg-BG": Ld,
- "cs-CZ": Rd,
- "da-DK": zd,
- "de-DE": Bd,
- "el-GR": Vd,
- "en-US": Hd,
- "es-ES": Ud,
- "et-EE": Wd,
- "fi-FI": Gd,
- "fr-FR": Kd,
- "he-IL": qd,
- "hr-HR": Jd,
- "hu-HU": Yd,
- "it-IT": Xd,
- "ja-JP": Zd,
- "ko-KR": Qd,
- "lt-LT": $d,
- "lv-LV": ef,
- "nb-NO": tf,
- "nl-NL": nf,
- "pl-PL": rf,
- "pt-BR": af,
- "pt-PT": of,
- "ro-RO": sf,
- "ru-RU": cf,
- "sk-SK": lf,
- "sl-SI": uf,
- "sr-SP": df,
- "sv-SE": ff,
- "tr-TR": pf,
- "uk-UA": mf,
- "zh-CN": hf,
- "zh-TW": gf
+var xf = {};
+xf = {
+ "ar-AE": Bd,
+ "bg-BG": Vd,
+ "cs-CZ": Hd,
+ "da-DK": Ud,
+ "de-DE": Wd,
+ "el-GR": Gd,
+ "en-US": Kd,
+ "es-ES": qd,
+ "et-EE": Jd,
+ "fi-FI": Yd,
+ "fr-FR": Xd,
+ "he-IL": Zd,
+ "hr-HR": Qd,
+ "hu-HU": $d,
+ "it-IT": ef,
+ "ja-JP": tf,
+ "ko-KR": nf,
+ "lt-LT": rf,
+ "lv-LV": af,
+ "nb-NO": of,
+ "nl-NL": sf,
+ "pl-PL": cf,
+ "pt-BR": lf,
+ "pt-PT": uf,
+ "ro-RO": df,
+ "ru-RU": ff,
+ "sk-SK": pf,
+ "sl-SI": mf,
+ "sr-SP": hf,
+ "sv-SE": gf,
+ "tr-TR": _f,
+ "uk-UA": vf,
+ "zh-CN": yf,
+ "zh-TW": bf
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var vf = /*#__PURE__*/ (0, L.createContext)({}), yf = /*#__PURE__*/ (0, L.createContext)(null), bf = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- let { render: n } = (0, L.useContext)(yf);
+var Sf = /*#__PURE__*/ (0, L.createContext)({}), Cf = /*#__PURE__*/ (0, L.createContext)(null), wf = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ let { render: n } = (0, L.useContext)(Cf);
return /*#__PURE__*/ L.createElement(L.Fragment, null, n(e, t));
});
-function xf(e, t) {
+function Tf(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, L.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ L.createElement(bf, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ L.createElement(wf, { target: e });
}, [
t?.target,
r,
@@ -16968,7 +16969,7 @@ function xf(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function Sf(e, t, n) {
+function Ef(e, t, n) {
let r = e.focusedKey, i = null;
if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {
let e = n.collection.getKeyAfter(i), t = null;
@@ -16991,18 +16992,18 @@ function Sf(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var Cf = /*#__PURE__*/ (0, L.createContext)({}), wf = /*#__PURE__*/ (0, L.createContext)(null);
-function Tf(e) {
+var Df = /*#__PURE__*/ (0, L.createContext)({}), Of = /*#__PURE__*/ (0, L.createContext)(null);
+function kf(e) {
let t = (0, L.useRef)({});
- return /*#__PURE__*/ L.createElement(wf.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ L.createElement(Of.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var Ef = /*#__PURE__*/ (0, L.createContext)({ isSelected: !1 });
+var Af = /*#__PURE__*/ (0, L.createContext)({ isSelected: !1 });
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function Df(e) {
- let t = Hl(e, { labelable: !0 }), n;
+function jf(e) {
+ let t = Kl(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -17011,7 +17012,7 @@ function Df(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Separator.mjs
-var Of = /*#__PURE__*/ (0, L.createContext)({}), kf = /*#__PURE__*/ wl(class extends wc {
+var Mf = /*#__PURE__*/ (0, L.createContext)({}), Nf = /*#__PURE__*/ Ol(class extends Oc {
static {
this.type = "separator";
}
@@ -17024,14 +17025,14 @@ var Of = /*#__PURE__*/ (0, L.createContext)({}), kf = /*#__PURE__*/ wl(class ext
return null;
}
}, function(e, t) {
- [e, t] = no(e, t, Of);
+ [e, t] = oo(e, t, Mf);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = so[c], { separatorProps: u } = Df({
+ let l = fo[c], { separatorProps: u } = jf({
...s,
elementType: n,
orientation: r
- }), d = Hl(e, { global: !0 });
+ }), d = Kl(e, { global: !0 });
return /*#__PURE__*/ L.createElement(l, {
render: e.render,
...q(d, u),
@@ -17040,18 +17041,18 @@ var Of = /*#__PURE__*/ (0, L.createContext)({}), kf = /*#__PURE__*/ wl(class ext
ref: t,
slot: o || void 0
});
-}), Af = /* @__PURE__ */ new WeakMap();
-function jf(e) {
+}), Pf = /* @__PURE__ */ new WeakMap();
+function Ff(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function Mf(e, t) {
- let n = Af.get(e);
+function If(e, t) {
+ let n = Pf.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${jf(t)}`;
+ return `${n.id}-option-${Ff(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Nf = class {
+var Lf = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -17076,7 +17077,7 @@ var Nf = class {
return this._currentNode;
}
set currentNode(e) {
- if (!xo(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!To(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 });
@@ -17090,7 +17091,7 @@ var Nf = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return xo(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return To(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -17154,45 +17155,45 @@ var Nf = class {
return null;
}
};
-function Pf(e, t, n, r) {
- return bo() ? new Nf(e, t, n, r) : e.createTreeWalker(t, n, r);
+function Rf(e, t, n, r) {
+ return wo() ? new Lf(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var Ff = /*#__PURE__*/ L.createContext(null), If = "react-aria-focus-scope-restore", Lf = null;
-function Rf(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useRef)([]), { parentNode: c } = (0, L.useContext)(Ff) || {}, l = (0, L.useMemo)(() => new op({ scopeRef: s }), [s]);
- Ea(() => {
- let e = c || sp.root;
- if (sp.getTreeNode(e.scopeRef) && Lf && !Yf(Lf, e.scopeRef)) {
- let t = sp.getTreeNode(Lf);
+var zf = /*#__PURE__*/ L.createContext(null), Bf = "react-aria-focus-scope-restore", Vf = null;
+function Hf(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useRef)([]), { parentNode: c } = (0, L.useContext)(zf) || {}, l = (0, L.useMemo)(() => new up({ scopeRef: s }), [s]);
+ Aa(() => {
+ let e = c || dp.root;
+ if (dp.getTreeNode(e.scopeRef) && Vf && !$f(Vf, e.scopeRef)) {
+ let t = dp.getTreeNode(Vf);
t && (e = t);
}
- e.addChild(l), sp.addNode(l);
- }, [l, c]), Ea(() => {
- let e = sp.getTreeNode(s);
+ e.addChild(l), dp.addNode(l);
+ }, [l, c]), Aa(() => {
+ let e = dp.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), Ea(() => {
+ }, [n]), Aa(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(If, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(Bf, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(If, n);
+ for (let e of t) e.removeEventListener(Bf, n);
};
- }, [t]), ep(s, r, n), Wf(s, n), np(s, r, n), $f(s, i), (0, L.useEffect)(() => {
- let e = So(uo(s.current ? s.current[0] : void 0)), t = null;
- if (Kf(e, s.current)) {
- for (let n of sp.traverse()) n.scopeRef && Kf(e, n.scopeRef.current) && (t = n);
- t === sp.getTreeNode(s) && (Lf = t.scopeRef);
- }
- }, [s]), Ea(() => () => {
- let e = sp.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === Lf || Yf(s, Lf)) && (!e || sp.getTreeNode(e)) && (Lf = e), sp.removeTreeNode(s);
+ }, [t]), ip(s, r, n), Jf(s, n), op(s, r, n), rp(s, i), (0, L.useEffect)(() => {
+ let e = Eo(ho(s.current ? s.current[0] : void 0)), t = null;
+ if (Xf(e, s.current)) {
+ for (let n of dp.traverse()) n.scopeRef && Xf(e, n.scopeRef.current) && (t = n);
+ t === dp.getTreeNode(s) && (Vf = t.scopeRef);
+ }
+ }, [s]), Aa(() => () => {
+ let e = dp.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === Vf || $f(s, Vf)) && (!e || dp.getTreeNode(e)) && (Vf = e), dp.removeTreeNode(s);
}, [s]);
- let u = (0, L.useMemo)(() => zf(s), []), d = (0, L.useMemo)(() => ({
+ let u = (0, L.useMemo)(() => Uf(s), []), d = (0, L.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ L.createElement(Ff.Provider, { value: d }, /*#__PURE__*/ L.createElement("span", {
+ return /*#__PURE__*/ L.createElement(zf.Provider, { value: d }, /*#__PURE__*/ L.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -17202,154 +17203,154 @@ function Rf(e) {
ref: o
}));
}
-function zf(e) {
+function Uf(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || So(uo(n[0] ?? void 0)), c = n[0].previousElementSibling, l = ip(Bf(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Eo(ho(n[0] ?? void 0)), c = n[0].previousElementSibling, l = cp(Wf(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Kf(s, n) ? s : c;
+ l.currentNode = Xf(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && Xf(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && ep(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || So(uo(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = ip(Bf(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Eo(ho(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = cp(Wf(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Kf(s, n) ? s : c;
+ l.currentNode = Xf(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && Xf(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && ep(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = ip(Bf(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = cp(Wf(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && Xf(o, !0), o;
+ return o && ep(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = ip(Bf(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = cp(Wf(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && Xf(o, !0), o;
+ return o && ep(o, !0), o;
}
};
}
-function Bf(e) {
+function Wf(e) {
return e[0].parentElement;
}
-function Vf(e) {
- let t = sp.getTreeNode(Lf);
+function Gf(e) {
+ let t = dp.getTreeNode(Vf);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function Hf(e) {
- if (!e.form) return Array.from(uo(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = fo(e);
+function Kf(e) {
+ if (!e.form) return Array.from(ho(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = go(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function Uf(e) {
+function qf(e) {
if (e.checked) return !0;
- let t = Hf(e);
+ let t = Kf(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Wf(e, t) {
+function Jf(e, t) {
let n = (0, L.useRef)(void 0), r = (0, L.useRef)(void 0);
- Ea(() => {
+ Aa(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = uo(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Vf(e) || t.isComposing) return;
- let n = So(a), r = e.current;
- if (!r || !Kf(n, r)) return;
- let i = ip(Bf(r), { tabbable: !0 }, r);
+ let a = ho(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Gf(e) || t.isComposing) return;
+ let n = Eo(a), r = e.current;
+ if (!r || !Xf(n, r)) return;
+ let i = cp(Wf(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 && (Xf(o, !0), o instanceof fo(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 && (ep(o, !0), o instanceof go(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!Lf || Yf(Lf, e)) && Kf(J(t), e.current) ? (Lf = e, n.current = J(t)) : Vf(e) && !qf(J(t), e) ? n.current ? Xf(n.current) : Lf && Lf.current && Qf(Lf.current) : Vf(e) && (n.current = J(t));
+ (!Vf || $f(Vf, e)) && Xf(J(t), e.current) ? (Vf = e, n.current = J(t)) : Gf(e) && !Zf(J(t), e) ? n.current ? ep(n.current) : Vf && Vf.current && np(Vf.current) : Gf(e) && (n.current = J(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = Fs(), i = (r === "virtual" || r === null) && as() && is(), o = So(a);
- if (!i && o && Vf(e) && !qf(o, e)) {
- Lf = e;
+ let r = zs(), i = (r === "virtual" || r === null) && ls() && cs(), o = Eo(a);
+ if (!i && o && Gf(e) && !Zf(o, e)) {
+ Vf = e;
let r = J(t);
- r && r.isConnected ? (n.current = r, Xf(n.current)) : Lf.current && Qf(Lf.current);
+ r && r.isConnected ? (n.current = r, ep(n.current)) : Vf.current && np(Vf.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]), Ea(() => () => {
+ }, [e, t]), Aa(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function Gf(e) {
- return qf(e);
+function Yf(e) {
+ return Zf(e);
}
-function Kf(e, t) {
- return !e || !t ? !1 : t.some((t) => xo(t, e));
+function Xf(e, t) {
+ return !e || !t ? !1 : t.some((t) => To(t, e));
}
-function qf(e, t = null) {
+function Zf(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of sp.traverse(sp.getTreeNode(t))) if (n && Kf(e, n.current)) return !0;
+ for (let { scopeRef: n } of dp.traverse(dp.getTreeNode(t))) if (n && Xf(e, n.current)) return !0;
return !1;
}
-function Jf(e) {
- return qf(e, Lf);
+function Qf(e) {
+ return Zf(e, Vf);
}
-function Yf(e, t) {
- let n = sp.getTreeNode(t)?.parent;
+function $f(e, t) {
+ let n = dp.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function Xf(e, t = !1) {
+function ep(e, t = !1) {
if (e != null && !t) try {
- Vc(e);
+ Gc(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function Zf(e, t = !0) {
- let n = e[0].previousElementSibling, r = Bf(e), i = ip(r, { tabbable: t }, e);
+function tp(e, t = !0) {
+ let n = e[0].previousElementSibling, r = Wf(e), i = cp(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = Bf(e), i = ip(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = Wf(e), i = cp(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function Qf(e, t = !0) {
- Xf(Zf(e, t));
+function np(e, t = !0) {
+ ep(tp(e, t));
}
-function $f(e, t) {
+function rp(e, t) {
let n = L.useRef(t);
(0, L.useEffect)(() => {
- n.current && (Lf = e, !Kf(So(uo(e.current ? e.current[0] : void 0)), Lf.current) && e.current && Qf(e.current)), n.current = !1;
+ n.current && (Vf = e, !Xf(Eo(ho(e.current ? e.current[0] : void 0)), Vf.current) && e.current && np(e.current)), n.current = !1;
}, [e]);
}
-function ep(e, t, n) {
- Ea(() => {
+function ip(e, t, n) {
+ Aa(() => {
if (t || n) return;
- let r = e.current, i = uo(r ? r[0] : void 0), a = (t) => {
+ let r = e.current, i = ho(r ? r[0] : void 0), a = (t) => {
let n = J(t);
- Kf(n, e.current) ? Lf = e : Gf(n) || (Lf = null);
+ Xf(n, e.current) ? Vf = e : Yf(n) || (Vf = 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));
@@ -17360,43 +17361,43 @@ function ep(e, t, n) {
n
]);
}
-function tp(e) {
- let t = sp.getTreeNode(Lf);
+function ap(e) {
+ let t = dp.getTreeNode(Vf);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function np(e, t, n) {
- let r = (0, L.useRef)(typeof document < "u" ? So(uo(e.current ? e.current[0] : void 0)) : null);
- Ea(() => {
- let r = e.current, i = uo(r ? r[0] : void 0);
+function op(e, t, n) {
+ let r = (0, L.useRef)(typeof document < "u" ? Eo(ho(e.current ? e.current[0] : void 0)) : null);
+ Aa(() => {
+ let r = e.current, i = ho(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!Lf || Yf(Lf, e)) && Kf(So(i), e.current) && (Lf = e);
+ (!Vf || $f(Vf, e)) && Xf(Eo(i), e.current) && (Vf = 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]), Ea(() => {
- let r = uo(e.current ? e.current[0] : void 0);
+ }, [e, n]), Aa(() => {
+ let r = ho(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Vf(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Gf(e) || t.isComposing) return;
let n = r.activeElement;
- if (!qf(n, e) || !tp(e)) return;
- let i = sp.getTreeNode(e);
+ if (!Zf(n, e) || !ap(e)) return;
+ let i = dp.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = ip(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = cp(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 || !qf(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Zf(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (qf(s, e));
- t.preventDefault(), t.stopPropagation(), s ? Xf(s, !0) : Gf(a) ? Xf(a, !0) : n.blur();
+ while (Zf(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? ep(s, !0) : Yf(a) ? ep(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -17406,31 +17407,31 @@ function np(e, t, n) {
e,
t,
n
- ]), Ea(() => {
- let n = uo(e.current ? e.current[0] : void 0);
+ ]), Aa(() => {
+ let n = ho(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = sp.getTreeNode(e);
+ let i = dp.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = sp.getTreeNode(e);
+ let r = dp.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = So(n);
- if (t && i && (a && qf(a, e) || a === n.body && tp(e))) {
- let t = sp.clone();
+ let i = r.nodeToRestore, a = Eo(n);
+ if (t && i && (a && Zf(a, e) || a === n.body && ap(e))) {
+ let t = dp.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- rp(n.nodeToRestore);
+ sp(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && sp.getTreeNode(n.scopeRef)) {
- let e = Zf(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && dp.getTreeNode(n.scopeRef)) {
+ let e = tp(n.scopeRef.current, !0);
if (e) {
- rp(e);
+ sp(e);
return;
}
}
@@ -17442,21 +17443,21 @@ function np(e, t, n) {
};
}, [e, t]);
}
-function rp(e) {
- e.dispatchEvent(new CustomEvent(If, {
+function sp(e) {
+ e.dispatchEvent(new CustomEvent(Bf, {
bubbles: !0,
cancelable: !0
- })) && Xf(e);
+ })) && ep(e);
}
-function ip(e, t, n) {
- let r = t?.tabbable ? Ho : Vo, i = uo(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Pf(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return xo(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Uf(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Kf(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function cp(e, t, n) {
+ let r = t?.tabbable ? Ko : Go, i = ho(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Rf(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return To(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!qf(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Xf(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var ap = class e {
+var lp = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new op({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new up({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -17467,7 +17468,7 @@ var ap = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new op({ scopeRef: e });
+ let i = new up({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -17478,7 +17479,7 @@ var ap = 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 && Kf(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 && Xf(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);
}
@@ -17490,7 +17491,7 @@ var ap = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, op = class {
+}, up = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -17500,28 +17501,28 @@ var ap = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, sp = new ap();
+}, dp = new lp();
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function cp(e) {
- return ns() ? e.altKey : e.ctrlKey;
+function fp(e) {
+ return os() ? e.altKey : e.ctrlKey;
}
-function lp(e, t) {
+function pp(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 up = /* @__PURE__ */ new WeakMap();
-function dp(e) {
- let t = Wa();
- return up.set(e, t), t;
+var mp = /* @__PURE__ */ new WeakMap();
+function hp(e) {
+ let t = Ja();
+ return mp.set(e, t), t;
}
-function fp(e) {
- return up.get(e);
+function gp(e) {
+ return mp.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var pp = 1e3;
-function mp(e) {
+var _p = 1e3;
+function vp(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, L.useRef)({
search: "",
timeout: void 0
@@ -17540,12 +17541,12 @@ function mp(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, pp);
+ }, _p);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = hp(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !xo(e.currentTarget, J(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = yp(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !To(e.currentTarget, J(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();
@@ -17556,34 +17557,34 @@ function mp(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, pp);
+ }, _p);
}
} : void 0
} };
}
-function hp(e) {
+function yp(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function gp(e, t) {
+function bp(e, t) {
let n = (0, L.useRef)(!0), r = (0, L.useRef)(null);
- Ea(() => (n.current = !0, () => {
+ Aa(() => (n.current = !0, () => {
n.current = !1;
- }), []), Ea(() => {
+ }), []), Aa(() => {
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 _p(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 } = ac(), _ = us(), v = (e, n, i) => {
+function xp(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 } = lc(), _ = ms(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !cp(e)) {
- (0, it.flushSync)(() => {
+ if (t.isLink(n) && m === "selection" && l && !fp(e)) {
+ (0, ct.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = lp(r, n), o = t.getItemProps(n);
+ let a = pp(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -17595,7 +17596,7 @@ function _p(e) {
t.extendSelection(n);
return;
}
- if (l && !cp(e)) {
+ if (l && !fp(e)) {
t.replaceSelection(n);
return;
}
@@ -17622,9 +17623,9 @@ function _p(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, Hs(e));
+ let r = n.getFirstKey(t.focusedKey, Ks(e));
if (t.setFocusedKey(r), r != null) {
- if (Hs(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Ks(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -17656,9 +17657,9 @@ function _p(e) {
}, w = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, Hs(e));
+ let r = n.getLastKey(t.focusedKey, Ks(e));
if (t.setFocusedKey(r), r != null) {
- if (Hs(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Ks(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -17695,12 +17696,12 @@ function _p(e) {
return !1;
}, k = () => {
if (!f && r.current) {
- let e = ip(r.current, { tabbable: !0 }), t, n;
+ let e = cp(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = So();
- t && (!wo(t) || i && !Ho(i)) && ko(t);
+ let i = Eo();
+ t && (!Oo(t) || i && !Ko(i)) && No(t);
}
return {
shouldContinuePropagation: !0,
@@ -17710,11 +17711,11 @@ function _p(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), j = (e, t) => ({
- [Qo() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [ns() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [Qo() ? e + "+Alt" : e + "+Control"]: t,
+ [ns() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: M } = nl({
+ }), { keyboardProps: M } = ol({
shortcuts: {
...j("ArrowDown", y),
...j("ArrowUp", b),
@@ -17724,7 +17725,7 @@ function _p(e) {
...j("PageUp", E)
},
allowRepeats: !0
- }), { keyboardProps: N } = nl({ shortcuts: {
+ }), { keyboardProps: N } = ol({ shortcuts: {
...j("Home", x),
...j("End", w),
"Mod+A": D,
@@ -17735,7 +17736,7 @@ function _p(e) {
top: 0,
left: 0
});
- qs(p, "scroll", () => {
+ Zs(p, "scroll", () => {
P.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
@@ -17743,11 +17744,11 @@ function _p(e) {
});
let ee = (e) => {
if (t.isFocused) {
- xo(e.currentTarget, J(e)) || t.setFocused(!1);
+ To(e.currentTarget, J(e)) || t.setFocused(!1);
return;
}
- if (!xo(e.currentTarget, J(e))) return;
- let i = Fs();
+ if (!To(e.currentTarget, J(e))) return;
+ let i = zs();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -17758,27 +17759,27 @@ function _p(e) {
r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());
} else p.current && (p.current.scrollTop = P.current.top, p.current.scrollLeft = P.current.left);
if (t.focusedKey != null && p.current) {
- let e = lp(r, t.focusedKey);
- e instanceof HTMLElement && (!wo(e) && !d && ko(e), (i === "keyboard" || h && i === "virtual") && Wu(e, { containingElement: r.current }));
+ let e = pp(r, t.focusedKey);
+ e instanceof HTMLElement && (!Oo(e) && !d && No(e), (i === "keyboard" || h && i === "virtual") && Ju(e, { containingElement: r.current }));
}
}, F = (e) => {
- xo(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ To(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
}, te = (0, L.useRef)(!1);
- qs(r, lo, d ? (e) => {
+ Zs(r, mo, d ? (e) => {
let { detail: n } = e;
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (te.current = !0);
} : void 0);
let ne = n.getFirstKey?.() ?? null;
- gp(() => {
+ bp(() => {
if (te.current) {
if (ne == null) {
- let e = So();
- To(r.current), Do(e, null), t.collection.size > 0 && (te.current = !1);
+ let e = Eo();
+ ko(r.current), jo(e, null), t.collection.size > 0 && (te.current = !1);
} else t.setFocusedKey(ne), te.current = !1;
}
- }, [ne, t.collection.size]), gp(() => {
+ }, [ne, t.collection.size]), bp(() => {
t.collection.size > 0 && (te.current = !1);
- }, [t.focusedKey]), qs(r, co, d ? (e) => {
+ }, [t.focusedKey]), Zs(r, po, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
let re = (0, L.useRef)(i), ie = (0, L.useRef)(!1);
@@ -17793,22 +17794,22 @@ function _p(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Vc(r.current), t.collection.size > 0 && (re.current = !1, ie.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Gc(r.current), t.collection.size > 0 && (re.current = !1, ie.current = !0);
}
});
let ae = (0, L.useRef)(t.focusedKey), oe = (0, L.useRef)(null);
(0, L.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {
- let e = Fs(), n = lp(r, t.focusedKey);
+ let e = zs(), n = pp(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {
- p.current && (Hu(p.current, n), e !== "virtual" && Wu(n, { containingElement: r.current }));
+ p.current && (Ku(p.current, n), e !== "virtual" && Ju(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && Vc(r.current), ae.current = t.focusedKey, ie.current = !1;
+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && Gc(r.current), ae.current = t.focusedKey, ie.current = !1;
}), (0, L.useEffect)(() => () => {
oe.current && cancelAnimationFrame(oe.current);
- }, []), qs(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), Zs(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let se = {
@@ -17818,14 +17819,14 @@ function _p(e) {
onMouseDown(e) {
p.current === J(e) && e.preventDefault();
}
- }, { typeSelectProps: ce } = mp({
+ }, { typeSelectProps: ce } = vp({
keyboardDelegate: n,
selectionManager: t
});
u || (se = q(ce, se));
let le;
d || (le = t.focusedKey == null ? 0 : -1);
- let ue = dp(t.collection);
+ let ue = hp(t.collection);
return { collectionProps: q(se, {
tabIndex: le,
"data-collection": ue
@@ -17833,14 +17834,14 @@ function _p(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var vp = class {
+var Sp = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : lp(this.ref, e);
+ let n = e == null ? null : pp(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -17866,12 +17867,12 @@ var vp = class {
height: e?.clientHeight ?? 0
};
}
-}, yp = class {
+}, Cp = 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 vp(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 vp(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 Sp(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 Sp(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -17911,14 +17912,14 @@ var vp = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = lp(this.ref, e);
+ let t = this.getNextKey(e), n = pp(this.ref, e);
if (t != null) {
- let e = lp(this.ref, t);
+ let e = pp(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = lp(this.ref, r);
+ let e = pp(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -17952,7 +17953,7 @@ var vp = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !zu(t)) return this.getFirstKey();
+ if (t && !Uu(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -17967,7 +17968,7 @@ var vp = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !zu(t)) return this.getLastKey();
+ if (t && !Uu(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);
@@ -17990,20 +17991,20 @@ var vp = class {
}
return null;
}
-}, bp = /* @__PURE__ */ new Map();
-function xp(e) {
- let { locale: t } = ac(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (bp.has(n)) return bp.get(n);
+}, wp = /* @__PURE__ */ new Map();
+function Tp(e) {
+ let { locale: t } = lc(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (wp.has(n)) return wp.get(n);
let r = new Intl.Collator(t, e);
- return bp.set(n, r), r;
+ return wp.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function Sp(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = xp({
+function Ep(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = Tp({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, L.useMemo)(() => a || new yp({
+ }), l = t.disabledBehavior, u = (0, L.useMemo)(() => a || new Cp({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -18020,7 +18021,7 @@ function Sp(e) {
c,
l,
s
- ]), { collectionProps: d } = _p({
+ ]), { collectionProps: d } = xp({
...e,
ref: i,
selectionManager: t,
@@ -18030,22 +18031,22 @@ function Sp(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function Cp(e, t, n) {
- let r = Hl(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function Dp(e, t, n) {
+ let r = Kl(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 } = Sp({
+ let { listProps: s } = Ep({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = fu({
+ }), { focusWithinProps: c } = gu({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = Wa(e.id);
- Af.set(t, {
+ }), l = Ja(e.id);
+ Pf.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -18055,7 +18056,7 @@ function Cp(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = Su({
+ let { labelProps: u, fieldProps: d } = Eu({
...e,
id: l,
labelElementType: "span"
@@ -18071,9 +18072,9 @@ function Cp(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var wp = 500;
-function Tp(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = wp, accessibilityDescription: s } = e, c = (0, L.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = Ql(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = iu({
+var Op = 500;
+function kp(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Op, accessibilityDescription: s } = e, c = (0, L.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = nu(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = cu({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -18081,12 +18082,12 @@ function Tp(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), uo(e.target).activeElement !== e.target && ko(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), ho(e.target).activeElement !== e.target && No(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 = fo(e.target);
+ let t = go(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -18101,15 +18102,15 @@ function Tp(e) {
});
}
});
- return { longPressProps: q(f, qu(a && !t ? s : void 0)) };
+ return { longPressProps: q(f, Zu(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function Ep(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 = us();
- t = Wa(t);
+function Ap(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 = ms();
+ t = Ja(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && cp(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && fp(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -18120,11 +18121,11 @@ function Ep(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 && (Hs(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 && (Ks(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, L.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? To(i.current) : s ? s() : So() !== i.current && i.current && Vc(i.current));
+ r === n.focusedKey && n.isFocused && (o ? ko(i.current) : s ? s() : Eo() !== i.current && i.current && Gc(i.current));
}, [
i,
r,
@@ -18152,22 +18153,22 @@ function Ep(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);
}, k = { ref: i };
a ? (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || Op(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || Mp(e.key)) && p(e);
}, u ? (k.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, k.onPress = b ? O : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : k.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !Dp(e.key)) return;
+ if (e.pointerType === "keyboard" && !jp(e.key)) return;
O(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || Op(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || Mp(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && Dp(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && jp(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let A = fp(n.collection);
+ let A = gp(n.collection);
if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = q(k, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -18182,10 +18183,10 @@ function Ep(e) {
"onPress",
"onPressUp",
"onClick"
- ]) D[e] && (k[e] = Ta(k[e], D[e]));
- let { pressProps: j, isPressed: M } = iu(k), N = x ? (e) => {
+ ]) D[e] && (k[e] = ka(k[e], D[e]));
+ let { pressProps: j, isPressed: M } = cu(k), N = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: P } = Tp({
+ } : void 0, { longPressProps: P } = kp({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -18193,7 +18194,7 @@ function Ep(e) {
}), ee = (e) => {
C.current === "touch" && T.current && e.preventDefault();
}, F = d !== "none" && n.isLink(r) ? (e) => {
- fs.isOpening || e.preventDefault();
+ gs.isOpening || e.preventDefault();
} : void 0, te = q(m, v || b || o && !c ? j : {}, w ? P : {}, {
onDoubleClick: N,
onDragStartCapture: ee,
@@ -18206,7 +18207,7 @@ function Ep(e) {
if (e != null) return e !== A;
t = t.parentElement;
}
- return Ho(e);
+ return Ko(e);
}, re = te.onPointerDown;
te.onPointerDown = (e) => {
let t = J(e);
@@ -18234,21 +18235,21 @@ function Ep(e) {
hasAction: S
};
}
-function Dp(e) {
+function jp(e) {
return e === "Enter";
}
-function Op(e) {
+function Mp(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function kp(e, t) {
+function Np(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function Ap(e) {
- return jp(e, 0);
+function Pp(e) {
+ return Fp(e, 0);
}
-function jp(e, t) {
+function Fp(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -18256,36 +18257,36 @@ function jp(e, t) {
n++;
}
}
-function Mp(e) {
+function Ip(e) {
let t;
for (let n of e) t = n;
return t;
}
-function Np(e, t, n) {
+function Lp(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...Pp(e, t), t], i = [...Pp(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...Rp(e, t), t], i = [...Rp(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 Pp(e, t) {
+function Rp(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 Fp = /* @__PURE__ */ new WeakMap();
-function Ip(e) {
- let t = Fp.get(e);
+var zp = /* @__PURE__ */ new WeakMap();
+function Bp(e) {
+ let t = zp.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(kp(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(Np(i, e)) : i.type === "item" && n++;
};
- return r(e), Fp.set(e, n), n;
+ return r(e), zp.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Lp(e, t, n) {
- let { key: r } = e, i = Af.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 = Ka(), f = Ka(), p = {
+function Vp(e, t, n) {
+ let { key: r } = e, i = Pf.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 = Xa(), f = Xa(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -18295,9 +18296,9 @@ function Lp(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"] = Ip(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = Bp(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Mf(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Ep({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = If(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Ap({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -18306,18 +18307,18 @@ function Lp(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? Ta(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? ka(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = yu({
+ }), { hoverProps: S } = Cu({
isDisabled: a || !c,
onHoverStart() {
- Ps() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ Rs() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = Hl(m?.props);
+ }), C = Kl(m?.props);
delete C.id;
- let w = gs(m?.props);
+ let w = bs(m?.props);
return {
optionProps: {
...p,
@@ -18327,7 +18328,7 @@ function Lp(e, t, n) {
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && Ps(),
+ isFocusVisible: y && t.selectionManager.isFocused && Rs(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -18337,8 +18338,8 @@ function Lp(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Rp(e) {
- let { heading: t, "aria-label": n } = e, r = Wa();
+function Hp(e) {
+ let { heading: t, "aria-label": n } = e, r = Ja();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -18357,13 +18358,13 @@ function Rp(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function zp(e) {
+function Up(e) {
let t = L.version.split(".");
return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;
}
//#endregion
//#region node_modules/react-stately/dist/private/list/ListCollection.mjs
-var Bp = class {
+var Wp = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -18407,20 +18408,20 @@ var Bp = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, Vp = class e extends Set {
+}, Gp = class e extends Set {
constructor(t, n, r) {
super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);
}
};
//#endregion
//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs
-function Hp(e, t) {
+function Kp(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function Up(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, L.useRef)(!1), [, s] = (0, L.useState)(!1), c = (0, L.useRef)(null), l = (0, L.useRef)(null), [, u] = (0, L.useState)(null), [d, f] = xc((0, L.useMemo)(() => Wp(e.selectedKeys), [e.selectedKeys]), (0, L.useMemo)(() => Wp(e.defaultSelectedKeys, new Vp()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, L.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, L.useState)(i);
+function qp(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, L.useRef)(!1), [, s] = (0, L.useState)(!1), c = (0, L.useRef)(null), l = (0, L.useRef)(null), [, u] = (0, L.useState)(null), [d, f] = Tc((0, L.useMemo)(() => Jp(e.selectedKeys), [e.selectedKeys]), (0, L.useMemo)(() => Jp(e.defaultSelectedKeys, new Gp()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, L.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, L.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, L.useRef)(i);
return (0, L.useEffect)(() => {
@@ -18447,18 +18448,18 @@ function Up(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Hp(e, d)) && f(e);
+ (r || !Kp(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function Wp(e, t) {
- return e ? e === "all" ? "all" : new Vp(e) : t;
+function Jp(e, t) {
+ return e ? e === "all" ? "all" : new Gp(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var Gp = class e {
+var Yp = class e {
constructor(e, t, n) {
this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;
}
@@ -18514,7 +18515,7 @@ var Gp = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Np(this.collection, n, e) < 0) && (e = n);
+ (!e || n && Lp(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -18522,7 +18523,7 @@ var Gp = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && Np(this.collection, n, e) > 0) && (e = n);
+ (!e || n && Lp(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -18541,10 +18542,10 @@ var Gp = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new Vp([t], t, t);
+ if (this.state.selectedKeys === "all") n = new Gp([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new Vp(e, r, t);
+ n = new Gp(e, r, t);
for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);
for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);
}
@@ -18552,7 +18553,7 @@ var Gp = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? Np(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? Lp(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);
@@ -18578,19 +18579,19 @@ var Gp = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new Vp(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new Gp(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);
}
replaceSelection(e) {
if (this.selectionMode === "none") return;
let t = this.getKey(e);
if (t == null) return;
- let n = this.canSelectItem(t) ? new Vp([t], t, t) : new Vp();
+ let n = this.canSelectItem(t) ? new Gp([t], t, t) : new Gp();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new Vp();
+ let t = new Gp();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -18602,7 +18603,7 @@ var Gp = 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(Ap(kp(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Pp(Np(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -18613,7 +18614,7 @@ var Gp = class e {
!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
}
clearSelection() {
- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new Vp());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new Gp());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -18654,9 +18655,9 @@ var Gp = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, Kp = class {
+}, Xp = class {
build(e, t) {
- return this.context = t, qp(() => this.iterateCollection(e));
+ return this.context = t, Zp(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -18738,10 +18739,10 @@ var Gp = class e {
...a,
key: l,
index: s,
- wrapper: Jp(e.wrapper, a.wrapper)
+ wrapper: Qp(e.wrapper, a.wrapper)
}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];
for (let t of u) {
- if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${Yp(t.type)}> in <${Yp(r?.type ?? "unknown parent type")}>. Only <${Yp(e.type)}> is supported.`);
+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${$p(t.type)}> in <${$p(r?.type ?? "unknown parent type")}>. Only <${$p(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -18763,7 +18764,7 @@ var Gp = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: qp(function* () {
+ childNodes: Zp(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -18782,7 +18783,7 @@ var Gp = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function qp(e) {
+function Zp(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -18790,18 +18791,18 @@ function qp(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function Jp(e, t) {
+function Qp(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function Yp(e) {
+function $p(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function Xp(e, t, n) {
- let r = (0, L.useMemo)(() => new Kp(), []), { children: i, items: a, collection: o } = e;
+function em(e, t, n) {
+ let r = (0, L.useMemo)(() => new Xp(), []), { children: i, items: a, collection: o } = e;
return (0, L.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -18816,27 +18817,27 @@ function Xp(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function Zp(e) {
- let { filter: t, layoutDelegate: n } = e, r = Up(e), i = (0, L.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = Xp(e, (0, L.useCallback)((e) => t ? new Bp(t(e)) : new Bp(e), [t]), (0, L.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, L.useMemo)(() => new Gp(a, r, { layoutDelegate: n }), [
+function tm(e) {
+ let { filter: t, layoutDelegate: n } = e, r = qp(e), i = (0, L.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = em(e, (0, L.useCallback)((e) => t ? new Wp(t(e)) : new Wp(e), [t]), (0, L.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, L.useMemo)(() => new Yp(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return $p(a, o), {
+ return rm(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function Qp(e, t) {
+function nm(e, t) {
let n = (0, L.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return $p(n, r), {
+ return rm(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function $p(e, t) {
+function rm(e, t) {
let n = (0, L.useRef)(null);
(0, L.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -18864,15 +18865,15 @@ function $p(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function em(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, L.useRef)(null), s = Ks((e) => {
+function im(e, t) {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, L.useRef)(null), s = Xs((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- Ea(() => {
+ Aa(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: Bu(t?.current),
+ root: Wu(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -18888,42 +18889,42 @@ function em(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var tm = /*#__PURE__*/ (0, L.createContext)(null), nm = /*#__PURE__*/ (0, L.createContext)(null), rm = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- [e, t] = no(e, t, tm);
- let n = (0, L.useContext)(nm);
- return n ? /*#__PURE__*/ L.createElement(am, {
+var am = /*#__PURE__*/ (0, L.createContext)(null), om = /*#__PURE__*/ (0, L.createContext)(null), sm = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ [e, t] = oo(e, t, am);
+ let n = (0, L.useContext)(om);
+ return n ? /*#__PURE__*/ L.createElement(lm, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ L.createElement(gl, { content: /*#__PURE__*/ L.createElement(Ol, e) }, (n) => /*#__PURE__*/ L.createElement(im, {
+ }) : /*#__PURE__*/ L.createElement(bl, { content: /*#__PURE__*/ L.createElement(Ml, e) }, (n) => /*#__PURE__*/ L.createElement(cm, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function im({ props: e, listBoxRef: t, collection: n }) {
+function cm({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, L.useContext)(Pl), i = Zp({
+ let { layoutDelegate: r } = (0, L.useContext)(Rl), i = tm({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ L.createElement(am, {
+ return /*#__PURE__*/ L.createElement(lm, {
state: i,
props: e,
listBoxRef: t
});
}
-function am({ state: e, props: t, listBoxRef: n }) {
- [t, n] = no(t, n, Sc);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Qp(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = ac(), { disabledBehavior: p, disabledKeys: m } = l, h = xp({
+function lm({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = oo(t, n, Ec);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = nm(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = lc(), { disabledBehavior: p, disabledKeys: m } = l, h = Tp({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, L.useContext)(Pl), b = (0, L.useMemo)(() => t.keyboardDelegate || new yp({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, L.useContext)(Rl), b = (0, L.useMemo)(() => t.keyboardDelegate || new Cp({
collection: c,
collator: h,
ref: n,
@@ -18944,7 +18945,7 @@ function am({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Cp({
+ ]), { listBoxProps: x } = Dp({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -18976,7 +18977,7 @@ function am({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = pu(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = _u(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -18984,7 +18985,7 @@ function am({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, N = eo({
+ }, N = io({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -18994,8 +18995,8 @@ function am({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(M)));
- let ee = Hl(t, { global: !0 });
- return /*#__PURE__*/ L.createElement(Rf, null, /*#__PURE__*/ L.createElement(so.div, {
+ let ee = Kl(t, { global: !0 });
+ return /*#__PURE__*/ L.createElement(Hf, null, /*#__PURE__*/ L.createElement(fo.div, {
...q(ee, N, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -19006,60 +19007,60 @@ function am({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ L.createElement($a, { values: [
- [tm, t],
- [nm, s],
- [vf, {
+ }, /*#__PURE__*/ L.createElement(ro, { values: [
+ [am, t],
+ [om, s],
+ [Sf, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [Of, { elementType: "div" }],
- [yf, { render: cm }],
- [Al, {
+ [Mf, { elementType: "div" }],
+ [Cf, { render: fm }],
+ [Pl, {
name: "ListBoxSection",
- render: om
+ render: um
}]
- ] }, /*#__PURE__*/ L.createElement(Tf, null, /*#__PURE__*/ L.createElement(y, {
+ ] }, /*#__PURE__*/ L.createElement(kf, null, /*#__PURE__*/ L.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: Sf(l, r, C),
- renderDropIndicator: xf(r, C)
+ persistedKeys: Ef(l, r, C),
+ renderDropIndicator: Tf(r, C)
}))), P, E));
}
-function om(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, L.useContext)(nm), { dragAndDropHooks: a, dropState: o } = (0, L.useContext)(vf), { CollectionBranch: s } = (0, L.useContext)(Pl), [c, l] = ro(), { headingProps: u, groupProps: d } = Rp({
+function um(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, L.useContext)(om), { dragAndDropHooks: a, dropState: o } = (0, L.useContext)(Sf), { CollectionBranch: s } = (0, L.useContext)(Rl), [c, l] = so(), { headingProps: u, groupProps: d } = Hp({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = eo({
+ }), f = io({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = Hl(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ L.createElement(so.section, {
+ }), p = Kl(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ L.createElement(fo.section, {
...q(p, f, d),
ref: t
- }, /*#__PURE__*/ L.createElement(Cf.Provider, { value: {
+ }, /*#__PURE__*/ L.createElement(Df.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ L.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: xf(a, o)
+ renderDropIndicator: Tf(a, o)
})));
}
-var sm = /*#__PURE__*/ wl(Dc, function(e, t, n) {
- let r = Za(t), i = (0, L.useContext)(nm), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, L.useContext)(vf), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Lp({
+var dm = /*#__PURE__*/ Ol(jc, function(e, t, n) {
+ let r = to(t), i = (0, L.useContext)(om), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, L.useContext)(Sf), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Vp({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = yu({
+ }, i, r), { hoverProps: p, isHovered: m } = Cu({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = nl(e), { focusProps: g } = Hc(e), _ = null;
+ }), { keyboardProps: h } = ol(e), { focusProps: g } = Kc(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -19070,7 +19071,7 @@ var sm = /*#__PURE__*/ wl(Dc, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = eo({
+ let y = o && o.isDragging(n.key), b = io({
...e,
id: void 0,
children: e.children,
@@ -19088,7 +19089,7 @@ var sm = /*#__PURE__*/ wl(Dc, function(e, t, n) {
(0, L.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? so.a : so.div, S = Hl(e, { global: !0 });
+ let x = e.href ? fo.a : fo.div, S = Kl(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ L.createElement(x, {
...q(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -19102,29 +19103,29 @@ var sm = /*#__PURE__*/ wl(Dc, function(e, t, n) {
"data-dragging": y || void 0,
"data-drop-target": v?.isDropTarget || void 0,
"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
- }, /*#__PURE__*/ L.createElement($a, { values: [[Iu, { slots: {
- [Qa]: u,
+ }, /*#__PURE__*/ L.createElement(ro, { values: [[Bu, { slots: {
+ [no]: u,
label: u,
description: d
- } }], [Ef, { isSelected: f.isSelected }]] }, b.children));
+ } }], [Af, { isSelected: f.isSelected }]] }, b.children));
});
-function cm(e, t) {
- t = Za(t);
- let { dragAndDropHooks: n, dropState: r } = (0, L.useContext)(vf), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ L.createElement(um, {
+function fm(e, t) {
+ t = to(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, L.useContext)(Sf), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ L.createElement(mm, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function lm(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = eo({
+function pm(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = io({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(so.div, {
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(fo.div, {
...n,
...a,
role: "option",
@@ -19132,10 +19133,10 @@ function lm(e, t) {
"data-drop-target": r || void 0
}));
}
-var um = /*#__PURE__*/ (0, L.forwardRef)(lm);
-wl(Ec, function(e, t, n) {
- let r = (0, L.useContext)(nm), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, L.useRef)(null);
- em((0, L.useMemo)(() => ({
+var mm = /*#__PURE__*/ (0, L.forwardRef)(pm);
+Ol(Ac, function(e, t, n) {
+ let r = (0, L.useContext)(om), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, L.useRef)(null);
+ im((0, L.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -19145,7 +19146,7 @@ wl(Ec, function(e, t, n) {
o,
r?.collection
]), c);
- let l = eo({
+ let l = io({
...s,
id: void 0,
children: n.rendered,
@@ -19158,7 +19159,7 @@ wl(Ec, function(e, t, n) {
width: 0,
height: 0
},
- inert: zp(!0)
+ inert: Up(!0)
}, /*#__PURE__*/ L.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -19167,8 +19168,8 @@ wl(Ec, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(so.div, {
- ...q(Hl(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(fo.div, {
+ ...q(Kl(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -19176,42 +19177,42 @@ wl(Ec, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var dm = /*#__PURE__*/ (0, L.createContext)({ placement: "bottom" }), fm = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function pm(e) {
+var hm = /*#__PURE__*/ (0, L.createContext)({ placement: "bottom" }), gm = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function _m(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var mm = /* @__PURE__ */ new WeakMap(), hm = [];
-function gm(e, t) {
- let n = fo(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && fm, 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 vm = /* @__PURE__ */ new WeakMap(), ym = [];
+function bm(e, t) {
+ let n = go(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && gm, 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 (bo()) {
+ if (wo()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; go(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; bo(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 (xo(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (To(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = Pf(uo(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = Rf(ho(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 = mm.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), mm.set(e, t + 1));
+ let t = vm.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), vm.set(e, t + 1));
};
- hm.length && hm[hm.length - 1].disconnect(), d(i);
+ ym.length && ym[ym.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) => xo(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && pm(e) ? o.add(e) : e instanceof Element && d(e);
- if (bo()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => To(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && _m(e) ? o.add(e) : e instanceof Element && d(e);
+ if (wo()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -19224,11 +19225,11 @@ function gm(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (bo()) for (let e of u) {
+ if (wo()) 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) => xo(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && pm(e) ? o.add(e) : e instanceof Element && d(e);
- if (bo()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => To(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && _m(e) ? o.add(e) : e instanceof Element && d(e);
+ if (wo()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -19254,50 +19255,50 @@ function gm(e, t) {
p.disconnect();
}
};
- return hm.push(h), () => {
- if (p.disconnect(), bo()) for (let e of m) e.disconnect();
+ return ym.push(h), () => {
+ if (p.disconnect(), wo()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = mm.get(e);
- t != null && (t === 1 ? (l(e, !1), mm.delete(e)) : mm.set(e, t - 1));
+ let t = vm.get(e);
+ t != null && (t === 1 ? (l(e, !1), vm.delete(e)) : vm.set(e, t - 1));
}
- h === hm[hm.length - 1] ? (hm.pop(), hm.length && hm[hm.length - 1].observe()) : hm.splice(hm.indexOf(h), 1);
+ h === ym[ym.length - 1] ? (ym.pop(), ym.length && ym[ym.length - 1].observe()) : ym.splice(ym.indexOf(h), 1);
};
}
-function _m(e) {
- let t = hm[hm.length - 1];
+function xm(e) {
+ let t = ym[ym.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var vm = {
+var Sm = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, ym = {
+}, Cm = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, bm = {
+}, wm = {
top: "left",
left: "top"
-}, xm = {
+}, Tm = {
top: "height",
left: "width"
-}, Sm = {
+}, Em = {
width: "totalWidth",
height: "totalHeight"
-}, Cm = {}, wm = () => typeof document < "u" ? window.visualViewport : null;
-function Tm(e, t) {
+}, Dm = {}, Om = () => typeof document < "u" ? window.visualViewport : null;
+function km(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} = Im(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return rs() && (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} = Bm(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return ss() && (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,
@@ -19307,7 +19308,7 @@ function Tm(e, t) {
left: s
};
}
-function Em(e) {
+function Am(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -19315,11 +19316,11 @@ function Em(e) {
height: e.scrollHeight
};
}
-function Dm(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[xm[e]], l = o[e] + r.scroll[vm[e]] + a, u = o[e] + r.scroll[vm[e]] + c - a, d = t - s + r.scroll[vm[e]] + o[e] - r[vm[e]], f = t - s + n + r.scroll[vm[e]] + o[e] - r[vm[e]];
+function jm(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[Tm[e]], l = o[e] + r.scroll[Sm[e]] + a, u = o[e] + r.scroll[Sm[e]] + c - a, d = t - s + r.scroll[Sm[e]] + o[e] - r[Sm[e]], f = t - s + n + r.scroll[Sm[e]] + o[e] - r[Sm[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function Om(e) {
+function Mm(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -19328,55 +19329,55 @@ function Om(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function km(e) {
- if (Cm[e]) return Cm[e];
- let [t, n] = e.split(" "), r = vm[t] || "right", i = bm[r];
- vm[n] || (n = "center");
- let a = xm[r], o = xm[i];
- return Cm[e] = {
+function Nm(e) {
+ if (Dm[e]) return Dm[e];
+ let [t, n] = e.split(" "), r = Sm[t] || "right", i = wm[r];
+ Sm[n] || (n = "center");
+ let a = Tm[r], o = Tm[i];
+ return Dm[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, Cm[e];
+ }, Dm[e];
}
-function Am(e, t, n, r, i, a, o, s, c, l, u) {
+function Pm(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] = Cu(_[m], v, y), d === p) {
- let t = s ? u[h] : u[Sm[h]];
- _[ym[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = Du(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[Em[h]];
+ _[Cm[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function jm(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[Sm.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function Fm(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[Em.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 Mm(e, t, n, r, i, a, o, s) {
+function Im(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[ym[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[ym[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Cm[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[Cm[l]] - i);
}
-function Nm(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = km(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Am(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Mm(s, l, t, i, a + u, v, c, g);
+function Lm(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = Nm(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Pm(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Im(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = km(`${ym[S]} ${C}`), r = Am(t, s, n, e, u, d, l, f, m, h, c);
- Mm(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = Nm(`${Cm[S]} ${C}`), r = Pm(t, s, n, e, u, d, l, f, m, h, c);
+ Im(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 = Dm(b, w[b], n[x], s, c, a, l);
+ let O = jm(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = jm(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Am(t, s, n, v, T, d, l, f, m, h, c), O = Dm(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[vm[b]], M = j + .5 * t[x], N = m / 2 + h, P = vm[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;
- A[b] = Cu(Cu(M, t[b] + m / 2 - (w[b] + i[vm[b]]), t[b] + t[x] - m / 2 - (w[b] + i[vm[b]])), N, ee), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = Fm(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Pm(t, s, n, v, T, d, l, f, m, h, c), O = jm(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[Sm[b]], M = j + .5 * t[x], N = m / 2 + h, P = Sm[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;
+ A[b] = Du(Du(M, t[b] + m / 2 - (w[b] + i[Sm[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Sm[b]])), N, ee), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let F = S === "left" || S === "top" ? n[y] : 0, te = {
x: S === "top" || S === "bottom" ? j : F,
y: S === "left" || S === "right" ? j : F
@@ -19390,17 +19391,17 @@ function Nm(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: te
};
}
-function Pm(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 = wm(), h = r instanceof HTMLElement ? Rm(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Im(n, !1, p) : Lm(n, h, !1, p);
+function Rm(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 = Om(), h = r instanceof HTMLElement ? Hm(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Bm(n, !1, p) : Vm(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 = Im(r, !0), x = Om(r);
+ let b = Bm(r, !0), x = Mm(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = Em(i), C = Tm(s, m), w = Tm(h, m), T;
+ let S = Am(i), C = km(s, m), w = km(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = Fm(h, !1);
+ let e = zm(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -19412,11 +19413,11 @@ function Pm(e) {
left: 0,
width: 0,
height: 0
- } : Lm(s, h, !1);
- let E = xo(s, h);
- return Nm(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : Vm(s, h, !1);
+ let E = To(s, h);
+ return Lm(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function Fm(e, t) {
+function zm(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,
@@ -19425,8 +19426,8 @@ function Fm(e, t) {
height: a
};
}
-function Im(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || Fm(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function Bm(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || zm(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -19434,34 +19435,34 @@ function Im(e, t, n) {
height: o
};
}
-function Lm(e, t, n, r) {
+function Vm(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || Fm(e, n);
+ if (i.position === "fixed") a = r || zm(e, n);
else {
- a = Im(e, n, r);
- let i = Im(t, n), o = window.getComputedStyle(t);
+ a = Bm(e, n, r);
+ let i = Bm(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 Rm(e) {
+function Hm(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !zm(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !zm(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Um(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Um(t);) t = t.parentElement;
return t || document.documentElement;
}
-function zm(e) {
+function Um(e) {
let t = window.getComputedStyle(e);
return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var Bm = /* @__PURE__ */ new WeakMap();
-function Vm(e) {
+var Wm = /* @__PURE__ */ new WeakMap();
+function Gm(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, L.useEffect)(() => !n || r === null ? void 0 : _o(Co(t.current), "scroll", (e) => {
+ (0, L.useEffect)(() => !n || r === null ? void 0 : xo(Do(t.current), "scroll", (e) => {
let n = J(e);
- if (!t.current || n instanceof Node && !xo(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || Bm.get(t.current);
+ if (!t.current || n instanceof Node && !To(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || Wm.get(t.current);
i && i();
}, !0), [
n,
@@ -19471,15 +19472,15 @@ function Vm(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function Hm() {
+function Km() {
return window.ResizeObserver !== void 0;
}
-function Um(e) {
- let { ref: t, box: n, onResize: r } = e, i = Ks(r);
+function qm(e) {
+ let { ref: t, box: n, onResize: r } = e, i = Xs(r);
(0, L.useEffect)(() => {
let e = t?.current;
if (e) {
- if (Hm()) {
+ if (Km()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -19495,9 +19496,9 @@ function Um(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var Wm = typeof document < "u" ? window.visualViewport : null;
-function Gm(e) {
- let { direction: t } = ac(), { 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, L.useState)(null), x = [
+var Jm = typeof document < "u" ? window.visualViewport : null;
+function Ym(e) {
+ let { direction: t } = lc(), { 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, L.useState)(null), x = [
p,
s,
i.current,
@@ -19514,15 +19515,15 @@ function Gm(e) {
g,
_,
n
- ], S = (0, L.useRef)(Wm?.scale);
+ ], S = (0, L.useRef)(Jm?.scale);
(0, L.useEffect)(() => {
- m && (S.current = Wm?.scale);
+ m && (S.current = Jm?.scale);
}, [m]);
let C = (0, L.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || Wm?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || Jm?.scale !== S.current) return;
let e = null;
- if (o.current && wo(o.current)) {
- let t = So()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && Oo(o.current)) {
+ let t = Eo()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -19530,8 +19531,8 @@ function Gm(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 = Pm({
- placement: qm(s, t),
+ let y = Rm({
+ placement: Zm(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -19541,28 +19542,28 @@ function Gm(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? Fm(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? zm(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 = So();
+ let x = Eo();
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);
- Ea(C, x), Km(C), Um({
+ Aa(C, x), Xm(C), qm({
ref: i,
onResize: C
- }), Um({
+ }), qm({
ref: r,
onResize: C
});
let w = (0, L.useRef)(!1);
- Ea(() => {
+ Aa(() => {
let e, t = () => {
w.current = !0, clearTimeout(e), e = setTimeout(() => {
w.current = !1;
@@ -19570,16 +19571,16 @@ function Gm(e) {
}, n = () => {
w.current && t();
};
- Wm?.addEventListener("resize", t), Wm?.addEventListener("scroll", n);
- let r = _o(Co(window), "scroll", n);
+ Jm?.addEventListener("resize", t), Jm?.addEventListener("scroll", n);
+ let r = xo(Do(window), "scroll", n);
return () => {
- Wm?.removeEventListener("resize", t), Wm?.removeEventListener("scroll", n), r();
+ Jm?.removeEventListener("resize", t), Jm?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, L.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return Vm({
+ return Gm({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -19605,32 +19606,32 @@ function Gm(e) {
updatePosition: C
};
}
-function Km(e) {
- Ea(() => (window.addEventListener("resize", e, !1), () => {
+function Xm(e) {
+ Aa(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function qm(e, t) {
+function Zm(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function Jm(e) {
+function Qm(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, L.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = Ks((e) => {
- n && Ym(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = Ks((e) => {
+ }), o = Xs((e) => {
+ n && $m(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = Xs((e) => {
n && n(e);
});
(0, L.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = uo(n);
+ let n = t.current, i = ho(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && Ym(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && $m(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);
@@ -19638,49 +19639,49 @@ function Jm(e) {
}
}, [t, r]);
}
-function Ym(e, t) {
+function $m(e, t) {
if (e.button > 0) return !1;
let n = J(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !xo(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !To(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/overlays/useOverlay.mjs
-var Xm = [];
-function Zm(e, t) {
+var eh = [];
+function th(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, L.useRef)(void 0);
(0, L.useEffect)(() => {
- if (i && !Xm.includes(t)) return Xm.push(t), () => {
- let e = Xm.indexOf(t);
- e >= 0 && Xm.splice(e, 1);
+ if (i && !eh.includes(t)) return eh.push(t), () => {
+ let e = eh.indexOf(t);
+ e >= 0 && eh.splice(e, 1);
};
}, [i, t]);
let l = () => {
- Xm[Xm.length - 1] === t && n && n();
+ eh[eh.length - 1] === t && n && n();
}, u = (e) => {
- let n = Xm[Xm.length - 1];
+ let n = eh[eh.length - 1];
c.current = n, (!s || s(J(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(J(e))) && (Xm[Xm.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = nl({ shortcuts: { Escape: () => {
+ (!s || s(J(e))) && (eh[eh.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = ol({ shortcuts: { Escape: () => {
if (!o) {
l();
return;
}
return !1;
} } });
- Jm({
+ Qm({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = fu({
+ let { focusWithinProps: p } = gu({
isDisabled: !r,
onBlurWithin: (e) => {
- !e.relatedTarget || Jf(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
+ !e.relatedTarget || Qf(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -19693,26 +19694,26 @@ function Zm(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var Qm = typeof document < "u" && window.visualViewport, $m = 0, eh;
-function th(e = {}) {
+var nh = typeof document < "u" && window.visualViewport, rh = 0, ih;
+function ah(e = {}) {
let { isDisabled: t } = e;
- Ea(() => {
- if (!t) return $m++, $m === 1 && (eh = ts() && rs() ? rh() : nh()), () => {
- $m--, $m === 0 && eh();
+ Aa(() => {
+ if (!t) return rh++, rh === 1 && (ih = as() && ss() ? sh() : oh()), () => {
+ rh--, rh === 0 && ih();
};
}, [t]);
}
-function nh() {
+function oh() {
let e = window.innerWidth - document.documentElement.clientWidth;
- return Ta(e > 0 && ("scrollbarGutter" in document.documentElement.style ? vo(document.documentElement, "scrollbar-gutter", "stable") : vo(document.documentElement, "padding-right", `${e}px`)), vo(document.documentElement, "overflow", "hidden"));
+ return ka(e > 0 && ("scrollbarGutter" in document.documentElement.style ? So(document.documentElement, "scrollbar-gutter", "stable") : So(document.documentElement, "padding-right", `${e}px`)), So(document.documentElement, "overflow", "hidden"));
}
-function rh() {
- let e = vo(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+function sh() {
+ let e = So(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = J(e);
- t = zu(r) ? r : Bu(r, !0), n = !1;
+ t = Uu(r) ? r : Wu(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 = Xl();
+ }, i = document.createElement("style"), a = eu();
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)) {
@@ -19724,26 +19725,26 @@ function rh() {
}
}, s = (e) => {
let t = J(e), n = e.relatedTarget;
- n && Ws(n) ? (n.focus({ preventScroll: !0 }), ih(n, Ws(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && Js(n) ? (n.focus({ preventScroll: !0 }), ch(n, Js(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 = So(), n = t != null && Ws(t);
+ let t = Eo(), n = t != null && Js(t);
c.call(this, {
...e,
preventScroll: !0
- }), (!e || !e.preventScroll) && ih(this, n);
+ }), (!e || !e.preventScroll) && ch(this, n);
}
});
- let l = Ta(_o(document, "touchstart", r, {
+ let l = ka(xo(document, "touchstart", r, {
passive: !1,
capture: !0
- }), _o(document, "touchmove", o, {
+ }), xo(document, "touchmove", o, {
passive: !1,
capture: !0
- }), _o(document, "blur", s, !0));
+ }), xo(document, "blur", s, !0));
return () => {
e(), l(), i.remove(), Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -19752,18 +19753,18 @@ function rh() {
});
};
}
-function ih(e, t) {
- t || !Qm ? ah(e) : Qm.addEventListener("resize", () => ah(e), { once: !0 });
+function ch(e, t) {
+ t || !nh ? lh(e) : nh.addEventListener("resize", () => lh(e), { once: !0 });
}
-function ah(e) {
+function lh(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
- let e = Bu(n);
+ let e = Wu(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;
- Qm && (n = Math.min(n, Qm.offsetTop + Qm.height));
+ nh && (n = Math.min(n, nh.offsetTop + nh.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)),
@@ -19776,15 +19777,15 @@ function ah(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function oh(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 } = Zm({
+function uh(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 } = th({
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 } = Gm({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Ym({
...c,
targetRef: n,
overlayRef: r,
@@ -19792,15 +19793,15 @@ function oh(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)
});
- th({ isDisabled: a || !t.isOpen }), (0, L.useEffect)(() => {
- if (t.isOpen && r.current) return a ? _m(i?.current ?? r.current) : gm([i?.current ?? r.current], { shouldUseInert: !0 });
+ ah({ isDisabled: a || !t.isOpen }), (0, L.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? xm(i?.current ?? r.current) : bm([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = fu(e);
+ let { focusWithinProps: g } = gu(e);
return {
popoverProps: q(u, f, g),
arrowProps: p,
@@ -19811,189 +19812,189 @@ function oh(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var sh = {};
-sh = { dismiss: "تجاهل" };
+var dh = {};
+dh = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var ch = {};
-ch = { dismiss: "Отхвърляне" };
+var fh = {};
+fh = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var lh = {};
-lh = { dismiss: "Odstranit" };
+var ph = {};
+ph = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var uh = {};
-uh = { dismiss: "Luk" };
+var mh = {};
+mh = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var dh = {};
-dh = { dismiss: "Schließen" };
+var hh = {};
+hh = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var fh = {};
-fh = { dismiss: "Απόρριψη" };
+var gh = {};
+gh = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var ph = {};
-ph = { dismiss: "Dismiss" };
+var _h = {};
+_h = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var mh = {};
-mh = { dismiss: "Descartar" };
+var vh = {};
+vh = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var hh = {};
-hh = { dismiss: "Lõpeta" };
+var yh = {};
+yh = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var gh = {};
-gh = { dismiss: "Hylkää" };
+var bh = {};
+bh = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var _h = {};
-_h = { dismiss: "Rejeter" };
+var xh = {};
+xh = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var vh = {};
-vh = { dismiss: "התעלם" };
+var Sh = {};
+Sh = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var yh = {};
-yh = { dismiss: "Odbaci" };
+var Ch = {};
+Ch = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var bh = {};
-bh = { dismiss: "Elutasítás" };
+var wh = {};
+wh = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var xh = {};
-xh = { dismiss: "Ignora" };
+var Th = {};
+Th = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var Sh = {};
-Sh = { dismiss: "閉じる" };
+var Eh = {};
+Eh = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var Ch = {};
-Ch = { dismiss: "무시" };
+var Dh = {};
+Dh = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var wh = {};
-wh = { dismiss: "Atmesti" };
+var Oh = {};
+Oh = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var Th = {};
-Th = { dismiss: "Nerādīt" };
+var kh = {};
+kh = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var Eh = {};
-Eh = { dismiss: "Lukk" };
+var Ah = {};
+Ah = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var Dh = {};
-Dh = { dismiss: "Negeren" };
+var jh = {};
+jh = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var Oh = {};
-Oh = { dismiss: "Zignoruj" };
+var Mh = {};
+Mh = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var kh = {};
-kh = { dismiss: "Descartar" };
+var Nh = {};
+Nh = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var Ah = {};
-Ah = { dismiss: "Dispensar" };
+var Ph = {};
+Ph = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var jh = {};
-jh = { dismiss: "Revocare" };
+var Fh = {};
+Fh = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var Mh = {};
-Mh = { dismiss: "Пропустить" };
+var Ih = {};
+Ih = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var Nh = {};
-Nh = { dismiss: "Zrušiť" };
+var Lh = {};
+Lh = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var Ph = {};
-Ph = { dismiss: "Opusti" };
+var Rh = {};
+Rh = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var Fh = {};
-Fh = { dismiss: "Odbaci" };
+var zh = {};
+zh = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var Ih = {};
-Ih = { dismiss: "Avvisa" };
+var Bh = {};
+Bh = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var Lh = {};
-Lh = { dismiss: "Kapat" };
+var Vh = {};
+Vh = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var Rh = {};
-Rh = { dismiss: "Скасувати" };
+var Hh = {};
+Hh = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var zh = {};
-zh = { dismiss: "取消" };
+var Uh = {};
+Uh = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var Bh = {};
-Bh = { dismiss: "關閉" };
+var Wh = {};
+Wh = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var Vh = {};
-Vh = {
- "ar-AE": sh,
- "bg-BG": ch,
- "cs-CZ": lh,
- "da-DK": uh,
- "de-DE": dh,
- "el-GR": fh,
- "en-US": ph,
- "es-ES": mh,
- "et-EE": hh,
- "fi-FI": gh,
- "fr-FR": _h,
- "he-IL": vh,
- "hr-HR": yh,
- "hu-HU": bh,
- "it-IT": xh,
- "ja-JP": Sh,
- "ko-KR": Ch,
- "lt-LT": wh,
- "lv-LV": Th,
- "nb-NO": Eh,
- "nl-NL": Dh,
- "pl-PL": Oh,
- "pt-BR": kh,
- "pt-PT": Ah,
- "ro-RO": jh,
- "ru-RU": Mh,
- "sk-SK": Nh,
- "sl-SI": Ph,
- "sr-SP": Fh,
- "sv-SE": Ih,
- "tr-TR": Lh,
- "uk-UA": Rh,
- "zh-CN": zh,
- "zh-TW": Bh
+var Gh = {};
+Gh = {
+ "ar-AE": dh,
+ "bg-BG": fh,
+ "cs-CZ": ph,
+ "da-DK": mh,
+ "de-DE": hh,
+ "el-GR": gh,
+ "en-US": _h,
+ "es-ES": vh,
+ "et-EE": yh,
+ "fi-FI": bh,
+ "fr-FR": xh,
+ "he-IL": Sh,
+ "hr-HR": Ch,
+ "hu-HU": wh,
+ "it-IT": Th,
+ "ja-JP": Eh,
+ "ko-KR": Dh,
+ "lt-LT": Oh,
+ "lv-LV": kh,
+ "nb-NO": Ah,
+ "nl-NL": jh,
+ "pl-PL": Mh,
+ "pt-BR": Nh,
+ "pt-PT": Ph,
+ "ro-RO": Fh,
+ "ru-RU": Ih,
+ "sk-SK": Lh,
+ "sl-SI": Rh,
+ "sr-SP": zh,
+ "sv-SE": Bh,
+ "tr-TR": Vh,
+ "uk-UA": Hh,
+ "zh-CN": Uh,
+ "zh-TW": Wh
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Hh(e) {
+function Kh(e) {
return e && e.__esModule ? e.default : e;
}
-function Uh(e) {
- let { onDismiss: t, ...n } = e, r = Js(n, yc(Hh(Vh), "@react-aria/overlays").format("dismiss")), i = () => {
+function qh(e) {
+ let { onDismiss: t, ...n } = e, r = Qs(n, Cc(Kh(Gh), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ L.createElement(Xu, null, /*#__PURE__*/ L.createElement("button", {
+ return /*#__PURE__*/ L.createElement(ed, null, /*#__PURE__*/ L.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -20005,56 +20006,56 @@ function Uh(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var Wh = /*#__PURE__*/ L.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, L.useRef)(!1), i = (0, L.useContext)(Zl), a = q(i || {}, {
+var Jh = /*#__PURE__*/ L.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, L.useRef)(!1), i = (0, L.useContext)(tu), a = q(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
}
});
- return a.ref = Za(n || i?.ref), rl(i, a.ref), (0, L.useEffect)(() => {
+ return a.ref = to(n || i?.ref), sl(i, a.ref), (0, L.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ L.createElement(Zl.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ L.createElement(tu.Provider, { value: a }, e);
});
-function Gh({ children: e }) {
+function Yh({ children: e }) {
let t = (0, L.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ L.createElement(Zl.Provider, { value: t }, e);
+ return /*#__PURE__*/ L.createElement(tu.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var Kh = /*#__PURE__*/ (0, L.createContext)({});
-function qh(e) {
- let { getContainer: t } = e, { getContainer: n } = Jh();
- return /*#__PURE__*/ L.createElement(Kh.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var Xh = /*#__PURE__*/ (0, L.createContext)({});
+function Zh(e) {
+ let { getContainer: t } = e, { getContainer: n } = Qh();
+ return /*#__PURE__*/ L.createElement(Xh.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function Jh() {
- return (0, L.useContext)(Kh) ?? {};
+function Qh() {
+ return (0, L.useContext)(Xh) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var Yh = /*#__PURE__*/ L.createContext(null);
-function Xh(e) {
- let t = Ra(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, L.useState)(!1), o = (0, L.useMemo)(() => ({
+var $h = /*#__PURE__*/ L.createContext(null);
+function eg(e) {
+ let t = Ha(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, L.useState)(!1), o = (0, L.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = Jh();
+ }), [i, a]), { getContainer: s } = Qh();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ L.createElement(Rf, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ L.createElement(Hf, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ L.createElement(Yh.Provider, { value: o }, /*#__PURE__*/ L.createElement(Gh, null, /*#__PURE__*/ L.createElement(il.Provider, { value: null }, c))), /*#__PURE__*/ it.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ L.createElement($h.Provider, { value: o }, /*#__PURE__*/ L.createElement(Yh, null, /*#__PURE__*/ L.createElement(cl.Provider, { value: null }, c))), /*#__PURE__*/ ct.createPortal(c, n);
}
-function Zh() {
- let e = (0, L.useContext)(Yh)?.setContain;
- Ea(() => {
+function tg() {
+ let e = (0, L.useContext)($h)?.setContain;
+ Aa(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function Qh(e) {
- let [t, n] = xc(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, L.useState)(null);
+function ng(e) {
+ let [t, n] = Tc(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, L.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -20073,13 +20074,13 @@ function Qh(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function $h(e, t = !0) {
+function rg(e, t = !0) {
let [n, r] = (0, L.useState)(!0), i = n && t;
- return Ea(() => {
+ return Aa(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, i]), tg(e, i, (0, L.useCallback)(() => r(!1), [])), i;
+ }, [e, i]), ag(e, i, (0, L.useCallback)(() => r(!1), [])), i;
}
-function eg(e, t) {
+function ig(e, t) {
let [n, r] = (0, L.useState)(t ? "open" : "closed");
switch (n) {
case "open":
@@ -20089,12 +20090,12 @@ function eg(e, t) {
case "exiting": t && r("open");
}
let i = n === "exiting";
- return tg(e, i, (0, L.useCallback)(() => {
+ return ag(e, i, (0, L.useCallback)(() => {
r((e) => e === "exiting" ? "closed" : e);
}, [])), i;
}
-function tg(e, t, n) {
- Ea(() => {
+function ag(e, t, n) {
+ Aa(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
n();
@@ -20107,7 +20108,7 @@ function tg(e, t, n) {
}
let r = !1;
return Promise.allSettled(t.map((e) => e.finished)).then(() => {
- r || (0, it.flushSync)(() => {
+ r || (0, ct.flushSync)(() => {
n();
});
}), () => {
@@ -20122,9 +20123,9 @@ function tg(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var ng = /*#__PURE__*/ (0, L.createContext)(null), rg = /*#__PURE__*/ (0, L.createContext)(null), ig = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- [e, t] = no(e, t, ng);
- let n = (0, L.useContext)(Qg), r = Qh(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = eg(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = ul(), { direction: c } = ac();
+var og = /*#__PURE__*/ (0, L.createContext)(null), sg = /*#__PURE__*/ (0, L.createContext)(null), cg = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ [e, t] = oo(e, t, og);
+ let n = (0, L.useContext)(i_), r = ng(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ig(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = ml(), { direction: c } = lc();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -20135,7 +20136,7 @@ var ng = /*#__PURE__*/ (0, L.createContext)(null), rg = /*#__PURE__*/ (0, L.crea
defaultChildren: null
})), /*#__PURE__*/ L.createElement(L.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ L.createElement(eee, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ L.createElement(tee, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -20144,13 +20145,13 @@ var ng = /*#__PURE__*/ (0, L.createContext)(null), rg = /*#__PURE__*/ (0, L.crea
dir: c
});
});
-function eee({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useContext)(rg), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = oh({
+function tee({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useContext)(sg), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = uh({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), m = i.popoverRef, h = $h(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = eo({
+ }, e), m = i.popoverRef, h = rg(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = io({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -20160,10 +20161,10 @@ function eee({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
isExiting: t
}
}), v = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [y, b] = (0, L.useState)(i.trigger === "PreviewTrigger");
- Ea(() => {
+ Aa(() => {
m.current && b(v && !m.current.querySelector("[role=dialog]"));
}, [m, v]), (0, L.useEffect)(() => {
- y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Fs() !== "pointer") && m.current && !wo(m.current) && Vc(m.current);
+ y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || zs() !== "pointer") && m.current && !Oo(m.current) && Gc(m.current);
}, [
y,
m,
@@ -20176,7 +20177,7 @@ function eee({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}, [_.children, r]), [S, C] = (0, L.useState)(null), w = (0, L.useCallback)(() => {
i.triggerRef.current && C(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- Ea(w, [w]), Um({
+ Aa(w, [w]), qm({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: w
});
@@ -20185,8 +20186,8 @@ function eee({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,
..._.style,
"--trigger-width": _.style?.["--trigger-width"] || S
- }, E = /*#__PURE__*/ L.createElement(so.div, {
- ...q(Hl(i, { global: !0 }), l),
+ }, E = /*#__PURE__*/ L.createElement(fo.div, {
+ ...q(Kl(i, { global: !0 }), l),
..._,
id: y ? i.id : void 0,
role: y ? "dialog" : void 0,
@@ -20201,17 +20202,17 @@ function eee({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": f,
"data-entering": g || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ L.createElement(Uh, { onDismiss: e.close }), /*#__PURE__*/ L.createElement(dm.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ L.createElement(qh, { onDismiss: e.close }), /*#__PURE__*/ L.createElement(hm.Provider, { value: {
...d,
placement: f,
ref: a
- } }, x), /*#__PURE__*/ L.createElement(Uh, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ L.createElement(Xh, {
+ } }, x), /*#__PURE__*/ L.createElement(qh, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ L.createElement(eg, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, E) : /*#__PURE__*/ L.createElement(Xh, {
+ }, E) : /*#__PURE__*/ L.createElement(eg, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -20226,187 +20227,187 @@ function eee({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ L.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ L.createElement(rg.Provider, { value: o }, E)));
+ }, /*#__PURE__*/ L.createElement(sg.Provider, { value: o }, E)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var tee = /*#__PURE__*/ (0, L.createContext)({}), ag = {};
-ag = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+var nee = /*#__PURE__*/ (0, L.createContext)({}), lg = {};
+lg = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var og = {};
-og = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var ug = {};
+ug = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var sg = {};
-sg = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var dg = {};
+dg = { 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 cg = {};
-cg = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var fg = {};
+fg = { 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 lg = {};
-lg = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var pg = {};
+pg = { 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 ug = {};
-ug = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var mg = {};
+mg = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var dg = {};
-dg = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var hg = {};
+hg = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var fg = {};
-fg = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var gg = {};
+gg = { 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 pg = {};
-pg = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var _g = {};
+_g = { 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 mg = {};
-mg = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var vg = {};
+vg = { 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 hg = {};
-hg = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var yg = {};
+yg = { 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 gg = {};
-gg = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var bg = {};
+bg = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var _g = {};
-_g = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var xg = {};
+xg = { 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 vg = {};
-vg = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var Sg = {};
+Sg = { 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 yg = {};
-yg = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var Cg = {};
+Cg = { 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 bg = {};
-bg = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var wg = {};
+wg = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var xg = {};
-xg = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var Tg = {};
+Tg = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var Sg = {};
-Sg = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var Eg = {};
+Eg = { 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 Cg = {};
-Cg = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var Dg = {};
+Dg = { 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 wg = {};
-wg = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var Og = {};
+Og = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var Tg = {};
-Tg = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var kg = {};
+kg = { 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 Eg = {};
-Eg = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var Ag = {};
+Ag = { 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 Dg = {};
-Dg = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var jg = {};
+jg = { 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 Og = {};
-Og = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var Mg = {};
+Mg = { 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 kg = {};
-kg = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var Ng = {};
+Ng = { 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 Ag = {};
-Ag = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var Pg = {};
+Pg = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var jg = {};
-jg = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var Fg = {};
+Fg = { 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 Mg = {};
-Mg = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var Ig = {};
+Ig = { 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 Ng = {};
-Ng = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var Lg = {};
+Lg = { 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 Pg = {};
-Pg = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var Rg = {};
+Rg = { 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 Fg = {};
-Fg = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var zg = {};
+zg = { 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 Ig = {};
-Ig = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var Bg = {};
+Bg = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var Lg = {};
-Lg = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var Vg = {};
+Vg = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var Rg = {};
-Rg = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var Hg = {};
+Hg = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var zg = {};
-zg = {
- "ar-AE": ag,
- "bg-BG": og,
- "cs-CZ": sg,
- "da-DK": cg,
- "de-DE": lg,
- "el-GR": ug,
- "en-US": dg,
- "es-ES": fg,
- "et-EE": pg,
- "fi-FI": mg,
- "fr-FR": hg,
- "he-IL": gg,
- "hr-HR": _g,
- "hu-HU": vg,
- "it-IT": yg,
- "ja-JP": bg,
- "ko-KR": xg,
- "lt-LT": Sg,
- "lv-LV": Cg,
- "nb-NO": wg,
- "nl-NL": Tg,
- "pl-PL": Eg,
- "pt-BR": Dg,
- "pt-PT": Og,
- "ro-RO": kg,
- "ru-RU": Ag,
- "sk-SK": jg,
- "sl-SI": Mg,
- "sr-SP": Ng,
- "sv-SE": Pg,
- "tr-TR": Fg,
- "uk-UA": Ig,
- "zh-CN": Lg,
- "zh-TW": Rg
+var Ug = {};
+Ug = {
+ "ar-AE": lg,
+ "bg-BG": ug,
+ "cs-CZ": dg,
+ "da-DK": fg,
+ "de-DE": pg,
+ "el-GR": mg,
+ "en-US": hg,
+ "es-ES": gg,
+ "et-EE": _g,
+ "fi-FI": vg,
+ "fr-FR": yg,
+ "he-IL": bg,
+ "hr-HR": xg,
+ "hu-HU": Sg,
+ "it-IT": Cg,
+ "ja-JP": wg,
+ "ko-KR": Tg,
+ "lt-LT": Eg,
+ "lv-LV": Dg,
+ "nb-NO": Og,
+ "nl-NL": kg,
+ "pl-PL": Ag,
+ "pt-BR": jg,
+ "pt-PT": Mg,
+ "ro-RO": Ng,
+ "ru-RU": Pg,
+ "sk-SK": Fg,
+ "sl-SI": Ig,
+ "sr-SP": Lg,
+ "sv-SE": Rg,
+ "tr-TR": zg,
+ "uk-UA": Bg,
+ "zh-CN": Vg,
+ "zh-TW": Hg
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function nee(e) {
- let { onContextMenu: t } = e, n = (0, L.useRef)(!1), { longPressProps: r } = Tp({
+function Wg(e) {
+ let { onContextMenu: t } = e, n = (0, L.useRef)(!1), { longPressProps: r } = kp({
onLongPressStart() {
n.current = !1;
},
@@ -20418,7 +20419,7 @@ function nee(e) {
});
}
});
- return t ? { contextMenuProps: q(ts() ? r : {}, {
+ return t ? { contextMenuProps: q(as() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -20429,7 +20430,7 @@ function nee(e) {
});
},
onKeyDown(e) {
- if (Qo() && e.ctrlKey && e.key === "Enter") {
+ if (ns() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -20449,14 +20450,14 @@ function nee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function ree(e, t, n) {
+function Gg(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, L.useEffect)(() => {
- n && n.current && Bm.set(n.current, t.close);
+ n && n.current && Wm.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = Wa();
+ let o = Ja();
return {
triggerProps: {
"aria-haspopup": a,
@@ -20469,14 +20470,14 @@ function ree(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function iee(e) {
+function Kg(e) {
return e && e.__esModule ? e.default : e;
}
-function Bg(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Wa(), { triggerProps: s, overlayProps: c } = ree({ type: r }, t, n), l = (e, n, r = "first") => {
+function qg(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Ja(), { triggerProps: s, overlayProps: c } = Gg({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = nl({
+ }, { keyboardProps: u } = ol({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -20488,7 +20489,7 @@ function Bg(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = yc(iee(zg), "@react-aria/menu"), { longPressProps: f } = Tp({
+ }), d = Cc(Kg(Ug), "@react-aria/menu"), { longPressProps: f } = kp({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -20500,14 +20501,14 @@ function Bg(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (ko(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (No(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (ko(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (No(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = nee({ onContextMenu(e) {
+ let { contextMenuProps: m } = Wg({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -20552,13 +20553,13 @@ function Bg(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/utils.mjs
-var Vg = /* @__PURE__ */ new WeakMap();
+var Jg = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenu.mjs
-function Hg(e, t, n) {
+function ree(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = Hl(e, { labelable: !0 }), { listProps: c } = Sp({
+ let s = Kl(e, { labelable: !0 }), { listProps: c } = Ep({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -20567,7 +20568,7 @@ function Hg(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return Vg.set(t, {
+ return Jg.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -20584,15 +20585,15 @@ function Hg(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function aee(e, t, n) {
- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = Vg.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = us(), M = () => {
+function iee(e, t, n) {
+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = Jg.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = ms(), M = () => {
if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {
let e = O.onAction;
e(i, k?.value);
}
}, N = "menuitem";
w || (C.selectionMode === "single" ? N = "menuitemradio" : C.selectionMode === "multiple" && (N = "menuitemcheckbox"));
- let P = Ka(), ee = Ka(), F = Ka(), te = {
+ let P = Xa(), ee = Xa(), F = Xa(), te = {
id: r,
"aria-disabled": E || void 0,
role: N,
@@ -20609,17 +20610,17 @@ function aee(e, t, n) {
};
if (C.selectionMode !== "none" && !w && (te["aria-checked"] = D), s) {
let e = Number(k?.index);
- te["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, te["aria-setsize"] = Ip(t.collection);
+ te["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, te["aria-setsize"] = Bp(t.collection);
}
let ne = (0, L.useRef)(!1), re = (e) => {
f?.(e), ne.current = e;
}, ie = (0, L.useRef)(null), ae = (e) => {
e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (ne.current || e.target.click()), u?.(e);
}, oe = (e) => {
- m?.(e), M(), _s(e, j, k.props.href, k?.props.routerOptions);
+ m?.(e), M(), xs(e, j, k.props.href, k?.props.routerOptions);
let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);
t = o ?? a ?? t, A && !w && t && A(), ie.current = null;
- }, { itemProps: se, isFocused: ce } = Ep({
+ }, { itemProps: se, isFocused: ce } = Ap({
id: r,
selectionManager: C,
key: i,
@@ -20628,27 +20629,27 @@ function aee(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: O.shouldUseVirtualFocus
- }), { pressProps: le, isPressed: ue } = iu({
+ }), { pressProps: le, isPressed: ue } = cu({
onPressStart: l,
onPress: d,
onPressUp: ae,
onPressChange: re,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: de } = yu({
+ }), { hoverProps: de } = Cu({
isDisabled: E,
onHoverStart(e) {
- !Ps() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
+ !Rs() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
},
onHoverChange: g,
onHoverEnd: _
- }), { keyboardProps: I } = nl({
+ }), { keyboardProps: I } = ol({
shortcuts: {
" ": (e) => {
ie.current = {
pointerType: "keyboard",
key: " "
- }, J(e).click(), Is("keyboard");
+ }, J(e).click(), Bs("keyboard");
},
Enter: (e) => {
ie.current = {
@@ -20657,10 +20658,10 @@ function aee(e, t, n) {
};
let t = J(e);
if (t.tagName !== "A") {
- t.click(), Is("keyboard");
+ t.click(), Bs("keyboard");
return;
}
- return Is("keyboard"), {
+ return Bs("keyboard"), {
shouldPreventDefault: !1,
shouldContinuePropagation: !1
};
@@ -20668,13 +20669,13 @@ function aee(e, t, n) {
},
onKeyDown: v,
onKeyUp: y
- }), { focusableProps: fe } = ol({
+ }), { focusableProps: fe } = ul({
onBlur: S,
onFocus: b,
onFocusChange: x
- }, n), pe = Hl(k?.props);
+ }, n), pe = Kl(k?.props);
delete pe.id;
- let me = gs(k?.props);
+ let me = bs(k?.props);
return {
menuItemProps: {
...te,
@@ -20689,7 +20690,7 @@ function aee(e, t, n) {
descriptionProps: { id: ee },
keyboardShortcutProps: { id: F },
isFocused: ce,
- isFocusVisible: ce && C.isFocused && Ps() && !T,
+ isFocusVisible: ce && C.isFocused && Rs() && !T,
isSelected: D,
isPressed: ue,
isDisabled: E
@@ -20697,8 +20698,8 @@ function aee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function oee(e) {
- let { heading: t, "aria-label": n } = e, r = Wa();
+function aee(e) {
+ let { heading: t, "aria-label": n } = e, r = Ja();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -20714,8 +20715,8 @@ function oee(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function Ug(e) {
- let t = Qh(e), [n, r] = (0, L.useState)(null), [i, a] = (0, L.useState)([]), o = () => {
+function Yg(e) {
+ let t = ng(e), [n, r] = (0, L.useState)(null), [i, a] = (0, L.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -20741,7 +20742,7 @@ function Ug(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var see = class {
+var oee = class {
constructor(e, { expandedKeys: t } = {}) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();
let n = (e) => {
@@ -20785,8 +20786,8 @@ var see = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function cee(e) {
- let { onExpandedChange: t } = e, [n, r] = xc(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = Up(e), a = (0, L.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = Xp(e, (0, L.useCallback)((e) => new see(e, { expandedKeys: n }), [n]), null);
+function see(e) {
+ let { onExpandedChange: t } = e, [n, r] = Tc(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = qp(e), a = (0, L.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = em(e, (0, L.useCallback)((e) => new oee(e, { expandedKeys: n }), [n]), null);
return (0, L.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -20794,32 +20795,32 @@ function cee(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(lee(n, e));
+ r(cee(n, e));
},
setExpandedKeys: r,
- selectionManager: new Gp(o, i)
+ selectionManager: new Yp(o, i)
};
}
-function lee(e, t) {
+function cee(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
-var Wg = /*#__PURE__*/ (0, L.createContext)(null), Gg = /*#__PURE__*/ (0, L.createContext)(null), Kg = /*#__PURE__*/ (0, L.createContext)(null), qg = /*#__PURE__*/ (0, L.createContext)(null);
-function uee(e) {
- let t = Ug(e), n = (0, L.useRef)(null), { menuTriggerProps: r, menuProps: i } = Bg({
+var Xg = /*#__PURE__*/ (0, L.createContext)(null), Zg = /*#__PURE__*/ (0, L.createContext)(null), Qg = /*#__PURE__*/ (0, L.createContext)(null), $g = /*#__PURE__*/ (0, L.createContext)(null);
+function lee(e) {
+ let t = Yg(e), n = (0, L.useRef)(null), { menuTriggerProps: r, menuProps: i } = qg({
...e,
type: "menu"
}, t, n), a = (0, L.useRef)(null);
- return ul() ? null : /*#__PURE__*/ L.createElement($a, { values: [
- [Wg, {
+ return ml() ? null : /*#__PURE__*/ L.createElement(ro, { values: [
+ [Xg, {
...i,
ref: a
}],
+ [i_, t],
[Qg, t],
- [Kg, t],
- [ng, {
+ [og, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -20827,14 +20828,14 @@ function uee(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ L.createElement(Wh, {
+ ] }, /*#__PURE__*/ L.createElement(Jh, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var dee = /*#__PURE__*/ (0, L.createContext)(null);
-(class extends wc {
+var uee = /*#__PURE__*/ (0, L.createContext)(null);
+(class extends Oc {
static {
this.type = "submenutrigger";
}
@@ -20847,24 +20848,24 @@ var dee = /*#__PURE__*/ (0, L.createContext)(null);
return null;
}
});
-var fee = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- return [e, t] = no(e, t, Wg), /*#__PURE__*/ L.createElement(gl, { content: /*#__PURE__*/ L.createElement(Ol, e) }, (n) => /*#__PURE__*/ L.createElement(pee, {
+var dee = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ return [e, t] = oo(e, t, Xg), /*#__PURE__*/ L.createElement(bl, { content: /*#__PURE__*/ L.createElement(Ml, e) }, (n) => /*#__PURE__*/ L.createElement(fee, {
props: e,
collection: n,
menuRef: t
}));
});
-function pee({ props: e, collection: t, menuRef: n }) {
- [e, n] = no(e, n, Sc);
- let { filter: r, ...i } = e, a = (0, L.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = cee({
+function fee({ props: e, collection: t, menuRef: n }) {
+ [e, n] = oo(e, n, Ec);
+ let { filter: r, ...i } = e, a = (0, L.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = see({
...e,
collection: a,
children: void 0
- }), s = (0, L.useContext)(Kg), { isVirtualized: c, CollectionRoot: l } = (0, L.useContext)(Pl), { menuProps: u } = Hg({
+ }), s = (0, L.useContext)(Qg), { isVirtualized: c, CollectionRoot: l } = (0, L.useContext)(Rl), { menuProps: u } = ree({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = eo({
+ }, o, n), d = io({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -20874,36 +20875,36 @@ function pee({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = Hl(e, { global: !0 });
- return /*#__PURE__*/ L.createElement(Rf, null, /*#__PURE__*/ L.createElement(so.div, {
+ let p = Kl(e, { global: !0 });
+ return /*#__PURE__*/ L.createElement(Hf, null, /*#__PURE__*/ L.createElement(fo.div, {
...q(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ L.createElement($a, { values: [
- [Gg, o],
- [Of, { elementType: "div" }],
- [Al, {
+ }, /*#__PURE__*/ L.createElement(ro, { values: [
+ [Zg, o],
+ [Mf, { elementType: "div" }],
+ [Pl, {
name: "MenuSection",
- render: Jg
+ render: e_
}],
- [dee, {
+ [uee, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [Xg, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [Sc, null],
- [Cc, null],
- [qg, o.selectionManager],
- [Kg, s ?? Ug({})]
- ] }, /*#__PURE__*/ L.createElement(Tf, null, /*#__PURE__*/ L.createElement(l, {
+ [n_, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [Ec, null],
+ [Dc, null],
+ [$g, o.selectionManager],
+ [Qg, s ?? Yg({})]
+ ] }, /*#__PURE__*/ L.createElement(kf, null, /*#__PURE__*/ L.createElement(l, {
collection: o.collection,
- persistedKeys: Fl(o.selectionManager.focusedKey),
+ persistedKeys: zl(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var mee = class extends Gp {
+var pee = class extends Yp {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -20923,11 +20924,11 @@ var mee = class extends Gp {
return this.parent.childFocusStrategy;
}
};
-function Jg(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, L.useContext)(Gg), { CollectionBranch: a } = (0, L.useContext)(Pl), [o, s] = ro(), { headingProps: c, groupProps: l } = oee({
+function e_(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, L.useContext)(Zg), { CollectionBranch: a } = (0, L.useContext)(Rl), [o, s] = so(), { headingProps: c, groupProps: l } = aee({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = eo({
+ }), u = io({
...e,
id: void 0,
children: void 0,
@@ -20935,31 +20936,31 @@ function Jg(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, L.useContext)(qg), f = Up(e), p = e.selectionMode == null ? d : new mee(d, f), m = to(Xg)?.shouldCloseOnSelect, h = Hl(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ L.createElement(so.section, {
+ }), d = (0, L.useContext)($g), f = qp(e), p = e.selectionMode == null ? d : new pee(d, f), m = ao(n_)?.shouldCloseOnSelect, h = Kl(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ L.createElement(fo.section, {
...q(h, u, l),
ref: t
- }, /*#__PURE__*/ L.createElement($a, { values: [
- [Cf, {
+ }, /*#__PURE__*/ L.createElement(ro, { values: [
+ [Df, {
...c,
ref: o
}],
- [qg, p],
- [Xg, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [$g, p],
+ [n_, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ L.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var Yg = /*#__PURE__*/ Tl(Oc, Jg), Xg = /*#__PURE__*/ (0, L.createContext)(null), Zg = /*#__PURE__*/ wl(Dc, function(e, t, n) {
- [e, t] = no(e, t, Xg);
- let r = to(Xg)?.id, i = (0, L.useContext)(Gg), a = Za(t), o = (0, L.useContext)(qg), { isVirtualized: s } = (0, L.useContext)(Pl), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = aee({
+var t_ = /*#__PURE__*/ kl(Mc, e_), n_ = /*#__PURE__*/ (0, L.createContext)(null), r_ = /*#__PURE__*/ Ol(jc, function(e, t, n) {
+ [e, t] = oo(e, t, n_);
+ let r = ao(n_)?.id, i = (0, L.useContext)(Zg), a = to(t), o = (0, L.useContext)($g), { isVirtualized: s } = (0, L.useContext)(Rl), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = iee({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = yu({ isDisabled: f.isDisabled }), h = eo({
+ }, i, a), { hoverProps: p, isHovered: m } = Cu({ isDisabled: f.isDisabled }), h = io({
...e,
id: void 0,
children: n.rendered,
@@ -20973,7 +20974,7 @@ var Yg = /*#__PURE__*/ Tl(Oc, Jg), Xg = /*#__PURE__*/ (0, L.createContext)(null)
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? so.a : so.div, _ = Hl(e, { global: !0 });
+ }), g = e.href ? fo.a : fo.div, _ = Kl(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ L.createElement(g, {
...q(_, h, c, p),
ref: a,
@@ -20986,19 +20987,19 @@ var Yg = /*#__PURE__*/ Tl(Oc, Jg), Xg = /*#__PURE__*/ (0, L.createContext)(null)
"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,
"data-has-submenu": !!e["aria-haspopup"] || void 0,
"data-open": e["aria-expanded"] === "true" || void 0
- }, /*#__PURE__*/ L.createElement($a, { values: [
- [Iu, { slots: {
- [Qa]: l,
+ }, /*#__PURE__*/ L.createElement(ro, { values: [
+ [Bu, { slots: {
+ [no]: l,
label: l,
description: u
} }],
- [tee, d],
- [Ef, { isSelected: f.isSelected }]
+ [nee, d],
+ [Af, { isSelected: f.isSelected }]
] }, h.children));
});
-wl(Ec, function(e, t, n) {
- let r = (0, L.useContext)(Gg), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, L.useRef)(null);
- em((0, L.useMemo)(() => ({
+Ol(Ac, function(e, t, n) {
+ let r = (0, L.useContext)(Zg), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, L.useRef)(null);
+ im((0, L.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -21008,7 +21009,7 @@ wl(Ec, function(e, t, n) {
o,
r?.collection
]), c);
- let l = eo({
+ let l = io({
...s,
id: void 0,
children: n.rendered,
@@ -21021,7 +21022,7 @@ wl(Ec, function(e, t, n) {
width: 0,
height: 0
},
- inert: zp(!0)
+ inert: Up(!0)
}, /*#__PURE__*/ L.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -21030,8 +21031,8 @@ wl(Ec, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(so.div, {
- ...q(Hl(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(fo.div, {
+ ...q(Kl(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
@@ -21039,27 +21040,27 @@ wl(Ec, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function hee(e, t) {
- let { role: n = "dialog" } = e, r = Ka();
+function mee(e, t) {
+ let { role: n = "dialog" } = e, r = Xa();
r = e["aria-label"] ? void 0 : r;
- let i = Ka();
+ let i = Xa();
i = n === "alertdialog" && !e["aria-describedby"] ? i : void 0;
let a = (0, L.useRef)(!1);
(0, L.useEffect)(() => {
- if (t.current && !wo(t.current)) {
- Vc(t.current);
+ if (t.current && !Oo(t.current)) {
+ Gc(t.current);
let e = setTimeout(() => {
- (So() === t.current || So() === document.body) && (a.current = !0, t.current && (t.current.blur(), Vc(t.current)), a.current = !1);
+ (Eo() === t.current || Eo() === document.body) && (a.current = !0, t.current && (t.current.blur(), Gc(t.current)), a.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t]), Zh(), (0, L.useRef)(!1), (0, L.useEffect)(() => {});
+ }, [t]), tg(), (0, L.useRef)(!1), (0, L.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
- ...Hl(e, { labelable: !0 }),
+ ...Kl(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? r,
@@ -21074,54 +21075,54 @@ function hee(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var gee = /*#__PURE__*/ (0, L.createContext)(null), Qg = /*#__PURE__*/ (0, L.createContext)(null), $g = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+var hee = /*#__PURE__*/ (0, L.createContext)(null), i_ = /*#__PURE__*/ (0, L.createContext)(null), a_ = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = no(e, t, gee);
- let { dialogProps: r, titleProps: i, contentProps: a } = hee({
+ [e, t] = oo(e, t, hee);
+ let { dialogProps: r, titleProps: i, contentProps: a } = mee({
...e,
"aria-labelledby": n
- }, t), o = (0, L.useContext)(Qg);
+ }, t), o = (0, L.useContext)(i_);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = eo({
+ let s = io({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = Hl(e, { global: !0 });
- return /*#__PURE__*/ L.createElement(so.section, {
+ }), c = Kl(e, { global: !0 });
+ return /*#__PURE__*/ L.createElement(fo.section, {
...q(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ L.createElement($a, { values: [
- [Pu, { slots: {
- [Qa]: {},
+ }, /*#__PURE__*/ L.createElement(ro, { values: [
+ [Ru, { slots: {
+ [no]: {},
title: {
...i,
level: 2
}
} }],
- [Iu, { slots: {
- [Qa]: {},
+ [Bu, { slots: {
+ [no]: {},
description: a
} }],
- [Au, { slots: {
- [Qa]: {},
+ [Pu, { slots: {
+ [no]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
});
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function _ee(e = {}) {
- let { locale: t } = ac();
+function gee(e = {}) {
+ let { locale: t } = lc();
return (0, L.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var e_ = {};
-e_ = {
+var o_ = {};
+o_ = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -21135,8 +21136,8 @@ e_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var t_ = {};
-t_ = {
+var s_ = {};
+s_ = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -21150,8 +21151,8 @@ t_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var n_ = {};
-n_ = {
+var c_ = {};
+c_ = {
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",
@@ -21165,8 +21166,8 @@ n_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var r_ = {};
-r_ = {
+var l_ = {};
+l_ = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -21180,8 +21181,8 @@ r_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var i_ = {};
-i_ = {
+var u_ = {};
+u_ = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -21195,8 +21196,8 @@ i_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var a_ = {};
-a_ = {
+var d_ = {};
+d_ = {
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: "Επιλογή",
@@ -21210,8 +21211,8 @@ a_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var o_ = {};
-o_ = {
+var f_ = {};
+f_ = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -21225,8 +21226,8 @@ o_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var s_ = {};
-s_ = {
+var p_ = {};
+p_ = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -21240,8 +21241,8 @@ s_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var c_ = {};
-c_ = {
+var m_ = {};
+m_ = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -21255,8 +21256,8 @@ c_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var l_ = {};
-l_ = {
+var h_ = {};
+h_ = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -21270,8 +21271,8 @@ l_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var u_ = {};
-u_ = {
+var g_ = {};
+g_ = {
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",
@@ -21285,8 +21286,8 @@ u_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var d_ = {};
-d_ = {
+var __ = {};
+__ = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -21300,8 +21301,8 @@ d_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var f_ = {};
-f_ = {
+var v_ = {};
+v_ = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -21315,8 +21316,8 @@ f_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var p_ = {};
-p_ = {
+var y_ = {};
+y_ = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -21330,8 +21331,8 @@ p_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var m_ = {};
-m_ = {
+var b_ = {};
+b_ = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -21345,8 +21346,8 @@ m_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var h_ = {};
-h_ = {
+var x_ = {};
+x_ = {
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: "選択",
@@ -21360,8 +21361,8 @@ h_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var g_ = {};
-g_ = {
+var S_ = {};
+S_ = {
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: "선택",
@@ -21375,8 +21376,8 @@ g_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var __ = {};
-__ = {
+var C_ = {};
+C_ = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -21390,8 +21391,8 @@ __ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var v_ = {};
-v_ = {
+var w_ = {};
+w_ = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -21405,8 +21406,8 @@ v_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var y_ = {};
-y_ = {
+var T_ = {};
+T_ = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -21420,8 +21421,8 @@ y_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var b_ = {};
-b_ = {
+var E_ = {};
+E_ = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -21435,8 +21436,8 @@ b_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var x_ = {};
-x_ = {
+var D_ = {};
+D_ = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -21450,8 +21451,8 @@ x_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var S_ = {};
-S_ = {
+var O_ = {};
+O_ = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -21465,8 +21466,8 @@ S_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var C_ = {};
-C_ = {
+var k_ = {};
+k_ = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -21480,8 +21481,8 @@ C_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var w_ = {};
-w_ = {
+var A_ = {};
+A_ = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -21495,8 +21496,8 @@ w_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var T_ = {};
-T_ = {
+var j_ = {};
+j_ = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -21510,8 +21511,8 @@ T_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var E_ = {};
-E_ = {
+var M_ = {};
+M_ = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -21525,8 +21526,8 @@ E_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var D_ = {};
-D_ = {
+var N_ = {};
+N_ = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -21540,8 +21541,8 @@ D_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var O_ = {};
-O_ = {
+var P_ = {};
+P_ = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -21555,8 +21556,8 @@ O_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var k_ = {};
-k_ = {
+var F_ = {};
+F_ = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -21570,8 +21571,8 @@ k_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var A_ = {};
-A_ = {
+var I_ = {};
+I_ = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -21585,8 +21586,8 @@ A_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var j_ = {};
-j_ = {
+var L_ = {};
+L_ = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -21600,8 +21601,8 @@ j_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var M_ = {};
-M_ = {
+var R_ = {};
+R_ = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -21615,8 +21616,8 @@ M_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var N_ = {};
-N_ = {
+var z_ = {};
+z_ = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -21630,55 +21631,55 @@ N_ = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var P_ = {};
-P_ = {
- "ar-AE": e_,
- "bg-BG": t_,
- "cs-CZ": n_,
- "da-DK": r_,
- "de-DE": i_,
- "el-GR": a_,
- "en-US": o_,
- "es-ES": s_,
- "et-EE": c_,
- "fi-FI": l_,
- "fr-FR": u_,
- "he-IL": d_,
- "hr-HR": f_,
- "hu-HU": p_,
- "it-IT": m_,
- "ja-JP": h_,
- "ko-KR": g_,
- "lt-LT": __,
- "lv-LV": v_,
- "nb-NO": y_,
- "nl-NL": b_,
- "pl-PL": x_,
- "pt-BR": S_,
- "pt-PT": C_,
- "ro-RO": w_,
- "ru-RU": T_,
- "sk-SK": E_,
- "sl-SI": D_,
- "sr-SP": O_,
- "sv-SE": k_,
- "tr-TR": A_,
- "uk-UA": j_,
- "zh-CN": M_,
- "zh-TW": N_
+var B_ = {};
+B_ = {
+ "ar-AE": o_,
+ "bg-BG": s_,
+ "cs-CZ": c_,
+ "da-DK": l_,
+ "de-DE": u_,
+ "el-GR": d_,
+ "en-US": f_,
+ "es-ES": p_,
+ "et-EE": m_,
+ "fi-FI": h_,
+ "fr-FR": g_,
+ "he-IL": __,
+ "hr-HR": v_,
+ "hu-HU": y_,
+ "it-IT": b_,
+ "ja-JP": x_,
+ "ko-KR": S_,
+ "lt-LT": C_,
+ "lv-LV": w_,
+ "nb-NO": T_,
+ "nl-NL": E_,
+ "pl-PL": D_,
+ "pt-BR": O_,
+ "pt-PT": k_,
+ "ro-RO": A_,
+ "ru-RU": j_,
+ "sk-SK": M_,
+ "sl-SI": N_,
+ "sr-SP": P_,
+ "sv-SE": F_,
+ "tr-TR": I_,
+ "uk-UA": L_,
+ "zh-CN": R_,
+ "zh-TW": z_
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function vee(e) {
+function _ee(e) {
return e && e.__esModule ? e.default : e;
}
-function yee(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = yc(vee(P_), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, L.useRef)(i), o = (0, L.useCallback)(() => {
+function vee(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Cc(_ee(B_), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, L.useRef)(i), o = (0, L.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = F_(i, a.current), o = F_(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = V_(i, a.current), o = V_(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)) {
@@ -21698,7 +21699,7 @@ function yee(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 && Du(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 && ju(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -21709,7 +21710,7 @@ function yee(e, t) {
n,
r
]);
- Ru(() => {
+ Hu(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -21717,7 +21718,7 @@ function yee(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function F_(e, t) {
+function V_(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);
@@ -21725,13 +21726,13 @@ function F_(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function I_(e, t) {
+function H_(e, t) {
let n = t?.isDisabled, [r, i] = (0, L.useState)(!1);
- return Ea(() => {
+ return Aa(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = ip(e.current, { tabbable: !0 });
+ let t = cp(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -21750,12 +21751,12 @@ function I_(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function bee(e) {
+function yee(e) {
return e && e.__esModule ? e.default : e;
}
-function xee(e) {
- let t = yc(bee(P_), "@react-aria/grid"), n = Ls(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return qu((0, L.useMemo)(() => {
+function bee(e) {
+ let t = Cc(yee(B_), "@react-aria/grid"), n = Vs(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return Zu((0, L.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;
}, [
@@ -21768,14 +21769,14 @@ function xee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function See(e) {
+function xee(e) {
return e && e.__esModule ? e.default : e;
}
-function Cee(e, t) {
- let { key: n } = e, r = t.selectionManager, i = Wa(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function See(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = Ja(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": yc(See(P_), "@react-aria/grid").format("select"),
+ "aria-label": Cc(xee(B_), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -21783,14 +21784,14 @@ function Cee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function wee(e, t, n) {
- let { overlayProps: r, underlayProps: i } = Zm({
+function Cee(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = th({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- return th({ isDisabled: !t.isOpen }), Zh(), (0, L.useEffect)(() => {
- if (t.isOpen && n.current) return gm([n.current], { shouldUseInert: !0 });
+ return ah({ isDisabled: !t.isOpen }), tg(), (0, L.useEffect)(() => {
+ if (t.isOpen && n.current) return bm([n.current], { shouldUseInert: !0 });
}, [t.isOpen, n]), {
modalProps: q(r),
underlayProps: i
@@ -21798,46 +21799,46 @@ function wee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useViewportSize.mjs
-var L_ = typeof document < "u" && window.visualViewport;
-function Tee() {
- let e = Ra(), [t, n] = (0, L.useState)(() => e ? {
+var U_ = typeof document < "u" && window.visualViewport;
+function wee() {
+ let e = Ha(), [t, n] = (0, L.useState)(() => e ? {
width: 0,
height: 0
- } : R_());
+ } : W_());
return (0, L.useEffect)(() => {
let e = (e) => {
n((t) => e.width === t.width && e.height === t.height ? t : e);
}, t = () => {
- L_ && L_.scale > 1 || e(R_());
+ U_ && U_.scale > 1 || e(W_());
}, r, i = (t) => {
- L_ && L_.scale > 1 || Ws(J(t)) && (r = requestAnimationFrame(() => {
- let t = So();
- (!t || !Ws(t)) && e({
+ U_ && U_.scale > 1 || Js(J(t)) && (r = requestAnimationFrame(() => {
+ let t = Eo();
+ (!t || !Js(t)) && e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(R_()), ts() && rs() && window.addEventListener("blur", i, !0), L_ ? L_.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), ts() && rs() && window.removeEventListener("blur", i, !0), L_ ? L_.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e(W_()), as() && ss() && window.addEventListener("blur", i, !0), U_ ? U_.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), as() && ss() && window.removeEventListener("blur", i, !0), U_ ? U_.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
-function R_() {
+function W_() {
return {
- width: L_ ? Math.min(L_.width * L_.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: L_ ? L_.height * L_.scale : document.documentElement.clientHeight
+ width: U_ ? Math.min(U_.width * U_.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: U_ ? U_.height * U_.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var Eee = /*#__PURE__*/ (0, L.createContext)(null), z_ = /*#__PURE__*/ (0, L.createContext)(null), Dee = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- if ((0, L.useContext)(z_)) return /*#__PURE__*/ L.createElement(V_, {
+var Tee = /*#__PURE__*/ (0, L.createContext)(null), G_ = /*#__PURE__*/ (0, L.createContext)(null), Eee = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ if ((0, L.useContext)(G_)) return /*#__PURE__*/ L.createElement(q_, {
...e,
modalRef: t
}, e.children);
let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;
- return /*#__PURE__*/ L.createElement(B_, {
+ return /*#__PURE__*/ L.createElement(K_, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -21847,15 +21848,15 @@ var Eee = /*#__PURE__*/ (0, L.createContext)(null), z_ = /*#__PURE__*/ (0, L.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ L.createElement(V_, {
+ }, /*#__PURE__*/ L.createElement(q_, {
...f,
modalRef: t
}, s));
});
-function Oee(e, t) {
- [e, t] = no(e, t, Eee);
- let n = (0, L.useContext)(Qg), r = Qh(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Za(t), o = (0, L.useRef)(null), s = eg(a, i.isOpen), c = eg(o, i.isOpen), l = s || c || e.isExiting || !1, u = Ra();
- return !i.isOpen && !l || u ? null : /*#__PURE__*/ L.createElement(kee, {
+function Dee(e, t) {
+ [e, t] = oo(e, t, Tee);
+ let n = (0, L.useContext)(i_), r = ng(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = to(t), o = (0, L.useRef)(null), s = ig(a, i.isOpen), c = ig(o, i.isOpen), l = s || c || e.isExiting || !1, u = Ha();
+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ L.createElement(Oee, {
...e,
state: i,
isExiting: l,
@@ -21863,9 +21864,9 @@ function Oee(e, t) {
modalRef: o
});
}
-var B_ = /*#__PURE__*/ (0, L.forwardRef)(Oee);
-function kee({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = wee(t, r, n), o = $h(t.overlayRef) || t.isEntering || !1, s = eo({
+var K_ = /*#__PURE__*/ (0, L.forwardRef)(Dee);
+function Oee({ UNSTABLE_portalContainer: e, ...t }) {
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Cee(t, r, n), o = rg(t.overlayRef) || t.isEntering || !1, s = io({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -21873,9 +21874,9 @@ function kee({ UNSTABLE_portalContainer: e, ...t }) {
isExiting: t.isExiting,
state: r
}
- }), c = Tee(), l, u;
+ }), c = wee(), l, u;
if (typeof document < "u") {
- let e = zu(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = Uu(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 = {
@@ -21885,25 +21886,25 @@ function kee({ UNSTABLE_portalContainer: e, ...t }) {
"--page-width": l === void 0 ? void 0 : l + "px",
"--page-height": u === void 0 ? void 0 : u + "px"
};
- return /*#__PURE__*/ L.createElement(Xh, {
+ return /*#__PURE__*/ L.createElement(eg, {
isExiting: t.isExiting,
portalContainer: e
- }, /*#__PURE__*/ L.createElement(so.div, {
- ...q(Hl(t, { global: !0 }), a),
+ }, /*#__PURE__*/ L.createElement(fo.div, {
+ ...q(Kl(t, { global: !0 }), a),
...s,
style: d,
ref: t.overlayRef,
"data-entering": o || void 0,
"data-exiting": t.isExiting || void 0
- }, /*#__PURE__*/ L.createElement($a, { values: [[z_, {
+ }, /*#__PURE__*/ L.createElement(ro, { values: [[G_, {
modalProps: i,
modalRef: n,
isExiting: t.isExiting,
isDismissable: t.isDismissable
- }], [Qg, r]] }, s.children)));
+ }], [i_, r]] }, s.children)));
}
-function V_(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, L.useContext)(z_), a = (0, L.useContext)(Qg), o = Za((0, L.useMemo)(() => qa(e.modalRef, n), [e.modalRef, n])), s = $h(o), c = eo({
+function q_(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, L.useContext)(G_), a = (0, L.useContext)(i_), o = to((0, L.useMemo)(() => Za(e.modalRef, n), [e.modalRef, n])), s = rg(o), c = io({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -21912,23 +21913,23 @@ function V_(e) {
state: a
}
});
- return /*#__PURE__*/ L.createElement(so.div, {
- ...q(Hl(e, { global: !0 }), t),
+ return /*#__PURE__*/ L.createElement(fo.div, {
+ ...q(Kl(e, { global: !0 }), t),
...c,
ref: o,
"data-entering": s || void 0,
"data-exiting": r || void 0
- }, i && /*#__PURE__*/ L.createElement(Uh, { onDismiss: a.close }), c.children);
+ }, i && /*#__PURE__*/ L.createElement(qh, { onDismiss: a.close }), c.children);
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var H_ = /* @__PURE__ */ new WeakMap();
+var J_ = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function Aee(e, t, n) {
+function kee(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: _ } = iu({
+ }, { pressProps: g, isPressed: _ } = cu({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -21936,7 +21937,7 @@ function Aee(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = iu({
+ }), { pressProps: v, isPressed: y } = cu({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -21946,11 +21947,11 @@ function Aee(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = ol(q(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = q(g, b), S = Hl(e, { labelable: !0 }), C = -1;
+ }), { focusableProps: b } = ul(q(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = q(g, b), S = Kl(e, { labelable: !0 }), C = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);
- let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = H_.get(t);
- fd(n, t.defaultSelectedValue, t.setSelectedValue), pd({ validationBehavior: O }, t, n);
- let k = vd();
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = J_.get(t);
+ gd(n, t.defaultSelectedValue, t.setSelectedValue), _d({ validationBehavior: O }, t, n);
+ let k = Sd();
return {
labelProps: q(v, (0, L.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -21982,13 +21983,13 @@ function Aee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function jee(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = ac(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = dd({
+function Aee(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = lc(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = hd({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = Hl(e, { labelable: !0 }), { focusWithinProps: v } = fu({
+ }), _ = Kl(e, { labelable: !0 }), { focusWithinProps: v } = gu({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -21996,13 +21997,13 @@ function jee(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = ip(n.currentTarget, {
+ let r = cp(n.currentTarget, {
from: J(n),
- accept: (e) => e instanceof fo(e).HTMLInputElement && e.type === "radio"
+ accept: (e) => e instanceof go(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 } = nl({
+ let { keyboardProps: b } = ol({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -22010,8 +22011,8 @@ function jee(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = Wa(n);
- return H_.set(t, {
+ }), x = Ja(n);
+ return J_.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -22040,9 +22041,9 @@ function jee(e, t) {
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var Mee = Math.round(Math.random() * 1e10), Nee = 0;
-function Pee(e) {
- let t = (0, L.useMemo)(() => e.name || `radio-group-${Mee}-${++Nee}`, [e.name]), [n, r] = xc(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, L.useState)(n), [a, o] = (0, L.useState)(null), s = rd({
+var jee = Math.round(Math.random() * 1e10), Mee = 0;
+function Nee(e) {
+ let t = (0, L.useMemo)(() => e.name || `radio-group-${jee}-${++Mee}`, [e.name]), [n, r] = Tc(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, L.useState)(n), [a, o] = (0, L.useState)(null), s = sd({
...e,
value: n
}), c = (t) => {
@@ -22065,16 +22066,16 @@ function Pee(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var Fee = /*#__PURE__*/ (0, L.createContext)(null), Iee = /*#__PURE__*/ (0, L.createContext)(null), U_ = /*#__PURE__*/ (0, L.createContext)(null), W_ = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- [e, t] = no(e, t, Fee);
- let { validationBehavior: n } = to(ld) || {}, r = e.validationBehavior ?? n ?? "native", i = Pee({
+var Pee = /*#__PURE__*/ (0, L.createContext)(null), Fee = /*#__PURE__*/ (0, L.createContext)(null), Y_ = /*#__PURE__*/ (0, L.createContext)(null), X_ = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ [e, t] = oo(e, t, Pee);
+ let { validationBehavior: n } = ao(pd) || {}, r = e.validationBehavior ?? n ?? "native", i = Nee({
...e,
validationBehavior: r
- }), [a, o] = ro(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = jee({
+ }), [a, o] = so(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Aee({
...e,
label: o,
validationBehavior: r
- }, i), f = eo({
+ }, i), f = io({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -22085,8 +22086,8 @@ var Fee = /*#__PURE__*/ (0, L.createContext)(null), Iee = /*#__PURE__*/ (0, L.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = Hl(e, { global: !0 });
- return /*#__PURE__*/ L.createElement(so.div, {
+ }), p = Kl(e, { global: !0 });
+ return /*#__PURE__*/ L.createElement(fo.div, {
...q(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -22095,39 +22096,39 @@ var Fee = /*#__PURE__*/ (0, L.createContext)(null), Iee = /*#__PURE__*/ (0, L.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ L.createElement($a, { values: [
- [U_, i],
- [bu, {
+ }, /*#__PURE__*/ L.createElement(ro, { values: [
+ [Y_, i],
+ [wu, {
...c,
ref: a,
elementType: "span"
}],
- [Iu, { slots: {
+ [Bu, { slots: {
description: l,
errorMessage: u
} }],
- [Zu, d]
- ] }, /*#__PURE__*/ L.createElement(Tf, null, f.children)));
-}), G_ = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ [td, d]
+ ] }, /*#__PURE__*/ L.createElement(kf, null, f.children)));
+}), Z_ = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = no(r, t, Iee);
- let i = L.useContext(U_), a = Za((0, L.useMemo)(() => qa(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Aee({
- ...io(e),
+ [e, t] = oo(r, t, Fee);
+ let i = L.useContext(Y_), a = to((0, L.useMemo)(() => Za(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = kee({
+ ...co(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ L.createElement(K_.Provider, { value: {
+ return /*#__PURE__*/ L.createElement(Q_.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ L.createElement(Lee, {
+ } }, /*#__PURE__*/ L.createElement(Iee, {
...e,
ref: t
}));
-}), K_ = /*#__PURE__*/ (0, L.createContext)(null), Lee = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, L.useContext)(K_), l = L.useContext(U_), { isFocused: u, isFocusVisible: d, focusProps: f } = pu(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = yu({
+}), Q_ = /*#__PURE__*/ (0, L.createContext)(null), Iee = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, L.useContext)(Q_), l = L.useContext(Y_), { isFocused: u, isFocusVisible: d, focusProps: f } = _u(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Cu({
...e,
isDisabled: p
- }), g = eo({
+ }), g = io({
...e,
defaultClassName: s,
values: {
@@ -22141,8 +22142,8 @@ var Fee = /*#__PURE__*/ (0, L.createContext)(null), Iee = /*#__PURE__*/ (0, L.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = Hl(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ L.createElement(so.label, {
+ }), _ = Kl(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ L.createElement(fo.label, {
...q(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -22154,25 +22155,25 @@ var Fee = /*#__PURE__*/ (0, L.createContext)(null), Iee = /*#__PURE__*/ (0, L.cr
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ L.createElement(Xu, { elementType: "span" }, /*#__PURE__*/ L.createElement("input", {
+ }, /*#__PURE__*/ L.createElement(ed, { elementType: "span" }, /*#__PURE__*/ L.createElement("input", {
...q(r, f),
ref: c
})), g.children);
-}), q_ = /* @__PURE__ */ new WeakMap();
-function Ree(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = xp({
+}), $_ = /* @__PURE__ */ new WeakMap();
+function Lee(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = Tp({
usage: "search",
sensitivity: "base"
- }), u = (0, L.useMemo)(() => r || new yp(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, L.useMemo)(() => r || new Cp(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = Bg({
+ ]), { menuTriggerProps: d, menuProps: f } = qg({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = nl({
+ }, t, n), { keyboardProps: p } = ol({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -22188,21 +22189,21 @@ function Ree(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = mp({
+ }), { typeSelectProps: m } = vp({
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 } = dd({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = hd({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = Hl(e, { labelable: !0 }), C = q(m, d, y), w = Wa();
- return q_.set(t, {
+ let S = Kl(e, { labelable: !0 }), C = q(m, d, y), w = Ja();
+ return $_.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -22212,13 +22213,13 @@ function Ree(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), Is("keyboard"));
+ e.isDisabled || (n.current?.focus(), Bs("keyboard"));
}
},
triggerProps: q(S, {
...C,
isDisabled: i,
- onKeyDown: Ta(C.onKeyDown, p.onKeyDown),
+ onKeyDown: ka(C.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
w,
@@ -22242,7 +22243,7 @@ function Ree(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- xo(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ To(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
},
"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")
},
@@ -22263,13 +22264,13 @@ function Ree(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function zee(e, t, n) {
- let r = q_.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Yu({ style: {
+function Ree(e, t, n) {
+ let r = $_.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = $u({ style: {
position: "fixed",
top: 0,
left: 0
} });
- fd(e.selectRef, t.defaultValue, t.setValue), pd({
+ gd(e.selectRef, t.defaultValue, t.setValue), _d({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -22299,8 +22300,8 @@ function zee(e, t, n) {
}
};
}
-function Bee(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, L.useRef)(null), c = (0, L.useRef)(null), { containerProps: l, selectProps: u } = zee({
+function zee(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, L.useRef)(null), c = (0, L.useRef)(null), { containerProps: l, selectProps: u } = Ree({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -22324,7 +22325,7 @@ function Bee(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = q_.get(t) || {};
+ let { validationBehavior: e } = $_.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -22355,12 +22356,12 @@ function Bee(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function Vee(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = Qh(e), [i, a] = (0, L.useState)(null), o = (0, L.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function Bee(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = ng(e), [i, a] = (0, L.useState)(null), o = (0, L.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = xc((0, L.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = Tc((0, L.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -22372,12 +22373,12 @@ function Vee(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = Zp({
+ }, d = tm({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, L.useMemo)(() => Hee(l), [l]),
+ selectedKeys: (0, L.useMemo)(() => Vee(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -22387,7 +22388,7 @@ function Vee(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, L.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = rd({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, L.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = sd({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, L.useState)(!1), [_] = (0, L.useState)(l);
@@ -22414,16 +22415,16 @@ function Vee(e) {
setFocused: g
};
}
-function Hee(e) {
+function Vee(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Select.mjs
-function Uee(e) {
+function Hee(e) {
return e && e.__esModule ? e.default : e;
}
-var J_ = /*#__PURE__*/ (0, L.createContext)(null), Y_ = /*#__PURE__*/ (0, L.createContext)(null), Wee = /*#__PURE__*/ ll(function(e, t) {
- [e, t] = no(e, t, J_);
+var ev = /*#__PURE__*/ (0, L.createContext)(null), tv = /*#__PURE__*/ (0, L.createContext)(null), Uee = /*#__PURE__*/ pl(function(e, t) {
+ [e, t] = oo(e, t, ev);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, L.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -22438,24 +22439,24 @@ var J_ = /*#__PURE__*/ (0, L.createContext)(null), Y_ = /*#__PURE__*/ (0, L.crea
i,
a
]);
- return /*#__PURE__*/ L.createElement(gl, { content: o }, (n) => /*#__PURE__*/ L.createElement(Kee, {
+ return /*#__PURE__*/ L.createElement(bl, { content: o }, (n) => /*#__PURE__*/ L.createElement(Gee, {
props: e,
collection: n,
selectRef: t
}));
-}), Gee = [
- bu,
- Au,
- Iu
+}), Wee = [
+ wu,
+ Pu,
+ Bu
];
-function Kee({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = to(ld) || {}, i = e.validationBehavior ?? r ?? "native", a = Vee({
+function Gee({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = ao(pd) || {}, i = e.validationBehavior ?? r ?? "native", a = Bee({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = pu({ within: !0 }), c = (0, L.useRef)(null), [l, u] = ro(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Ree({
- ...io(e),
+ }), { isFocusVisible: o, focusProps: s } = _u({ within: !0 }), c = (0, L.useRef)(null), [l, u] = so(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Lee({
+ ...co(e),
label: u,
validationBehavior: i
}, a, c), y = (0, L.useMemo)(() => ({
@@ -22472,48 +22473,48 @@ function Kee({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = eo({
+ ]), b = io({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = Hl(e, { global: !0 });
+ }), x = Kl(e, { global: !0 });
delete x.id;
let S = (0, L.useRef)(null);
- return /*#__PURE__*/ L.createElement($a, { values: [
- [J_, e],
- [Y_, a],
- [X_, p],
- [bu, {
+ return /*#__PURE__*/ L.createElement(ro, { values: [
+ [ev, e],
+ [tv, a],
+ [nv, p],
+ [wu, {
...d,
ref: l,
elementType: "span"
}],
- [Au, {
+ [Pu, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [Qg, a],
- [ng, {
+ [i_, a],
+ [og, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: Gee
+ clearContexts: Wee
}],
- [tm, {
+ [am, {
...m,
ref: S
}],
- [nm, a],
- [Iu, { slots: {
+ [om, a],
+ [Bu, { slots: {
description: h,
errorMessage: g
} }],
- [Zu, v]
- ] }, /*#__PURE__*/ L.createElement(so.div, {
+ [td, v]
+ ] }, /*#__PURE__*/ L.createElement(fo.div, {
...q(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -22523,14 +22524,14 @@ function Kee({ 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__*/ L.createElement(Bee, {
+ }, b.children, /*#__PURE__*/ L.createElement(zee, {
..._,
autoComplete: e.autoComplete
})));
}
-var X_ = /*#__PURE__*/ (0, L.createContext)(null), qee = /*#__PURE__*/ ll(function(e, t) {
- [e, t] = no(e, t, X_);
- let n = (0, L.useContext)(Y_), { placeholder: r } = to(J_), i = n.selectedItems.map((e) => {
+var nv = /*#__PURE__*/ (0, L.createContext)(null), Kee = /*#__PURE__*/ pl(function(e, t) {
+ [e, t] = oo(e, t, nv);
+ let n = (0, L.useContext)(tv), { placeholder: r } = ao(ev), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -22542,7 +22543,7 @@ var X_ = /*#__PURE__*/ (0, L.createContext)(null), qee = /*#__PURE__*/ ll(functi
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = _ee(), o = (0, L.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, L.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = gee(), o = (0, L.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, L.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -22557,7 +22558,7 @@ var X_ = /*#__PURE__*/ (0, L.createContext)(null), qee = /*#__PURE__*/ ll(functi
a,
o,
i
- ]), u = yc(Uee(_f), "react-aria-components"), d = eo({
+ ]), u = Cc(Hee(xf), "react-aria-components"), d = io({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -22568,18 +22569,18 @@ var X_ = /*#__PURE__*/ (0, L.createContext)(null), qee = /*#__PURE__*/ ll(functi
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = Hl(e, { global: !0 });
- return /*#__PURE__*/ L.createElement(so.span, {
+ }), f = Kl(e, { global: !0 });
+ return /*#__PURE__*/ L.createElement(fo.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ L.createElement(Iu.Provider, { value: void 0 }, d.children));
+ }, /*#__PURE__*/ L.createElement(Bu.Provider, { value: void 0 }, d.children));
});
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function Jee(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = yd(e, t, n);
+function qee(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = Cd(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -22591,14 +22592,14 @@ function Jee(e, t, n) {
...o
};
}
-for (var Yee = /*#__PURE__*/ (0, L.createContext)(null), Z_ = /*#__PURE__*/ (0, L.createContext)(null), Q_ = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+for (var Jee = /*#__PURE__*/ (0, L.createContext)(null), rv = /*#__PURE__*/ (0, L.createContext)(null), Yee = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = no(r, t, Yee);
- let i = Za((0, L.useMemo)(() => qa(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = xd(e), o = Jee({
- ...io(e),
+ [e, t] = oo(r, t, Jee);
+ let i = to((0, L.useMemo)(() => Za(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Td(e), o = qee({
+ ...co(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ L.createElement($a, { values: [[Z_, a], [$_, {
+ return /*#__PURE__*/ L.createElement(ro, { values: [[rv, a], [iv, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
@@ -22606,11 +22607,11 @@ for (var Yee = /*#__PURE__*/ (0, L.createContext)(null), Z_ = /*#__PURE__*/ (0,
...e,
ref: t
}));
-}), $_ = /*#__PURE__*/ (0, L.createContext)(null), Xee = /*#__PURE__*/ (0, L.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, L.useContext)($_), { isFocused: f, isFocusVisible: p, focusProps: m } = pu(), h = a || o, g = (0, L.useContext)(Z_), { hoverProps: _, isHovered: v } = yu({
+}), iv = /*#__PURE__*/ (0, L.createContext)(null), Xee = /*#__PURE__*/ (0, L.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, L.useContext)(iv), { isFocused: f, isFocusVisible: p, focusProps: m } = _u(), h = a || o, g = (0, L.useContext)(rv), { hoverProps: _, isHovered: v } = Cu({
...e,
isDisabled: h
- }), y = eo({
+ }), y = io({
...e,
defaultClassName: u,
values: {
@@ -22625,8 +22626,8 @@ for (var Yee = /*#__PURE__*/ (0, L.createContext)(null), Z_ = /*#__PURE__*/ (0,
isRequired: d || !1,
state: g
}
- }), b = Hl(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ L.createElement(so.label, {
+ }), b = Kl(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ L.createElement(fo.label, {
...q(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -22639,11 +22640,11 @@ for (var Yee = /*#__PURE__*/ (0, L.createContext)(null), Z_ = /*#__PURE__*/ (0,
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ L.createElement(Xu, { elementType: "span" }, /*#__PURE__*/ L.createElement("input", {
+ }, /*#__PURE__*/ L.createElement(ed, { elementType: "span" }, /*#__PURE__*/ L.createElement("input", {
...q(r, m),
ref: l
})), y.children);
-}), ev = 10, tv = 5, Zee = class {
+}), av = 10, ov = 5, Zee = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -22653,7 +22654,7 @@ for (var Yee = /*#__PURE__*/ (0, L.createContext)(null), Z_ = /*#__PURE__*/ (0,
}
resolveDropTarget(e, t, n, r) {
let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;
- if (Math.abs(a) > tv && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > ev && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > ov && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > av && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
let t = this.state.collection.getKeyBefore(e.key);
for (; t != null;) {
let e = this.state.collection.getItem(t);
@@ -22732,11 +22733,11 @@ for (var Yee = /*#__PURE__*/ (0, L.createContext)(null), Z_ = /*#__PURE__*/ (0,
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > tv && i) {
+ if (Math.abs(r - c.lastSwitchY) > ov && i) {
let t = c.preferredTargetIndex || 0;
i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;
}
- if (l > ev && a) {
+ if (l > av && a) {
let t = c.preferredTargetIndex || 0;
a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;
}
@@ -22821,8 +22822,8 @@ for (var Yee = /*#__PURE__*/ (0, L.createContext)(null), Z_ = /*#__PURE__*/ (0,
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, nv = "row-header-column-" + Math.random().toString(36).slice(2), rv = "row-header-column-" + Math.random().toString(36).slice(2); nv === rv;) rv = "row-header-column-" + Math.random().toString(36).slice(2);
-function iv(e, t) {
+}, sv = "row-header-column-" + Math.random().toString(36).slice(2), cv = "row-header-column-" + Math.random().toString(36).slice(2); sv === cv;) cv = "row-header-column-" + Math.random().toString(36).slice(2);
+function lv(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -22912,7 +22913,7 @@ var $ee = class extends Qee {
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: nv,
+ key: sv,
value: null,
textValue: "",
level: 0,
@@ -22927,7 +22928,7 @@ var $ee = class extends Qee {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: rv,
+ key: cv,
value: null,
textValue: "",
level: 0,
@@ -22954,7 +22955,7 @@ var $ee = class extends Qee {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = iv(s, a);
+ let l = lv(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -22980,10 +22981,10 @@ var $ee = class extends Qee {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return Ap(this.body.childNodes)?.key ?? null;
+ return Pp(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return Mp(this.body.childNodes)?.key ?? null;
+ return Ip(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -23016,18 +23017,18 @@ var $ee = class extends Qee {
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
function ete(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || Up(e), i = (0, L.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || qp(e), i = (0, L.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
if (n?.type === "item") {
- let i = kp(n, t);
- e = r === "last" ? Mp(i)?.key ?? null : Ap(i)?.key ?? null;
+ let i = Np(n, t);
+ e = r === "last" ? Ip(i)?.key ?? null : Pp(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, L.useMemo)(() => new Gp(t, r), [t, r]), s = (0, L.useRef)(null);
+ let o = (0, L.useMemo)(() => new Yp(t, r), [t, r]), s = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {
let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;
@@ -23047,7 +23048,7 @@ function ete(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...kp(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...Np(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);
}
@@ -23081,11 +23082,11 @@ function nte(e) {
i,
r,
a
- ]), c = Xp(e, (0, L.useCallback)((e) => new $ee(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = ete({
+ ]), c = em(e, (0, L.useCallback)((e) => new $ee(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = ete({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = xc(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = Tc(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -23120,10 +23121,10 @@ function rte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var av = class {
+var uv = 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 ite(e.layout) : new vp(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new ite(e.layout) : new Sp(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -23159,7 +23160,7 @@ var av = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of kp(n, this.collection)) {
+ for (let e of Np(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -23193,13 +23194,13 @@ var av = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = kp(t, this.collection);
- return (this.direction === "rtl" ? Mp(e)?.key : Ap(e)?.key) ?? null;
+ let e = Np(t, this.collection);
+ return (this.direction === "rtl" ? Ip(e)?.key : Pp(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = kp(n, this.collection), i = (this.direction === "rtl" ? jp(r, t.index - 1) : jp(r, t.index + 1)) ?? null;
+ let r = Np(n, this.collection), i = (this.direction === "rtl" ? Fp(r, t.index - 1) : Fp(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;
@@ -23208,13 +23209,13 @@ var av = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = kp(t, this.collection);
- return (this.direction === "rtl" ? Ap(e)?.key : Mp(e)?.key) ?? null;
+ let e = Np(t, this.collection);
+ return (this.direction === "rtl" ? Pp(e)?.key : Ip(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = kp(n, this.collection), i = (this.direction === "rtl" ? jp(r, t.index + 1) : jp(r, t.index - 1)) ?? null;
+ let r = Np(n, this.collection), i = (this.direction === "rtl" ? Fp(r, t.index + 1) : Fp(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;
@@ -23225,13 +23226,13 @@ var av = 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 ? Ap(kp(e, this.collection))?.key ?? null : null;
+ return e ? Pp(Np(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 = Ap(kp(e, this.collection))?.key ?? null;
+ n = Pp(Np(e, this.collection))?.key ?? null;
}
return n;
}
@@ -23241,13 +23242,13 @@ var av = 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 ? Mp(kp(e, this.collection))?.key ?? null : null;
+ return e ? Ip(Np(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 = Mp(kp(e, this.collection))?.key ?? null;
+ n = Ip(Np(e, this.collection))?.key ?? null;
}
return n;
}
@@ -23283,7 +23284,7 @@ var av = 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" ? Ap(kp(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Pp(Np(t, this.collection))?.key ?? null : t.key;
}
n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);
}
@@ -23302,16 +23303,16 @@ var av = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, ov = /* @__PURE__ */ new WeakMap();
+}, dv = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
function ate(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 = xp({
+ let h = Tp({
usage: "search",
sensitivity: "base"
- }), { direction: g } = ac(), _ = t.selectionManager.disabledBehavior, v = (0, L.useMemo)(() => a || new av({
+ }), { direction: g } = lc(), _ = t.selectionManager.disabledBehavior, v = (0, L.useMemo)(() => a || new uv({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -23328,7 +23329,7 @@ function ate(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = _p({
+ ]), { collectionProps: y } = xp({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -23336,8 +23337,8 @@ function ate(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), b = Wa(e.id);
- ov.set(t, {
+ }), b = Ja(e.id);
+ dv.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -23346,48 +23347,48 @@ function ate(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = xee({
+ let x = bee({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = Hl(e, { labelable: !0 }), C = (0, L.useCallback)((e) => {
+ }), S = Kl(e, { labelable: !0 }), C = (0, L.useCallback)((e) => {
if (m.isFocused) {
- xo(e.currentTarget, J(e)) || m.setFocused(!1);
+ To(e.currentTarget, J(e)) || m.setFocused(!1);
return;
}
- xo(e.currentTarget, J(e)) && m.setFocused(!0);
+ To(e.currentTarget, J(e)) && m.setFocused(!0);
}, [m]), w = (0, L.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = I_(n, { isDisabled: t.collection.size !== 0 }), E = q(S, {
+ }), [C, y.onBlur]), T = H_(n, { isDisabled: t.collection.size !== 0 }), E = q(S, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);
- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), yee({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), vee({ getRowText: c }, t), { gridProps: E };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var sv = /* @__PURE__ */ new WeakMap();
-function cv(e) {
+var fv = /* @__PURE__ */ new WeakMap();
+function pv(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
function ote(e, t) {
- let n = sv.get(e);
+ let n = fv.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${cv(t)}`;
+ return `${n}-${pv(t)}`;
}
-function lv(e, t, n) {
- let r = sv.get(e);
+function mv(e, t, n) {
+ let r = fv.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${cv(t)}-${cv(n)}`;
+ return `${r}-${pv(t)}-${pv(n)}`;
}
-function uv(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => lv(e, t, n)).join(" ");
+function hv(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => mv(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var dv = {};
-dv = {
+var gv = {};
+gv = {
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: "طي",
@@ -23402,8 +23403,8 @@ dv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var fv = {};
-fv = {
+var _v = {};
+_v = {
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: "Свиване",
@@ -23418,8 +23419,8 @@ fv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var pv = {};
-pv = {
+var vv = {};
+vv = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -23434,8 +23435,8 @@ pv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var mv = {};
-mv = {
+var yv = {};
+yv = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -23450,8 +23451,8 @@ mv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var hv = {};
-hv = {
+var bv = {};
+bv = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -23466,8 +23467,8 @@ hv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var gv = {};
-gv = {
+var xv = {};
+xv = {
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: "Σύμπτυξη",
@@ -23482,8 +23483,8 @@ gv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var _v = {};
-_v = {
+var Sv = {};
+Sv = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -23498,8 +23499,8 @@ _v = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var vv = {};
-vv = {
+var Cv = {};
+Cv = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -23514,8 +23515,8 @@ vv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var yv = {};
-yv = {
+var wv = {};
+wv = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -23530,8 +23531,8 @@ yv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var bv = {};
-bv = {
+var Tv = {};
+Tv = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -23546,8 +23547,8 @@ bv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var xv = {};
-xv = {
+var Ev = {};
+Ev = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -23562,8 +23563,8 @@ xv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var Sv = {};
-Sv = {
+var Dv = {};
+Dv = {
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: "כווץ",
@@ -23578,8 +23579,8 @@ Sv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var Cv = {};
-Cv = {
+var Ov = {};
+Ov = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -23594,8 +23595,8 @@ Cv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var wv = {};
-wv = {
+var kv = {};
+kv = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -23610,8 +23611,8 @@ wv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Tv = {};
-Tv = {
+var Av = {};
+Av = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -23626,8 +23627,8 @@ Tv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Ev = {};
-Ev = {
+var jv = {};
+jv = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -23642,8 +23643,8 @@ Ev = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var Dv = {};
-Dv = {
+var Mv = {};
+Mv = {
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: "접기",
@@ -23658,8 +23659,8 @@ Dv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var Ov = {};
-Ov = {
+var Nv = {};
+Nv = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -23674,8 +23675,8 @@ Ov = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var kv = {};
-kv = {
+var Pv = {};
+Pv = {
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",
@@ -23690,8 +23691,8 @@ kv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var Av = {};
-Av = {
+var Fv = {};
+Fv = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -23706,8 +23707,8 @@ Av = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var jv = {};
-jv = {
+var Iv = {};
+Iv = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -23722,8 +23723,8 @@ jv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var Mv = {};
-Mv = {
+var Lv = {};
+Lv = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -23738,8 +23739,8 @@ Mv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var Nv = {};
-Nv = {
+var Rv = {};
+Rv = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -23754,8 +23755,8 @@ Nv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var Pv = {};
-Pv = {
+var zv = {};
+zv = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -23770,8 +23771,8 @@ Pv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var Fv = {};
-Fv = {
+var Bv = {};
+Bv = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -23786,8 +23787,8 @@ Fv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var Iv = {};
-Iv = {
+var Vv = {};
+Vv = {
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: "Свернуть",
@@ -23802,8 +23803,8 @@ Iv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var Lv = {};
-Lv = {
+var Hv = {};
+Hv = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -23818,8 +23819,8 @@ Lv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var Rv = {};
-Rv = {
+var Uv = {};
+Uv = {
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",
@@ -23834,8 +23835,8 @@ Rv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var zv = {};
-zv = {
+var Wv = {};
+Wv = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -23850,8 +23851,8 @@ zv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var Bv = {};
-Bv = {
+var Gv = {};
+Gv = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -23866,8 +23867,8 @@ Bv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var Vv = {};
-Vv = {
+var Kv = {};
+Kv = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -23882,8 +23883,8 @@ Vv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var Hv = {};
-Hv = {
+var qv = {};
+qv = {
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: "Згорнути",
@@ -23898,8 +23899,8 @@ Hv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var Uv = {};
-Uv = {
+var Jv = {};
+Jv = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -23914,8 +23915,8 @@ Uv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var Wv = {};
-Wv = {
+var Yv = {};
+Yv = {
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: "收合",
@@ -23930,46 +23931,46 @@ Wv = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var Gv = {};
-Gv = {
- "ar-AE": dv,
- "bg-BG": fv,
- "cs-CZ": pv,
- "da-DK": mv,
- "de-DE": hv,
- "el-GR": gv,
- "en-US": _v,
- "es-ES": vv,
- "et-EE": yv,
- "fi-FI": bv,
- "fr-FR": xv,
- "he-IL": Sv,
- "hr-HR": Cv,
- "hu-HU": wv,
- "it-IT": Tv,
- "ja-JP": Ev,
- "ko-KR": Dv,
- "lt-LT": Ov,
- "lv-LV": kv,
- "nb-NO": Av,
- "nl-NL": jv,
- "pl-PL": Mv,
- "pt-BR": Nv,
- "pt-PT": Pv,
- "ro-RO": Fv,
- "ru-RU": Iv,
- "sk-SK": Lv,
- "sl-SI": Rv,
- "sr-SP": zv,
- "sv-SE": Bv,
- "tr-TR": Vv,
- "uk-UA": Hv,
- "zh-CN": Uv,
- "zh-TW": Wv
+var Xv = {};
+Xv = {
+ "ar-AE": gv,
+ "bg-BG": _v,
+ "cs-CZ": vv,
+ "da-DK": yv,
+ "de-DE": bv,
+ "el-GR": xv,
+ "en-US": Sv,
+ "es-ES": Cv,
+ "et-EE": wv,
+ "fi-FI": Tv,
+ "fr-FR": Ev,
+ "he-IL": Dv,
+ "hr-HR": Ov,
+ "hu-HU": kv,
+ "it-IT": Av,
+ "ja-JP": jv,
+ "ko-KR": Mv,
+ "lt-LT": Nv,
+ "lv-LV": Pv,
+ "nb-NO": Fv,
+ "nl-NL": Iv,
+ "pl-PL": Lv,
+ "pt-BR": Rv,
+ "pt-PT": zv,
+ "ro-RO": Bv,
+ "ru-RU": Vv,
+ "sk-SK": Hv,
+ "sl-SI": Uv,
+ "sr-SP": Wv,
+ "sv-SE": Gv,
+ "tr-TR": Kv,
+ "uk-UA": qv,
+ "zh-CN": Jv,
+ "zh-TW": Yv
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var ste = class extends av {
+var ste = class extends uv {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -23977,7 +23978,7 @@ var ste = class extends av {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = Ap(kp(n, this.collection));
+ let e = Pp(Np(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);
@@ -23998,13 +23999,13 @@ var ste = class extends av {
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 kp(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of Np(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 = [...kp(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...Np(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -24033,7 +24034,7 @@ var ste = class extends av {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of kp(o, this.collection)) {
+ for (let r of Np(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);
@@ -24050,11 +24051,11 @@ var ste = class extends av {
function cte(e) {
return e && e.__esModule ? e.default : e;
}
-function lte(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = xp({
+function Zv(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = Tp({
usage: "search",
sensitivity: "base"
- }), { direction: c } = ac(), l = t.selectionManager.disabledBehavior, u = (0, L.useMemo)(() => r || new ste({
+ }), { direction: c } = lc(), l = t.selectionManager.disabledBehavior, u = (0, L.useMemo)(() => r || new ste({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -24073,43 +24074,43 @@ function lte(e, t, n) {
s,
a,
o
- ]), d = Wa(e.id);
- sv.set(t, d);
+ ]), d = Ja(e.id);
+ fv.set(t, d);
let { gridProps: f } = ate({
...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 = yc(cte(Gv), "@react-aria/table"), g = (0, L.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Cc(cte(Xv), "@react-aria/table"), g = (0, L.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
- ]), _ = qu(g);
- return Ru(() => {
- g && Du(g, "assertive", 500);
+ ]), _ = Zu(g);
+ return Hu(() => {
+ g && ju(g, "assertive", 500);
}, [g]), { gridProps: q(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function Kv(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = ac(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = ov.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, L.useRef)(null), h = () => {
+function Qv(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = lc(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = dv.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, L.useRef)(null), h = () => {
if (n.current) {
- let e = ip(n.current);
+ let e = cp(n.current);
if (p === "child") {
- if (wo(n.current) && n.current !== So(uo(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? qv(e) : e.firstChild();
+ if (Oo(n.current) && n.current !== Eo(ho(n.current))) return;
+ let r = t.selectionManager.childFocusStrategy === "last" ? $v(e) : e.firstChild();
if (r) {
- Vc(r);
+ Gc(r);
return;
}
}
- (m.current != null && r.key !== m.current || !wo(n.current)) && Vc(n.current);
+ (m.current != null && r.key !== m.current || !Oo(n.current)) && Gc(n.current);
}
- }, { itemProps: g, isPressed: _ } = Ep({
+ }, { itemProps: g, isPressed: _ } = Ap({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -24121,47 +24122,47 @@ function Kv(e, t, n) {
}), v = q(g, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = So(uo(n.current));
- if (!xo(e.currentTarget, J(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = ip(n.current);
+ let i = Eo(ho(n.current));
+ if (!To(e.currentTarget, J(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = cp(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) Vc(t), Wu(t, { containingElement: Bu(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Gc(t), Ju(t, { containingElement: Wu(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" ? (Vc(n.current), Wu(n.current, { containingElement: Bu(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : qv(a), t && (Vc(t), Wu(t, { containingElement: Bu(n.current) })));
+ p === "cell" && l === "rtl" ? (Gc(n.current), Ju(n.current, { containingElement: Wu(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : $v(a), t && (Gc(t), Ju(t, { containingElement: Wu(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) Vc(t), Wu(t, { containingElement: Bu(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Gc(t), Ju(t, { containingElement: Wu(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" ? (Vc(n.current), Wu(n.current, { containingElement: Bu(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? qv(a) : a.firstChild(), t && (Vc(t), Wu(t, { containingElement: Bu(n.current) })));
+ p === "cell" && l === "ltr" ? (Gc(n.current), Ju(n.current, { containingElement: Wu(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? $v(a) : a.firstChild(), t && (Gc(t), Ju(t, { containingElement: Wu(n.current) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && xo(n.current, J(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && To(n.current, J(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
} : void 0,
onKeyDown: f === "tab" ? (e) => {
- let r = So(uo(n.current));
- if (!(!xo(e.currentTarget, J(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {
+ let r = Eo(ho(n.current));
+ if (!(!To(e.currentTarget, J(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {
if (f === "tab" && J(e) !== n.current && e.key !== "Tab") {
e.stopPropagation();
return;
}
if (e.key === "Tab" && f === "tab") {
- let t = ip(n.current, { tabbable: !0 });
+ let t = cp(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -24171,11 +24172,11 @@ function Kv(e, t, n) {
colSpan: i ? void 0 : r.colSpan,
onFocus: (e) => {
if (m.current = r.key, J(e) !== n.current) {
- Ps() || t.selectionManager.setFocusedKey(r.key);
+ Rs() || t.selectionManager.setFocusedKey(r.key);
return;
}
- p === "child" && e.relatedTarget && xo(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && So(uo(n.current)) === n.current && h();
+ p === "child" && e.relatedTarget && To(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && Eo(ho(n.current)) === n.current && h();
});
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
@@ -24190,7 +24191,7 @@ function Kv(e, t, n) {
isPressed: _
};
}
-function qv(e) {
+function $v(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -24199,24 +24200,24 @@ function qv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function ute(e) {
+function ey(e) {
return e && e.__esModule ? e.default : e;
}
-function dte(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = Kv({
+function ty(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = Qv({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = iu({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = cu({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = ol({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !as() && (u = d ? f : "none");
- let p = yc(ute(Gv), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && as() && (m = `${m}, ${p.format(f)}`));
- let h = qu(m), g = t.collection.size === 0;
+ }), { focusableProps: l } = ul({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !ls() && (u = d ? f : "none");
+ let p = Cc(ey(Xv), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && ls() && (m = `${m}, ${p.format(f)}`));
+ let h = Zu(m), g = t.collection.size === 0;
return (0, L.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -24236,14 +24237,14 @@ function dte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function fte(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = ov.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Ep({
+function lte(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = dv.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Ap({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? Ta(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? ka(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -24258,10 +24259,10 @@ function fte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function pte(e) {
+function ute(e) {
return e && e.__esModule ? e.default : e;
}
-var Jv = {
+var ny = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -24271,21 +24272,21 @@ var Jv = {
rtl: "ArrowRight"
}
};
-function mte(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = fte(e, t, n), { direction: s } = ac();
+function dte(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = lte(e, t, n), { direction: s } = lc();
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 = yc(pte(Gv), "@react-aria/table"), u = Js({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Cc(ute(Xv), "@react-aria/table"), u = Qs({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": uv(t, r.key)
+ "aria-labelledby": hv(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = Yv(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 = Yv(t.collection, a);
+ let n = ry(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 = ry(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === Jv.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === Jv.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 === ny.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === ny.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,
@@ -24303,50 +24304,50 @@ function mte(e, t, n) {
};
}
}
- let p = hs(r.props), m = o.hasAction ? p : {};
+ let p = ys(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
...q(a, d, m),
- "aria-labelledby": uv(t, r.key)
+ "aria-labelledby": hv(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function Yv(e, t) {
+function ry(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function hte(e, t, n) {
+function fte(e, t, n) {
let { node: r, isVirtualized: i } = e, a = { role: "row" };
return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function gte(e, t, n) {
- let { gridCellProps: r, isPressed: i } = Kv(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = lv(t, e.node.parentKey, a)), {
+function pte(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = Qv(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = mv(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function Xv(e) {
+function mte(e) {
return e && e.__esModule ? e.default : e;
}
-function Zv(e, t) {
- let { key: n } = e, { checkboxProps: r } = Cee(e, t);
+function hte(e, t) {
+ let { key: n } = e, { checkboxProps: r } = See(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${uv(t, n)}`
+ "aria-labelledby": `${r.id} ${hv(t, n)}`
} };
}
-function Qv(e) {
+function gte(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": yc(Xv(Gv), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": Cc(mte(Xv), "@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,
@@ -24355,17 +24356,17 @@ function Qv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function $v() {
+function _te() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function ey() {
- return $v();
+function iy() {
+ return _te();
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var ty = class extends kc {
+var vte = class extends Nc {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -24380,7 +24381,7 @@ var ty = class extends kc {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new dy(-2);
+ return new py(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -24406,7 +24407,7 @@ var ty = class extends kc {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = iv(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
+ if (this.headerRows = lv(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
}
get columnCount() {
return this.columns.length;
@@ -24487,11 +24488,11 @@ var ty = class extends kc {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new cy(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new uy(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, ny = /*#__PURE__*/ (0, L.createContext)(null), ry = /*#__PURE__*/ (0, L.createContext)(null), iy = /*#__PURE__*/ (0, L.createContext)(null), ay = /*#__PURE__*/ (0, L.createContext)(null), oy = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- [e, t] = no(e, t, ry);
- let n = Up(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, L.useMemo)(() => ({
+}, yte = /*#__PURE__*/ (0, L.createContext)(null), bte = /*#__PURE__*/ (0, L.createContext)(null), ay = /*#__PURE__*/ (0, L.createContext)(null), oy = /*#__PURE__*/ (0, L.createContext)(null), sy = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ [e, t] = oo(e, t, bte);
+ let n = qp(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, L.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -24501,26 +24502,26 @@ var ty = class extends kc {
i,
a,
o
- ]), c = /*#__PURE__*/ L.createElement(yte.Provider, { value: s }, /*#__PURE__*/ L.createElement(Ol, e));
- return /*#__PURE__*/ L.createElement(gl, {
+ ]), c = /*#__PURE__*/ L.createElement(Ste.Provider, { value: s }, /*#__PURE__*/ L.createElement(Ml, e));
+ return /*#__PURE__*/ L.createElement(bl, {
content: c,
- createCollection: () => new ty()
- }, (r) => /*#__PURE__*/ L.createElement(vte, {
+ createCollection: () => new vte()
+ }, (r) => /*#__PURE__*/ L.createElement(xte, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), _te = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, L.useContext)(Pl);
- return n ? /*#__PURE__*/ L.createElement(so.div, {
+}), cy = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, L.useContext)(Rl);
+ return n ? /*#__PURE__*/ L.createElement(fo.div, {
...e,
ref: t
- }) : /*#__PURE__*/ L.createElement(so.table, {
+ }) : /*#__PURE__*/ L.createElement(fo.table, {
...e,
ref: t
});
-}), sy = {
+}), ly = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -24530,11 +24531,11 @@ var ty = class extends kc {
rtl: "ArrowRight"
}
};
-function vte({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = no(e, t, Sc);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, L.useContext)(ny);
- t = Za((0, L.useMemo)(() => qa(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = xc(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+function xte({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = oo(e, t, Ec);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, L.useContext)(yte);
+ t = to((0, L.useMemo)(() => Za(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = Tc(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, L.useMemo)(() => r.withExpandedKeys(l), [r, l]);
let d = nte({
...s,
@@ -24543,13 +24544,13 @@ function vte({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = rte(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, L.useContext)(Pl), { dragAndDropHooks: _ } = e, { gridProps: v } = lte({
+ }), f = rte(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, L.useContext)(Rl), { dragAndDropHooks: _ } = e, { gridProps: v } = Zv({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, L.useRef)(b), (0, L.useRef)(x), (0, L.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, L.useRef)(null), { direction: O } = ac(), [k] = (0, L.useState)(() => new Zee());
+ let S, C, w, T = !1, E = null, D = (0, L.useRef)(null), { direction: O } = lc(), [k] = (0, L.useState)(() => new Zee());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -24564,7 +24565,7 @@ function vte({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new yp({
+ let e = new Cp({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -24584,12 +24585,12 @@ function vte({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = C?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === sy.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === sy.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === ly.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === ly.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = pu(), N = eo({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = _u(), N = io({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -24605,19 +24606,19 @@ function vte({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let te = Hl(e, { global: !0 });
- return /*#__PURE__*/ L.createElement($a, { values: [
- [iy, f],
- [ay, F],
- [vf, {
+ let te = Kl(e, { global: !0 });
+ return /*#__PURE__*/ L.createElement(ro, { values: [
+ [ay, f],
+ [oy, F],
+ [Sf, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [yf, { render: kte }],
- [Sc, null],
- [Cc, null]
- ] }, /*#__PURE__*/ L.createElement(Rf, null, /*#__PURE__*/ L.createElement(_te, {
+ [Cf, { render: Mte }],
+ [Ec, null],
+ [Dc, null]
+ ] }, /*#__PURE__*/ L.createElement(Hf, null, /*#__PURE__*/ L.createElement(cy, {
...q(te, N, v, A, w?.collectionProps),
style: ee,
ref: t,
@@ -24627,55 +24628,55 @@ function vte({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": T || void 0,
"data-focused": j || void 0,
"data-focus-visible": M || void 0
- }, /*#__PURE__*/ L.createElement(Tf, null, /*#__PURE__*/ L.createElement(g, {
+ }, /*#__PURE__*/ L.createElement(kf, null, /*#__PURE__*/ L.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: Sf(y, _, C)
+ persistedKeys: Ef(y, _, C)
})))), E);
}
-var yte = /*#__PURE__*/ (0, L.createContext)(null), cy = class extends wc {
+var Ste = /*#__PURE__*/ (0, L.createContext)(null), uy = class extends Oc {
static {
this.type = "tableheader";
}
-}, bte = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, L.useContext)(Pl);
- return n ? /*#__PURE__*/ L.createElement(so.div, {
+}, Cte = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, L.useContext)(Rl);
+ return n ? /*#__PURE__*/ L.createElement(fo.div, {
...e,
ref: t
- }) : /*#__PURE__*/ L.createElement(so.thead, {
+ }) : /*#__PURE__*/ L.createElement(fo.thead, {
...e,
ref: t
});
-}), ly = /*#__PURE__*/ Tl(cy, (e, t) => {
- let n = (0, L.useContext)(iy).collection, r = Pc({
+}), dy = /*#__PURE__*/ kl(uy, (e, t) => {
+ let n = (0, L.useContext)(ay).collection, r = Rc({
items: n.headerRows,
children: (0, L.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ L.createElement(Ste, { item: e });
+ case "headerrow": return /*#__PURE__*/ L.createElement(Tte, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = ey(), { hoverProps: a, isHovered: o } = yu({
+ }), { rowGroupProps: i } = iy(), { hoverProps: a, isHovered: o } = Cu({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = eo({
+ }), s = io({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ L.createElement(bte, {
- ...q(Hl(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ L.createElement(Cte, {
+ ...q(Kl(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ L.createElement(Ol, {
+}, (e) => /*#__PURE__*/ L.createElement(Ml, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), xte = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, L.useContext)(Pl);
+}, e.children)), wte = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, L.useContext)(Rl);
return n ? /*#__PURE__*/ L.createElement("div", {
...e,
ref: t
@@ -24684,41 +24685,41 @@ var yte = /*#__PURE__*/ (0, L.createContext)(null), cy = class extends wc {
ref: t
});
});
-function Ste({ item: e }) {
- let t = (0, L.useRef)(null), n = (0, L.useContext)(iy), { isVirtualized: r, CollectionBranch: i } = (0, L.useContext)(Pl), { rowProps: a } = hte({
+function Tte({ item: e }) {
+ let t = (0, L.useRef)(null), n = (0, L.useContext)(ay), { isVirtualized: r, CollectionBranch: i } = (0, L.useContext)(Rl), { rowProps: a } = fte({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Qv(n);
- return /*#__PURE__*/ L.createElement(xte, {
+ }, n, t), { checkboxProps: o } = gte(n);
+ return /*#__PURE__*/ L.createElement(wte, {
...a,
ref: t
- }, /*#__PURE__*/ L.createElement($a, { values: [[Cd, { slots: { selection: o } }], [wd, { slots: { selection: o } }]] }, /*#__PURE__*/ L.createElement(i, {
+ }, /*#__PURE__*/ L.createElement(ro, { values: [[Dd, { slots: { selection: o } }], [Od, { slots: { selection: o } }]] }, /*#__PURE__*/ L.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Cte = class extends wc {
+var Ete = class extends Oc {
static {
this.type = "column";
}
-}, wte = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, L.useContext)(Pl);
- return n ? /*#__PURE__*/ L.createElement(so.div, {
+}, Dte = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, L.useContext)(Rl);
+ return n ? /*#__PURE__*/ L.createElement(fo.div, {
...e,
ref: t
- }) : /*#__PURE__*/ L.createElement(so.th, {
+ }) : /*#__PURE__*/ L.createElement(fo.th, {
...e,
ref: t
});
-}), uy = /*#__PURE__*/ wl(Cte, (e, t, n) => {
- let r = Za(t), i = (0, L.useContext)(iy), { isVirtualized: a } = (0, L.useContext)(Pl), { columnHeaderProps: o, isPressed: s } = dte({
+}), fy = /*#__PURE__*/ Ol(Ete, (e, t, n) => {
+ let r = to(t), i = (0, L.useContext)(ay), { isVirtualized: a } = (0, L.useContext)(Rl), { columnHeaderProps: o, isPressed: s } = ty({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = pu(), d = (0, L.useContext)(ay), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = _u(), d = (0, L.useContext)(oy), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = yu({ isDisabled: !e.allowsSorting }), h = eo({
+ let { hoverProps: p, isHovered: m } = Cu({ isDisabled: !e.allowsSorting }), h = io({
...e,
id: void 0,
children: n.rendered,
@@ -24744,8 +24745,8 @@ var Cte = class extends wc {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = Hl(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ L.createElement(wte, {
+ let _ = Kl(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ L.createElement(Dte, {
...q(_, o, u, p),
...h,
style: g,
@@ -24757,28 +24758,28 @@ var Cte = class extends wc {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ L.createElement($a, { values: [[Tte, {
+ }, /*#__PURE__*/ L.createElement(ro, { values: [[Ote, {
column: n,
triggerRef: r
- }], [Pl, jl]] }, h.children));
-}), Tte = /*#__PURE__*/ (0, L.createContext)(null), dy = class extends Tc {
+ }], [Rl, Fl]] }, h.children));
+}), Ote = /*#__PURE__*/ (0, L.createContext)(null), py = class extends kc {
static {
this.type = "tablebody";
}
-}, Ete = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, L.useContext)(Pl);
- return n ? /*#__PURE__*/ L.createElement(so.div, {
+}, kte = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, L.useContext)(Rl);
+ return n ? /*#__PURE__*/ L.createElement(fo.div, {
...e,
ref: t
- }) : /*#__PURE__*/ L.createElement(so.tbody, {
+ }) : /*#__PURE__*/ L.createElement(fo.tbody, {
...e,
ref: t
});
-}), fy = /*#__PURE__*/ Tl(dy, (e, t, n) => {
- let r = (0, L.useContext)(iy), { isVirtualized: i } = (0, L.useContext)(Pl), a = r.collection, { CollectionBranch: o } = (0, L.useContext)(Pl), { dragAndDropHooks: s, dropState: c } = (0, L.useContext)(vf), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), my = /*#__PURE__*/ kl(py, (e, t, n) => {
+ let r = (0, L.useContext)(ay), { isVirtualized: i } = (0, L.useContext)(Rl), a = r.collection, { CollectionBranch: o } = (0, L.useContext)(Rl), { dragAndDropHooks: s, dropState: c } = (0, L.useContext)(Sf), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = eo({
+ }, p = io({
...e,
id: void 0,
children: void 0,
@@ -24787,33 +24788,33 @@ var Cte = class extends wc {
}), m, h = a.columnCount;
if (d && e.renderEmptyState && r) {
let t = {}, n = {}, r = {};
- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ L.createElement(my, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ L.createElement(gy, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ L.createElement(gy, {
+ }, /*#__PURE__*/ L.createElement(vy, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = ey(), _ = Hl(e, { global: !0 });
- return /*#__PURE__*/ L.createElement(Ete, {
+ let { rowGroupProps: g } = iy(), _ = Kl(e, { global: !0 });
+ return /*#__PURE__*/ L.createElement(kte, {
...q(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ L.createElement(Pte, null), /*#__PURE__*/ L.createElement(o, {
+ }, l && /*#__PURE__*/ L.createElement(Lte, null), /*#__PURE__*/ L.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: xf(s, c)
+ renderDropIndicator: Tf(s, c)
}), m);
});
-(class extends Tc {
+(class extends kc {
static {
this.type = "tablefooter";
}
});
-var py = /*#__PURE__*/ (0, L.createContext)({ isFocusVisibleWithinRow: !1 }), Dte = class extends wc {
+var hy = /*#__PURE__*/ (0, L.createContext)({ isFocusVisibleWithinRow: !1 }), Ate = class extends Oc {
static {
this.type = "item";
}
@@ -24825,31 +24826,31 @@ var py = /*#__PURE__*/ (0, L.createContext)({ isFocusVisibleWithinRow: !1 }), Dt
}
return null;
}
-}, my = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, L.useContext)(Pl);
- return n ? /*#__PURE__*/ L.createElement(so.div, {
+}, gy = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, L.useContext)(Rl);
+ return n ? /*#__PURE__*/ L.createElement(fo.div, {
...e,
ref: t
- }) : /*#__PURE__*/ L.createElement(so.tr, {
+ }) : /*#__PURE__*/ L.createElement(fo.tr, {
...e,
ref: t
});
-}), hy = /*#__PURE__*/ Tl(Dte, (e, t, n) => {
- let r = Za(t), i = (0, L.useContext)(iy), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, L.useContext)(vf), { isVirtualized: c, CollectionBranch: l } = (0, L.useContext)(Pl), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = mte({
+}), _y = /*#__PURE__*/ kl(Ate, (e, t, n) => {
+ let r = to(t), i = (0, L.useContext)(ay), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, L.useContext)(Sf), { isVirtualized: c, CollectionBranch: l } = (0, L.useContext)(Rl), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = dte({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = pu(), { isFocusVisible: _, focusProps: v } = pu({ within: !0 }), { hoverProps: y, isHovered: b } = yu({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = _u(), { isFocusVisible: _, focusProps: v } = _u({ within: !0 }), { hoverProps: y, isHovered: b } = Cu({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = Zv({ key: n.key }, i), S;
+ }), { checkboxProps: x } = hte({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let C, w = (0, L.useRef)(null), { visuallyHiddenProps: T } = Yu();
+ let C, w = (0, L.useRef)(null), { visuallyHiddenProps: T } = $u();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -24859,7 +24860,7 @@ var py = /*#__PURE__*/ (0, L.createContext)({ isFocusVisibleWithinRow: !1 }), Dt
(0, L.useEffect)(() => {
o && E.current;
}, []);
- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = eo({
+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = io({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -24880,11 +24881,11 @@ var py = /*#__PURE__*/ (0, L.createContext)({ isFocusVisibleWithinRow: !1 }), Dt
isExpanded: j,
level: n.level + 1
}
- }), N = Hl(e, { global: !0 });
- return delete N.id, delete N.onClick, /*#__PURE__*/ L.createElement(L.Fragment, null, C && !C.isHidden && /*#__PURE__*/ L.createElement(my, {
+ }), N = Kl(e, { global: !0 });
+ return delete N.id, delete N.onClick, /*#__PURE__*/ L.createElement(L.Fragment, null, C && !C.isHidden && /*#__PURE__*/ L.createElement(gy, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ L.createElement(gy, {
+ }, /*#__PURE__*/ L.createElement(vy, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -24893,7 +24894,7 @@ var py = /*#__PURE__*/ (0, L.createContext)({ isFocusVisibleWithinRow: !1 }), Dt
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ L.createElement(my, {
+ }))), /*#__PURE__*/ L.createElement(gy, {
...q(N, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -24909,17 +24910,17 @@ var py = /*#__PURE__*/ (0, L.createContext)({ isFocusVisibleWithinRow: !1 }), Dt
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ L.createElement($a, { values: [
- [Cd, { slots: {
- [Qa]: {},
+ }, /*#__PURE__*/ L.createElement(ro, { values: [
+ [Dd, { slots: {
+ [no]: {},
selection: x
} }],
- [wd, { slots: {
- [Qa]: {},
+ [Od, { slots: {
+ [no]: {},
selection: x
} }],
- [Au, { slots: {
- [Qa]: {},
+ [Pu, { slots: {
+ [no]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -24927,8 +24928,8 @@ var py = /*#__PURE__*/ (0, L.createContext)({ isFocusVisibleWithinRow: !1 }), Dt
style: { pointerEvents: "none" }
}
} }],
- [Ef, { isSelected: p.isSelected }],
- [py, { isFocusVisibleWithinRow: _ }]
+ [Af, { isSelected: p.isSelected }],
+ [hy, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ L.createElement(l, {
collection: i.collection,
parent: n
@@ -24936,34 +24937,34 @@ var py = /*#__PURE__*/ (0, L.createContext)({ isFocusVisibleWithinRow: !1 }), Dt
}, (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__*/ L.createElement(Ol, {
+ return /*#__PURE__*/ L.createElement(Ml, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), Ote = class extends wc {
+}), jte = class extends Oc {
static {
this.type = "cell";
}
-}, gy = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, L.useContext)(Pl);
- return n ? /*#__PURE__*/ L.createElement(so.div, {
+}, vy = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, L.useContext)(Rl);
+ return n ? /*#__PURE__*/ L.createElement(fo.div, {
...e,
ref: t
- }) : /*#__PURE__*/ L.createElement(so.td, {
+ }) : /*#__PURE__*/ L.createElement(fo.td, {
...e,
ref: t
});
-}), _y = /*#__PURE__*/ wl(Ote, (e, t, n) => {
- let r = Za(t), i = (0, L.useContext)(iy), { dragState: a } = (0, L.useContext)(vf), { isVirtualized: o } = (0, L.useContext)(Pl);
+}), yy = /*#__PURE__*/ Ol(jte, (e, t, n) => {
+ let r = to(t), i = (0, L.useContext)(ay), { dragState: a } = (0, L.useContext)(Sf), { isVirtualized: o } = (0, L.useContext)(Rl);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = gte({
+ let { gridCellProps: s, isPressed: c } = pte({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = pu(), { hoverProps: f, isHovered: p } = yu({}), { isFocusVisibleWithinRow: m } = (0, L.useContext)(py), 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 = eo({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = _u(), { hoverProps: f, isHovered: p } = Cu({}), { isFocusVisibleWithinRow: m } = (0, L.useContext)(hy), 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 = io({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -24982,8 +24983,8 @@ var py = /*#__PURE__*/ (0, L.createContext)({ isFocusVisibleWithinRow: !1 }), Dt
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = Hl(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ L.createElement(gy, {
+ }), S = Kl(e, { global: !0 });
+ return delete S.id, /*#__PURE__*/ L.createElement(vy, {
...q(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -24997,14 +24998,14 @@ var py = /*#__PURE__*/ (0, L.createContext)({ isFocusVisibleWithinRow: !1 }), Dt
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ L.createElement(Pl.Provider, { value: jl }, x.children));
+ }, /*#__PURE__*/ L.createElement(Rl.Provider, { value: Fl }, x.children));
});
-function kte(e, t) {
- t = Za(t);
- let { dragAndDropHooks: n, dropState: r } = (0, L.useContext)(vf), i = (0, L.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+function Mte(e, t) {
+ t = to(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, L.useContext)(Sf), i = (0, L.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
- return /*#__PURE__*/ L.createElement(Nte, {
+ return /*#__PURE__*/ L.createElement(Ite, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -25013,40 +25014,40 @@ function kte(e, t) {
ref: t
});
}
-var Ate = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, L.useContext)(Pl);
- return n ? /*#__PURE__*/ L.createElement(so.div, {
+var Nte = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, L.useContext)(Rl);
+ return n ? /*#__PURE__*/ L.createElement(fo.div, {
...e,
ref: t
- }) : /*#__PURE__*/ L.createElement(so.tr, {
+ }) : /*#__PURE__*/ L.createElement(fo.tr, {
...e,
ref: t
});
-}), jte = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, L.useContext)(Pl);
- return n ? /*#__PURE__*/ L.createElement(so.div, {
+}), Pte = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, L.useContext)(Rl);
+ return n ? /*#__PURE__*/ L.createElement(fo.div, {
...e,
ref: t
- }) : /*#__PURE__*/ L.createElement(so.td, {
+ }) : /*#__PURE__*/ L.createElement(fo.td, {
...e,
ref: t
});
});
-function Mte(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, L.useContext)(iy), { visuallyHiddenProps: c } = Yu(), l = eo({
+function Fte(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, L.useContext)(ay), { visuallyHiddenProps: c } = $u(), l = io({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ L.createElement(Ate, {
- ...Hl(e, { global: !0 }),
+ return /*#__PURE__*/ L.createElement(Nte, {
+ ...Kl(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ L.createElement(jte, {
+ }, /*#__PURE__*/ L.createElement(Pte, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -25057,14 +25058,14 @@ function Mte(e, t) {
ref: i
}), l.children));
}
-var Nte = /*#__PURE__*/ (0, L.forwardRef)(Mte);
-function Pte() {
- let e = (0, L.useContext)(iy), { dragAndDropHooks: t, dropState: n } = (0, L.useContext)(vf), r = (0, L.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Yu();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ L.createElement(my, {
+var Ite = /*#__PURE__*/ (0, L.forwardRef)(Fte);
+function Lte() {
+ let e = (0, L.useContext)(ay), { dragAndDropHooks: t, dropState: n } = (0, L.useContext)(Sf), r = (0, L.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = $u();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ L.createElement(gy, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ L.createElement(gy, {
+ }, /*#__PURE__*/ L.createElement(vy, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -25075,9 +25076,9 @@ function Pte() {
ref: r
})));
}
-wl(Ec, function(e, t, n) {
- let r = (0, L.useContext)(iy), { isVirtualized: i } = (0, L.useContext)(Pl), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, L.useRef)(null);
- em((0, L.useMemo)(() => ({
+Ol(Ac, function(e, t, n) {
+ let r = (0, L.useContext)(ay), { isVirtualized: i } = (0, L.useContext)(Rl), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, L.useRef)(null);
+ im((0, L.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -25087,7 +25088,7 @@ wl(Ec, function(e, t, n) {
s,
r?.collection
]), u);
- let d = eo({
+ let d = io({
...c,
id: void 0,
children: n.rendered,
@@ -25095,10 +25096,10 @@ wl(Ec, function(e, t, n) {
defaultStyle: { "--table-row-level": n.level + 1 },
values: void 0
}), f = {}, p = {}, m = {};
- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(my, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(gy, {
style: { height: 0 },
- inert: zp(!0)
- }, /*#__PURE__*/ L.createElement(gy, { style: {
+ inert: Up(!0)
+ }, /*#__PURE__*/ L.createElement(vy, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ L.createElement("div", {
@@ -25109,14 +25110,14 @@ wl(Ec, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ L.createElement(my, {
- ...q(Hl(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ L.createElement(gy, {
+ ...q(Kl(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ L.createElement(gy, {
+ }, /*#__PURE__*/ L.createElement(vy, {
role: "rowheader",
...p,
style: m
@@ -25124,23 +25125,23 @@ wl(Ec, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var vy = /* @__PURE__ */ new WeakMap();
-function yy(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${vy.get(e)}-${n}-${t}`) : "";
+var by = /* @__PURE__ */ new WeakMap();
+function xy(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${by.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function Fte(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 } = Ep({
+function Rte(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 } = Ap({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = yy(t, r, "tab"), m = yy(t, r, "tabpanel"), { tabIndex: h } = d, g = Hl(u?.props, { labelable: !0 });
+ }), p = xy(t, r, "tab"), m = xy(t, r, "tabpanel"), { tabIndex: h } = d, g = Kl(u?.props, { labelable: !0 });
delete g.id;
- let _ = gs(u?.props), { focusableProps: v } = ol({
+ let _ = bs(u?.props), { focusableProps: v } = ul({
...u?.props,
isDisabled: l
}, n);
@@ -25160,12 +25161,12 @@ function Fte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Ite(e, t, n) {
- let r = I_(n) ? void 0 : 0, i = yy(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: q(Js({
+function zte(e, t, n) {
+ let r = H_(n) ? void 0 : 0, i = xy(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: q(Qs({
...e,
id: i,
- "aria-labelledby": yy(t, t?.selectedKey, "tab")
+ "aria-labelledby": xy(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -25175,7 +25176,7 @@ function Ite(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Lte = class {
+var Bte = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -25219,11 +25220,11 @@ var Lte = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Rte(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = ac(), { collectionProps: l } = _p({
+function Vte(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = lc(), { collectionProps: l } = xp({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, L.useMemo)(() => new Lte(a, c, r, s), [
+ keyboardDelegate: (0, L.useMemo)(() => new Bte(a, c, r, s), [
a,
s,
r,
@@ -25233,9 +25234,9 @@ function Rte(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = Wa();
- return vy.set(t, u), { tabListProps: {
- ...q(l, Js({
+ }), u = Ja();
+ return by.set(t, u), { tabListProps: {
+ ...q(l, Qs({
...e,
id: u
})),
@@ -25246,8 +25247,8 @@ function Rte(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function zte(e) {
- let [t, n] = xc(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, L.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = Zp({
+function Hte(e) {
+ let [t, n] = Tc(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, L.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = tm({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -25270,24 +25271,24 @@ function zte(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function Bte(e) {
- let t = zte({
+function Ute(e) {
+ let t = Hte({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? by(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? Sy(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, L.useRef)(i);
return (0, L.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = by(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = Sy(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
}), {
...t,
isDisabled: e.isDisabled || !1
};
}
-function by(e, t) {
+function Sy(e, t) {
let n = null;
if (e) {
for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);
@@ -25297,24 +25298,24 @@ function by(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var xy = /*#__PURE__*/ (0, L.createContext)(null), Sy = /*#__PURE__*/ (0, L.createContext)(null), Cy = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- [e, t] = no(e, t, xy);
+var Cy = /*#__PURE__*/ (0, L.createContext)(null), wy = /*#__PURE__*/ (0, L.createContext)(null), Ty = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ [e, t] = oo(e, t, Cy);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, L.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ L.createElement(gl, { content: n }, (n) => /*#__PURE__*/ L.createElement(Vte, {
+ }) : n, [n, r]), /*#__PURE__*/ L.createElement(bl, { content: n }, (n) => /*#__PURE__*/ L.createElement(Wte, {
props: e,
collection: n,
tabsRef: t
}));
});
-function Vte({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = Bte({
+function Wte({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = Ute({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = pu({ within: !0 }), c = (0, L.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = _u({ within: !0 }), c = (0, L.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -25322,12 +25323,12 @@ function Vte({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = eo({
+ ]), l = io({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = Hl(e, { global: !0 });
- return /*#__PURE__*/ L.createElement(so.div, {
+ }), u = Kl(e, { global: !0 });
+ return /*#__PURE__*/ L.createElement(fo.div, {
...q(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -25335,20 +25336,20 @@ function Vte({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ L.createElement($a, { values: [[xy, e], [Sy, i]] }, l.children));
+ }, /*#__PURE__*/ L.createElement(ro, { values: [[Cy, e], [wy, i]] }, l.children));
}
-var wy = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- return (0, L.useContext)(Sy) ? /*#__PURE__*/ L.createElement(Hte, {
+var Ey = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
+ return (0, L.useContext)(wy) ? /*#__PURE__*/ L.createElement(Gte, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ L.createElement(Ol, e);
+ }) : /*#__PURE__*/ L.createElement(Ml, e);
});
-function Hte({ props: e, forwardedRef: t }) {
- let n = (0, L.useContext)(Sy), { CollectionRoot: r } = (0, L.useContext)(Pl), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = to(xy), o = Za(t), { tabListProps: s } = Rte({
+function Gte({ props: e, forwardedRef: t }) {
+ let n = (0, L.useContext)(wy), { CollectionRoot: r } = (0, L.useContext)(Rl), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = ao(Cy), o = to(t), { tabListProps: s } = Vte({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = eo({
+ }, n, o), c = io({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -25356,30 +25357,30 @@ function Hte({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = Hl(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ L.createElement(so.div, {
+ }), l = Kl(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ L.createElement(fo.div, {
...q(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ L.createElement(Tf, null, /*#__PURE__*/ L.createElement(r, {
+ }, /*#__PURE__*/ L.createElement(kf, null, /*#__PURE__*/ L.createElement(r, {
collection: n.collection,
- persistedKeys: Fl(n.selectionManager.focusedKey)
+ persistedKeys: zl(n.selectionManager.focusedKey)
})));
}
-var Ty = /*#__PURE__*/ wl(class extends wc {
+var Dy = /*#__PURE__*/ Ol(class extends Oc {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, L.useContext)(Sy), i = Za(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Fte({
+ let r = (0, L.useContext)(wy), i = to(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Rte({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = pu(), { hoverProps: f, isHovered: p } = yu({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = _u(), { hoverProps: f, isHovered: p } = Cu({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = eo({
+ }), m = io({
...e,
id: void 0,
children: n.rendered,
@@ -25392,7 +25393,7 @@ var Ty = /*#__PURE__*/ wl(class extends wc {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? so.a : so.div, g = Hl(e, { global: !0 });
+ }), h = n.props.href ? fo.a : fo.div, g = Kl(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ L.createElement(h, {
...q(g, m, a, l, f),
ref: i,
@@ -25402,58 +25403,58 @@ var Ty = /*#__PURE__*/ wl(class extends wc {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ L.createElement(Ef.Provider, { value: { isSelected: o } }, m.children));
-}), Ey = /*#__PURE__*/ ll(function(e, t) {
- let n = (0, L.useContext)(Sy), r = Za(t), i = n.selectedKey === e.id, [a, o] = (0, L.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ L.createElement(Af.Provider, { value: { isSelected: o } }, m.children));
+}), Oy = /*#__PURE__*/ pl(function(e, t) {
+ let n = (0, L.useContext)(wy), r = to(t), i = n.selectedKey === e.id, [a, o] = (0, L.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = eg(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ L.createElement(Ute, {
+ let s = ig(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ L.createElement(Kte, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function Ute(e) {
- let t = (0, L.useContext)(Sy), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Ite(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = pu(), d = t.selectedKey === e.id, f = $h(r) && !i, p = eo({
+function Kte(e) {
+ let t = (0, L.useContext)(wy), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = zte(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = _u(), d = t.selectedKey === e.id, f = rg(r) && !i, p = io({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: zp(!d),
+ isInert: Up(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = Hl(o, { global: !0 });
+ }), m = Kl(o, { global: !0 });
delete m.id;
let h = d ? q(m, s, c, p) : q(m, p);
- return /*#__PURE__*/ L.createElement(so.div, {
+ return /*#__PURE__*/ L.createElement(fo.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: zp(!d || e.inert),
+ inert: Up(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ L.createElement($a, { values: [[xy, null], [Sy, null]] }, /*#__PURE__*/ L.createElement(Pl.Provider, { value: jl }, p.children)));
+ }, /*#__PURE__*/ L.createElement(ro, { values: [[Cy, null], [wy, null]] }, /*#__PURE__*/ L.createElement(Rl.Provider, { value: Fl }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var Wte = /*#__PURE__*/ (0, L.createContext)({}), Gte = /*#__PURE__*/ (0, L.createContext)(null), Kte = /*#__PURE__*/ ll(function(e, t) {
- [e, t] = no(e, t, Gte);
- let { validationBehavior: n } = to(ld) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, L.useRef)(null);
- [e, i] = no(e, i, Cc);
- let [a, o] = ro(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, L.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Fd({
- ...io(e),
+var qte = /*#__PURE__*/ (0, L.createContext)({}), Jte = /*#__PURE__*/ (0, L.createContext)(null), Yte = /*#__PURE__*/ pl(function(e, t) {
+ [e, t] = oo(e, t, Jte);
+ let { validationBehavior: n } = ao(pd) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, L.useRef)(null);
+ [e, i] = oo(e, i, Dc);
+ let [a, o] = so(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, L.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = zd({
+ ...co(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, L.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = eo({
+ }, [i]), h = io({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -25462,8 +25463,8 @@ var Wte = /*#__PURE__*/ (0, L.createContext)({}), Gte = /*#__PURE__*/ (0, L.crea
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = Hl(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ L.createElement(so.div, {
+ }), g = Kl(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ L.createElement(fo.div, {
...g,
...h,
ref: t,
@@ -25472,38 +25473,38 @@ var Wte = /*#__PURE__*/ (0, L.createContext)({}), Gte = /*#__PURE__*/ (0, L.crea
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ L.createElement($a, { values: [
- [bu, {
+ }, /*#__PURE__*/ L.createElement(ro, { values: [
+ [wu, {
...l,
ref: a
}],
- [Md, {
+ [Id, {
...u,
ref: m
}],
- [Wte, {
+ [qte, {
...u,
ref: m
}],
- [Ad, {
+ [Pd, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [Iu, { slots: {
+ [Bu, { slots: {
description: d,
errorMessage: f
} }],
- [Zu, p]
+ [td, p]
] }, h.children));
});
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function qte({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, R.jsxs)(xu, {
+function Xte({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, R.jsxs)(Tu, {
"data-label": "true",
...a,
- className: ta("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: aa("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, R.jsx)("span", {
@@ -25511,7 +25512,7 @@ function qte({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, R.jsx)(Dt, {
+ n && /* @__PURE__ */ (0, R.jsx)(jt, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -25520,33 +25521,33 @@ function qte({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function Jte({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, R.jsx)(Lu, {
+function Zte({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, R.jsx)(Vu, {
slot: e ? "errorMessage" : "description",
...n,
- className: ta("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: aa("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var Dy = (0, L.createContext)({});
-function Oy({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, R.jsx)(Dy.Provider, {
+var ky = (0, L.createContext)({});
+function Ay({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, R.jsx)(ky.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, R.jsx)(Kte, {
+ children: /* @__PURE__ */ (0, R.jsx)(Yte, {
...a,
"data-input-size": e,
- className: ta("group flex h-max w-full flex-col items-start gap-1", r),
+ className: aa("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-Oy.displayName = "TextField";
-var ky = na({
+Ay.displayName = "TextField";
+var jy = oa({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -25575,44 +25576,44 @@ var ky = na({
].join(" "),
icon: "size-5 shrink-0"
});
-function Ay({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, L.useContext)(Dy), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, R.jsx)(jd, {
+function My({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, L.useContext)(ky), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, R.jsx)(Fd, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => ta(ky.field, d ? ky.fieldWithAddonSize[u] : ky.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 }) => aa(jy.field, d ? jy.fieldWithAddonSize[u] : jy.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, R.jsxs)("div", {
- className: ky.content,
+ className: jy.content,
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
- className: ky.leftSection,
+ className: jy.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, R.jsx)(t, {
- className: ky.icon,
+ className: jy.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, R.jsx)(Pd, {
+ }) : null, /* @__PURE__ */ (0, R.jsx)(Rd, {
ref: o,
...c,
- className: ta(ky.input, l.inputClassName, a)
+ className: aa(jy.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, R.jsx)(n, {
- className: ky.icon,
+ className: jy.icon,
"aria-hidden": !0
}) : null]
})
});
}
-Ay.displayName = "InputBase";
-function jy({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
- return /* @__PURE__ */ (0, R.jsx)(Oy, {
+My.displayName = "InputBase";
+function Ny({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
+ return /* @__PURE__ */ (0, R.jsx)(Ay, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
- e && /* @__PURE__ */ (0, R.jsx)(qte, {
+ e && /* @__PURE__ */ (0, R.jsx)(Xte, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, R.jsx)(Ay, {
+ /* @__PURE__ */ (0, R.jsx)(My, {
ref: c,
groupRef: l,
placeholder: r,
@@ -25621,17 +25622,17 @@ function jy({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, R.jsx)(Jte, {
+ t && /* @__PURE__ */ (0, R.jsx)(Zte, {
isInvalid: d,
children: t
})
] })
});
}
-jy.displayName = "Input";
+Ny.displayName = "Input";
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var My = [
+var Py = [
"max-w-[calc(100vw-32px)] overflow-y-auto",
"rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",
"transition duration-150 ease-out",
@@ -25639,10 +25640,10 @@ var My = [
"data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",
"data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",
"data-[placement=left]:origin-right data-[placement=right]:origin-left"
-].join(" "), Yte = "w-[266px]", Xte = "flex w-full flex-col gap-1 outline-none", Ny = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), Py = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), Fy = "w-[266px]", Iy = "flex w-full flex-col gap-1 outline-none", Ly = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), Ry = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function Zte(e) {
+function zy(e) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -25656,7 +25657,7 @@ function Zte(e) {
})
});
}
-function Qte(e) {
+function By(e) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -25670,7 +25671,7 @@ function Qte(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function $te(e, t, n) {
+function Vy(e, t, n) {
(0, L.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -25684,7 +25685,7 @@ function $te(e, t, n) {
n
]);
}
-function ene(e, t) {
+function Hy(e, t) {
let n = (0, L.useRef)(!1);
return (0, L.useEffect)(() => {
if (!e) return;
@@ -25698,33 +25699,33 @@ function ene(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var Fy = (0, L.createContext)("md");
-function Iy({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var Uy = (0, L.createContext)("md");
+function Wy({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, L.useRef)(null), u = (0, L.useRef)(null), [d, f] = (0, L.useState)(!1);
- $te(d, () => f(!1), [l, u]);
- let p = ene(d, l);
- return /* @__PURE__ */ (0, R.jsx)(Wee, {
+ Vy(d, () => f(!1), [l, u]);
+ let p = Hy(d, l);
+ return /* @__PURE__ */ (0, R.jsx)(Uee, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: ta("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)(ju, {
+ className: aa("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)(Fu, {
ref: l,
- className: ta("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, R.jsx)(qee, {
- className: ta("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: aa("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, R.jsx)(Kee, {
+ className: aa("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, R.jsx)(Zte, { className: ta("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, R.jsx)(ig, {
+ }), /* @__PURE__ */ (0, R.jsx)(zy, { className: aa("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, R.jsx)(cg, {
ref: u,
isNonModal: !0,
offset: 4,
- className: ta(Yte, My, "p-2", n),
- children: /* @__PURE__ */ (0, R.jsx)(rm, {
+ className: aa(Fy, Py, "p-2", n),
+ children: /* @__PURE__ */ (0, R.jsx)(sm, {
items: a,
- className: ta(Xte, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, R.jsx)(Fy.Provider, {
+ className: aa(Iy, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, R.jsx)(Uy.Provider, {
value: r,
children: i
})
@@ -25732,31 +25733,31 @@ function Iy({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function Ly({ className: e, children: t, ...n }) {
- let r = (0, L.useContext)(Fy);
- return /* @__PURE__ */ (0, R.jsx)(sm, {
+function Gy({ className: e, children: t, ...n }) {
+ let r = (0, L.useContext)(Uy);
+ return /* @__PURE__ */ (0, R.jsx)(dm, {
...n,
- className: (t) => ta(Ny, 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) => aa(Ly, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
children: t
});
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function Ry({ className: e, children: t }) {
+function Ky({ className: e, children: t }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
- className: ta("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: aa("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function zy({ className: e, children: t }) {
+function qy({ className: e, children: t }) {
return /* @__PURE__ */ (0, R.jsx)("p", {
- className: ta("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: aa("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function By({ label: e, description: t, children: n }) {
+function Jy({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: ta("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: aa("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, R.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, R.jsx)("p", {
@@ -25771,7 +25772,7 @@ function By({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var Vy = na({
+var Yy = oa({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -25795,15 +25796,15 @@ var Vy = na({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function Hy({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = ta(Vy.base, Vy.size[t], Vy.variant[e], a), l = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
+function Xy({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = aa(Yy.base, Yy.size[t], Yy.variant[e], a), l = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
n ? /* @__PURE__ */ (0, R.jsx)(n, {
- className: Vy.icon[t],
+ className: Yy.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, R.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, R.jsx)(r, {
- className: Vy.icon[t],
+ className: Yy.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -25830,14 +25831,14 @@ function Hy({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/settings/section.tsx
-function Uy({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
+function Zy({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
let a = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [n ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, R.jsx)(zy, { children: e })
+ children: /* @__PURE__ */ (0, R.jsx)(qy, { children: e })
}), n]
- }) : /* @__PURE__ */ (0, R.jsx)(zy, { children: e }), /* @__PURE__ */ (0, R.jsx)(Ry, { children: i })] });
+ }) : /* @__PURE__ */ (0, R.jsx)(qy, { children: e }), /* @__PURE__ */ (0, R.jsx)(Ky, { children: i })] });
return r ? /* @__PURE__ */ (0, R.jsx)("form", {
id: t,
"aria-label": e,
@@ -25852,13 +25853,13 @@ function Uy({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
children: a
});
}
-function Wy({ children: e }) {
+function Qy({ children: e }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function Gy({ divided: e = !1, children: t }) {
+function $y({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -25867,7 +25868,7 @@ function Gy({ divided: e = !1, children: t }) {
children: t
});
}
-function Ky({ status: e, children: t }) {
+function eb({ status: e, children: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3",
children: [e ? /* @__PURE__ */ (0, R.jsx)("div", {
@@ -25876,34 +25877,34 @@ function Ky({ status: e, children: t }) {
}) : null, t]
});
}
-function qy({ role: e, children: t }) {
+function tb({ role: e, children: t }) {
return /* @__PURE__ */ (0, R.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function Jy({ children: e }) {
+function nb({ children: e }) {
return /* @__PURE__ */ (0, R.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function Yy({ children: e }) {
+function rb({ children: e }) {
return /* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function Xy({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, R.jsx)(Hy, {
+function ib({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, R.jsx)(Xy, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: bt,
+ trailingIcon: wt,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, R.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -25911,13 +25912,13 @@ function Xy({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function Zy({ children: e }) {
+function ab({ children: e }) {
return /* @__PURE__ */ (0, R.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function Qy({ term: e, children: t }) {
+function ob({ term: e, children: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
children: [/* @__PURE__ */ (0, R.jsx)("dt", {
@@ -25929,7 +25930,7 @@ function Qy({ term: e, children: t }) {
})]
});
}
-function $y({ summary: e, defaultOpen: t = !1, children: n }) {
+function sb({ summary: e, defaultOpen: t = !1, children: n }) {
let r = (0, L.useId)(), i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(!1), [s, c] = (0, L.useState)(t);
return /* @__PURE__ */ (0, R.jsxs)("details", {
ref: (e) => {
@@ -25942,7 +25943,7 @@ function $y({ summary: e, defaultOpen: t = !1, children: n }) {
e.preventDefault(), !(!i.current || !a.current) && (re(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, R.jsx)(ut, {
+ children: [/* @__PURE__ */ (0, R.jsx)(mt, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -25957,7 +25958,7 @@ function $y({ summary: e, defaultOpen: t = !1, children: n }) {
})]
});
}
-function tne({ name: e }) {
+function Qte({ name: e }) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -25966,28 +25967,28 @@ function tne({ name: e }) {
children: /* @__PURE__ */ (0, R.jsx)("use", { href: `#i-${e}` })
});
}
-function eb({ mark: e }) {
+function cb({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, R.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, R.jsx)(tne, { name: e });
+ }) : /* @__PURE__ */ (0, R.jsx)(Qte, { name: e });
}
//#endregion
//#region src/react/query.ts
-var Y = new ar({ defaultOptions: { queries: {
+var Y = new lr({ defaultOptions: { queries: {
networkMode: "always",
retry: 0,
refetchOnWindowFocus: !1,
refetchOnMount: !1,
retryOnMount: !1
-} } }), tb = "/api/tasks", nb = ["tasks"], nne = (e, t) => U(`${tb}?${new URLSearchParams({
+} } }), lb = "/api/tasks", ub = ["tasks"], $te = (e, t) => U(`${lb}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function rb(...e) {
+function db(...e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);
return [...t.values()].sort((e, t) => {
@@ -25995,26 +25996,26 @@ function rb(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var rne = 2e3, ine = 1e4, ane = (e) => e?.running.length ? rne : ine, ib = (e) => U(tb, e);
-async function one(e) {
+var ene = 2e3, tne = 1e4, nne = (e) => e?.running.length ? ene : tne, fb = (e) => U(lb, e);
+async function rne(e) {
await Y.fetchQuery({
- queryKey: nb,
- queryFn: () => ib(e)
+ queryKey: ub,
+ queryFn: () => fb(e)
});
}
-var ab = {
+var pb = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, sne = {
+}, ine = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, cne = (e) => sne[e] || e, lne = {
+}, ane = (e) => ine[e] || e, one = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -26044,7 +26045,7 @@ var ab = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function une(e) {
+function sne(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -26053,7 +26054,7 @@ function une(e) {
}
return t;
}
-function dne(e, t) {
+function cne(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -26075,19 +26076,19 @@ function dne(e, t) {
}
return n;
}
-var fne = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), ob = (e) => e.status === "pending" || e.status === "running";
-function pne(e) {
+var lne = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), mb = (e) => e.status === "pending" || e.status === "running";
+function une(e) {
let t = `${e.task_label}:`, n = e.progress_label || "", r = n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n, i = e.progress_total || 0;
- return [r, e.error || lb(e.result_summary) || (ob(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
+ return [r, e.error || _b(e.result_summary) || (mb(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
}
-function sb(e) {
+function hb(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
let n = Math.floor(t / 60);
return n < 60 ? `${n} 分 ${t % 60} 秒` : `${Math.floor(n / 60)} 小时 ${n % 60} 分`;
}
-function cb(e) {
+function gb(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -26097,7 +26098,7 @@ function cb(e) {
minute: "2-digit"
});
}
-var mne = /* @__PURE__ */ new Set([
+var dne = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -26106,28 +26107,28 @@ var mne = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function lb(e) {
- return Object.entries(e || {}).filter(([e, t]) => !mne.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${lne[e] || e} ${t}`).join(" · ");
+function _b(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !dne.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${one[e] || e} ${t}`).join(" · ");
}
//#endregion
//#region src/react/activity/downloads-panel.tsx
-var ub = "/api/downloads", db = ["downloads"], hne = "/api/downloads/cancel", gne = (e) => e?.tasks.some((e) => e.cancellable) ? 5e3 : 3e4, _ne = {
+var vb = "/api/downloads", yb = ["downloads"], fne = "/api/downloads/cancel", pne = (e) => e?.tasks.some((e) => e.cancellable) ? 5e3 : 3e4, mne = {
ingested: "lime",
failed: "rose",
cancelled: "yellow",
stalled: "yellow"
-}, vne = {
+}, hne = {
submitted: "已提交,远端开始下载后这里会显示进度。",
adopted: "这个磁力已经有任务了,接着跟进那一条,没有重复提交。",
adopted_remote: "远端已经有同一个任务,已接管,没有再扣配额。",
refused: "这个资源被判为违规,不再提交。",
failed: "提交没有成功。"
-}, yne = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, fb = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
-function bne({ prefill: e }) {
- let t = vr({
- queryKey: db,
- queryFn: ({ signal: e }) => U(`${ub}?limit=50`, e),
- refetchInterval: (e) => gne(e.state.data)
+}, gne = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, bb = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
+function _ne({ prefill: e }) {
+ let t = Sr({
+ queryKey: yb,
+ queryFn: ({ signal: e }) => U(`${vb}?limit=50`, e),
+ refetchInterval: (e) => pne(e.state.data)
}), n = t.data;
if (!n) return t.error ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
@@ -26139,7 +26140,7 @@ function bne({ prefill: e }) {
tone: "error",
children: H(t.error)
}) : null,
- n.available ? r.length ? /* @__PURE__ */ (0, R.jsx)(xne, {
+ n.available ? r.length ? /* @__PURE__ */ (0, R.jsx)(vne, {
snapshot: n,
prefill: e
}) : /* @__PURE__ */ (0, R.jsx)(G, {
@@ -26152,15 +26153,15 @@ function bne({ prefill: e }) {
n.tasks.length ? /* @__PURE__ */ (0, R.jsx)("ul", {
"aria-live": "polite",
className: "flex min-w-0 flex-col gap-3",
- children: n.tasks.map((e) => /* @__PURE__ */ (0, R.jsx)(Cne, {
+ children: n.tasks.map((e) => /* @__PURE__ */ (0, R.jsx)(bne, {
task: e,
writable: n.available
}, e.id))
}) : null
] });
}
-function xne({ snapshot: e, prefill: t }) {
- let n = Kt(), r = e.providers.filter((e) => e.configured), [i, a] = (0, L.useState)(r[0].key), [o, s] = (0, L.useState)(""), [c, l] = (0, L.useState)(t?.code ?? ""), [u, d] = (0, L.useState)(r[0].target), [f, p] = (0, L.useState)(null), m = wa(), h = (0, L.useRef)(null);
+function vne({ snapshot: e, prefill: t }) {
+ let n = Xt(), r = e.providers.filter((e) => e.configured), [i, a] = (0, L.useState)(r[0].key), [o, s] = (0, L.useState)(""), [c, l] = (0, L.useState)(t?.code ?? ""), [u, d] = (0, L.useState)(r[0].target), [f, p] = (0, L.useState)(null), m = Oa(), h = (0, L.useRef)(null);
(0, L.useEffect)(() => {
t && h.current?.focus();
}, [t]);
@@ -26180,14 +26181,14 @@ function xne({ snapshot: e, prefill: t }) {
title: t?.title,
origin: t?.origin
};
- p(null), m.run("submit", (e) => W(ub, r, "POST", e), (e) => {
- p(e), e.ok && s(""), n.invalidateQueries({ queryKey: db });
+ p(null), m.run("submit", (e) => W(vb, r, "POST", e), (e) => {
+ p(e), e.ok && s(""), n.invalidateQueries({ queryKey: yb });
});
},
- children: /* @__PURE__ */ (0, R.jsxs)(Ry, { children: [
- /* @__PURE__ */ (0, R.jsxs)(Gy, { children: [
- t?.title ? /* @__PURE__ */ (0, R.jsx)(qy, { children: `给「${t.title}」找来的资源,下载完由推送发现登记入库。` }) : null,
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ children: /* @__PURE__ */ (0, R.jsxs)(Ky, { children: [
+ /* @__PURE__ */ (0, R.jsxs)($y, { children: [
+ t?.title ? /* @__PURE__ */ (0, R.jsx)(tb, { children: `给「${t.title}」找来的资源,下载完由推送发现登记入库。` }) : null,
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
ref: h,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -26198,19 +26199,19 @@ function xne({ snapshot: e, prefill: t }) {
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, R.jsx)(Yy, { children: "下载到" }), /* @__PURE__ */ (0, R.jsx)(Iy, {
+ children: [/* @__PURE__ */ (0, R.jsx)(rb, { children: "下载到" }), /* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": "下载到",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && _(String(e));
},
- children: r.map((e) => /* @__PURE__ */ (0, R.jsx)(Ly, {
+ children: r.map((e) => /* @__PURE__ */ (0, R.jsx)(Gy, {
id: e.key,
children: e.label
}, e.key))
})]
}),
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
label: "目标目录",
placeholder: g.target || "/云下载",
autoComplete: "off",
@@ -26219,7 +26220,7 @@ function xne({ snapshot: e, prefill: t }) {
value: u,
onChange: d
}),
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
@@ -26228,15 +26229,15 @@ function xne({ snapshot: e, prefill: t }) {
onChange: l
})
] }),
- f ? /* @__PURE__ */ (0, R.jsx)(Gy, {
+ f ? /* @__PURE__ */ (0, R.jsx)($y, {
divided: !0,
- children: /* @__PURE__ */ (0, R.jsx)(Sne, { result: f })
+ children: /* @__PURE__ */ (0, R.jsx)(yne, { result: f })
}) : null,
- m.error ? /* @__PURE__ */ (0, R.jsx)(Gy, {
+ m.error ? /* @__PURE__ */ (0, R.jsx)($y, {
divided: !0,
- children: /* @__PURE__ */ (0, R.jsx)(Jy, { children: m.error })
+ children: /* @__PURE__ */ (0, R.jsx)(nb, { children: m.error })
}) : null,
- /* @__PURE__ */ (0, R.jsx)(Ky, {
+ /* @__PURE__ */ (0, R.jsx)(eb, {
status: i === "115" ? "115 每提交一次扣一条离线配额,重新提交也算。" : void 0,
children: /* @__PURE__ */ (0, R.jsx)(V, {
type: "submit",
@@ -26248,23 +26249,23 @@ function xne({ snapshot: e, prefill: t }) {
] })
});
}
-function Sne({ result: e }) {
- let t = fb(e.task), n = vne[e.outcome];
- return e.outcome === "failed" ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: t ? `${n}${t}` : n }) : e.outcome === "refused" ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: n }) : /* @__PURE__ */ (0, R.jsx)(qy, {
+function yne({ result: e }) {
+ let t = bb(e.task), n = hne[e.outcome];
+ return e.outcome === "failed" ? /* @__PURE__ */ (0, R.jsx)(nb, { children: t ? `${n}${t}` : n }) : e.outcome === "refused" ? /* @__PURE__ */ (0, R.jsx)(nb, { children: n }) : /* @__PURE__ */ (0, R.jsx)(tb, {
role: "status",
children: n
});
}
-function Cne({ task: e, writable: t }) {
- let n = Kt(), r = wa(), [i, a] = (0, L.useState)(!1), o = fb(e), s = e.state === "failed", c = [
+function bne({ task: e, writable: t }) {
+ let n = Xt(), r = Oa(), [i, a] = (0, L.useState)(!1), o = bb(e), s = e.state === "failed", c = [
e.provider_label,
e.code,
e.target,
- cb(e.submitted_at)
+ gb(e.submitted_at)
].filter(Boolean).join(" · "), l = () => {
- n.invalidateQueries({ queryKey: db });
+ n.invalidateQueries({ queryKey: yb });
}, u = () => {
- r.run("cancel", (t) => W(hne, { id: e.id }, "POST", t), l);
+ r.run("cancel", (t) => W(fne, { id: e.id }, "POST", t), l);
}, d = () => {
let t = {
magnet: e.source_uri,
@@ -26274,14 +26275,14 @@ function Cne({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => W(ub, t, "POST", e), l);
+ r.run("resubmit", (e) => W(vb, t, "POST", e), l);
}, f = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
};
return /* @__PURE__ */ (0, R.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: ga({
+ className: ba({
padding: "none",
bordered: "line",
className: s ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -26293,9 +26294,9 @@ function Cne({ task: e, writable: t }) {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, R.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
- children: yne(e)
- }), /* @__PURE__ */ (0, R.jsx)(ia, {
- color: _ne[e.state] ?? "neutral",
+ children: gne(e)
+ }), /* @__PURE__ */ (0, R.jsx)(ca, {
+ color: mne[e.state] ?? "neutral",
children: e.state_label
})]
}),
@@ -26303,7 +26304,7 @@ function Cne({ task: e, writable: t }) {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: c
}),
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, R.jsx)(Ca, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, R.jsx)(Da, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -26312,7 +26313,7 @@ function Cne({ task: e, writable: t }) {
className: "min-w-0 break-all text-caption-1-regular text-text-secondary",
children: e.ledger_path
}) : null,
- r.error ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, R.jsx)(nb, { children: r.error }) : null,
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-2 pt-1",
children: [
@@ -26350,23 +26351,23 @@ function Cne({ task: e, writable: t }) {
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var wne = {
+var xne = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function pb({ status: e }) {
- return /* @__PURE__ */ (0, R.jsx)(ia, {
- color: wne[e] ?? "neutral",
- children: cne(e)
+function xb({ status: e }) {
+ return /* @__PURE__ */ (0, R.jsx)(ca, {
+ color: xne[e] ?? "neutral",
+ children: ane(e)
});
}
-function Tne({ rows: e }) {
+function Sne({ rows: e }) {
return /* @__PURE__ */ (0, R.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = pne(e);
+ let t = une(e);
return /* @__PURE__ */ (0, R.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -26376,7 +26377,7 @@ function Tne({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, R.jsx)(pb, { status: e.status }),
+ /* @__PURE__ */ (0, R.jsx)(xb, { status: e.status }),
t ? /* @__PURE__ */ (0, R.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
@@ -26386,12 +26387,12 @@ function Tne({ rows: e }) {
})
});
}
-function mb({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function Sb({ run: e, meta: t, children: n, footer: r, followups: i }) {
return /* @__PURE__ */ (0, R.jsxs)("li", {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: ga({
+ className: ba({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -26405,7 +26406,7 @@ function mb({ run: e, meta: t, children: n, footer: r, followups: i }) {
children: [/* @__PURE__ */ (0, R.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
children: e.task_label
- }), /* @__PURE__ */ (0, R.jsx)(pb, { status: e.status })]
+ }), /* @__PURE__ */ (0, R.jsx)(xb, { status: e.status })]
}),
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -26414,7 +26415,7 @@ function mb({ run: e, meta: t, children: n, footer: r, followups: i }) {
n
]
}),
- i?.length ? /* @__PURE__ */ (0, R.jsx)(Tne, { rows: i }) : null,
+ i?.length ? /* @__PURE__ */ (0, R.jsx)(Sne, { rows: i }) : null,
r ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
children: /* @__PURE__ */ (0, R.jsx)("p", {
@@ -26425,15 +26426,15 @@ function mb({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function Ene({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = sb(e.elapsed_seconds), o = [ab[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, R.jsx)(mb, {
+function Cne({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = hb(e.elapsed_seconds), o = [pb[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, R.jsx)(Sb, {
run: e,
meta: o,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, R.jsx)(Ca, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Da, {
label: i,
value: r,
max: n
@@ -26448,20 +26449,20 @@ function Ene({ run: e, followups: t }) {
" 项"
]
})]
- }) : /* @__PURE__ */ (0, R.jsx)(ya, { label: i })
+ }) : /* @__PURE__ */ (0, R.jsx)(Ca, { label: i })
});
}
-function hb({ run: e, followups: t, runs: n }) {
- let r = lb(e.result_summary), i = sb(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- ab[e.trigger] || e.trigger,
+function Cb({ run: e, followups: t, runs: n }) {
+ let r = _b(e.result_summary), i = hb(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ pb[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${cb(a.finished_at)} – ${cb(e.finished_at)}`
+ `${gb(a.finished_at)} – ${gb(e.finished_at)}`
] : [
- ab[e.trigger] || e.trigger,
- cb(e.finished_at),
+ pb[e.trigger] || e.trigger,
+ gb(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, R.jsx)(mb, {
+ return /* @__PURE__ */ (0, R.jsx)(Sb, {
run: e,
meta: o,
footer: e.error,
@@ -26472,7 +26473,7 @@ function hb({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function gb({ title: e, children: t }) {
+function wb({ title: e, children: t }) {
let n = (0, L.useId)();
return /* @__PURE__ */ (0, R.jsxs)("section", {
"aria-labelledby": n,
@@ -26484,41 +26485,41 @@ function gb({ title: e, children: t }) {
}), t]
});
}
-function _b({ live: e = !1, children: t }) {
+function Tb({ live: e = !1, children: t }) {
return /* @__PURE__ */ (0, R.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
children: t
});
}
-function Dne({ prefill: e }) {
- let t = vr({
- queryKey: nb,
- queryFn: ({ signal: e }) => ib(e),
- refetchInterval: (e) => ane(e.state.data)
+function wne({ prefill: e }) {
+ let t = Sr({
+ queryKey: ub,
+ queryFn: ({ signal: e }) => fb(e),
+ refetchInterval: (e) => nne(e.state.data)
}), n = t.data, r = n?.finished, [i, a] = (0, L.useState)([]), [o, s] = (0, L.useState)(!1), [c, l] = (0, L.useState)(r);
- r !== c && (l(r), i.length && c && a(rb(i, c)));
- let u = yr({
- mutationFn: ({ oldest: e }) => nne(e),
+ r !== c && (l(r), i.length && c && a(db(i, c)));
+ let u = Cr({
+ mutationFn: ({ oldest: e }) => $te(e),
onSuccess: (e, { shown: t }) => {
- a((n) => rb(n, t, e.finished || [])), s(!!e.finished_has_more);
+ a((n) => db(n, t, e.finished || [])), s(!!e.finished_has_more);
}
}), d = t.error ? H(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, R.jsx)(ba, { children: /* @__PURE__ */ (0, R.jsx)(G, {
+ if (!n) return /* @__PURE__ */ (0, R.jsx)(wa, { children: /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
children: d || "读取任务中心失败"
}) });
- let f = rb(n.finished || [], i), p = [
+ let f = db(n.finished || [], i), p = [
...n.running || [],
...n.skipped || [],
...f
- ], m = une(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
+ ], m = sne(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
!u.isPending && v && u.mutate({
oldest: v,
shown: f
});
- }, x = _.filter((e) => m.get(e.id)?.some(ob)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = dne(w, (e) => fne(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
- return /* @__PURE__ */ (0, R.jsxs)(ba, { children: [
+ }, x = _.filter((e) => m.get(e.id)?.some(mb)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = cne(w, (e) => lne(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
+ return /* @__PURE__ */ (0, R.jsxs)(wa, { children: [
d ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
children: d
@@ -26527,20 +26528,20 @@ function Dne({ prefill: e }) {
tone: "warning",
children: n.message || "账本上还没有任务中心的表"
}) : null,
- E ? /* @__PURE__ */ (0, R.jsx)(va, {
+ E ? /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: Tt,
+ icon: kt,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
- /* @__PURE__ */ (0, R.jsx)(gb, {
+ /* @__PURE__ */ (0, R.jsx)(wb, {
title: "正在进行",
- children: S.length || x.length ? /* @__PURE__ */ (0, R.jsxs)(_b, {
+ children: S.length || x.length ? /* @__PURE__ */ (0, R.jsxs)(Tb, {
live: !0,
- children: [S.map((e) => /* @__PURE__ */ (0, R.jsx)(Ene, {
+ children: [S.map((e) => /* @__PURE__ */ (0, R.jsx)(Cne, {
run: e,
followups: m.get(e.id)
- }, e.id)), x.map((e) => /* @__PURE__ */ (0, R.jsx)(hb, {
+ }, e.id)), x.map((e) => /* @__PURE__ */ (0, R.jsx)(Cb, {
run: e,
followups: m.get(e.id)
}, e.id))]
@@ -26549,17 +26550,17 @@ function Dne({ prefill: e }) {
children: "没有任务在跑。"
})
}),
- C.length ? /* @__PURE__ */ (0, R.jsx)(gb, {
+ C.length ? /* @__PURE__ */ (0, R.jsx)(wb, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, R.jsx)(_b, { children: C.map((e) => /* @__PURE__ */ (0, R.jsx)(hb, {
+ children: /* @__PURE__ */ (0, R.jsx)(Tb, { children: C.map((e) => /* @__PURE__ */ (0, R.jsx)(Cb, {
run: e,
followups: m.get(e.id)
}, e.id)) })
}) : null,
- w.length || y ? /* @__PURE__ */ (0, R.jsxs)(gb, {
+ w.length || y ? /* @__PURE__ */ (0, R.jsxs)(wb, {
title: "最近完成",
children: [
- w.length ? /* @__PURE__ */ (0, R.jsx)(_b, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, R.jsx)(hb, {
+ w.length ? /* @__PURE__ */ (0, R.jsx)(Tb, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, R.jsx)(Cb, {
run: e,
runs: t,
followups: m.get(e.id)
@@ -26571,7 +26572,7 @@ function Dne({ prefill: e }) {
y ? /* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
size: "small",
- leadingIcon: ct,
+ leadingIcon: ft,
className: "self-start",
...K(u.isPending),
onClick: b,
@@ -26580,37 +26581,37 @@ function Dne({ prefill: e }) {
]
}) : null
] }),
- /* @__PURE__ */ (0, R.jsx)(gb, {
+ /* @__PURE__ */ (0, R.jsx)(wb, {
title: "云下载",
- children: /* @__PURE__ */ (0, R.jsx)(bne, { prefill: e })
+ children: /* @__PURE__ */ (0, R.jsx)(_ne, { prefill: e })
})
] });
}
//#endregion
//#region src/jav-artwork.ts
-function vb(e) {
+function Eb(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
-function One(e, t) {
- return e.is_jav && e.code && e.has_cover && (vb(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
+function Tne(e, t) {
+ return e.is_jav && e.code && e.has_cover && (Eb(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
}
-var yb = .704;
-function bb(e, t) {
+var Db = .704;
+function Ob(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var kne = (e, t) => [
+var Ene = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], Ane = (e, t) => [
+], Dne = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function jne(e, t, n, r, i) {
+async function One(e, t, n, r, i) {
let a = new URLSearchParams(e);
a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");
let o = await U(`/api/items?${a}`, i), s = {
@@ -26620,25 +26621,25 @@ async function jne(e, t, n, r, i) {
};
return !t && !s.items.length && !r && (s.libraryEmpty = (await U("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var Mne = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Nne = (e, t) => {
+var kne = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Ane = (e, t) => {
let n = t.reduce((e, t) => e + t.items.length, 0);
return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;
};
-function xb(e) {
- let t = bb(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function kb(e) {
+ let t = Ob(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: kne(t, e.revision || 0),
+ queryKey: Ene(t, e.revision || 0),
queryFn: async ({ pageParam: i, signal: a }) => {
- let o = await jne(t, i, n, r, a);
+ let o = await One(t, i, n, r, a);
return e.cache(o.items), o;
},
initialPageParam: 0,
- getNextPageParam: Mne(n)
+ getNextPageParam: kne(n)
};
}
-function Pne(e) {
+function jne(e) {
return {
- queryKey: Ane(e.entityKey || "", e.revision || 0),
+ queryKey: Dne(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -26653,12 +26654,12 @@ function Pne(e) {
};
},
initialPageParam: 0,
- getNextPageParam: Nne
+ getNextPageParam: Ane
};
}
-async function Fne(e, t) {
+async function Mne(e, t) {
if (e.mode !== "catalog") return;
- let n = xb(e);
+ let n = kb(e);
await Y.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -26667,7 +26668,7 @@ async function Fne(e, t) {
})
});
}
-function Ine(e, t, n) {
+function Nne(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -26682,24 +26683,24 @@ function Ine(e, t, n) {
return !0;
}) : [...e];
}
-var Sb = (e, t) => !!e && !!One(e, t);
-function Lne(e, t) {
- let n = (e) => Sb(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => Sb(e, t)) || e[e.length - 1];
+var Ab = (e, t) => !!e && !!Tne(e, t);
+function Pne(e, t) {
+ let n = (e) => Ab(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => Ab(e, t)) || e[e.length - 1];
}
-function Rne(e, { collapse: t, mix: n, javImage: r }) {
+function Fne(e, { collapse: t, mix: n, javImage: r }) {
let i = {
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
}, a = /* @__PURE__ */ new Set(), o = [], s = [];
for (let c of e) {
s.push(o.length);
- let e = Ine(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = Nne(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
kind: "card",
item: e
}));
if (n && e.length >= 8) {
- let t = Lne(e, r);
+ let t = Pne(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -26712,16 +26713,16 @@ function Rne(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function zne(e, t, n) {
+function Ine(e, t, n) {
let r = Math.max(1, n), i = [];
for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);
return i;
}
-function Bne(e, t) {
+function Lne(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();
}
-function Cb(e, t) {
+function Rne(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -26734,10 +26735,10 @@ function Cb(e, t) {
strip: null
}), r;
}
-function wb(e, t) {
- Tb((t) => t.id === e, t);
+function jb(e, t) {
+ Mb((t) => t.id === e, t);
}
-function Tb(e, t) {
+function Mb(e, t) {
Y.setQueriesData({
queryKey: ["catalog-grid"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -26754,7 +26755,7 @@ function Tb(e, t) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function Eb(e, t) {
+function Nb(e, t) {
let [n, r] = (0, L.useState)(e ? "skeleton" : "none"), [i] = (0, L.useState)(() => e ? t() : ""), a = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => {
a.current && w(a.current);
@@ -26780,7 +26781,7 @@ function Eb(e, t) {
fading: n === "fade"
};
}
-function Db({ message: e, onRetry: t }) {
+function Pb({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -26794,7 +26795,7 @@ function Db({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/components/art-slot.tsx
-function Ob({ artwork: e, identity: t = e.html, relayout: n }) {
+function Fb({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, L.useState)({
identity: t,
artwork: e
@@ -26814,24 +26815,24 @@ function Ob({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/media-card.tsx
-var kb = .75, Ab = 9 / 16;
-function jb({ name: e }) {
+var zne = .75, Bne = 9 / 16;
+function Ib({ name: e }) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, R.jsx)("use", { href: `#i-${e}` })
});
}
-var Mb = {
+var Vne = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
};
-function Nb(e, t, n) {
- return t === "short" || n.portrait ? Ab : n.active && n.size === "big" ? kb : 16 / 9;
+function Lb(e, t, n) {
+ return t === "short" || n.portrait ? Bne : n.active && n.size === "big" ? zne : 16 / 9;
}
-function Pb(e) {
+function Hne(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = me(e), s = i[0] || "", c = Se(e);
return {
avatar: r ? /* @__PURE__ */ (0, R.jsx)("div", {
@@ -26878,7 +26879,7 @@ function Pb(e) {
})
};
}
-function Fb() {
+function Une() {
return /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -26897,7 +26898,7 @@ function Fb() {
})]
});
}
-function Ib({ item: e, actions: t }) {
+function Wne({ item: e, actions: t }) {
let [n, r] = (0, L.useState)(null), [i, a] = (0, L.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-media-later": "",
@@ -26915,21 +26916,21 @@ function Ib({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, R.jsx)(jb, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, R.jsx)(Ib, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function Lb(e, t) {
+function Rb(e, t) {
let n = e?.querySelector("video.hv");
!n || !Number.isFinite(n.duration) || (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));
}
-function Rb({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: c, actions: l, onOpen: u }) {
+function Gne({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: c, actions: l, onOpen: u }) {
let d = (0, L.useRef)(null), f = (0, L.useRef)(e);
f.current = e;
let p = (0, L.useCallback)((e) => {
let t = f.current;
d.current && d.current !== e && Ee(d.current), d.current = e, e && (!t.medium || t.medium === "video") && ke(e, t);
- }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = n.active && e.is_jav ? n.size : "small", v = pe(e, _, !1, n.javImage), y = _ === "small" ? v.html : pe(e, "small", !1, n.javImage).html, b = m?.title || e.name || "", x = c.displayName(e, b), S = m?.total_size ?? e.size, C = m?.total_duration ?? e.duration, w = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: T, who: E } = Pb(e), D = (e.follow_tags || e.tags || []).slice(0, 3), O = [
+ }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = n.active && e.is_jav ? n.size : "small", v = pe(e, _, !1, n.javImage), y = _ === "small" ? v.html : pe(e, "small", !1, n.javImage).html, b = m?.title || e.name || "", x = c.displayName(e, b), S = m?.total_size ?? e.size, C = m?.total_duration ?? e.duration, w = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: T, who: E } = Hne(e), D = (e.follow_tags || e.tags || []).slice(0, 3), O = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -26963,9 +26964,9 @@ function Rb({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
u(e, r);
}, A = /* @__PURE__ */ (0, R.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(Nb(e, t, n)) },
+ style: { "--card-ratio": String(Lb(e, t, n)) },
children: [
- v.html ? /* @__PURE__ */ (0, R.jsx)(Ob, {
+ v.html ? /* @__PURE__ */ (0, R.jsx)(Fb, {
artwork: v,
identity: y,
relayout: (e) => Te(e, _)
@@ -26979,11 +26980,11 @@ function Rb({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
}),
/* @__PURE__ */ (0, R.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, R.jsx)(jb, { name: "check" })
+ children: /* @__PURE__ */ (0, R.jsx)(Ib, { name: "check" })
}),
/* @__PURE__ */ (0, R.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, R.jsx)(jb, { name: "trash" }), /* @__PURE__ */ (0, R.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, R.jsx)(Ib, { name: "trash" }), /* @__PURE__ */ (0, R.jsx)("b", { children: "回收站" })]
}),
m ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-media-group": "",
@@ -27010,8 +27011,8 @@ function Rb({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
"data-media-scrub": "",
children: /* @__PURE__ */ (0, R.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, R.jsx)(Fb, {}),
- /* @__PURE__ */ (0, R.jsx)(Ib, {
+ /* @__PURE__ */ (0, R.jsx)(Une, {}),
+ /* @__PURE__ */ (0, R.jsx)(Wne, {
item: e,
actions: l
}),
@@ -27021,27 +27022,27 @@ function Rb({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
/* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), Lb(d.current, -a);
+ e.stopPropagation(), Rb(d.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, R.jsx)(jb, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, R.jsx)(Ib, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), Lb(d.current, a);
+ e.stopPropagation(), Rb(d.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, R.jsx)(jb, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, R.jsx)(Ib, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, R.jsx)(jb, { name: "expand" })
+ children: /* @__PURE__ */ (0, R.jsx)(Ib, { name: "expand" })
})
]
})
@@ -27117,8 +27118,8 @@ function Rb({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
]
});
}
-function zb({ item: e, selected: t, selectMode: n, helpers: r, actions: a, onOpen: o }) {
- let c = (0, L.useRef)(null), [l, u] = (0, L.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : Mb[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", _ = (t) => {
+function Kne({ item: e, selected: t, selectMode: n, helpers: r, actions: a, onOpen: o }) {
+ let c = (0, L.useRef)(null), [l, u] = (0, L.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : Vne[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", g = h === "restore" ? "还原" : "移入回收站", _ = (t) => {
t.preventDefault(), t.stopPropagation(), !l && (u(!0), a.resourceOperation(e, h).catch(() => {}).finally(() => u(!1)));
}, v = (t) => {
if (c.current) {
@@ -27144,7 +27145,7 @@ function zb({ item: e, selected: t, selectMode: n, helpers: r, actions: a, onOpe
children: [
/* @__PURE__ */ (0, R.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, R.jsx)(jb, { name: m }), /* @__PURE__ */ (0, R.jsx)("b", { children: p })]
+ children: [/* @__PURE__ */ (0, R.jsx)(Ib, { name: m }), /* @__PURE__ */ (0, R.jsx)("b", { children: p })]
}),
d ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-media-art": "thumb",
@@ -27156,11 +27157,11 @@ function zb({ item: e, selected: t, selectMode: n, helpers: r, actions: a, onOpe
}),
/* @__PURE__ */ (0, R.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, R.jsx)(jb, { name: "check" })
+ children: /* @__PURE__ */ (0, R.jsx)(Ib, { name: "check" })
}),
/* @__PURE__ */ (0, R.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, R.jsx)(jb, { name: "trash" }), /* @__PURE__ */ (0, R.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, R.jsx)(Ib, { name: "trash" }), /* @__PURE__ */ (0, R.jsx)("b", { children: "回收站" })]
}),
/* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
@@ -27170,7 +27171,7 @@ function zb({ item: e, selected: t, selectMode: n, helpers: r, actions: a, onOpe
onClick: _,
"aria-busy": l || void 0,
"aria-disabled": l || void 0,
- children: l ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("span", { dangerouslySetInnerHTML: { __html: ae(h === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, R.jsx)("span", { children: y })] }) : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(jb, { name: h === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, R.jsx)("span", { children: g })] })
+ children: l ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("span", { dangerouslySetInnerHTML: { __html: ae(h === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, R.jsx)("span", { children: y })] }) : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(Ib, { name: h === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, R.jsx)("span", { children: g })] })
})
]
}), /* @__PURE__ */ (0, R.jsxs)("div", {
@@ -27179,7 +27180,7 @@ function zb({ item: e, selected: t, selectMode: n, helpers: r, actions: a, onOpe
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, R.jsx)(jb, { name: m })
+ children: /* @__PURE__ */ (0, R.jsx)(Ib, { name: m })
}), /* @__PURE__ */ (0, R.jsxs)("div", {
"data-media-text": "",
children: [/* @__PURE__ */ (0, R.jsx)("span", {
@@ -27208,14 +27209,14 @@ function zb({ item: e, selected: t, selectMode: n, helpers: r, actions: a, onOpe
})]
});
}
-function Bb(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, R.jsx)(zb, { ...e }) : /* @__PURE__ */ (0, R.jsx)(Rb, { ...e });
+function qne(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, R.jsx)(Kne, { ...e }) : /* @__PURE__ */ (0, R.jsx)(Gne, { ...e });
}
-var Vb = (0, L.memo)(Bb), Hb = { "text-aa": 1.435 }, Ub = /* @__PURE__ */ new Map();
-function Wb(e) {
- let t = Ub.get(e);
+var zb = (0, L.memo)(qne), Jne = { "text-aa": 1.435 }, Bb = /* @__PURE__ */ new Map();
+function Vb(e) {
+ let t = Bb.get(e);
if (t) return t;
- let n = Hb[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, R.jsx)("svg", {
+ let n = Jne[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, R.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -27229,18 +27230,18 @@ function Wb(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, R.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, Ub.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, Bb.set(e, r), r;
}
//#endregion
//#region src/react/components/use-stack-flip.ts
-var Vne = 1100, Hne = 340, Une = 5e3;
-function Wne(e, t, n) {
+var Yne = 1100, Xne = 340, Zne = 5e3;
+function Qne(e, t, n) {
return new Promise((r) => {
let i = new Image();
n && (i.referrerPolicy = n);
let a = !1, o = (e) => {
a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));
- }, s = () => o(!1), c = setTimeout(s, Une);
+ }, s = () => o(!1), c = setTimeout(s, Zne);
t.cancels.add(s), i.onerror = s, i.onload = () => {
if (!i.naturalWidth) {
o(!1);
@@ -27250,7 +27251,7 @@ function Wne(e, t, n) {
}, i.src = e;
});
}
-function Gb({ load: e, canFlip: t, referrerPolicy: n }) {
+function Hb({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, L.useState)([]), [a, o] = (0, L.useState)(0), [s, c] = (0, L.useState)(null), l = (0, L.useRef)({
live: !1,
generation: 0,
@@ -27292,11 +27293,11 @@ function Gb({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => Wne(t, e, n)));
+ let s = await Promise.all(a.map((t) => Qne(t, e, n)));
if (!r() || !u.current.canFlip()) return;
let d = a.filter((e, t) => s[t]);
d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {
- p(), e.cycle = setInterval(p, Vne);
+ p(), e.cycle = setInterval(p, Yne);
}));
};
return (0, L.useEffect)(() => d, [d]), {
@@ -27305,7 +27306,7 @@ function Gb({ load: e, canFlip: t, referrerPolicy: n }) {
leaving: s,
onPointerEnter: () => {
let e = l.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Hne, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Xne, () => {
e.armed = null, m();
});
},
@@ -27316,8 +27317,8 @@ function Gb({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var Kb = Wb("play");
-function Gne({ src: e }) {
+var Ub = Vb("play");
+function $ne({ src: e }) {
let [t, n] = (0, L.useState)(!1);
return t ? null : /* @__PURE__ */ (0, R.jsx)("img", {
"data-mix-poster": "",
@@ -27328,8 +27329,8 @@ function Gne({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var qb = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
-function Kne({ faces: e, fallback: t, onOpenEntity: n }) {
+var Wb = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
+function ere({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, R.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, R.jsx)("button", {
@@ -27337,18 +27338,18 @@ function Kne({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${qb} cursor-pointer outline-none`,
+ className: `${Wb} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: fe(e.name, e, Oe(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, R.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${qb} mt-0.5`,
+ className: `${Wb} mt-0.5`,
children: t
});
}
-function Jb({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
- let b = Gb({
+function Gb({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
+ let b = Hb({
load: i,
canFlip: a
}), x = (0, L.useRef)(b.onPointerLeave);
@@ -27375,11 +27376,11 @@ function Jb({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
style: d === void 0 ? void 0 : { "--card-ratio": String(d) },
className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden rounded-surface",
children: [
- f?.html ? /* @__PURE__ */ (0, R.jsx)(Ob, {
+ f?.html ? /* @__PURE__ */ (0, R.jsx)(Fb, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, R.jsx)(Gne, { src: r }, r) : /* @__PURE__ */ (0, R.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, R.jsx)($ne, { src: r }, r) : /* @__PURE__ */ (0, R.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -27409,7 +27410,7 @@ function Jb({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, R.jsxs)("span", {
"data-mix-badge": "",
className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",
- children: [/* @__PURE__ */ (0, R.jsx)(Kb, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Ub, {
"aria-hidden": !0,
className: "size-3.75"
}), g ?? `${n} 个视频`]
@@ -27422,8 +27423,8 @@ function Jb({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, R.jsx)(Kb, {})
- }) : /* @__PURE__ */ (0, R.jsx)(Kne, {
+ children: /* @__PURE__ */ (0, R.jsx)(Ub, {})
+ }) : /* @__PURE__ */ (0, R.jsx)(ere, {
faces: o,
fallback: e.slice(0, 1),
onOpenEntity: s
@@ -27447,20 +27448,20 @@ function Jb({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-function Yb(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, R.jsx)(Jne, { ...e });
- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${bb(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, R.jsx)(Yne, { ...e }, t);
+function Kb(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, R.jsx)(nre, { ...e });
+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${Ob(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ return /* @__PURE__ */ (0, R.jsx)(rre, { ...e }, t);
}
-function qne({ name: e }) {
+function tre({ name: e }) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, R.jsx)("use", { href: `#i-${e}` })
});
}
-function Jne(e) {
- let { actions: t } = e, n = (0, L.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, R.jsx)(Vb, {
+function nre(e) {
+ let { actions: t } = e, n = (0, L.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, R.jsx)(zb, {
item: i,
variant: r,
layout: e.layout,
@@ -27480,15 +27481,15 @@ function Jne(e) {
children: i
});
}
-function Yne(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Pne(e) : xb(e), s = i && e.initial ? {
+function rre(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? jne(e) : kb(e), s = i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
offset: 0
}],
pageParams: [0]
- } : void 0, c = br({
+ } : void 0, c = wr({
queryKey: o.queryKey,
queryFn: ({ pageParam: e, signal: t }) => o.queryFn({
pageParam: e,
@@ -27501,7 +27502,7 @@ function Yne(e) {
(0, L.useEffect)(() => {
c.isPending || l.current || (l.current = !0, e.settled?.(e.revision));
}, [c.isPending]);
- let { tiles: u, pageStarts: d } = (0, L.useMemo)(() => Rne(c.data?.pages || [], {
+ let { tiles: u, pageStarts: d } = (0, L.useMemo)(() => Fne(c.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -27511,7 +27512,7 @@ function Yne(e) {
e.mix,
a,
r.javImage
- ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), h = Eb(c.isPending, e.skeletonHtml), g = (0, L.useRef)(null), _ = Xne(e, c.data, u, d, g);
+ ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), h = Nb(c.isPending, e.skeletonHtml), g = (0, L.useRef)(null), _ = ire(e, c.data, u, d, g);
(0, L.useLayoutEffect)(() => {
c.data && e.onCount?.(p, f);
}, [
@@ -27522,12 +27523,12 @@ function Yne(e) {
let v = (0, L.useCallback)((e, t) => n.open(e, t), [n]), y = (0, L.useCallback)((e, t) => n.openResource(e, t), [n]), b = (0, L.useCallback)((e) => n.openShort(e), [n]), x = (0, L.useCallback)(async () => {
let e = await c.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [c.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, R.jsx)(Qne, {
+ }, [c.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, R.jsx)(ore, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, R.jsx)(Vb, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, R.jsx)(zb, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -27544,7 +27545,7 @@ function Yne(e) {
"data-grid-reveal": h.fading ? "" : void 0,
children: [h.layer, (() => {
if (c.isPending) return null;
- if (!c.data) return /* @__PURE__ */ (0, R.jsx)(Db, {
+ if (!c.data) return /* @__PURE__ */ (0, R.jsx)(Pb, {
message: m(c.error),
onRetry: () => void c.refetch()
});
@@ -27561,15 +27562,15 @@ function Yne(e) {
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: Cb(u, _).map((t) => /* @__PURE__ */ (0, R.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("div", {
+ children: Rne(u, _).map((t) => /* @__PURE__ */ (0, R.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(S)
- }), t.strip ? /* @__PURE__ */ (0, R.jsx)(Zne, {
+ }), t.strip ? /* @__PURE__ */ (0, R.jsx)(are, {
cut: t.strip,
props: e,
onOpen: b
}) : null] }, t.start))
- }), c.hasNextPage ? /* @__PURE__ */ (0, R.jsx)(Xb, {
+ }), c.hasNextPage ? /* @__PURE__ */ (0, R.jsx)(qb, {
entity: i,
load: x,
enabled: () => e.canLoadMore?.() !== !1
@@ -27577,7 +27578,7 @@ function Yne(e) {
})()]
});
}
-function Xb({ entity: e, load: t, enabled: n, children: r }) {
+function qb({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, L.useRef)(null), a = (0, L.useRef)(!1), o = (0, L.useRef)(!1), [s, c] = (0, L.useState)({
busy: !1,
error: ""
@@ -27638,12 +27639,12 @@ function Xb({ entity: e, load: t, enabled: n, children: r }) {
...f,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: k("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, R.jsx)(Db, {
+ }), s.error ? /* @__PURE__ */ (0, R.jsx)(Pb, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function Xne(e, t, n, r, i) {
+function ire(e, t, n, r, i) {
let [a, o] = (0, L.useState)([]), [s, c] = (0, L.useState)(null), l = (0, L.useRef)(0), u = (0, L.useRef)(0), d = (0, L.useRef)([]);
return (0, L.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, L.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -27652,7 +27653,7 @@ function Xne(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- U(`/api/items?${Bne(e.filters || {}, l.current)}`, r.signal).then((t) => {
+ U(`/api/items?${Lne(e.filters || {}, l.current)}`, r.signal).then((t) => {
let n = t.items || [];
if (!n.length) {
l.current = 0;
@@ -27668,7 +27669,7 @@ function Xne(e, t, n, r, i) {
}, [t]), (0, L.useLayoutEffect)(() => {
if (!s) return;
c(null);
- let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = zne(n.length - e, f, d);
+ let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = Ine(n.length - e, f, d);
if (!p.length) return;
let m = e + (p[Math.floor(Math.random() * p.length)] ?? 0);
l.current = s.more ? l.current + 18 : 0, o((e) => [...e, {
@@ -27678,7 +27679,7 @@ function Xne(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function Zne({ cut: e, props: t, onOpen: n }) {
+function are({ cut: e, props: t, onOpen: n }) {
let r = (0, L.useRef)(null), { wireDrag: i } = t;
return (0, L.useEffect)(() => {
r.current && i(r.current);
@@ -27694,12 +27695,12 @@ function Zne({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, R.jsx)(qne, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, R.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, R.jsx)(tre, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, R.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, R.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, R.jsx)(Vb, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, R.jsx)(zb, {
item: e,
variant: "short",
layout: t.layout,
@@ -27713,17 +27714,17 @@ function Zne({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function Zb(e, t, n) {
+function Jb(e, t, n) {
return be(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function Qne({ seed: e, layout: t, helpers: n, actions: r }) {
+function ore({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, L.useRef)(/* @__PURE__ */ new Map()), a = (0, L.useRef)(t);
a.current = t;
let o = xe(e, n.tagLabel), s = (0, L.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => Sb(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), Zb(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = Zb(e, t, !1);
- return /* @__PURE__ */ (0, R.jsx)(Jb, {
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => Ab(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(n.map((e) => [String(e.id), Jb(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = Jb(e, t, !1);
+ return /* @__PURE__ */ (0, R.jsx)(Gb, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -27733,12 +27734,12 @@ function Qne({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : Zb(e, {
+ artworkIdentity: c === "small" ? l.html : Jb(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => Te(e, c),
- ratio: Nb(e, "grid", t),
+ ratio: Lb(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -27750,32 +27751,32 @@ function Qne({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-var $ne = "/api/sources", Qb = ["media-sources"], $b = (e) => U($ne, e);
-async function ex(e) {
+var sre = "/api/sources", Yb = ["media-sources"], Xb = (e) => U(sre, e);
+async function Zb(e) {
await Y.fetchQuery({
- queryKey: Qb,
- queryFn: () => $b(e)
+ queryKey: Yb,
+ queryFn: () => Xb(e)
});
}
-var ere = [
+var cre = [
"local",
"115",
"pikpak"
-], tre = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), nre = "/api/duplicates?limit=120", tx = ["duplicates"], nx = "/api/batch", rx = (e) => U(nre, e);
-async function rre(e) {
+], lre = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), ure = "/api/duplicates?limit=120", Qb = ["duplicates"], $b = "/api/batch", ex = (e) => U(ure, e);
+async function dre(e) {
await Promise.all([Y.fetchQuery({
- queryKey: tx,
- queryFn: () => rx(e)
- }), ex(e)]);
+ queryKey: Qb,
+ queryFn: () => ex(e)
+ }), Zb(e)]);
}
-var ix = {
+var tx = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, ire = (e, t) => t.filter((t) => e.some((e) => e.location === t)), ax = (e, t) => ire(e, t).filter((t) => e.some((e) => e.location !== t)), are = (e, t) => t.filter((t) => e.some((e) => ax(e.files, [t]).length));
-function ore(e, t) {
+}, fre = (e, t) => t.filter((t) => e.some((e) => e.location === t)), nx = (e, t) => fre(e, t).filter((t) => e.some((e) => e.location !== t)), pre = (e, t) => t.filter((t) => e.some((e) => nx(e.files, [t]).length));
+function mre(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -27794,47 +27795,47 @@ function ore(e, t) {
}
return n;
}
-function sre(e, t) {
+function hre(e, t) {
let n = new Set(t);
return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);
}
-async function ox(e, t) {
- for (let n = 0; n < e.length; n += 200) await W(nx, {
+async function rx(e, t) {
+ for (let n = 0; n < e.length; n += 200) await W($b, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var sx = "/api/library-processing", cx = ["library-processing"], lx = (e) => U(sx, e);
-async function ux(e) {
+var ix = "/api/library-processing", ax = ["library-processing"], ox = (e) => U(ix, e);
+async function sx(e) {
await Y.fetchQuery({
- queryKey: cx,
- queryFn: () => lx(e)
+ queryKey: ax,
+ queryFn: () => ox(e)
});
}
-var cre = 2e3, lre = 1e4, dx = "连接中断,正在重新读取处理进度";
-function ure(e, t) {
- return e?.status === "running" ? cre : t ? lre : !1;
+var gre = 2e3, _re = 1e4, cx = "连接中断,正在重新读取处理进度";
+function vre(e, t) {
+ return e?.status === "running" ? gre : t ? _re : !1;
}
-var dre = {
+var yre = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, fx = {
+}, lx = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function fre(e) {
- let t = Object.entries(e).filter(([e, t]) => fx[e] && t > 0).map(([e, t]) => `${fx[e]} ${t} 部`);
+function bre(e) {
+ let t = Object.entries(e).filter(([e, t]) => lx[e] && t > 0).map(([e, t]) => `${lx[e]} ${t} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function px(e) {
- let t = dre[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
+function ux(e) {
+ let t = yre[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function pre(e) {
+function xre(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -27848,21 +27849,21 @@ function pre(e) {
log: e.issues_log || ""
} : null;
}
-var mx = "peach.library-processing.announced", mre = 120;
-function hre(e, t, n) {
+var dx = "peach.library-processing.announced", Sre = 120;
+function Cre(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < mre;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Sre;
if (!(!n && !r)) {
try {
- if (e.job_id && localStorage.getItem(mx) === e.job_id) return;
- e.job_id && localStorage.setItem(mx, e.job_id);
+ if (e.job_id && localStorage.getItem(dx) === e.job_id) return;
+ e.job_id && localStorage.setItem(dx, e.job_id);
} catch {}
t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);
}
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var hx = "/api/media-repair", gx = ["media-repair"], _x = ["media-repair", "libraries"], gre = {
+var fx = "/api/media-repair", px = ["media-repair"], mx = ["media-repair", "libraries"], wre = {
status: "idle",
library: "",
stage: "",
@@ -27874,33 +27875,33 @@ var hx = "/api/media-repair", gx = ["media-repair"], _x = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, vx = (e) => U(hx, e), yx = async (e) => (await U("/api/libraries", e)).libraries || [];
-async function _re(e) {
+}, hx = (e) => U(fx, e), gx = async (e) => (await U("/api/libraries", e)).libraries || [];
+async function Tre(e) {
await Promise.all([Y.fetchQuery({
- queryKey: gx,
- queryFn: () => vx(e)
+ queryKey: px,
+ queryFn: () => hx(e)
}), Y.fetchQuery({
- queryKey: _x,
- queryFn: () => yx(e)
+ queryKey: mx,
+ queryFn: () => gx(e)
})]);
}
-var bx = (e) => Number(e).toLocaleString();
-function vre(e) {
+var _x = (e) => Number(e).toLocaleString();
+function Ere(e) {
if (e.status === "running") {
- let t = e.total ? `${bx(e.checked)} / ${bx(e.total)}` : "准备中";
+ let t = e.total ? `${_x(e.checked)} / ${_x(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${bx(e.repaired)} 部,${bx(e.failed)} 部修不了` : `修好 ${bx(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${_x(e.repaired)} 部,${_x(e.failed)} 部修不了` : `修好 ${_x(e.repaired)} 部` : "";
}
-var yre = (e) => `${bx(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, bre = "/api/quality-goals?limit=200", xx = ["quality-goals"], Sx = (e) => U(bre, e);
-async function xre(e) {
+var Dre = (e) => `${_x(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Ore = "/api/quality-goals?limit=200", vx = ["quality-goals"], yx = (e) => U(Ore, e);
+async function kre(e) {
await Y.fetchQuery({
- queryKey: xx,
- queryFn: () => Sx(e)
+ queryKey: vx,
+ queryFn: () => yx(e)
});
}
-var Sre = (e) => e.has_cover ? he(e) : `/poster?id=${e.id}&c=4`;
-function Cx(e, t, n = 1) {
+var Are = (e) => e.has_cover ? he(e) : `/poster?id=${e.id}&c=4`;
+function bx(e, t, n = 1) {
let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
if (n * 2 + 5 >= t) return r(1, t);
let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;
@@ -27920,21 +27921,21 @@ function Cx(e, t, n = 1) {
t
];
}
-function wx(e, t) {
+function xx(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function Tx(e, t) {
+function Sx(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
//#region src/selection.ts
-function Cre(e, t, n, r, i, a = i || !e.has(r)) {
+function jre(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
//#endregion
//#region src/react/time.ts
-function Ex(e) {
+function Cx(e) {
if (!e) return "";
let t = /[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`, n = new Date(t);
if (Number.isNaN(n.getTime())) return String(e).replace("T", " ").slice(0, 16);
@@ -27943,7 +27944,7 @@ function Ex(e) {
}
//#endregion
//#region src/react/review/review.ts
-var wre = "/api/review", Tre = "/api/review/decision", Ere = "/api/review/genre", Dx = ["review"], Ox = {
+var Mre = "/api/review", Nre = "/api/review/decision", Pre = "/api/review/genre", wx = ["review"], Tx = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -27953,15 +27954,15 @@ var wre = "/api/review", Tre = "/api/review/decision", Ere = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, Dre = Object.keys(Ox), Ore = "metadata_fields", kx = (e) => typeof e == "string" && Object.hasOwn(Ox, e), kre = {
+}, Fre = Object.keys(Tx), Ire = "metadata_fields", Ex = (e) => typeof e == "string" && Object.hasOwn(Tx, e), Lre = {
creator_tags: "creator",
western_identity: "creator"
};
-function Are(e, t) {
+function Rre(e, t) {
let n = [["candidates", t ? "按候选数量" : "全部待复核"]];
return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;
}
-function Ax(e, t) {
+function Dx(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -27978,43 +27979,43 @@ function Ax(e, t) {
}
return [...n.values()];
}
-function jre(e, t, n) {
- return n && Ax(e, t).find((e) => e.key === n)?.rows || e;
+function zre(e, t, n) {
+ return n && Dx(e, t).find((e) => e.key === n)?.rows || e;
}
-function Mre(e, t) {
- let n = wx(e.length, 20), r = Tx(t, n);
+function Bre(e, t) {
+ let n = xx(e.length, 20), r = Sx(t, n);
return {
page: r,
pages: n,
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function Nre(e) {
+function Vre(e) {
return e.length ? [...new Set(e.flatMap((e) => e.candidates?.map((e) => e.source || "") || []))].filter((t) => t && e.every((e) => e.candidates?.filter((e) => e.source === t).length === 1)) : [];
}
-function Pre(e, t, n, r, i, a) {
- return Cre(e, t, n, r, i, a);
+function Hre(e, t, n, r, i, a) {
+ return jre(e, t, n, r, i, a);
}
-function jx(e, t) {
+function Ox(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function Mx(e, t) {
+function kx(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var Nx = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function Fre(e, t) {
- let n = Mx(e, t), r = Nx(e, t);
+var Ax = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function Ure(e, t) {
+ let n = kx(e, t), r = Ax(e, t);
return r ? `${n} · ${r}` : n;
}
-var Ire = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Lre = (e) => String(e.tags || "").split("|").filter(Boolean), Rre = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function zre(e) {
+var Wre = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Gre = (e) => String(e.tags || "").split("|").filter(Boolean), Kre = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function qre(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function Px(e, t, n, r) {
+function jx(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -28030,19 +28031,19 @@ function Px(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var Bre = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", Fx = (e) => U(wre, e), Ix = (e) => W(Tre, e), Vre = (e, t) => W(Ere, {
+var Jre = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", Mx = (e) => U(Mre, e), Nx = (e) => W(Nre, e), Px = (e, t) => W(Pre, {
genre: e,
tag: t
});
-async function Hre(e) {
+async function Fx(e) {
await Y.fetchQuery({
- queryKey: Dx,
- queryFn: () => Fx(e)
+ queryKey: wx,
+ queryFn: () => Mx(e)
});
}
-function Lx(e, t) {
+function Ix(e, t) {
let n = new Set(t);
- n.size && Y.setQueryData(Dx, (t) => {
+ n.size && Y.setQueryData(wx, (t) => {
if (!t) return t;
let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));
return i.length === r.length ? t : {
@@ -28058,207 +28059,207 @@ function Lx(e, t) {
};
});
}
-var Ure = () => Y.invalidateQueries({
- queryKey: Dx,
+var Lx = () => Y.invalidateQueries({
+ queryKey: wx,
exact: !0
});
-function Wre(e, t) {
- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Ex(e.fetched_at)} 的缓存` : e?.error || t;
+function Rx(e, t) {
+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Cx(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var Gre = "/api/links", Rx = "/api/links/check", zx = "/api/links/prune", Bx = ["links"], Vx = ["links", "check"], Hx = ["links", "prune"], Ux = {
+var zx = "/api/links", Bx = "/api/links/check", Vx = "/api/links/prune", Hx = ["links"], Ux = ["links", "check"], Wx = ["links", "prune"], Gx = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function Wx(e) {
+async function Kx(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var Gx = (e) => U(Gre, e), Kx = (e) => W(Rx, { status_only: !0 }, "POST", e), Kre = ({ retry: e, checkId: t }) => Wx(W(Rx, e ? {
+var qx = (e) => U(zx, e), Jx = (e) => W(Bx, { status_only: !0 }, "POST", e), Yx = ({ retry: e, checkId: t }) => Kx(W(Bx, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), qx = (e) => U(zx, e), qre = (e) => Wx(W(zx, {
+} : { restart: !0 })), Xx = (e) => U(Vx, e), Zx = (e) => Kx(W(Vx, {
confirm: !0,
check_id: e,
background: !0
-})), Jx = (e) => Number(e || 0).toLocaleString(), Jre = (e) => `已删除 ${Jx(e.removed)} 条;${e.marked ? `已隐退女优的 ${Jx(e.marked)} 条留作不可点的记录;` : ""}保留 ${Jx(e.recovered)} 条未确认失效的链接。`;
-function Yre(e) {
+})), Qx = (e) => Number(e || 0).toLocaleString(), $x = (e) => `已删除 ${Qx(e.removed)} 条;${e.marked ? `已隐退女优的 ${Qx(e.marked)} 条留作不可点的记录;` : ""}保留 ${Qx(e.recovered)} 条未确认失效的链接。`;
+function eS(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${Jx(e.checked)} / ${Jx(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${Qx(e.checked)} / ${Qx(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var Yx = "/api/settings", Xx = "/api/follow/schedule", Zx = "/api/thumbnail-jobs", Qx = ["settings"], $x = ["follow-schedule"], eS = ["thumbnail-jobs"], Xre = (e) => U(Yx, e), tS = (e) => U(Xx, e), nS = (e) => U(Zx, e);
-function Zre(e = Y) {
+var tS = "/api/settings", nS = "/api/follow/schedule", rS = "/api/thumbnail-jobs", iS = ["settings"], aS = ["follow-schedule"], oS = ["thumbnail-jobs"], sS = (e) => U(tS, e), cS = (e) => U(nS, e), lS = (e) => U(rS, e);
+function uS(e = Y) {
return e.fetchQuery({
- queryKey: $x,
- queryFn: ({ signal: e }) => tS(e),
+ queryKey: aS,
+ queryFn: ({ signal: e }) => cS(e),
staleTime: 0
}).catch(() => null), e.fetchQuery({
- queryKey: eS,
- queryFn: ({ signal: e }) => nS(e),
+ queryKey: oS,
+ queryFn: ({ signal: e }) => lS(e),
staleTime: 0
}).catch(() => null), e.fetchQuery({
- queryKey: Qx,
- queryFn: ({ signal: e }) => Xre(e),
+ queryKey: iS,
+ queryFn: ({ signal: e }) => sS(e),
staleTime: 0
}).catch(() => null);
}
-function rS() {
- return yr({
- mutationFn: (e) => W(Yx, e),
- onSuccess: (e) => Y.setQueryData(Qx, e)
+function dS() {
+ return Cr({
+ mutationFn: (e) => W(tS, e),
+ onSuccess: (e) => Y.setQueryData(iS, e)
});
}
-function Qre() {
- return yr({
- mutationFn: (e) => W(Xx, {
+function fS() {
+ return Cr({
+ mutationFn: (e) => W(nS, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => Y.setQueryData($x, e)
+ onSuccess: (e) => Y.setQueryData(aS, e)
});
}
-function $re() {
- return yr({
- mutationFn: (e) => W(Zx, { mode: e }),
- onSuccess: (e) => Y.setQueryData(eS, e)
+function pS() {
+ return Cr({
+ mutationFn: (e) => W(rS, { mode: e }),
+ onSuccess: (e) => Y.setQueryData(oS, e)
});
}
-function eie(e) {
- return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${Ex(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${Ex(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";
+function mS(e) {
+ return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${Cx(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${Cx(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";
}
-function tie(e) {
+function hS(e) {
return e.status === "running" ? "正在采集,进度在活动页查看。" : e.status === "failed" ? `上一轮采集停下了:${e.stopped || "原因未取得"}` : e.status === "complete" ? e.stopped ? "上一轮采集已按停。" : "上一轮采集已完成。" : e.mode === "off" ? "关闭时不采集;已经生成的图留在盘上,清理走数据管理页。" : "选定档位后从最近看过的片子开始采集。";
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var nie = "/api/organize", rie = "/api/organize/preview", iie = "/api/organize/apply", aie = "/api/organize/rollback", iS = ["organize"], aS = (e) => U(nie, e);
-async function oie(e) {
+var gS = "/api/organize", _S = "/api/organize/preview", vS = "/api/organize/apply", yS = "/api/organize/rollback", bS = ["organize"], xS = (e) => U(gS, e);
+async function SS(e) {
await Y.fetchQuery({
- queryKey: iS,
- queryFn: () => aS(e)
+ queryKey: bS,
+ queryFn: () => xS(e)
});
}
-var sie = (e) => W(rie, e), cie = (e) => e.kind === "apply" ? W(iie, {
+var CS = (e) => W(_S, e), wS = (e) => e.kind === "apply" ? W(vS, {
...e.request,
confirm: !0
-}) : W(aie, { confirm: !0 });
-async function lie(e) {
- Y.setQueryData(iS, (t) => t && {
+}) : W(yS, { confirm: !0 });
+async function TS(e) {
+ Y.setQueryData(bS, (t) => t && {
...t,
templates: e
});
try {
- await W(Yx, { organizeTemplates: e });
+ await W(tS, { organizeTemplates: e });
} catch {}
}
-var uie = (e, t) => e && {
+var ES = (e, t) => e && {
...e,
...t
-}, die = /目录模板|分隔符|盘符|`\.`/;
-function oS(e) {
+}, Yre = /目录模板|分隔符|盘符|`\.`/;
+function DS(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var sS = (e) => Number(e || 0).toLocaleString();
-function fie(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${sS(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${sS(e.counts.change)} 个文件会改名或移动,${sS(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var OS = (e) => Number(e || 0).toLocaleString();
+function Xre(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${OS(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${OS(e.counts.change)} 个文件会改名或移动,${OS(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function cS(e) {
+function kS(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${sS(r)} 个文件${n ? `,${sS(n)} 行未能退回` : ""}。` : `已整理 ${sS(r)} 个文件${n ? `,${sS(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${OS(r)} 个文件${n ? `,${OS(n)} 行未能退回` : ""}。` : `已整理 ${OS(r)} 个文件${n ? `,${OS(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var lS = "/api/resource-sync/scan", uS = "/api/resource-sync/apply", dS = ["resource-sync", "scan"], fS = ["resource-sync", "apply"], pS = (e) => W(lS, {
+var AS = "/api/resource-sync/scan", jS = "/api/resource-sync/apply", MS = ["resource-sync", "scan"], NS = ["resource-sync", "apply"], PS = (e) => W(AS, {
background: !0,
status_only: !0
-}, "POST", e), pie = () => W(lS, {
+}, "POST", e), Zre = () => W(AS, {
background: !0,
restart: !0
-}), mS = (e) => U(uS, e), mie = (e) => W(uS, {
+}), FS = (e) => U(jS, e), Qre = (e) => W(jS, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), hS = (e) => (e?.sources ?? []).some((e) => ere.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function hie(e) {
- hS(Y.getQueryData(Qb)) && await Promise.all([Y.fetchQuery({
- queryKey: dS,
- queryFn: () => pS(e)
+}), IS = (e) => (e?.sources ?? []).some((e) => cre.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function $re(e) {
+ IS(Y.getQueryData(Yb)) && await Promise.all([Y.fetchQuery({
+ queryKey: MS,
+ queryFn: () => PS(e)
}), Y.fetchQuery({
- queryKey: fS,
- queryFn: () => mS(e)
+ queryKey: NS,
+ queryFn: () => FS(e)
})]);
}
-var gie = (e) => !!(e?.missing || e?.empty || e?.cache?.files), _ie = {
+var eie = (e) => !!(e?.missing || e?.empty || e?.cache?.files), tie = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, gS = (e) => Number(e || 0).toLocaleString(), vie = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", _S = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), vS = (e) => e.vanish ? `${gS(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", yS = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", yie = (e) => `将永久删除文件已不在盘上的 ${gS(_S(e))} 条记录和 ${gS(e.empty)} 个空文件夹,并清理 ${gS(e.cache?.files)} 个闲置缓存。${yS(e)}${vS(e)}`, bie = (e) => `将永久删除文件已不在盘上的 ${gS(_S(e))} 条记录(含回收站里的)、${gS(e.empty)} 个空文件夹,并清理 ${gS(e.cache?.files)} 个闲置缓存。来源根目录保留。${yS(e)}${vS(e)}`, xie = (e) => e.online ? [
- `找不到文件 · 共 ${gS(e.total)} 项`,
- e.vanish ? `${gS(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${gS(e.empty)} 个` : "",
- e.unreadable ? `${gS(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${gS(e.total)} 项`;
-function bS(e) {
+}, LS = (e) => Number(e || 0).toLocaleString(), nie = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", RS = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), zS = (e) => e.vanish ? `${LS(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", BS = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", rie = (e) => `将永久删除文件已不在盘上的 ${LS(RS(e))} 条记录和 ${LS(e.empty)} 个空文件夹,并清理 ${LS(e.cache?.files)} 个闲置缓存。${BS(e)}${zS(e)}`, iie = (e) => `将永久删除文件已不在盘上的 ${LS(RS(e))} 条记录(含回收站里的)、${LS(e.empty)} 个空文件夹,并清理 ${LS(e.cache?.files)} 个闲置缓存。来源根目录保留。${BS(e)}${zS(e)}`, aie = (e) => e.online ? [
+ `找不到文件 · 共 ${LS(e.total)} 项`,
+ e.vanish ? `${LS(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${LS(e.empty)} 个` : "",
+ e.unreadable ? `${LS(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${LS(e.total)} 项`;
+function VS(e) {
let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");
return {
done: i,
left: a,
rest: [
- t.length ? `${gS(t.length)} 条记录没有删除(${o})` : "",
- n ? `${gS(n)} 个文件夹没有删除` : "",
- r.length ? `${gS(r.length)} 个缓存没有清理` : ""
+ t.length ? `${LS(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${LS(n)} 个文件夹没有删除` : "",
+ r.length ? `${LS(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var Sie = (e, t) => {
- let { rest: n } = bS(e), r = `已永久删除 ${gS(e.purged)} 条失效记录和 ${gS(e.dirs_removed)} 个空文件夹,清理 ${gS(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${gS(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${gS(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var oie = (e, t) => {
+ let { rest: n } = VS(e), r = `已永久删除 ${LS(e.purged)} 条失效记录和 ${LS(e.dirs_removed)} 个空文件夹,清理 ${LS(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${LS(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${LS(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, Cie = "/api/review?counts=1", xS = ["review", "counts"], wie = "/api/ads?limit=1", SS = ["junk-summary"], CS = "/api/items?state=trash&limit=1", wS = ["trash-summary"], Tie = [
+}, sie = "/api/review?counts=1", HS = ["review", "counts"], cie = "/api/ads?limit=1", US = ["junk-summary"], WS = "/api/items?state=trash&limit=1", GS = ["trash-summary"], lie = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], TS = (e) => U(Cie, e), ES = (e) => U(wie, e), DS = (e) => {
+], KS = (e) => U(sie, e), qS = (e) => U(cie, e), JS = (e) => {
let t = sessionStorage.getItem("peach.library");
- return U(t ? `${CS}&library=${encodeURIComponent(t)}` : CS, e);
-}, OS = (e) => Number(e || 0).toLocaleString();
-function Eie(e) {
- let t = Ox, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
+ return U(t ? `${WS}&library=${encodeURIComponent(t)}` : WS, e);
+}, YS = (e) => Number(e || 0).toLocaleString();
+function uie(e) {
+ let t = Tx, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
return a && i.push(`其余 ${a.toLocaleString()}`), {
figure: `${r.toLocaleString()} 条待复核`,
meta: i.join(" · ")
};
}
-function Die(e) {
+function die(e) {
if (!e) return "";
- let t = Tie.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${OS(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${OS(e.dismissed_total)}`), t.join(" · ");
-}
-var Oie = [
- [xS, ({ signal: e }) => TS(e)],
- [xx, ({ signal: e }) => Sx(e)],
- [wS, ({ signal: e }) => DS(e)],
- [Bx, ({ signal: e }) => Gx(e)],
- [Vx, ({ signal: e }) => Kx(e)],
- [Hx, ({ signal: e }) => qx(e)]
+ let t = lie.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${YS(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${YS(e.dismissed_total)}`), t.join(" · ");
+}
+var fie = [
+ [HS, ({ signal: e }) => KS(e)],
+ [vx, ({ signal: e }) => yx(e)],
+ [GS, ({ signal: e }) => JS(e)],
+ [Hx, ({ signal: e }) => qx(e)],
+ [Ux, ({ signal: e }) => Jx(e)],
+ [Wx, ({ signal: e }) => Xx(e)]
];
-async function kie(e) {
- let t = location.hash === "#resource-sync", n = Oie.map(([n, r]) => {
+async function pie(e) {
+ let t = location.hash === "#resource-sync", n = fie.map(([n, r]) => {
if (t) return Y.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -28271,49 +28272,49 @@ async function kie(e) {
await Promise.all([
...n,
Y.fetchQuery({
- queryKey: SS,
- queryFn: () => ES(e)
+ queryKey: US,
+ queryFn: () => qS(e)
}),
Y.fetchQuery({
- queryKey: tx,
- queryFn: () => rx(e)
+ queryKey: Qb,
+ queryFn: () => ex(e)
}),
- ex(e).then(() => hie(e)),
- ux(e),
- _re(e),
- oie(e)
+ Zb(e).then(() => $re(e)),
+ sx(e),
+ Tre(e),
+ SS(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var Aie = [
+var mie = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], jie = [
+], hie = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function kS(e = {}) {
- return `${ga({
+function XS(e = {}) {
+ return `${ba({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var AS = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Mie = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function jS({ interactive: e = !1 } = {}) {
- return ga({
+var ZS = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", gie = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function QS({ interactive: e = !1 } = {}) {
+ return ba({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var Nie = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function MS({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var _ie = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function $S({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -28346,13 +28347,13 @@ function MS({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function NS({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function eC({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",
children: [t ? /* @__PURE__ */ (0, R.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Aie[n % 4]} ${jie[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${mie[n % 4]} ${hie[n % 4]}`,
children: /* @__PURE__ */ (0, R.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -28374,34 +28375,34 @@ function NS({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region node_modules/motion-utils/dist/es/array.mjs
-function PS(e, t) {
+function tC(e, t) {
e.indexOf(t) === -1 && e.push(t);
}
-function FS(e, t) {
+function nC(e, t) {
let n = e.indexOf(t);
n > -1 && e.splice(n, 1);
}
//#endregion
//#region node_modules/motion-utils/dist/es/clamp.mjs
-var IS = (e, t, n) => n > t ? t : n < e ? e : n, LS = {}, RS = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), zS = (e) => typeof e == "object" && !!e, BS = (e) => /^0[^.\s]+$/u.test(e);
+var rC = (e, t, n) => n > t ? t : n < e ? e : n, iC = {}, aC = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), oC = (e) => typeof e == "object" && !!e, sC = (e) => /^0[^.\s]+$/u.test(e);
//#endregion
//#region node_modules/motion-utils/dist/es/memo.mjs
/*#__NO_SIDE_EFFECTS__*/
-function VS(e) {
+function cC(e) {
let t;
return () => (t === void 0 && (t = e()), t);
}
//#endregion
//#region node_modules/motion-utils/dist/es/noop.mjs
-var HS = /* @__NO_SIDE_EFFECTS__ */ (e) => e, US = (...e) => e.reduce((e, t) => (n) => t(e(n))), WS = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
+var lC = /* @__NO_SIDE_EFFECTS__ */ (e) => e, uC = (...e) => e.reduce((e, t) => (n) => t(e(n))), dC = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
let r = t - e;
return r ? (n - e) / r : 1;
-}, GS = class {
+}, fC = class {
constructor() {
this.subscriptions = [];
}
add(e) {
- return PS(this.subscriptions, e), () => FS(this.subscriptions, e);
+ return tC(this.subscriptions, e), () => nC(this.subscriptions, e);
}
notify(e, t, n) {
let r = this.subscriptions.length;
@@ -28419,42 +28420,42 @@ var HS = /* @__NO_SIDE_EFFECTS__ */ (e) => e, US = (...e) => e.reduce((e, t) =>
clear() {
this.subscriptions.length = 0;
}
-}, KS = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, qS = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, JS = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, YS = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, Pie = 1e-7, Fie = 12;
-function Iie(e, t, n, r, i) {
+}, pC = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, mC = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, hC = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, gC = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, vie = 1e-7, yie = 12;
+function bie(e, t, n, r, i) {
let a, o, s = 0;
do
- o = t + (n - t) / 2, a = YS(o, r, i) - e, a > 0 ? n = o : t = o;
- while (Math.abs(a) > Pie && ++s < Fie);
+ o = t + (n - t) / 2, a = gC(o, r, i) - e, a > 0 ? n = o : t = o;
+ while (Math.abs(a) > vie && ++s < yie);
return o;
}
/*#__NO_SIDE_EFFECTS__*/
-function XS(e, t, n, r) {
- if (e === t && n === r) return HS;
- let i = (t) => Iie(t, 0, 1, e, n);
- return (e) => e === 0 || e === 1 ? e : YS(i(e), t, r);
+function _C(e, t, n, r) {
+ if (e === t && n === r) return lC;
+ let i = (t) => bie(t, 0, 1, e, n);
+ return (e) => e === 0 || e === 1 ? e : gC(i(e), t, r);
}
//#endregion
//#region node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs
-var ZS = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, QS = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), $S = /*@__PURE__*/ XS(.33, 1.53, .69, .99), eC = /*@__PURE__*/ QS($S), tC = /*@__PURE__*/ ZS(eC), nC = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * eC(e) : .5 * (2 - 2 ** (-10 * (e - 1))), rC = (e) => 1 - Math.sin(Math.acos(e)), iC = /* @__PURE__ */ QS(rC), aC = /* @__PURE__ */ ZS(rC), Lie = /*@__PURE__*/ XS(.42, 0, 1, 1), Rie = /*@__PURE__*/ XS(0, 0, .58, 1), oC = /*@__PURE__*/ XS(.42, 0, .58, 1), zie = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", sC = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", cC = {
- linear: HS,
- easeIn: Lie,
- easeInOut: oC,
- easeOut: Rie,
- circIn: rC,
- circInOut: aC,
- circOut: iC,
- backIn: eC,
- backInOut: tC,
- backOut: $S,
- anticipate: nC
-}, Bie = (e) => typeof e == "string", lC = (e) => {
- if (/* @__PURE__ */ sC(e)) {
+var vC = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, yC = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), bC = /*@__PURE__*/ _C(.33, 1.53, .69, .99), xC = /*@__PURE__*/ yC(bC), SC = /*@__PURE__*/ vC(xC), CC = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * xC(e) : .5 * (2 - 2 ** (-10 * (e - 1))), wC = (e) => 1 - Math.sin(Math.acos(e)), TC = /* @__PURE__ */ yC(wC), EC = /* @__PURE__ */ vC(wC), xie = /*@__PURE__*/ _C(.42, 0, 1, 1), Sie = /*@__PURE__*/ _C(0, 0, .58, 1), DC = /*@__PURE__*/ _C(.42, 0, .58, 1), Cie = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", OC = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", kC = {
+ linear: lC,
+ easeIn: xie,
+ easeInOut: DC,
+ easeOut: Sie,
+ circIn: wC,
+ circInOut: EC,
+ circOut: TC,
+ backIn: xC,
+ backInOut: SC,
+ backOut: bC,
+ anticipate: CC
+}, wie = (e) => typeof e == "string", AC = (e) => {
+ if (/* @__PURE__ */ OC(e)) {
e.length;
let [t, n, r, i] = e;
- return /* @__PURE__ */ XS(t, n, r, i);
+ return /* @__PURE__ */ _C(t, n, r, i);
}
- return Bie(e) ? (cC[e], `${e}`, cC[e]) : e;
-}, uC = [
+ return wie(e) ? (kC[e], `${e}`, kC[e]) : e;
+}, jC = [
"setup",
"read",
"resolveKeyframes",
@@ -28466,7 +28467,7 @@ var ZS = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 -
];
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/render-step.mjs
-function Vie(e) {
+function Tie(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a = /* @__PURE__ */ new WeakSet(), o = {
delta: 0,
timestamp: 0,
@@ -28497,25 +28498,25 @@ function Vie(e) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/batcher.mjs
-var Hie = 40;
-function dC(e, t) {
+var Eie = 40;
+function MC(e, t) {
let n = !1, r = !0, i = {
delta: 0,
timestamp: 0,
isProcessing: !1
- }, a = () => n = !0, o = uC.reduce((e, t) => (e[t] = Vie(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {
- let a = LS.useManualTiming, o = a ? i.timestamp : performance.now();
- n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, Hie), 1)), i.timestamp = o, i.isProcessing = !0, s.process(i), c.process(i), l.process(i), u.process(i), d.process(i), f.process(i), p.process(i), m.process(i), i.isProcessing = !1, n && t && (r = !1, e(h));
+ }, a = () => n = !0, o = jC.reduce((e, t) => (e[t] = Tie(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {
+ let a = iC.useManualTiming, o = a ? i.timestamp : performance.now();
+ n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, Eie), 1)), i.timestamp = o, i.isProcessing = !0, s.process(i), c.process(i), l.process(i), u.process(i), d.process(i), f.process(i), p.process(i), m.process(i), i.isProcessing = !1, n && t && (r = !1, e(h));
}, g = () => {
n = !0, r = !0, i.isProcessing || e(h);
};
return {
- schedule: uC.reduce((e, t) => {
+ schedule: jC.reduce((e, t) => {
let r = o[t];
return e[t] = (e, t = !1, i = !1) => (n || g(), r.schedule(e, t, i)), e;
}, {}),
cancel: (e) => {
- for (let t = 0; t < uC.length; t++) o[uC[t]].cancel(e);
+ for (let t = 0; t < jC.length; t++) o[jC[t]].cancel(e);
},
state: i,
steps: o
@@ -28523,59 +28524,59 @@ function dC(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/frame.mjs
-var { schedule: fC, cancel: pC, state: mC, steps: hC } = /* @__PURE__ */ dC(typeof requestAnimationFrame < "u" ? requestAnimationFrame : HS, !0), gC;
-function Uie() {
- gC = void 0;
+var { schedule: NC, cancel: PC, state: FC, steps: IC } = /* @__PURE__ */ MC(typeof requestAnimationFrame < "u" ? requestAnimationFrame : lC, !0), LC;
+function Die() {
+ LC = void 0;
}
-var _C = {
- now: () => (gC === void 0 && _C.set(mC.isProcessing || LS.useManualTiming ? mC.timestamp : performance.now()), gC),
+var RC = {
+ now: () => (LC === void 0 && RC.set(FC.isProcessing || iC.useManualTiming ? FC.timestamp : performance.now()), LC),
set: (e) => {
- gC = e, queueMicrotask(Uie);
+ LC = e, queueMicrotask(Die);
}
-}, vC = (e) => (t) => typeof t == "string" && t.startsWith(e), yC = /*@__PURE__*/ vC("--"), Wie = /*@__PURE__*/ vC("var(--"), bC = (e) => Wie(e) ? Gie.test(e.split("/*")[0].trim()) : !1, Gie = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
-function xC(e) {
+}, zC = (e) => (t) => typeof t == "string" && t.startsWith(e), BC = /*@__PURE__*/ zC("--"), Oie = /*@__PURE__*/ zC("var(--"), VC = (e) => Oie(e) ? kie.test(e.split("/*")[0].trim()) : !1, kie = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
+function HC(e) {
return typeof e == "string" && e.split("/*")[0].includes("var(--");
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/numbers/index.mjs
-var SC = {
+var UC = {
test: (e) => typeof e == "number",
parse: parseFloat,
transform: (e) => e
-}, CC = {
- ...SC,
- transform: (e) => IS(0, 1, e)
-}, wC = {
- ...SC,
+}, WC = {
+ ...UC,
+ transform: (e) => rC(0, 1, e)
+}, GC = {
+ ...UC,
default: 1
-}, TC = (e) => Math.round(e * 1e5) / 1e5, EC = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
+}, KC = (e) => Math.round(e * 1e5) / 1e5, qC = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs
-function Kie(e) {
+function Aie(e) {
return e == null;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs
-var qie = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, DC = (e, t) => (n) => !!(typeof n == "string" && qie.test(n) && n.startsWith(e) || t && !Kie(n) && Object.prototype.hasOwnProperty.call(n, t)), OC = (e, t, n) => (r) => {
+var jie = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, JC = (e, t) => (n) => !!(typeof n == "string" && jie.test(n) && n.startsWith(e) || t && !Aie(n) && Object.prototype.hasOwnProperty.call(n, t)), YC = (e, t, n) => (r) => {
if (typeof r != "string") return r;
- let [i, a, o, s] = r.match(EC);
+ let [i, a, o, s] = r.match(qC);
return {
[e]: parseFloat(i),
[t]: parseFloat(a),
[n]: parseFloat(o),
alpha: s === void 0 ? 1 : parseFloat(s)
};
-}, Jie = (e) => IS(0, 255, e), kC = {
- ...SC,
- transform: (e) => Math.round(Jie(e))
-}, AC = {
- test: /*@__PURE__*/ DC("rgb", "red"),
- parse: /*@__PURE__*/ OC("red", "green", "blue"),
- transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + kC.transform(e) + ", " + kC.transform(t) + ", " + kC.transform(n) + ", " + TC(CC.transform(r)) + ")"
+}, Mie = (e) => rC(0, 255, e), XC = {
+ ...UC,
+ transform: (e) => Math.round(Mie(e))
+}, ZC = {
+ test: /*@__PURE__*/ JC("rgb", "red"),
+ parse: /*@__PURE__*/ YC("red", "green", "blue"),
+ transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + XC.transform(e) + ", " + XC.transform(t) + ", " + XC.transform(n) + ", " + KC(WC.transform(r)) + ")"
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hex.mjs
-function Yie(e) {
+function Nie(e) {
let t = "", n = "", r = "", i = "";
return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, r += r, i += i), {
red: parseInt(t, 16),
@@ -28584,38 +28585,38 @@ function Yie(e) {
alpha: i ? parseInt(i, 16) / 255 : 1
};
}
-var jC = {
- test: /*@__PURE__*/ DC("#"),
- parse: Yie,
- transform: AC.transform
-}, MC = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
+var QC = {
+ test: /*@__PURE__*/ JC("#"),
+ parse: Nie,
+ transform: ZC.transform
+}, $C = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
parse: parseFloat,
transform: (t) => `${t}${e}`
-}), NC = /*@__PURE__*/ MC("deg"), PC = /*@__PURE__*/ MC("%"), X = /*@__PURE__*/ MC("px"), FC = /*@__PURE__*/ MC("vh"), IC = /*@__PURE__*/ MC("vw"), LC = {
- ...PC,
- parse: (e) => PC.parse(e) / 100,
- transform: (e) => PC.transform(e * 100)
-}, RC = {
- test: /*@__PURE__*/ DC("hsl", "hue"),
- parse: /*@__PURE__*/ OC("hue", "saturation", "lightness"),
- transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + PC.transform(TC(t)) + ", " + PC.transform(TC(n)) + ", " + TC(CC.transform(r)) + ")"
-}, zC = {
- test: (e) => AC.test(e) || jC.test(e) || RC.test(e),
- parse: (e) => AC.test(e) ? AC.parse(e) : RC.test(e) ? RC.parse(e) : jC.parse(e),
- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? AC.transform(e) : RC.transform(e),
+}), ew = /*@__PURE__*/ $C("deg"), tw = /*@__PURE__*/ $C("%"), X = /*@__PURE__*/ $C("px"), Pie = /*@__PURE__*/ $C("vh"), Fie = /*@__PURE__*/ $C("vw"), nw = {
+ ...tw,
+ parse: (e) => tw.parse(e) / 100,
+ transform: (e) => tw.transform(e * 100)
+}, rw = {
+ test: /*@__PURE__*/ JC("hsl", "hue"),
+ parse: /*@__PURE__*/ YC("hue", "saturation", "lightness"),
+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + tw.transform(KC(t)) + ", " + tw.transform(KC(n)) + ", " + KC(WC.transform(r)) + ")"
+}, iw = {
+ test: (e) => ZC.test(e) || QC.test(e) || rw.test(e),
+ parse: (e) => ZC.test(e) ? ZC.parse(e) : rw.test(e) ? rw.parse(e) : QC.parse(e),
+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? ZC.transform(e) : rw.transform(e),
getAnimatableNone: (e) => {
- let t = zC.parse(e);
- return t.alpha = 0, zC.transform(t);
+ let t = iw.parse(e);
+ return t.alpha = 0, iw.transform(t);
}
-}, BC = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
+}, Iie = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/complex/index.mjs
-function VC(e) {
- return isNaN(e) && typeof e == "string" && (e.match(EC)?.length || 0) + (e.match(BC)?.length || 0) > 0;
+function Lie(e) {
+ return isNaN(e) && typeof e == "string" && (e.match(qC)?.length || 0) + (e.match(Iie)?.length || 0) > 0;
}
-var HC = "number", UC = "color", WC = "var", GC = "var(", KC = "${}", qC = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
-function JC(e) {
+var aw = "number", ow = "color", Rie = "var", zie = "var(", sw = "${}", Bie = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
+function cw(e) {
let t = e.toString(), n = [], r = {
color: [],
number: [],
@@ -28623,51 +28624,51 @@ function JC(e) {
}, i = [], a = 0;
return {
values: n,
- split: t.replace(qC, (e) => (zC.test(e) ? (r.color.push(a), i.push(UC), n.push(zC.parse(e))) : e.startsWith(GC) ? (r.var.push(a), i.push(WC), n.push(e)) : (r.number.push(a), i.push(HC), n.push(parseFloat(e))), ++a, KC)).split(KC),
+ split: t.replace(Bie, (e) => (iw.test(e) ? (r.color.push(a), i.push(ow), n.push(iw.parse(e))) : e.startsWith(zie) ? (r.var.push(a), i.push(Rie), n.push(e)) : (r.number.push(a), i.push(aw), n.push(parseFloat(e))), ++a, sw)).split(sw),
indexes: r,
types: i
};
}
-function YC(e) {
- return JC(e).values;
+function Vie(e) {
+ return cw(e).values;
}
-function XC({ split: e, types: t }) {
+function lw({ split: e, types: t }) {
let n = e.length;
return (r) => {
let i = "";
for (let a = 0; a < n; a++) if (i += e[a], r[a] !== void 0) {
let e = t[a];
- i += e === HC ? TC(r[a]) : e === UC ? zC.transform(r[a]) : r[a];
+ i += e === aw ? KC(r[a]) : e === ow ? iw.transform(r[a]) : r[a];
}
return i;
};
}
-function ZC(e) {
- return XC(JC(e));
+function Hie(e) {
+ return lw(cw(e));
}
-var QC = (e) => typeof e == "number" ? 0 : zC.test(e) ? zC.getAnimatableNone(e) : e, $C = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : QC(e);
-function ew(e) {
- let t = JC(e);
- return XC(t)(t.values.map((e, n) => $C(e, t.split[n])));
+var Uie = (e) => typeof e == "number" ? 0 : iw.test(e) ? iw.getAnimatableNone(e) : e, Wie = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : Uie(e);
+function Gie(e) {
+ let t = cw(e);
+ return lw(t)(t.values.map((e, n) => Wie(e, t.split[n])));
}
-var tw = {
- test: VC,
- parse: YC,
- createTransformer: ZC,
- getAnimatableNone: ew
+var uw = {
+ test: Lie,
+ parse: Vie,
+ createTransformer: Hie,
+ getAnimatableNone: Gie
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs
-function nw(e, t, n) {
+function dw(e, t, n) {
return n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
}
-function rw({ hue: e, saturation: t, lightness: n, alpha: r }) {
+function Kie({ hue: e, saturation: t, lightness: n, alpha: r }) {
e /= 360, t /= 100, n /= 100;
let i = 0, a = 0, o = 0;
if (!t) i = a = o = n;
else {
let r = n < .5 ? n * (1 + t) : n + t - n * t, s = 2 * n - r;
- i = nw(s, r, e + 1 / 3), a = nw(s, r, e), o = nw(s, r, e - 1 / 3);
+ i = dw(s, r, e + 1 / 3), a = dw(s, r, e), o = dw(s, r, e - 1 / 3);
}
return {
red: Math.round(i * 255),
@@ -28678,61 +28679,61 @@ function rw({ hue: e, saturation: t, lightness: n, alpha: r }) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/immediate.mjs
-function iw(e, t) {
+function fw(e, t) {
return (n) => n > 0 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/number.mjs
-var aw = (e, t, n) => e + (t - e) * n, ow = (e, t, n) => {
+var pw = (e, t, n) => e + (t - e) * n, mw = (e, t, n) => {
let r = e * e, i = n * (t * t - r) + r;
return i < 0 ? 0 : Math.sqrt(i);
-}, sw = [
- jC,
- AC,
- RC
-], cw = (e) => sw.find((t) => t.test(e));
-function lw(e) {
- let t = cw(e);
+}, qie = [
+ QC,
+ ZC,
+ rw
+], Jie = (e) => qie.find((t) => t.test(e));
+function hw(e) {
+ let t = Jie(e);
if (`${e}`, !t) return !1;
let n = t.parse(e);
- return t === RC && (n = rw(n)), n;
+ return t === rw && (n = Kie(n)), n;
}
-var uw = (e, t) => {
- let n = lw(e), r = lw(t);
- if (!n || !r) return iw(e, t);
+var gw = (e, t) => {
+ let n = hw(e), r = hw(t);
+ if (!n || !r) return fw(e, t);
let i = { ...n };
- return (e) => (i.red = ow(n.red, r.red, e), i.green = ow(n.green, r.green, e), i.blue = ow(n.blue, r.blue, e), i.alpha = aw(n.alpha, r.alpha, e), AC.transform(i));
-}, dw = /* @__PURE__ */ new Set(["none", "hidden"]);
-function fw(e, t) {
- return dw.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
+ return (e) => (i.red = mw(n.red, r.red, e), i.green = mw(n.green, r.green, e), i.blue = mw(n.blue, r.blue, e), i.alpha = pw(n.alpha, r.alpha, e), ZC.transform(i));
+}, _w = /* @__PURE__ */ new Set(["none", "hidden"]);
+function Yie(e, t) {
+ return _w.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/complex.mjs
-function pw(e, t) {
- return (n) => aw(e, t, n);
+function Xie(e, t) {
+ return (n) => pw(e, t, n);
}
-function mw(e) {
- return typeof e == "number" ? pw : typeof e == "string" ? bC(e) ? iw : zC.test(e) ? uw : Xie : Array.isArray(e) ? hw : typeof e == "object" ? zC.test(e) ? uw : gw : iw;
+function vw(e) {
+ return typeof e == "number" ? Xie : typeof e == "string" ? VC(e) ? fw : iw.test(e) ? gw : $ie : Array.isArray(e) ? yw : typeof e == "object" ? iw.test(e) ? gw : Zie : fw;
}
-function hw(e, t) {
- let n = [...e], r = n.length, i = e.map((e, n) => mw(e)(e, t[n]));
+function yw(e, t) {
+ let n = [...e], r = n.length, i = e.map((e, n) => vw(e)(e, t[n]));
return (e) => {
for (let t = 0; t < r; t++) n[t] = i[t](e);
return n;
};
}
-function gw(e, t) {
+function Zie(e, t) {
let n = {
...e,
...t
}, r = {};
- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = mw(e[i])(e[i], t[i]));
+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = vw(e[i])(e[i], t[i]));
return (e) => {
for (let t in r) n[t] = r[t](e);
return n;
};
}
-function _w(e, t) {
+function Qie(e, t) {
let n = [], r = {
color: 0,
var: 0,
@@ -28744,50 +28745,50 @@ function _w(e, t) {
}
return n;
}
-var Xie = (e, t) => {
- let n = tw.createTransformer(t), r = JC(e), i = JC(t);
- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? dw.has(e) && !i.values.length || dw.has(t) && !r.values.length ? fw(e, t) : US(hw(_w(r, i), i.values), n) : (`${e}${t}`, iw(e, t));
+var $ie = (e, t) => {
+ let n = uw.createTransformer(t), r = cw(e), i = cw(t);
+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? _w.has(e) && !i.values.length || _w.has(t) && !r.values.length ? Yie(e, t) : uC(yw(Qie(r, i), i.values), n) : (`${e}${t}`, fw(e, t));
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/index.mjs
-function vw(e, t, n) {
- return typeof e == "number" && typeof t == "number" && typeof n == "number" ? aw(e, t, n) : mw(e)(e, t);
+function bw(e, t, n) {
+ return typeof e == "number" && typeof t == "number" && typeof n == "number" ? pw(e, t, n) : vw(e)(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/drivers/frame.mjs
-var Zie = (e) => {
+var eae = (e) => {
let t = ({ timestamp: t }) => e(t);
return {
- start: (e = !0) => fC.update(t, e),
- stop: () => pC(t),
- now: () => mC.isProcessing ? mC.timestamp : _C.now()
+ start: (e = !0) => NC.update(t, e),
+ stop: () => PC(t),
+ now: () => FC.isProcessing ? FC.timestamp : RC.now()
};
-}, yw = (e, t, n = 10) => {
+}, xw = (e, t, n = 10) => {
let r = "", i = Math.max(Math.round(t / n), 2);
for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";
return `linear(${r.substring(0, r.length - 2)})`;
-}, bw = 2e4;
-function xw(e) {
+}, Sw = 2e4;
+function Cw(e) {
let t = 0, n = e.next(t);
for (; !n.done && t < 2e4;) t += 50, n = e.next(t);
return t >= 2e4 ? Infinity : t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs
-function Qie(e, t = 100, n) {
+function tae(e, t = 100, n) {
let r = n({
...e,
keyframes: [0, t]
- }), i = Math.min(xw(r), bw);
+ }), i = Math.min(Cw(r), Sw);
return {
type: "keyframes",
ease: (e) => r.next(i * e).value / t,
- duration: /* @__PURE__ */ qS(i)
+ duration: /* @__PURE__ */ mC(i)
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/spring.mjs
-var Sw = {
+var ww = {
stiffness: 100,
damping: 10,
mass: 1,
@@ -28808,31 +28809,31 @@ var Sw = {
minDamping: .05,
maxDamping: 1
};
-function Cw(e, t) {
+function Tw(e, t) {
return e * Math.sqrt(1 - t * t);
}
-var $ie = 12;
-function eae(e, t, n) {
+var nae = 12;
+function rae(e, t, n) {
let r = n;
- for (let n = 1; n < $ie; n++) r -= e(r) / t(r);
+ for (let n = 1; n < nae; n++) r -= e(r) / t(r);
return r;
}
-var ww = .001;
-function tae({ duration: e = Sw.duration, bounce: t = Sw.bounce, velocity: n = Sw.velocity, mass: r = Sw.mass }) {
+var Ew = .001;
+function iae({ duration: e = ww.duration, bounce: t = ww.bounce, velocity: n = ww.velocity, mass: r = ww.mass }) {
let i, a;
- Sw.maxDuration;
+ ww.maxDuration;
let o = 1 - t;
- o = IS(Sw.minDamping, Sw.maxDamping, o), e = IS(Sw.minDuration, Sw.maxDuration, /* @__PURE__ */ qS(e)), o < 1 ? (i = (t) => {
- let r = t * o, i = r * e, a = r - n, s = Cw(t, o), c = Math.exp(-i);
- return ww - a / s * c;
+ o = rC(ww.minDamping, ww.maxDamping, o), e = rC(ww.minDuration, ww.maxDuration, /* @__PURE__ */ mC(e)), o < 1 ? (i = (t) => {
+ let r = t * o, i = r * e, a = r - n, s = Tw(t, o), c = Math.exp(-i);
+ return Ew - a / s * c;
}, a = (t) => {
- let r = t * o * e, a = r * n + n, s = o ** 2 * t ** 2 * e, c = Math.exp(-r), l = Cw(t ** 2, o);
- return (-i(t) + ww > 0 ? -1 : 1) * ((a - s) * c) / l;
+ let r = t * o * e, a = r * n + n, s = o ** 2 * t ** 2 * e, c = Math.exp(-r), l = Tw(t ** 2, o);
+ return (-i(t) + Ew > 0 ? -1 : 1) * ((a - s) * c) / l;
}) : (i = (t) => -.001 + Math.exp(-t * e) * ((t - n) * e + 1), a = (t) => Math.exp(-t * e) * ((n - t) * (e * e)));
- let s = 5 / e, c = eae(i, a, s);
- if (e = /* @__PURE__ */ KS(e), isNaN(c)) return {
- stiffness: Sw.stiffness,
- damping: Sw.damping,
+ let s = 5 / e, c = rae(i, a, s);
+ if (e = /* @__PURE__ */ pC(e), isNaN(c)) return {
+ stiffness: ww.stiffness,
+ damping: ww.damping,
duration: e
};
{
@@ -28844,47 +28845,47 @@ function tae({ duration: e = Sw.duration, bounce: t = Sw.bounce, velocity: n = S
};
}
}
-var nae = ["duration", "bounce"], rae = [
+var aae = ["duration", "bounce"], oae = [
"stiffness",
"damping",
"mass"
];
-function Tw(e, t) {
+function Dw(e, t) {
return t.some((t) => e[t] !== void 0);
}
-function iae(e) {
+function sae(e) {
let t = {
- velocity: Sw.velocity,
- stiffness: Sw.stiffness,
- damping: Sw.damping,
- mass: Sw.mass,
+ velocity: ww.velocity,
+ stiffness: ww.stiffness,
+ damping: ww.damping,
+ mass: ww.mass,
isResolvedFromDuration: !1,
...e
};
- if (!Tw(e, rae) && Tw(e, nae)) {
+ if (!Dw(e, oae) && Dw(e, aae)) {
if (t.velocity = 0, e.visualDuration) {
- let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * IS(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
+ let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * rC(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
t = {
...t,
- mass: Sw.mass,
+ mass: ww.mass,
stiffness: i,
damping: a
};
} else {
- let n = tae({
+ let n = iae({
...e,
velocity: 0
});
t = {
...t,
...n,
- mass: Sw.mass
+ mass: ww.mass
}, t.isResolvedFromDuration = !0;
}
}
return t;
}
-function Ew(e = Sw.visualDuration, t = Sw.bounce) {
+function Ow(e = ww.visualDuration, t = ww.bounce) {
let n = typeof e == "object" ? e : {
visualDuration: e,
keyframes: [0, 1],
@@ -28892,13 +28893,13 @@ function Ew(e = Sw.visualDuration, t = Sw.bounce) {
}, { restSpeed: r, restDelta: i } = n, a = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], s = {
done: !1,
value: a
- }, { stiffness: c, damping: l, mass: u, duration: d, velocity: f, isResolvedFromDuration: p } = iae({
+ }, { stiffness: c, damping: l, mass: u, duration: d, velocity: f, isResolvedFromDuration: p } = sae({
...n,
- velocity: -/* @__PURE__ */ qS(n.velocity || 0)
- }), m = f || 0, h = l / (2 * Math.sqrt(c * u)), g = o - a, _ = /* @__PURE__ */ qS(Math.sqrt(c / u)), v = Math.abs(g) < 5;
- r ||= v ? Sw.restSpeed.granular : Sw.restSpeed.default, i ||= v ? Sw.restDelta.granular : Sw.restDelta.default;
+ velocity: -/* @__PURE__ */ mC(n.velocity || 0)
+ }), m = f || 0, h = l / (2 * Math.sqrt(c * u)), g = o - a, _ = /* @__PURE__ */ mC(Math.sqrt(c / u)), v = Math.abs(g) < 5;
+ r ||= v ? ww.restSpeed.granular : ww.restSpeed.default, i ||= v ? ww.restDelta.granular : ww.restDelta.default;
let y, b, x, S, C, w;
- if (h < 1) x = Cw(_, h), S = (m + h * _ * g) / x, y = (e) => {
+ if (h < 1) x = Tw(_, h), S = (m + h * _ * g) / x, y = (e) => {
let t = Math.exp(-h * _ * e);
return o - t * (S * Math.sin(x * e) + g * Math.cos(x * e));
}, C = h * _ * S + g * x, w = h * _ * g - S * x, b = (e) => Math.exp(-h * _ * e) * (C * Math.sin(x * e) + w * Math.cos(x * e));
@@ -28920,42 +28921,42 @@ function Ew(e = Sw.visualDuration, t = Sw.bounce) {
}
let T = {
calculatedDuration: p && d || null,
- velocity: (e) => /* @__PURE__ */ KS(b(e)),
+ velocity: (e) => /* @__PURE__ */ pC(b(e)),
next: (e) => {
if (!p && h < 1) {
- let t = Math.exp(-h * _ * e), n = Math.sin(x * e), a = Math.cos(x * e), c = o - t * (S * n + g * a), l = /* @__PURE__ */ KS(t * (C * n + w * a));
+ let t = Math.exp(-h * _ * e), n = Math.sin(x * e), a = Math.cos(x * e), c = o - t * (S * n + g * a), l = /* @__PURE__ */ pC(t * (C * n + w * a));
return s.done = Math.abs(l) <= r && Math.abs(o - c) <= i, s.value = s.done ? o : c, s;
}
let t = y(e);
if (p) s.done = e >= d;
else {
- let n = /* @__PURE__ */ KS(b(e));
+ let n = /* @__PURE__ */ pC(b(e));
s.done = Math.abs(n) <= r && Math.abs(o - t) <= i;
}
return s.value = s.done ? o : t, s;
},
toString: () => {
- let e = Math.min(xw(T), bw), t = yw((t) => T.next(e * t).value, e, 30);
+ let e = Math.min(Cw(T), Sw), t = xw((t) => T.next(e * t).value, e, 30);
return e + "ms " + t;
},
toTransition: () => {}
};
return T;
}
-Ew.applyToOptions = (e) => {
- let t = Qie(e, 100, Ew);
- return e.ease = t.ease, e.duration = /* @__PURE__ */ KS(t.duration), e.type = "keyframes", e;
+Ow.applyToOptions = (e) => {
+ let t = tae(e, 100, Ow);
+ return e.ease = t.ease, e.duration = /* @__PURE__ */ pC(t.duration), e.type = "keyframes", e;
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs
-var aae = 5;
-function Dw(e, t, n) {
- let r = Math.max(t - aae, 0);
- return /* @__PURE__ */ JS(n - e(r), t - r);
+var cae = 5;
+function kw(e, t, n) {
+ let r = Math.max(t - cae, 0);
+ return /* @__PURE__ */ hC(n - e(r), t - r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/inertia.mjs
-function Ow({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
+function Aw({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
let d = e[0], f = {
done: !1,
value: d
@@ -28965,9 +28966,9 @@ function Ow({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
let t = v(e), n = y(e);
f.done = Math.abs(t) <= l, f.value = f.done ? _ : n;
}, x, S, C = (e) => {
- p(f.value) && (x = e, S = Ew({
+ p(f.value) && (x = e, S = Ow({
keyframes: [f.value, m(f.value)],
- velocity: Dw(y, e, f.value),
+ velocity: kw(y, e, f.value),
damping: i,
stiffness: a,
restDelta: l,
@@ -28984,59 +28985,59 @@ function Ow({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/interpolate.mjs
-function oae(e, t, n) {
- let r = [], i = n || LS.mix || vw, a = e.length - 1;
+function lae(e, t, n) {
+ let r = [], i = n || iC.mix || bw, a = e.length - 1;
for (let n = 0; n < a; n++) {
let a = i(e[n], e[n + 1]);
- t && (a = US(Array.isArray(t) ? t[n] || HS : t, a)), r.push(a);
+ t && (a = uC(Array.isArray(t) ? t[n] || lC : t, a)), r.push(a);
}
return r;
}
-function kw(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
+function jw(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
let a = e.length;
if (t.length, a === 1) return () => t[0];
if (a === 2 && t[0] === t[1]) return () => t[1];
let o = e[0] === e[1];
e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());
- let s = oae(t, r, i), c = s.length, l = (n) => {
+ let s = lae(t, r, i), c = s.length, l = (n) => {
if (o && n < e[0]) return t[0];
let r = 0;
if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);
- let i = /* @__PURE__ */ WS(e[r], e[r + 1], n);
+ let i = /* @__PURE__ */ dC(e[r], e[r + 1], n);
return s[r](i);
};
- return n ? (t) => l(IS(e[0], e[a - 1], t)) : l;
+ return n ? (t) => l(rC(e[0], e[a - 1], t)) : l;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs
-function sae(e, t) {
+function uae(e, t) {
let n = e[e.length - 1];
for (let r = 1; r <= t; r++) {
- let i = /* @__PURE__ */ WS(0, t, r);
- e.push(aw(n, 1, i));
+ let i = /* @__PURE__ */ dC(0, t, r);
+ e.push(pw(n, 1, i));
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs
-function cae(e) {
+function dae(e) {
let t = [0];
- return sae(t, e.length - 1), t;
+ return uae(t, e.length - 1), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs
-function lae(e, t) {
+function fae(e, t) {
return e.map((e) => e * t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs
-function uae(e, t) {
- return e.map(() => t || oC).splice(0, e.length - 1);
+function pae(e, t) {
+ return e.map(() => t || DC).splice(0, e.length - 1);
}
-function Aw({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
- let i = /* @__PURE__ */ zie(r) ? r.map(lC) : lC(r), a = {
+function Mw({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
+ let i = /* @__PURE__ */ Cie(r) ? r.map(AC) : AC(r), a = {
done: !1,
value: t[0]
- }, o = kw(lae(n && n.length === t.length ? n : cae(t), e), t, { ease: Array.isArray(i) ? i : uae(t, i) });
+ }, o = jw(fae(n && n.length === t.length ? n : dae(t), e), t, { ease: Array.isArray(i) ? i : pae(t, i) });
return {
calculatedDuration: e,
next: (t) => (a.value = o(t), a.done = t >= e, a)
@@ -29044,26 +29045,26 @@ function Aw({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs
-var dae = (e) => e !== null;
-function jw(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
- let a = e.filter(dae), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
+var mae = (e) => e !== null;
+function Nw(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
+ let a = e.filter(mae), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
return !o || r === void 0 ? a[o] : r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs
-var fae = {
- decay: Ow,
- inertia: Ow,
- tween: Aw,
- keyframes: Aw,
- spring: Ew
+var hae = {
+ decay: Aw,
+ inertia: Aw,
+ tween: Mw,
+ keyframes: Mw,
+ spring: Ow
};
-function Mw(e) {
- typeof e.type == "string" && (e.type = fae[e.type]);
+function Pw(e) {
+ typeof e.type == "string" && (e.type = hae[e.type]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs
-var Nw = class {
+var Fw = class {
constructor() {
this.updateFinished();
}
@@ -29081,21 +29082,21 @@ var Nw = class {
then(e, t) {
return this.finished.then(e, t);
}
-}, pae = (e) => e / 100, Pw = class extends Nw {
+}, gae = (e) => e / 100, Iw = class extends Fw {
constructor(e) {
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {
done: !1,
value: void 0
}, this.stop = () => {
let { motionValue: e } = this.options;
- e && e.updatedAt !== _C.now() && this.tick(_C.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
+ e && e.updatedAt !== RC.now() && this.tick(RC.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
}, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause();
}
initAnimation() {
let { options: e } = this;
- Mw(e);
- let { type: t = Aw, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Aw;
- s !== Aw && typeof o[0] != "number" && (this.mixKeyframes = US(pae, vw(o[0], o[1])), o = [0, 100]);
+ Pw(e);
+ let { type: t = Mw, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Mw;
+ s !== Mw && typeof o[0] != "number" && (this.mixKeyframes = uC(gae, bw(o[0], o[1])), o = [0, 100]);
let c = s({
...e,
keyframes: o
@@ -29104,7 +29105,7 @@ var Nw = class {
...e,
keyframes: [...o].reverse(),
velocity: -a
- })), c.calculatedDuration === null && (c.calculatedDuration = xw(c));
+ })), c.calculatedDuration === null && (c.calculatedDuration = Cw(c));
let { calculatedDuration: l } = c;
this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;
}
@@ -29122,54 +29123,54 @@ var Nw = class {
let v = this.currentTime, y = n;
if (u) {
let e = Math.min(this.currentTime, r) / o, t = Math.floor(e), n = e % 1;
- !n && e >= 1 && (n = 1), n === 1 && t--, t = Math.min(t, u + 1), t % 2 && (d === "reverse" ? (n = 1 - n, f && (n -= f / o)) : d === "mirror" && (y = a)), v = IS(0, 1, n) * o;
+ !n && e >= 1 && (n = 1), n === 1 && t--, t = Math.min(t, u + 1), t % 2 && (d === "reverse" ? (n = 1 - n, f && (n -= f / o)) : d === "mirror" && (y = a)), v = rC(0, 1, n) * o;
}
let b;
_ ? (this.delayState.value = l[0], b = this.delayState) : b = y.next(v), i && !_ && (b.value = i(b.value));
let { done: x } = b;
!_ && s !== null && (x = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
let S = this.holdTime === null && (this.state === "finished" || this.state === "running" && x);
- return S && p !== Ow && (b.value = jw(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
+ return S && p !== Aw && (b.value = Nw(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
}
then(e, t) {
return this.finished.then(e, t);
}
get duration() {
- return /* @__PURE__ */ qS(this.calculatedDuration);
+ return /* @__PURE__ */ mC(this.calculatedDuration);
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ qS(e);
+ return this.duration + /* @__PURE__ */ mC(e);
}
get time() {
- return /* @__PURE__ */ qS(this.currentTime);
+ return /* @__PURE__ */ mC(this.currentTime);
}
set time(e) {
- e = /* @__PURE__ */ KS(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
+ e = /* @__PURE__ */ pC(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
}
getGeneratorVelocity() {
let e = this.currentTime;
if (e <= 0) return this.options.velocity || 0;
if (this.generator.velocity) return this.generator.velocity(e);
let t = this.generator.next(e).value;
- return Dw((e) => this.generator.next(e).value, e, t);
+ return kw((e) => this.generator.next(e).value, e, t);
}
get speed() {
return this.playbackSpeed;
}
set speed(e) {
let t = this.playbackSpeed !== e;
- t && this.driver && this.updateTime(_C.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ qS(this.currentTime));
+ t && this.driver && this.updateTime(RC.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ mC(this.currentTime));
}
play() {
if (this.isStopped) return;
- let { driver: e = Zie, startTime: t } = this.options;
+ let { driver: e = eae, startTime: t } = this.options;
this.driver ||= e((e) => this.tick(e)), this.options.onPlay?.();
let n = this.driver.now();
this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? n : this.startTime = n - this.holdTime, this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
}
pause() {
- this.state = "paused", this.updateTime(_C.now()), this.holdTime = this.currentTime;
+ this.state = "paused", this.updateTime(RC.now()), this.holdTime = this.currentTime;
}
complete() {
this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;
@@ -29195,12 +29196,12 @@ var Nw = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs
-function Fw(e) {
+function Lw(e) {
for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs
-var Iw = (e) => e * 180 / Math.PI, Lw = (e) => Rw(Iw(Math.atan2(e[1], e[0]))), mae = {
+var Rw = (e) => e * 180 / Math.PI, zw = (e) => Bw(Rw(Math.atan2(e[1], e[0]))), _ae = {
x: 4,
y: 5,
translateX: 4,
@@ -29208,54 +29209,54 @@ var Iw = (e) => e * 180 / Math.PI, Lw = (e) => Rw(Iw(Math.atan2(e[1], e[0]))), m
scaleX: 0,
scaleY: 3,
scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
- rotate: Lw,
- rotateZ: Lw,
- skewX: (e) => Iw(Math.atan(e[1])),
- skewY: (e) => Iw(Math.atan(e[2])),
+ rotate: zw,
+ rotateZ: zw,
+ skewX: (e) => Rw(Math.atan(e[1])),
+ skewY: (e) => Rw(Math.atan(e[2])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
-}, Rw = (e) => (e %= 360, e < 0 && (e += 360), e), zw = Lw, Bw = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Vw = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), hae = {
+}, Bw = (e) => (e %= 360, e < 0 && (e += 360), e), Vw = zw, Hw = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Uw = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), vae = {
x: 12,
y: 13,
z: 14,
translateX: 12,
translateY: 13,
translateZ: 14,
- scaleX: Bw,
- scaleY: Vw,
- scale: (e) => (Bw(e) + Vw(e)) / 2,
- rotateX: (e) => Rw(Iw(Math.atan2(e[6], e[5]))),
- rotateY: (e) => Rw(Iw(Math.atan2(-e[2], e[0]))),
- rotateZ: zw,
- rotate: zw,
- skewX: (e) => Iw(Math.atan(e[4])),
- skewY: (e) => Iw(Math.atan(e[1])),
+ scaleX: Hw,
+ scaleY: Uw,
+ scale: (e) => (Hw(e) + Uw(e)) / 2,
+ rotateX: (e) => Bw(Rw(Math.atan2(e[6], e[5]))),
+ rotateY: (e) => Bw(Rw(Math.atan2(-e[2], e[0]))),
+ rotateZ: Vw,
+ rotate: Vw,
+ skewX: (e) => Rw(Math.atan(e[4])),
+ skewY: (e) => Rw(Math.atan(e[1])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
};
-function Hw(e) {
+function Ww(e) {
return +!!e.includes("scale");
}
-function Uw(e, t) {
- if (!e || e === "none") return Hw(t);
+function Gw(e, t) {
+ if (!e || e === "none") return Ww(t);
let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), r, i;
- if (n) r = hae, i = n;
+ if (n) r = vae, i = n;
else {
let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);
- r = mae, i = t;
+ r = _ae, i = t;
}
- if (!i) return Hw(t);
- let a = r[t], o = i[1].split(",").map(_ae);
+ if (!i) return Ww(t);
+ let a = r[t], o = i[1].split(",").map(bae);
return typeof a == "function" ? a(o) : o[a];
}
-var gae = (e, t) => {
+var yae = (e, t) => {
let { transform: n = "none" } = getComputedStyle(e);
- return Uw(n, t);
+ return Gw(n, t);
};
-function _ae(e) {
+function bae(e) {
return parseFloat(e.trim());
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs
-var Ww = [
+var Kw = [
"transformPerspective",
"x",
"y",
@@ -29273,19 +29274,19 @@ var Ww = [
"skew",
"skewX",
"skewY"
-], Gw = /* @__PURE__ */ new Set([...Ww, "pathRotation"]), Kw = (e) => e === SC || e === X, vae = /* @__PURE__ */ new Set([
+], qw = /* @__PURE__ */ new Set([...Kw, "pathRotation"]), Jw = (e) => e === UC || e === X, xae = /* @__PURE__ */ new Set([
"x",
"y",
"z"
-]), yae = Ww.filter((e) => !vae.has(e));
-function bae(e) {
+]), Sae = Kw.filter((e) => !xae.has(e));
+function Cae(e) {
let t = [];
- return yae.forEach((n) => {
+ return Sae.forEach((n) => {
let r = e.getValue(n);
r !== void 0 && (t.push([n, r.get()]), r.set(+!!n.startsWith("scale")));
}), t;
}
-var qw = {
+var Yw = {
width: ({ x: e }, { paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }) => {
let i = e.max - e.min;
return r === "border-box" ? i : i - parseFloat(t) - parseFloat(n);
@@ -29298,18 +29299,18 @@ var qw = {
left: (e, { left: t }) => parseFloat(t),
bottom: ({ y: e }, { top: t }) => parseFloat(t) + (e.max - e.min),
right: ({ x: e }, { left: t }) => parseFloat(t) + (e.max - e.min),
- x: (e, { transform: t }) => Uw(t, "x"),
- y: (e, { transform: t }) => Uw(t, "y")
+ x: (e, { transform: t }) => Gw(t, "x"),
+ y: (e, { transform: t }) => Gw(t, "y")
};
-qw.translateX = qw.x, qw.translateY = qw.y;
+Yw.translateX = Yw.x, Yw.translateY = Yw.y;
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs
-var Jw = /* @__PURE__ */ new Set(), Yw = !1, Xw = !1, Zw = !1;
-function Qw() {
- if (Xw) {
- let e = Array.from(Jw).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
+var Xw = /* @__PURE__ */ new Set(), Zw = !1, Qw = !1, $w = !1;
+function eT() {
+ if (Qw) {
+ let e = Array.from(Xw).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
t.forEach((e) => {
- let t = bae(e);
+ let t = Cae(e);
t.length && (n.set(e, t), e.render());
}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {
e.render();
@@ -29321,22 +29322,22 @@ function Qw() {
e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
});
}
- Xw = !1, Yw = !1, Jw.forEach((e) => e.complete(Zw)), Jw.clear();
+ Qw = !1, Zw = !1, Xw.forEach((e) => e.complete($w)), Xw.clear();
}
-function $w() {
- Jw.forEach((e) => {
- e.readKeyframes(), e.needsMeasurement && (Xw = !0);
+function tT() {
+ Xw.forEach((e) => {
+ e.readKeyframes(), e.needsMeasurement && (Qw = !0);
});
}
-function xae() {
- Zw = !0, $w(), Qw(), Zw = !1;
+function wae() {
+ $w = !0, tT(), eT(), $w = !1;
}
-var eT = class {
+var nT = class {
constructor(e, t, n, r, i, a = !1) {
this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;
}
scheduleResolve() {
- this.state = "scheduled", this.isAsync ? (Jw.add(this), Yw || (Yw = !0, fC.read($w), fC.resolveKeyframes(Qw))) : (this.readKeyframes(), this.complete());
+ this.state = "scheduled", this.isAsync ? (Xw.add(this), Zw || (Zw = !0, NC.read(tT), NC.resolveKeyframes(eT))) : (this.readKeyframes(), this.complete());
}
readKeyframes() {
let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;
@@ -29349,70 +29350,70 @@ var eT = class {
}
e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);
}
- Fw(e);
+ Lw(e);
}
setFinalKeyframe() {}
measureInitialState() {}
renderEndStyles() {}
measureEndState() {}
complete(e = !1) {
- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), Jw.delete(this);
+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), Xw.delete(this);
}
cancel() {
- this.state === "scheduled" && (Jw.delete(this), this.state = "pending");
+ this.state === "scheduled" && (Xw.delete(this), this.state = "pending");
}
resume() {
this.state === "pending" && this.scheduleResolve();
}
-}, tT = (e) => e.startsWith("--");
+}, rT = (e) => e.startsWith("--");
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs
-function nT(e, t, n) {
- tT(t) ? e.style.setProperty(t, n) : e.style[t] = n;
+function iT(e, t, n) {
+ rT(t) ? e.style.setProperty(t, n) : e.style[t] = n;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/flags.mjs
-var Sae = {};
+var Tae = {};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/memo.mjs
-function rT(e, t) {
- let n = /* @__PURE__ */ VS(e);
- return () => Sae[t] ?? n();
+function aT(e, t) {
+ let n = /* @__PURE__ */ cC(e);
+ return () => Tae[t] ?? n();
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs
-var Cae = /* @__PURE__ */ rT(() => window.ScrollTimeline !== void 0, "scrollTimeline"), iT = /*@__PURE__*/ rT(() => {
+var Eae = /* @__PURE__ */ aT(() => window.ScrollTimeline !== void 0, "scrollTimeline"), oT = /*@__PURE__*/ aT(() => {
try {
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
} catch {
return !1;
}
return !0;
-}, "linearEasing"), aT = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, oT = {
+}, "linearEasing"), sT = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, cT = {
linear: "linear",
ease: "ease",
easeIn: "ease-in",
easeOut: "ease-out",
easeInOut: "ease-in-out",
- circIn: /*@__PURE__*/ aT([
+ circIn: /*@__PURE__*/ sT([
0,
.65,
.55,
1
]),
- circOut: /*@__PURE__*/ aT([
+ circOut: /*@__PURE__*/ sT([
.55,
0,
1,
.45
]),
- backIn: /*@__PURE__*/ aT([
+ backIn: /*@__PURE__*/ sT([
.31,
.01,
.66,
-.59
]),
- backOut: /*@__PURE__*/ aT([
+ backOut: /*@__PURE__*/ sT([
.33,
1.53,
.69,
@@ -29421,15 +29422,15 @@ var Cae = /* @__PURE__ */ rT(() => window.ScrollTimeline !== void 0, "scrollTime
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs
-function sT(e, t) {
- if (e) return typeof e == "function" ? iT() ? yw(e, t) : "ease-out" : /* @__PURE__ */ sC(e) ? aT(e) : Array.isArray(e) ? e.map((e) => sT(e, t) || oT.easeOut) : oT[e];
+function lT(e, t) {
+ if (e) return typeof e == "function" ? oT() ? xw(e, t) : "ease-out" : /* @__PURE__ */ OC(e) ? sT(e) : Array.isArray(e) ? e.map((e) => lT(e, t) || cT.easeOut) : cT[e];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs
-function wae(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
+function Dae(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
let u = { [t]: n };
c && (u.offset = c);
- let d = sT(s, i);
+ let d = lT(s, i);
Array.isArray(d) && (u.easing = d);
let f = {
delay: r,
@@ -29443,26 +29444,26 @@ function wae(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTy
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs
-function cT(e) {
+function uT(e) {
return typeof e == "function" && "applyToOptions" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
-function Tae({ type: e, ...t }) {
- return cT(e) && iT() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
+function Oae({ type: e, ...t }) {
+ return uT(e) && oT() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs
-var lT = class extends Nw {
+var dT = class extends Fw {
constructor(e) {
if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;
let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;
this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;
- let c = Tae(e);
- this.animation = wae(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
+ let c = Oae(e);
+ this.animation = Dae(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
if (this.finishedTime = this.time, !i) {
- let e = jw(r, this.options, o, this.speed);
- this.updateMotionValue && this.updateMotionValue(e), nT(t, n, e), this.animation.cancel();
+ let e = Nw(r, this.options, o, this.speed);
+ this.updateMotionValue && this.updateMotionValue(e), iT(t, n, e), this.animation.cancel();
}
s?.(), this.notifyFinished();
};
@@ -29493,18 +29494,18 @@ var lT = class extends Nw {
}
get duration() {
let e = this.animation.effect?.getComputedTiming?.().duration || 0;
- return /* @__PURE__ */ qS(Number(e));
+ return /* @__PURE__ */ mC(Number(e));
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ qS(e);
+ return this.duration + /* @__PURE__ */ mC(e);
}
get time() {
- return /* @__PURE__ */ qS(Number(this.animation.currentTime) || 0);
+ return /* @__PURE__ */ mC(Number(this.animation.currentTime) || 0);
}
set time(e) {
let t = this.finishedTime !== null;
- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ KS(e), t && this.animation.pause();
+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ pC(e), t && this.animation.pause();
}
get speed() {
return this.animation.playbackRate;
@@ -29522,24 +29523,24 @@ var lT = class extends Nw {
this.manualStartTime = this.animation.startTime = e;
}
attachTimeline({ timeline: e, rangeStart: t, rangeEnd: n, observe: r }) {
- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Cae() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), HS) : r(this);
+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Eae() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), lC) : r(this);
}
-}, uT = {
- anticipate: nC,
- backInOut: tC,
- circInOut: aC
+}, fT = {
+ anticipate: CC,
+ backInOut: SC,
+ circInOut: EC
};
-function Eae(e) {
- return e in uT;
+function kae(e) {
+ return e in fT;
}
-function Dae(e) {
- typeof e.ease == "string" && Eae(e.ease) && (e.ease = uT[e.ease]);
+function Aae(e) {
+ typeof e.ease == "string" && kae(e.ease) && (e.ease = fT[e.ease]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs
-var dT = 10, Oae = class extends lT {
+var pT = 10, jae = class extends dT {
constructor(e) {
- Dae(e), Mw(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
+ Aae(e), Pw(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
}
updateMotionValue(e) {
let { motionValue: t, onUpdate: n, onComplete: r, element: i, ...a } = this.options;
@@ -29548,48 +29549,48 @@ var dT = 10, Oae = class extends lT {
t.set(e);
return;
}
- let o = new Pw({
+ let o = new Iw({
...a,
autoplay: !1
- }), s = Math.max(dT, _C.now() - this.startTime), c = IS(0, dT, s - dT), l = o.sample(s).value, { name: u } = this.options;
- i && u && nT(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
+ }), s = Math.max(pT, RC.now() - this.startTime), c = rC(0, pT, s - pT), l = o.sample(s).value, { name: u } = this.options;
+ i && u && iT(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
}
-}, fT = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (tw.test(e) || e === "0") && !e.startsWith("url("));
+}, mT = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (uw.test(e) || e === "0") && !e.startsWith("url("));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs
-function kae(e) {
+function Mae(e) {
let t = e[0];
if (e.length === 1) return !0;
for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;
}
-function Aae(e, t, n, r) {
+function Nae(e, t, n, r) {
let i = e[0];
if (i === null) return !1;
if (t === "display" || t === "visibility") return !0;
- let a = e[e.length - 1], o = fT(i, t), s = fT(a, t);
- return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : kae(e) || (n === "spring" || cT(n)) && r;
+ let a = e[e.length - 1], o = mT(i, t), s = mT(a, t);
+ return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : Mae(e) || (n === "spring" || uT(n)) && r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs
-function pT(e) {
+function hT(e) {
e.duration = 0, e.type = "keyframes";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs
-var mT = /* @__PURE__ */ new Set([
+var gT = /* @__PURE__ */ new Set([
"opacity",
"clipPath",
"filter",
"transform",
"backgroundColor"
-]), jae = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
-function Mae(e) {
- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && jae.test(e[t])) return !0;
+]), Pae = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
+function _T(e) {
+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Pae.test(e[t])) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs
-var Nae = /* @__PURE__ */ new Set([
+var Fae = /* @__PURE__ */ new Set([
"color",
"backgroundColor",
"outlineColor",
@@ -29600,20 +29601,20 @@ var Nae = /* @__PURE__ */ new Set([
"borderRightColor",
"borderBottomColor",
"borderLeftColor"
-]), Pae = /*@__PURE__*/ VS(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
-function Fae(e) {
+]), Iae = /*@__PURE__*/ cC(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
+function Lae(e) {
let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e, c = t?.owner?.current;
if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;
let { onUpdate: l, transformTemplate: u } = t.owner.getProps();
- return Pae() && n && (mT.has(n) || Nae.has(n) && Mae(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
+ return Iae() && n && (gT.has(n) || Fae.has(n) && _T(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
-var Iae = 40, Lae = class extends Nw {
+var Rae = 40, zae = class extends Fw {
constructor({ autoplay: e = !0, delay: t = 0, type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: a = "loop", keyframes: o, name: s, motionValue: c, element: l, ...u }) {
super(), this.stop = () => {
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
- }, this.createdAt = _C.now();
+ }, this.createdAt = RC.now();
let d = {
autoplay: e,
delay: t,
@@ -29625,33 +29626,33 @@ var Iae = 40, Lae = class extends Nw {
motionValue: c,
element: l,
...u
- }, f = l?.KeyframeResolver || eT;
+ }, f = l?.KeyframeResolver || nT;
this.keyframeResolver = new f(o, (e, t, n) => this.onKeyframesResolved(e, t, d, !n), s, c, l), this.keyframeResolver?.scheduleResolve();
}
onKeyframesResolved(e, t, n, r) {
this.keyframeResolver = void 0;
let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;
- this.resolvedAt = _C.now();
+ this.resolvedAt = RC.now();
let u = !0;
- Aae(e, i, a, o) || (u = !1, (LS.instantAnimations || !s) && l?.(jw(e, n, t)), e[0] = e[e.length - 1], pT(n), n.repeat = 0);
+ Nae(e, i, a, o) || (u = !1, (iC.instantAnimations || !s) && l?.(Nw(e, n, t)), e[0] = e[e.length - 1], hT(n), n.repeat = 0);
let d = {
- startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > Iae ? this.resolvedAt : this.createdAt : void 0,
+ startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > Rae ? this.resolvedAt : this.createdAt : void 0,
finalKeyframe: t,
...n,
keyframes: e
- }, f = u && !c && Fae(d), p = d.motionValue?.owner?.current, m;
+ }, f = u && !c && Lae(d), p = d.motionValue?.owner?.current, m;
if (f) try {
- m = new Oae({
+ m = new jae({
...d,
element: p
});
} catch {
- m = new Pw(d);
+ m = new Iw(d);
}
- else m = new Pw(d);
+ else m = new Iw(d);
m.finished.then(() => {
this.notifyFinished();
- }).catch(HS), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
+ }).catch(lC), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
}
get finished() {
return this._animation ? this.animation.finished : this._finished;
@@ -29660,7 +29661,7 @@ var Iae = 40, Lae = class extends Nw {
return this.finished.finally(e).then(() => {});
}
get animation() {
- return this._animation || (this.keyframeResolver?.resume(), xae()), this._animation;
+ return this._animation || (this.keyframeResolver?.resume(), wae()), this._animation;
}
get duration() {
return this.animation.duration;
@@ -29701,7 +29702,7 @@ var Iae = 40, Lae = class extends Nw {
cancel() {
this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();
}
-}, Rae = class {
+}, Bae = class {
constructor(e) {
this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
}
@@ -29741,10 +29742,10 @@ var Iae = 40, Lae = class extends Nw {
return this.getAll("startTime");
}
get duration() {
- return hT(this.animations, "duration");
+ return vT(this.animations, "duration");
}
get iterationDuration() {
- return hT(this.animations, "iterationDuration");
+ return vT(this.animations, "iterationDuration");
}
runAll(e) {
this.animations.forEach((t) => t[e]());
@@ -29762,7 +29763,7 @@ var Iae = 40, Lae = class extends Nw {
this.runAll("complete");
}
};
-function hT(e, t) {
+function vT(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) {
let i = e[r][t];
@@ -29772,32 +29773,32 @@ function hT(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs
-var zae = class extends Rae {
+var Vae = class extends Bae {
then(e, t) {
return this.finished.finally(e).then(() => {});
}
-}, gT = /* @__PURE__ */ new WeakMap(), Bae = (e, t = "") => `${e}:${t}`;
-function Vae(e) {
- let t = gT.get(e);
- return t || (t = /* @__PURE__ */ new Map(), gT.set(e, t)), t;
+}, yT = /* @__PURE__ */ new WeakMap(), Hae = (e, t = "") => `${e}:${t}`;
+function Uae(e) {
+ let t = yT.get(e);
+ return t || (t = /* @__PURE__ */ new Map(), yT.set(e, t)), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs
-function _T(e, t, n, r = 0, i = 1) {
+function bT(e, t, n, r = 0, i = 1) {
let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;
return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/index.mjs
-var vT = 30, Hae = (e) => !isNaN(parseFloat(e)), yT = { current: void 0 }, Uae = class {
+var xT = 30, Wae = (e) => !isNaN(parseFloat(e)), ST = { current: void 0 }, Gae = class {
constructor(e, t = {}) {
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
- let t = _C.now();
+ let t = RC.now();
if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.events.change?.notify(this.current), this.dependents)) for (let e of this.dependents) e.dirty();
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
}
setCurrent(e) {
- this.current = e, this.updatedAt = _C.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = Hae(this.current));
+ this.current = e, this.updatedAt = RC.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = Wae(this.current));
}
setPrevFrameValue(e = this.current) {
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -29806,10 +29807,10 @@ var vT = 30, Hae = (e) => !isNaN(parseFloat(e)), yT = { current: void 0 }, Uae =
return this.on("change", e);
}
on(e, t) {
- this.events[e] || (this.events[e] = new GS());
+ this.events[e] || (this.events[e] = new fC());
let n = this.events[e].add(t);
return e === "change" ? () => {
- n(), fC.read(() => {
+ n(), NC.read(() => {
this.events.change.getSize() || this.stop();
});
} : n;
@@ -29839,16 +29840,16 @@ var vT = 30, Hae = (e) => !isNaN(parseFloat(e)), yT = { current: void 0 }, Uae =
this.dependents && this.dependents.delete(e);
}
get() {
- return yT.current && yT.current.push(this), this.current;
+ return ST.current && ST.current.push(this), this.current;
}
getPrevious() {
return this.prev;
}
getVelocity() {
- let e = _C.now();
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > vT) return 0;
- let t = Math.min(this.updatedAt - this.prevUpdatedAt, vT);
- return /* @__PURE__ */ JS(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
+ let e = RC.now();
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > xT) return 0;
+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, xT);
+ return /* @__PURE__ */ hC(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
}
start(e) {
return this.stop(), new Promise((t) => {
@@ -29870,12 +29871,12 @@ var vT = 30, Hae = (e) => !isNaN(parseFloat(e)), yT = { current: void 0 }, Uae =
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
}
};
-function bT(e, t) {
- return new Uae(e, t);
+function CT(e, t) {
+ return new Gae(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
-function xT(e, t) {
+function wT(e, t) {
if (e?.inherit && t) {
let { inherit: n, ...r } = e;
return {
@@ -29887,26 +29888,26 @@ function xT(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
-function ST(e, t) {
+function TT(e, t) {
let n = e?.[t] ?? e?.default ?? e;
- return n === e ? n : xT(n, e);
+ return n === e ? n : wT(n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs
-var Wae = {
+var Kae = {
type: "spring",
stiffness: 500,
damping: 25,
restSpeed: 10
-}, Gae = (e) => ({
+}, qae = (e) => ({
type: "spring",
stiffness: 550,
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
restSpeed: 10
-}), Kae = {
+}), Jae = {
type: "keyframes",
duration: .8
-}, qae = {
+}, Yae = {
type: "keyframes",
ease: [
.25,
@@ -29915,7 +29916,7 @@ var Wae = {
1
],
duration: .3
-}, Jae = (e, { keyframes: t }) => t.length > 2 ? Kae : Gw.has(e) ? e.startsWith("scale") ? Gae(t[1]) : Wae : qae, Yae = /* @__PURE__ */ new Set([
+}, Xae = (e, { keyframes: t }) => t.length > 2 ? Jae : qw.has(e) ? e.startsWith("scale") ? qae(t[1]) : Kae : Yae, Zae = /* @__PURE__ */ new Set([
"when",
"delay",
"delayChildren",
@@ -29927,15 +29928,15 @@ var Wae = {
"from",
"elapsed"
]);
-function Xae(e) {
- for (let t in e) if (!Yae.has(t)) return !0;
+function Qae(e) {
+ for (let t in e) if (!Zae.has(t)) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs
-var CT = (e, t, n, r = {}, i, a) => (o) => {
- let s = ST(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
- l -= /* @__PURE__ */ KS(c);
+var ET = (e, t, n, r = {}, i, a) => (o) => {
+ let s = TT(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
+ l -= /* @__PURE__ */ pC(c);
let u = {
keyframes: Array.isArray(n) ? n : [null, n],
ease: "easeOut",
@@ -29952,160 +29953,160 @@ var CT = (e, t, n, r = {}, i, a) => (o) => {
motionValue: t,
element: a ? void 0 : i
};
- Xae(s) || Object.assign(u, Jae(e, u)), u.duration &&= /* @__PURE__ */ KS(u.duration), u.repeatDelay &&= /* @__PURE__ */ KS(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
+ Qae(s) || Object.assign(u, Xae(e, u)), u.duration &&= /* @__PURE__ */ pC(u.duration), u.repeatDelay &&= /* @__PURE__ */ pC(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
let d = !1;
- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (pT(u), u.delay === 0 && (d = !0)), (LS.instantAnimations || LS.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, pT(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
- let e = jw(u.keyframes, s);
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (hT(u), u.delay === 0 && (d = !0)), (iC.instantAnimations || iC.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, hT(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
+ let e = Nw(u.keyframes, s);
if (e !== void 0) {
- fC.update(() => {
+ NC.update(() => {
u.onUpdate(e), u.onComplete();
});
return;
}
}
- return s.isSync ? new Pw(u) : new Lae(u);
-}, Zae = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
-function Qae(e) {
- let t = Zae.exec(e);
+ return s.isSync ? new Iw(u) : new zae(u);
+}, $ae = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
+function eoe(e) {
+ let t = $ae.exec(e);
if (!t) return [,];
let [, n, r, i] = t;
return [`--${n ?? r}`, i];
}
-function wT(e, t, n = 1) {
+function DT(e, t, n = 1) {
`${e}`;
- let [r, i] = Qae(e);
+ let [r, i] = eoe(e);
if (!r) return;
let a = window.getComputedStyle(t).getPropertyValue(r);
if (a) {
let e = a.trim();
- return RS(e) ? parseFloat(e) : e;
+ return aC(e) ? parseFloat(e) : e;
}
- return bC(i) ? wT(i, t, n + 1) : i;
+ return VC(i) ? DT(i, t, n + 1) : i;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
-function TT(e) {
+function OT(e) {
let t = [{}, {}];
return e?.values.forEach((e, n) => {
t[0][n] = e.get(), t[1][n] = e.getVelocity();
}), t;
}
-function ET(e, t, n, r) {
+function kT(e, t, n, r) {
if (typeof t == "function") {
- let [i, a] = TT(r);
+ let [i, a] = OT(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
if (typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function") {
- let [i, a] = TT(r);
+ let [i, a] = OT(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs
-function DT(e, t, n) {
+function AT(e, t, n) {
let r = e.getProps();
- return ET(r, t, n === void 0 ? r.custom : n, e);
+ return kT(r, t, n === void 0 ? r.custom : n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-position.mjs
-var OT = /* @__PURE__ */ new Set([
+var jT = /* @__PURE__ */ new Set([
"width",
"height",
"top",
"left",
"right",
"bottom",
- ...Ww
-]), kT = (e) => Array.isArray(e);
+ ...Kw
+]), MT = (e) => Array.isArray(e);
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/setters.mjs
-function $ae(e, t, n) {
- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, bT(n));
+function toe(e, t, n) {
+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, CT(n));
}
-function eoe(e) {
- return kT(e) ? e[e.length - 1] || 0 : e;
+function noe(e) {
+ return MT(e) ? e[e.length - 1] || 0 : e;
}
-function toe(e, t) {
- let { transitionEnd: n = {}, transition: r = {}, ...i } = DT(e, t) || {};
+function roe(e, t) {
+ let { transitionEnd: n = {}, transition: r = {}, ...i } = AT(e, t) || {};
i = {
...i,
...n
};
- for (let t in i) $ae(e, t, eoe(i[t]));
+ for (let t in i) toe(e, t, noe(i[t]));
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
-var AT = (e) => !!(e && e.getVelocity);
+var NT = (e) => !!(e && e.getVelocity);
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/is.mjs
-function noe(e) {
- return !!(AT(e) && e.add);
+function ioe(e) {
+ return !!(NT(e) && e.add);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
-function jT(e, t) {
+function PT(e, t) {
let n = e.getValue("willChange");
- if (noe(n)) return n.add(t);
- if (!n && LS.WillChange) {
- let n = new LS.WillChange("auto");
+ if (ioe(n)) return n.add(t);
+ if (!n && iC.WillChange) {
+ let n = new iC.WillChange("auto");
e.addValue("willChange", n), n.add(t);
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs
-function MT(e) {
+function FT(e) {
return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
}
-var NT = "data-" + MT("framerAppearId");
+var IT = "data-" + FT("framerAppearId");
//#endregion
//#region node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
-function PT(e) {
- return e.props[NT];
+function LT(e) {
+ return e.props[IT];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
-function roe({ protectedKeys: e, needsAnimating: t }, n) {
+function aoe({ protectedKeys: e, needsAnimating: t }, n) {
let r = e.hasOwnProperty(n) && t[n] !== !0;
return t[n] = !1, r;
}
-function FT(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
+function RT(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();
- a = a ? xT(a, c) : c;
+ a = a ? wT(a, c) : c;
let l = a?.reduceMotion, u = a?.skipAnimations;
r && (a = r);
let d = [], f = i && e.animationState && e.animationState.getState()[i], p = a?.path;
p && p.animateVisualElement(e, s, a, n, d);
for (let t in s) {
let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];
- if (i === void 0 || f && roe(f, t)) continue;
+ if (i === void 0 || f && aoe(f, t)) continue;
let o = {
delay: n,
- ...ST(a || {}, t)
+ ...TT(a || {}, t)
};
u && (o.skipAnimations = !0);
let c = r.get();
if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {
- fC.update(() => r.set(i));
+ NC.update(() => r.set(i));
continue;
}
let p = !1;
if (window.MotionHandoffAnimation) {
- let n = PT(e);
+ let n = LT(e);
if (n) {
- let e = window.MotionHandoffAnimation(n, t, fC);
+ let e = window.MotionHandoffAnimation(n, t, NC);
e !== null && (o.startTime = e, p = !0);
}
}
- jT(e, t);
+ PT(e, t);
let m = l ?? e.shouldReduceMotion;
- r.start(CT(t, r, i, m && OT.has(t) ? { type: !1 } : o, e, p));
+ r.start(ET(t, r, i, m && jT.has(t) ? { type: !1 } : o, e, p));
let h = r.animation;
h && d.push(h);
}
if (o) {
- let t = () => fC.update(() => {
- o && toe(e, o);
+ let t = () => NC.update(() => {
+ o && roe(e, o);
});
d.length ? Promise.all(d).then(t) : t();
}
@@ -30113,12 +30114,12 @@ function FT(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
-function IT(e, t, n = {}) {
- let r = DT(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
+function zT(e, t, n = {}) {
+ let r = AT(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
n.transitionOverride && (i = n.transitionOverride);
- let a = r ? () => Promise.all(FT(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
+ let a = r ? () => Promise.all(RT(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
let { delayChildren: a = 0, staggerChildren: o, staggerDirection: s } = i;
- return ioe(e, t, r, a, o, s, n);
+ return ooe(e, t, r, a, o, s, n);
} : () => Promise.resolve(), { when: s } = i;
if (s) {
let [e, t] = s === "beforeChildren" ? [a, o] : [o, a];
@@ -30126,26 +30127,26 @@ function IT(e, t, n = {}) {
}
return Promise.all([a(), o(n.delay)]);
}
-function ioe(e, t, n = 0, r = 0, i = 0, a = 1, o) {
+function ooe(e, t, n = 0, r = 0, i = 0, a = 1, o) {
let s = [];
- for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(IT(c, t, {
+ for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(zT(c, t, {
...o,
- delay: n + (typeof r == "function" ? 0 : r) + _T(e.variantChildren, c, r, i, a)
+ delay: n + (typeof r == "function" ? 0 : r) + bT(e.variantChildren, c, r, i, a)
}).then(() => c.notify("AnimationComplete", t)));
return Promise.all(s);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs
-function aoe(e, t, n = {}) {
+function soe(e, t, n = {}) {
e.notify("AnimationStart", t);
let r;
if (Array.isArray(t)) {
- let i = t.map((t) => IT(e, t, n));
+ let i = t.map((t) => zT(e, t, n));
r = Promise.all(i);
- } else if (typeof t == "string") r = IT(e, t, n);
+ } else if (typeof t == "string") r = zT(e, t, n);
else {
- let i = typeof t == "function" ? DT(e, t, n.custom) : t;
- r = Promise.all(FT(e, i, n));
+ let i = typeof t == "function" ? AT(e, t, n.custom) : t;
+ r = Promise.all(RT(e, i, n));
}
return r.then(() => {
e.notify("AnimationComplete", t);
@@ -30153,58 +30154,58 @@ function aoe(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/auto.mjs
-var ooe = {
+var coe = {
test: (e) => e === "auto",
parse: (e) => e
-}, LT = (e) => (t) => t.test(e), RT = [
- SC,
+}, BT = (e) => (t) => t.test(e), VT = [
+ UC,
X,
- PC,
- NC,
- IC,
- FC,
- ooe
-], zT = (e) => RT.find(LT(e));
+ tw,
+ ew,
+ Fie,
+ Pie,
+ coe
+], HT = (e) => VT.find(BT(e));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
-function soe(e) {
- return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || BS(e);
+function loe(e) {
+ return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || sC(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/complex/filter.mjs
-var coe = /* @__PURE__ */ new Set([
+var uoe = /* @__PURE__ */ new Set([
"brightness",
"contrast",
"saturate",
"opacity"
]);
-function loe(e) {
+function doe(e) {
let [t, n] = e.slice(0, -1).split("(");
if (t === "drop-shadow") return e;
- let [r] = n.match(EC) || [];
+ let [r] = n.match(qC) || [];
if (!r) return e;
- let i = n.replace(r, ""), a = +!!coe.has(t);
+ let i = n.replace(r, ""), a = +!!uoe.has(t);
return r !== n && (a *= 100), t + "(" + a + i + ")";
}
-var uoe = /\b([a-z-]*)\(.*?\)/gu, BT = {
- ...tw,
+var foe = /\b([a-z-]*)\(.*?\)/gu, UT = {
+ ...uw,
getAnimatableNone: (e) => {
- let t = e.match(uoe);
- return t ? t.map(loe).join(" ") : e;
+ let t = e.match(foe);
+ return t ? t.map(doe).join(" ") : e;
}
-}, VT = {
- ...tw,
+}, WT = {
+ ...uw,
getAnimatableNone: (e) => {
- let t = tw.parse(e);
- return tw.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
+ let t = uw.parse(e);
+ return uw.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
...e,
alpha: 1
} : e));
}
-}, HT = {
- ...SC,
+}, GT = {
+ ...UC,
transform: Math.round
-}, UT = {
+}, KT = {
borderWidth: X,
borderTopWidth: X,
borderRightWidth: X,
@@ -30255,18 +30256,18 @@ var uoe = /\b([a-z-]*)\(.*?\)/gu, BT = {
fontSize: X,
backgroundPositionX: X,
backgroundPositionY: X,
- rotate: NC,
- pathRotation: NC,
- rotateX: NC,
- rotateY: NC,
- rotateZ: NC,
- scale: wC,
- scaleX: wC,
- scaleY: wC,
- scaleZ: wC,
- skew: NC,
- skewX: NC,
- skewY: NC,
+ rotate: ew,
+ pathRotation: ew,
+ rotateX: ew,
+ rotateY: ew,
+ rotateZ: ew,
+ scale: GC,
+ scaleX: GC,
+ scaleY: GC,
+ scaleZ: GC,
+ skew: ew,
+ skewX: ew,
+ skewY: ew,
distance: X,
translateX: X,
translateY: X,
@@ -30276,53 +30277,53 @@ var uoe = /\b([a-z-]*)\(.*?\)/gu, BT = {
z: X,
perspective: X,
transformPerspective: X,
- opacity: CC,
- originX: LC,
- originY: LC,
+ opacity: WC,
+ originX: nw,
+ originY: nw,
originZ: X,
- zIndex: HT,
- fillOpacity: CC,
- strokeOpacity: CC,
- numOctaves: HT
-}, doe = {
- ...UT,
- color: zC,
- backgroundColor: zC,
- outlineColor: zC,
- fill: zC,
- stroke: zC,
- borderColor: zC,
- borderTopColor: zC,
- borderRightColor: zC,
- borderBottomColor: zC,
- borderLeftColor: zC,
- filter: BT,
- WebkitFilter: BT,
- mask: VT,
- WebkitMask: VT
-}, WT = (e) => doe[e], foe = /*@__PURE__*/ new Set([BT, VT]);
-function GT(e, t) {
- let n = WT(e);
- return foe.has(n) || (n = tw), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
+ zIndex: GT,
+ fillOpacity: WC,
+ strokeOpacity: WC,
+ numOctaves: GT
+}, poe = {
+ ...KT,
+ color: iw,
+ backgroundColor: iw,
+ outlineColor: iw,
+ fill: iw,
+ stroke: iw,
+ borderColor: iw,
+ borderTopColor: iw,
+ borderRightColor: iw,
+ borderBottomColor: iw,
+ borderLeftColor: iw,
+ filter: UT,
+ WebkitFilter: UT,
+ mask: WT,
+ WebkitMask: WT
+}, qT = (e) => poe[e], moe = /*@__PURE__*/ new Set([UT, WT]);
+function JT(e, t) {
+ let n = qT(e);
+ return moe.has(n) || (n = uw), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs
-var poe = /* @__PURE__ */ new Set([
+var hoe = /* @__PURE__ */ new Set([
"auto",
"none",
"0"
]);
-function moe(e, t, n) {
+function goe(e, t, n) {
let r = 0, i;
for (; r < e.length && !i;) {
let t = e[r];
- typeof t == "string" && !poe.has(t) && JC(t).values.length && (i = e[r]), r++;
+ typeof t == "string" && !hoe.has(t) && cw(t).values.length && (i = e[r]), r++;
}
- if (i && n) for (let r of t) e[r] = GT(n, i);
+ if (i && n) for (let r of t) e[r] = JT(n, i);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs
-var hoe = class extends eT {
+var _oe = class extends nT {
constructor(e, t, n, r, i) {
super(e, t, n, r, i, !0);
}
@@ -30332,34 +30333,34 @@ var hoe = class extends eT {
super.readKeyframes();
for (let n = 0; n < e.length; n++) {
let r = e[n];
- if (typeof r == "string" && (r = r.trim(), bC(r))) {
- let i = wT(r, t.current);
+ if (typeof r == "string" && (r = r.trim(), VC(r))) {
+ let i = DT(r, t.current);
i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);
}
}
- if (this.resolveNoneKeyframes(), !OT.has(n) || e.length !== 2) return;
- let [r, i] = e, a = zT(r), o = zT(i);
- if (xC(r) !== xC(i) && qw[n]) {
+ if (this.resolveNoneKeyframes(), !jT.has(n) || e.length !== 2) return;
+ let [r, i] = e, a = HT(r), o = HT(i);
+ if (HC(r) !== HC(i) && Yw[n]) {
this.needsMeasurement = !0;
return;
}
if (a !== o) {
- if (Kw(a) && Kw(o)) for (let t = 0; t < e.length; t++) {
+ if (Jw(a) && Jw(o)) for (let t = 0; t < e.length; t++) {
let n = e[t];
typeof n == "string" && (e[t] = parseFloat(n));
}
- else qw[n] && (this.needsMeasurement = !0);
+ else Yw[n] && (this.needsMeasurement = !0);
}
}
resolveNoneKeyframes() {
let { unresolvedKeyframes: e, name: t } = this, n = [];
- for (let t = 0; t < e.length; t++) (e[t] === null || soe(e[t])) && n.push(t);
- n.length && moe(e, n, t);
+ for (let t = 0; t < e.length; t++) (e[t] === null || loe(e[t])) && n.push(t);
+ n.length && goe(e, n, t);
}
measureInitialState() {
let { element: e, unresolvedKeyframes: t, name: n } = this;
if (!e || !e.current) return;
- n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = qw[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
+ n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = Yw[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
let r = t[t.length - 1];
r !== void 0 && e.getValue(n, r).jump(r, !1);
}
@@ -30369,23 +30370,23 @@ var hoe = class extends eT {
let r = e.getValue(t);
r && r.jump(this.measuredOrigin, !1);
let i = n.length - 1, a = n[i];
- n[i] = qw[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
+ n[i] = Yw[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
e.getValue(t).set(n);
}), this.resolveNoneKeyframes();
}
-}, KT = [
+}, YT = [
"borderTopLeftRadius",
"borderTopRightRadius",
"borderBottomRightRadius",
"borderBottomLeftRadius"
-], goe = /* @__PURE__ */ new Set([
+], voe = /* @__PURE__ */ new Set([
"borderWidth",
"borderTopWidth",
"borderRightWidth",
"borderBottomWidth",
"borderLeftWidth",
"borderRadius",
- ...KT,
+ ...YT,
"width",
"maxWidth",
"height",
@@ -30429,12 +30430,12 @@ var hoe = class extends eT {
]);
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs
-function _oe(e, t) {
- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && goe.has(t) && (e[n] = e[n] + "px");
+function yoe(e, t) {
+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && voe.has(t) && (e[n] = e[n] + "px");
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
-function qT(e, t, n) {
+function XT(e, t, n) {
if (e == null) return [];
if (e instanceof EventTarget) return [e];
if (typeof e == "string") {
@@ -30447,34 +30448,34 @@ function qT(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs
-var JT = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
+var ZT = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-html-element.mjs
-function YT(e) {
- return zS(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
+function QT(e) {
+ return oC(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/microtask.mjs
-var { schedule: XT, cancel: voe } = /* @__PURE__ */ dC(queueMicrotask, !1), ZT = {
+var { schedule: $T, cancel: boe } = /* @__PURE__ */ MC(queueMicrotask, !1), eE = {
x: !1,
y: !1
};
-function QT() {
- return ZT.x || ZT.y;
+function tE() {
+ return eE.x || eE.y;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
-function yoe(e) {
- return e === "x" || e === "y" ? ZT[e] ? null : (ZT[e] = !0, () => {
- ZT[e] = !1;
- }) : ZT.x || ZT.y ? null : (ZT.x = ZT.y = !0, () => {
- ZT.x = ZT.y = !1;
+function xoe(e) {
+ return e === "x" || e === "y" ? eE[e] ? null : (eE[e] = !0, () => {
+ eE[e] = !1;
+ }) : eE.x || eE.y ? null : (eE.x = eE.y = !0, () => {
+ eE.x = eE.y = !1;
});
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
-function $T(e, t) {
- let n = qT(e), r = new AbortController();
+function nE(e, t) {
+ let n = XT(e), r = new AbortController();
return [
n,
{
@@ -30487,11 +30488,11 @@ function $T(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/hover.mjs
-function boe(e) {
- return !(e.pointerType === "touch" || QT());
+function Soe(e) {
+ return !(e.pointerType === "touch" || tE());
}
-function xoe(e, t, n = {}) {
- let [r, i, a] = $T(e, n);
+function Coe(e, t, n = {}) {
+ let [r, i, a] = nE(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -30511,7 +30512,7 @@ function xoe(e, t, n = {}) {
}
};
e.addEventListener("pointerenter", (n) => {
- if (!boe(n)) return;
+ if (!Soe(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -30520,130 +30521,130 @@ function xoe(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var eE = (e, t) => t ? e === t || eE(e, t.parentElement) : !1, tE = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Soe = /* @__PURE__ */ new Set([
+var rE = (e, t) => t ? e === t || rE(e, t.parentElement) : !1, iE = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, woe = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function Coe(e) {
- return Soe.has(e.tagName) || e.isContentEditable === !0;
+function Toe(e) {
+ return woe.has(e.tagName) || e.isContentEditable === !0;
}
-var woe = /* @__PURE__ */ new Set([
+var Eoe = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function Toe(e) {
- return woe.has(e.tagName) || e.isContentEditable === !0;
+function Doe(e) {
+ return Eoe.has(e.tagName) || e.isContentEditable === !0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs
-var nE = /* @__PURE__ */ new WeakSet();
+var aE = /* @__PURE__ */ new WeakSet();
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function rE(e) {
+function oE(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function iE(e, t) {
+function sE(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var Eoe = (e, t) => {
+var Ooe = (e, t) => {
let n = e.currentTarget;
if (!n) return;
- let r = rE(() => {
- if (nE.has(n)) return;
- iE(n, "down");
- let e = rE(() => {
- iE(n, "up");
+ let r = oE(() => {
+ if (aE.has(n)) return;
+ sE(n, "down");
+ let e = oE(() => {
+ sE(n, "up");
});
- n.addEventListener("keyup", e, t), n.addEventListener("blur", () => iE(n, "cancel"), t);
+ n.addEventListener("keyup", e, t), n.addEventListener("blur", () => sE(n, "cancel"), t);
});
n.addEventListener("keydown", r, t), n.addEventListener("blur", () => n.removeEventListener("keydown", r), t);
};
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/index.mjs
-function aE(e) {
- return tE(e) && !QT();
+function cE(e) {
+ return iE(e) && !tE();
}
-var oE = /* @__PURE__ */ new WeakSet();
-function Doe(e, t, n = {}) {
- let [r, i, a] = $T(e, n), o = (e) => {
+var lE = /* @__PURE__ */ new WeakSet();
+function koe(e, t, n = {}) {
+ let [r, i, a] = nE(e, n), o = (e) => {
let r = e.currentTarget;
- if (!aE(e) || oE.has(e)) return;
- nE.add(r), n.stopPropagation && oE.add(e);
+ if (!cE(e) || lE.has(e)) return;
+ aE.add(r), n.stopPropagation && lE.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), nE.has(r) && nE.delete(r), aE(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), aE.has(r) && aE.delete(r), cE(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || eE(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || rE(r, e.target));
}, l = (e) => {
s(e, !1);
};
window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);
};
return r.forEach((e) => {
- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), YT(e) && (e.addEventListener("focus", (e) => Eoe(e, i)), !Coe(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), QT(e) && (e.addEventListener("focus", (e) => Ooe(e, i)), !Toe(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
-function sE(e, t) {
+function uE(e, t) {
let n = window.getComputedStyle(e);
- return tT(t) ? n.getPropertyValue(t) : n[t];
+ return rT(t) ? n.getPropertyValue(t) : n[t];
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
-function cE(e) {
- return zS(e) && "ownerSVGElement" in e;
+function dE(e) {
+ return oC(e) && "ownerSVGElement" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var lE = /* @__PURE__ */ new WeakMap(), uE, dE = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : cE(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Ooe = /*@__PURE__*/ dE("inline", "width", "offsetWidth"), koe = /*@__PURE__*/ dE("block", "height", "offsetHeight");
-function Aoe({ target: e, borderBoxSize: t }) {
- lE.get(e)?.forEach((n) => {
+var fE = /* @__PURE__ */ new WeakMap(), pE, mE = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : dE(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Aoe = /*@__PURE__*/ mE("inline", "width", "offsetWidth"), joe = /*@__PURE__*/ mE("block", "height", "offsetHeight");
+function Moe({ target: e, borderBoxSize: t }) {
+ fE.get(e)?.forEach((n) => {
n(e, {
get width() {
- return Ooe(e, t);
+ return Aoe(e, t);
},
get height() {
- return koe(e, t);
+ return joe(e, t);
}
});
});
}
-function joe(e) {
- e.forEach(Aoe);
+function Noe(e) {
+ e.forEach(Moe);
}
-function Moe() {
- typeof ResizeObserver > "u" || (uE = new ResizeObserver(joe));
+function Poe() {
+ typeof ResizeObserver > "u" || (pE = new ResizeObserver(Noe));
}
-function Noe(e, t) {
- uE || Moe();
- let n = qT(e);
+function Foe(e, t) {
+ pE || Poe();
+ let n = XT(e);
return n.forEach((e) => {
- let n = lE.get(e);
- n || (n = /* @__PURE__ */ new Set(), lE.set(e, n)), n.add(t), uE?.observe(e);
+ let n = fE.get(e);
+ n || (n = /* @__PURE__ */ new Set(), fE.set(e, n)), n.add(t), pE?.observe(e);
}), () => {
n.forEach((e) => {
- let n = lE.get(e);
- n?.delete(t), n?.size || uE?.unobserve(e);
+ let n = fE.get(e);
+ n?.delete(t), n?.size || pE?.unobserve(e);
});
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var fE = /* @__PURE__ */ new Set(), pE;
-function Poe() {
- pE = () => {
+var hE = /* @__PURE__ */ new Set(), gE;
+function Ioe() {
+ gE = () => {
let e = {
get width() {
return window.innerWidth;
@@ -30652,49 +30653,49 @@ function Poe() {
return window.innerHeight;
}
};
- fE.forEach((t) => t(e));
- }, window.addEventListener("resize", pE);
+ hE.forEach((t) => t(e));
+ }, window.addEventListener("resize", gE);
}
-function Foe(e) {
- return fE.add(e), pE || Poe(), () => {
- fE.delete(e), !fE.size && typeof pE == "function" && (window.removeEventListener("resize", pE), pE = void 0);
+function Loe(e) {
+ return hE.add(e), gE || Ioe(), () => {
+ hE.delete(e), !hE.size && typeof gE == "function" && (window.removeEventListener("resize", gE), gE = void 0);
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/index.mjs
-function mE(e, t) {
- return typeof e == "function" ? Foe(e) : Noe(e, t);
+function _E(e, t) {
+ return typeof e == "function" ? Loe(e) : Foe(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/stats/buffer.mjs
-var hE = {
+var vE = {
value: null,
addProjectionMetrics: null
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function Ioe(e) {
- return cE(e) && e.tagName === "svg";
+function Roe(e) {
+ return dE(e) && e.tagName === "svg";
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/transform.mjs
-function Loe(...e) {
- let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = kw(i, a, o);
+function zoe(...e) {
+ let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = jw(i, a, o);
return t ? s(r) : s;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/follow-value.mjs
-function Roe(e, t, n = {}) {
+function Boe(e, t, n = {}) {
let r = e.get(), i = null, a = r, o, s = typeof r == "string" ? r.replace(/[\d.-]/g, "") : void 0, c = () => {
i &&= (i.stop(), null), e.animation = void 0;
}, l = () => {
- let t = _E(e.get()), r = _E(a);
+ let t = bE(e.get()), r = bE(a);
if (t === r) {
c();
return;
}
let s = i ? i.getGeneratorVelocity() : e.getVelocity();
- c(), i = new Pw({
+ c(), i = new Iw({
keyframes: [t, r],
velocity: s,
type: "spring",
@@ -30709,10 +30710,10 @@ function Roe(e, t, n = {}) {
});
};
if (e.attach((e, t) => {
- a = e, o = (e) => t(gE(e, s)), fC.postRender(u);
- }, c), AT(t)) {
+ a = e, o = (e) => t(yE(e, s)), NC.postRender(u);
+ }, c), NT(t)) {
let r = n.skipInitialAnimation === !0, i = t.on("change", (t) => {
- r ? (r = !1, e.jump(gE(t, s), !1)) : e.set(gE(t, s));
+ r ? (r = !1, e.jump(yE(t, s), !1)) : e.set(yE(t, s));
}), a = e.on("destroy", i);
return () => {
i(), a();
@@ -30720,46 +30721,46 @@ function Roe(e, t, n = {}) {
}
return c;
}
-function gE(e, t) {
+function yE(e, t) {
return t ? e + t : e;
}
-function _E(e) {
+function bE(e) {
return typeof e == "number" ? e : parseFloat(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/find.mjs
-var zoe = [
- ...RT,
- zC,
- tw
-], Boe = (e) => zoe.find(LT(e)), vE = () => ({
+var Voe = [
+ ...VT,
+ iw,
+ uw
+], Hoe = (e) => Voe.find(BT(e)), xE = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0
-}), yE = () => ({
- x: vE(),
- y: vE()
-}), bE = () => ({
+}), SE = () => ({
+ x: xE(),
+ y: xE()
+}), CE = () => ({
min: 0,
max: 0
-}), xE = () => ({
- x: bE(),
- y: bE()
-}), Voe = /* @__PURE__ */ new WeakMap();
+}), wE = () => ({
+ x: CE(),
+ y: CE()
+}), Uoe = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function SE(e) {
+function TE(e) {
return typeof e == "object" && !!e && typeof e.start == "function";
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
-function CE(e) {
+function EE(e) {
return typeof e == "string" || Array.isArray(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var wE = [
+var DE = [
"animate",
"whileInView",
"whileFocus",
@@ -30767,29 +30768,29 @@ var wE = [
"whileTap",
"whileDrag",
"exit"
-], TE = ["initial", ...wE];
+], OE = ["initial", ...DE];
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function EE(e) {
- return SE(e.animate) || TE.some((t) => CE(e[t]));
+function kE(e) {
+ return TE(e.animate) || OE.some((t) => EE(e[t]));
}
-function DE(e) {
- return !!(EE(e) || e.variants);
+function AE(e) {
+ return !!(kE(e) || e.variants);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function Hoe(e, t, n) {
+function Woe(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
- if (AT(i)) e.addValue(r, i);
- else if (AT(a)) e.addValue(r, bT(i, { owner: e }));
+ if (NT(i)) e.addValue(r, i);
+ else if (NT(a)) e.addValue(r, CT(i, { owner: e }));
else if (a !== i) {
if (e.hasValue(r)) {
let t = e.getValue(r);
t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);
} else {
let t = e.getStaticValue(r);
- e.addValue(r, bT(t === void 0 ? i : t, { owner: e }));
+ e.addValue(r, CT(t === void 0 ? i : t, { owner: e }));
}
}
}
@@ -30798,18 +30799,18 @@ function Hoe(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var OE = { current: null }, kE = { current: !1 }, Uoe = typeof window < "u";
-function AE() {
- if (kE.current = !0, Uoe) {
+var jE = { current: null }, ME = { current: !1 }, Goe = typeof window < "u";
+function NE() {
+ if (ME.current = !0, Goe) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => OE.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => jE.current = e.matches;
e.addEventListener("change", t), t();
- } else OE.current = !1;
+ } else jE.current = !1;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var jE = [
+var PE = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -30817,38 +30818,38 @@ var jE = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], ME = {};
-function NE(e) {
- ME = e;
+], FE = {};
+function IE(e) {
+ FE = e;
}
-function Woe() {
- return ME;
+function Koe() {
+ return FE;
}
-var Goe = class {
+var qoe = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {
- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = eT, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = nT, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
- let e = _C.now();
- this.renderScheduledAt < e && (this.renderScheduledAt = e, fC.render(this.render, !1, !0));
+ let e = RC.now();
+ this.renderScheduledAt < e && (this.renderScheduledAt = e, NC.render(this.render, !1, !0));
};
let { latestValues: c, renderState: l } = o;
- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = EE(t), this.isVariantNode = DE(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = kE(t), this.isVariantNode = AE(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);
for (let e in d) {
let t = d[e];
- c[e] !== void 0 && AT(t) && t.set(c[e]);
+ c[e] !== void 0 && NT(t) && t.set(c[e]);
}
}
mount(e) {
if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
- this.current = e, Voe.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (kE.current || AE(), this.shouldReduceMotion = OE.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
+ this.current = e, Uoe.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (ME.current || NE(), this.shouldReduceMotion = jE.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
}
unmount() {
- this.projection && this.projection.unmount(), pC(this.notifyUpdate), pC(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
+ this.projection && this.projection.unmount(), PC(this.notifyUpdate), PC(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
for (let e in this.events) this.events[e].clear();
for (let e in this.features) {
let t = this.features[e];
@@ -30863,24 +30864,24 @@ var Goe = class {
this.children.delete(e), this.enteringChildren && this.enteringChildren.delete(e);
}
bindToMotionValue(e, t) {
- if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && mT.has(e) && this.current instanceof HTMLElement) {
- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new lT({
+ if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && gT.has(e) && this.current instanceof HTMLElement) {
+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new dT({
element: this.current,
name: e,
keyframes: r,
times: i,
ease: a,
- duration: /* @__PURE__ */ KS(o)
+ duration: /* @__PURE__ */ pC(o)
}), c = n(s);
this.valueSubscriptions.set(e, () => {
c(), s.cancel();
});
return;
}
- let n = Gw.has(e);
+ let n = qw.has(e);
n && this.onBindTransform && this.onBindTransform();
let r = t.on("change", (t) => {
- this.latestValues[e] = t, this.props.onUpdate && fC.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
+ this.latestValues[e] = t, this.props.onUpdate && NC.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
}), i;
typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {
r(), i && i();
@@ -30891,8 +30892,8 @@ var Goe = class {
}
updateFeatures() {
let e = "animation";
- for (e in ME) {
- let t = ME[e];
+ for (e in FE) {
+ let t = FE[e];
if (!t) continue;
let { isEnabled: n, Feature: r } = t;
if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {
@@ -30905,7 +30906,7 @@ var Goe = class {
this.build(this.renderState, this.latestValues, this.props);
}
measureViewportBox() {
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : xE();
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : wE();
}
getStaticValue(e) {
return this.latestValues[e];
@@ -30915,13 +30916,13 @@ var Goe = class {
}
update(e, t) {
(e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
- for (let t = 0; t < jE.length; t++) {
- let n = jE[t];
+ for (let t = 0; t < PE.length; t++) {
+ let n = PE[t];
this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);
let r = e["on" + n];
r && (this.propEventSubscriptions[n] = this.on(n, r));
}
- this.prevMotionValues = Hoe(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
+ this.prevMotionValues = Woe(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
}
getProps() {
return this.props;
@@ -30957,11 +30958,11 @@ var Goe = class {
getValue(e, t) {
if (this.props.values && this.props.values[e]) return this.props.values[e];
let n = this.values.get(e);
- return n === void 0 && t !== void 0 && (n = bT(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
+ return n === void 0 && t !== void 0 && (n = CT(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
}
readValue(e, t) {
let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
- return n != null && (typeof n == "string" && (RS(n) || BS(n)) ? n = parseFloat(n) : !Boe(n) && tw.test(t) && (n = GT(e, t)), this.setBaseTarget(e, AT(n) ? n.get() : n)), AT(n) ? n.get() : n;
+ return n != null && (typeof n == "string" && (aC(n) || sC(n)) ? n = parseFloat(n) : !Hoe(n) && uw.test(t) && (n = JT(e, t)), this.setBaseTarget(e, NT(n) ? n.get() : n)), NT(n) ? n.get() : n;
}
setBaseTarget(e, t) {
this.baseTarget[e] = t;
@@ -30969,25 +30970,25 @@ var Goe = class {
getBaseTarget(e) {
let { initial: t } = this.props, n;
if (typeof t == "string" || typeof t == "object") {
- let r = ET(this.props, t, this.presenceContext?.custom);
+ let r = kT(this.props, t, this.presenceContext?.custom);
r && (n = r[e]);
}
if (t && n !== void 0) return n;
let r = this.getBaseTargetFromProps(this.props, e);
- return r !== void 0 && !AT(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
+ return r !== void 0 && !NT(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
}
on(e, t) {
- return this.events[e] || (this.events[e] = new GS()), this.events[e].add(t);
+ return this.events[e] || (this.events[e] = new fC()), this.events[e].add(t);
}
notify(e, ...t) {
this.events[e] && this.events[e].notify(...t);
}
scheduleRenderMicrotask() {
- XT.render(this.render);
+ $T.render(this.render);
}
-}, PE = class extends Goe {
+}, LE = class extends qoe {
constructor() {
- super(...arguments), this.KeyframeResolver = hoe;
+ super(...arguments), this.KeyframeResolver = _oe;
}
sortInstanceNodePosition(e, t) {
return e.compareDocumentPosition(t) & 2 ? 1 : -1;
@@ -31002,11 +31003,11 @@ var Goe = class {
handleChildMotionValue() {
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
let { children: e } = this.props;
- AT(e) && (this.childSubscription = e.on("change", (e) => {
+ NT(e) && (this.childSubscription = e.on("change", (e) => {
this.current && (this.current.textContent = `${e}`);
}));
}
-}, FE = class {
+}, RE = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
@@ -31014,7 +31015,7 @@ var Goe = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
-function IE({ top: e, left: t, right: n, bottom: r }) {
+function zE({ top: e, left: t, right: n, bottom: r }) {
return {
x: {
min: t,
@@ -31026,7 +31027,7 @@ function IE({ top: e, left: t, right: n, bottom: r }) {
}
};
}
-function Koe({ x: e, y: t }) {
+function Joe({ x: e, y: t }) {
return {
top: t.min,
right: e.max,
@@ -31034,7 +31035,7 @@ function Koe({ x: e, y: t }) {
left: e.min
};
}
-function qoe(e, t) {
+function Yoe(e, t) {
if (!t) return e;
let n = t({
x: e.left,
@@ -31052,37 +31053,37 @@ function qoe(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
-function LE(e) {
+function BE(e) {
return e === void 0 || e === 1;
}
-function RE({ scale: e, scaleX: t, scaleY: n }) {
- return !LE(e) || !LE(t) || !LE(n);
+function VE({ scale: e, scaleX: t, scaleY: n }) {
+ return !BE(e) || !BE(t) || !BE(n);
}
-function zE(e) {
- return RE(e) || BE(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
+function HE(e) {
+ return VE(e) || UE(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
}
-function BE(e) {
- return VE(e.x) || VE(e.y);
+function UE(e) {
+ return WE(e.x) || WE(e.y);
}
-function VE(e) {
+function WE(e) {
return e && e !== "0%";
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
-function HE(e, t, n) {
+function GE(e, t, n) {
return n + t * (e - n);
}
-function UE(e, t, n, r, i) {
- return i !== void 0 && (e = HE(e, i, r)), HE(e, n, r) + t;
+function KE(e, t, n, r, i) {
+ return i !== void 0 && (e = GE(e, i, r)), GE(e, n, r) + t;
}
-function WE(e, t = 0, n = 1, r, i) {
- e.min = UE(e.min, t, n, r, i), e.max = UE(e.max, t, n, r, i);
+function qE(e, t = 0, n = 1, r, i) {
+ e.min = KE(e.min, t, n, r, i), e.max = KE(e.max, t, n, r, i);
}
-function GE(e, { x: t, y: n }) {
- WE(e.x, t.translate, t.scale, t.originPoint), WE(e.y, n.translate, n.scale, n.originPoint);
+function JE(e, { x: t, y: n }) {
+ qE(e.x, t.translate, t.scale, t.originPoint), qE(e.y, n.translate, n.scale, n.originPoint);
}
-var KE = .999999999999, qE = 1.0000000000001;
-function Joe(e, t, n, r = !1) {
+var YE = .999999999999, XE = 1.0000000000001;
+function Xoe(e, t, n, r = !1) {
let i = n.length;
if (!i) return;
t.x = t.y = 1;
@@ -31090,44 +31091,44 @@ function Joe(e, t, n, r = !1) {
for (let s = 0; s < i; s++) {
a = n[s], o = a.projectionDelta;
let { visualElement: i } = a.options;
- i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (JE(e.x, -a.scroll.offset.x), JE(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, GE(e, o)), r && zE(a.latestValues) && ZE(e, a.latestValues, a.layout?.layoutBox));
+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (ZE(e.x, -a.scroll.offset.x), ZE(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, JE(e, o)), r && HE(a.latestValues) && eD(e, a.latestValues, a.layout?.layoutBox));
}
- t.x < qE && t.x > KE && (t.x = 1), t.y < qE && t.y > KE && (t.y = 1);
+ t.x < XE && t.x > YE && (t.x = 1), t.y < XE && t.y > YE && (t.y = 1);
}
-function JE(e, t) {
+function ZE(e, t) {
e.min += t, e.max += t;
}
-function YE(e, t, n, r, i = .5) {
- WE(e, t, n, aw(e.min, e.max, i), r);
+function QE(e, t, n, r, i = .5) {
+ qE(e, t, n, pw(e.min, e.max, i), r);
}
-function XE(e, t) {
+function $E(e, t) {
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
}
-function ZE(e, t, n) {
+function eD(e, t, n) {
let r = n ?? e;
- YE(e.x, XE(t.x, r.x), t.scaleX, t.scale, t.originX), YE(e.y, XE(t.y, r.y), t.scaleY, t.scale, t.originY);
+ QE(e.x, $E(t.x, r.x), t.scaleX, t.scale, t.originX), QE(e.y, $E(t.y, r.y), t.scaleY, t.scale, t.originY);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/measure.mjs
-function QE(e, t) {
- return IE(qoe(e.getBoundingClientRect(), t));
+function tD(e, t) {
+ return zE(Yoe(e.getBoundingClientRect(), t));
}
-function Yoe(e, t, n) {
- let r = QE(e, n), { scroll: i } = t;
- return i && (JE(r.x, i.offset.x), JE(r.y, i.offset.y)), r;
+function Zoe(e, t, n) {
+ let r = tD(e, n), { scroll: i } = t;
+ return i && (ZE(r.x, i.offset.x), ZE(r.y, i.offset.y)), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs
-var Xoe = {
+var Qoe = {
x: "translateX",
y: "translateY",
z: "translateZ",
transformPerspective: "perspective"
-}, Zoe = Ww.length;
-function Qoe(e, t, n) {
+}, $oe = Kw.length;
+function ese(e, t, n) {
let r = "", i = !0;
- for (let a = 0; a < Zoe; a++) {
- let o = Ww[a], s = e[o];
+ for (let a = 0; a < $oe; a++) {
+ let o = Kw[a], s = e[o];
if (s === void 0) continue;
let c = !0;
if (typeof s == "number") c = s === +!!o.startsWith("scale");
@@ -31136,154 +31137,154 @@ function Qoe(e, t, n) {
c = o.startsWith("scale") ? e === 1 : e === 0;
}
if (!c || n) {
- let e = JT(s, UT[o]);
+ let e = ZT(s, KT[o]);
if (!c) {
i = !1;
- let t = Xoe[o] || o;
+ let t = Qoe[o] || o;
r += `${t}(${e}) `;
}
n && (t[o] = e);
}
}
let a = e.pathRotation;
- return a && (i = !1, r += `rotate(${JT(a, UT.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
+ return a && (i = !1, r += `rotate(${ZT(a, KT.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
-function $E(e, t, n) {
+function nD(e, t, n) {
let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;
for (let e in t) {
let n = t[e];
- if (Gw.has(e)) {
+ if (qw.has(e)) {
o = !0;
continue;
}
- if (yC(e)) {
+ if (BC(e)) {
i[e] = n;
continue;
}
{
- let t = JT(n, UT[e]);
+ let t = ZT(n, KT[e]);
e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;
}
}
- if (t.transform || (o || n ? r.transform = Qoe(t, e.transform, n) : r.transform &&= "none"), s) {
+ if (t.transform || (o || n ? r.transform = ese(t, e.transform, n) : r.transform &&= "none"), s) {
let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;
r.transformOrigin = `${e} ${t} ${n}`;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function eD(e, { style: t, vars: n }, r, i) {
+function rD(e, { style: t, vars: n }, r, i) {
let a = e.style, o;
for (o in t) a[o] = t[o];
for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
-function tD(e, t) {
+function iD(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var nD = { correct: (e, t) => {
+var aD = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
if (X.test(e)) e = parseFloat(e);
else return e;
}
- return `${tD(e, t.target.x)}% ${tD(e, t.target.y)}%`;
-} }, $oe = { correct: (e, { treeScale: t, projectionDelta: n }) => {
- let r = e, i = tw.parse(e);
+ return `${iD(e, t.target.x)}% ${iD(e, t.target.y)}%`;
+} }, tse = { correct: (e, { treeScale: t, projectionDelta: n }) => {
+ let r = e, i = uw.parse(e);
if (i.length > 5) return r;
- let a = tw.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
+ let a = uw.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
i[0 + o] /= s, i[1 + o] /= c;
- let l = aw(s, c, .5);
+ let l = pw(s, c, .5);
return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);
-} }, rD = {
+} }, oD = {
borderRadius: {
- ...nD,
- applyTo: [...KT]
+ ...aD,
+ applyTo: [...YT]
},
- borderTopLeftRadius: nD,
- borderTopRightRadius: nD,
- borderBottomLeftRadius: nD,
- borderBottomRightRadius: nD,
- boxShadow: $oe
+ borderTopLeftRadius: aD,
+ borderTopRightRadius: aD,
+ borderBottomLeftRadius: aD,
+ borderBottomRightRadius: aD,
+ boxShadow: tse
};
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
-function iD(e, { layout: t, layoutId: n }) {
- return Gw.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!rD[e] || e === "opacity");
+function sD(e, { layout: t, layoutId: n }) {
+ return qw.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!oD[e] || e === "opacity");
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function aD(e, t, n) {
+function cD(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (AT(r[t]) || i && AT(i[t]) || iD(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (NT(r[t]) || i && NT(i[t]) || sD(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
return a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
-function ese(e) {
+function nse(e) {
return window.getComputedStyle(e);
}
-var tse = class extends PE {
+var rse = class extends LE {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = eD;
+ super(...arguments), this.type = "html", this.renderInstance = rD;
}
mount(e) {
e.style, super.mount(e);
}
readValueFromInstance(e, t) {
- if (Gw.has(t)) return this.projection?.isProjecting ? Hw(t) : gae(e, t);
+ if (qw.has(t)) return this.projection?.isProjecting ? Ww(t) : yae(e, t);
{
- let n = ese(e), r = (yC(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = nse(e), r = (BC(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
measureInstanceViewportBox(e, { transformPagePoint: t }) {
- return QE(e, t);
+ return tD(e, t);
}
build(e, t, n) {
- $E(e, t, n.transformTemplate);
+ nD(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return aD(e, t, n);
+ return cD(e, t, n);
}
-}, nse = {
+}, ise = {
offset: "stroke-dashoffset",
array: "stroke-dasharray"
-}, rse = {
+}, ase = {
offset: "strokeDashoffset",
array: "strokeDasharray"
};
-function ise(e, t, n = 1, r = 0, i = !0) {
+function ose(e, t, n = 1, r = 0, i = !0) {
e.pathLength = 1;
- let a = i ? nse : rse;
+ let a = i ? ise : ase;
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
-var ase = [
+var sse = [
"offsetDistance",
"offsetPath",
"offsetRotate",
"offsetAnchor"
];
-function oD(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
- if ($E(e, s, l), c) {
+function lD(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
+ if (nD(e, s, l), c) {
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
return;
}
e.attrs = e.style, e.style = {};
let { attrs: d, style: f } = e;
d.transform && (f.transform = d.transform, delete d.transform), (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox);
- for (let e of ase) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
- t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && ise(d, i, a, o, !1);
+ for (let e of sse) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
+ t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && ose(d, i, a, o, !1);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs
-var sD = /* @__PURE__ */ new Set([
+var uD = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -31307,68 +31308,68 @@ var sD = /* @__PURE__ */ new Set([
"startOffset",
"textLength",
"lengthAdjust"
-]), cD = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), dD = (e) => typeof e == "string" && e.toLowerCase() === "svg";
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function ose(e, t, n, r) {
- eD(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(sD.has(n) ? n : MT(n), t.attrs[n]);
+function cse(e, t, n, r) {
+ rD(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(uD.has(n) ? n : FT(n), t.attrs[n]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function lD(e, t, n) {
- let r = aD(e, t, n);
- for (let n in e) if (AT(e[n]) || AT(t[n])) {
- let t = Ww.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
+function fD(e, t, n) {
+ let r = cD(e, t, n);
+ for (let n in e) if (NT(e[n]) || NT(t[n])) {
+ let t = Kw.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
r[t] = e[n];
}
return r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var sse = class extends PE {
+var lse = class extends LE {
constructor() {
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = xE;
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = wE;
}
getBaseTargetFromProps(e, t) {
return e[t];
}
readValueFromInstance(e, t) {
- if (Gw.has(t)) {
- let e = WT(t);
+ if (qw.has(t)) {
+ let e = qT(t);
return e && e.default || 0;
}
- return t = sD.has(t) ? t : MT(t), e.getAttribute(t);
+ return t = uD.has(t) ? t : FT(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return lD(e, t, n);
+ return fD(e, t, n);
}
build(e, t, n) {
- oD(e, t, this.isSVGTag, n.transformTemplate, n.style);
+ lD(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- ose(e, t, n, r);
+ cse(e, t, n, r);
}
mount(e) {
- this.isSVGTag = cD(e.tagName), super.mount(e);
+ this.isSVGTag = dD(e.tagName), super.mount(e);
}
-}, cse = TE.length;
-function uD(e) {
+}, use = OE.length;
+function pD(e) {
if (!e) return;
if (!e.isControllingVariants) {
- let t = e.parent && uD(e.parent) || {};
+ let t = e.parent && pD(e.parent) || {};
return e.props.initial !== void 0 && (t.initial = e.props.initial), t;
}
let t = {};
- for (let n = 0; n < cse; n++) {
- let r = TE[n], i = e.props[r];
- (CE(i) || i === !1) && (t[r] = i);
+ for (let n = 0; n < use; n++) {
+ let r = OE[n], i = e.props[r];
+ (EE(i) || i === !1) && (t[r] = i);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function dD(e, t) {
+function mD(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -31377,13 +31378,13 @@ function dD(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var lse = [...wE].reverse(), use = wE.length;
-function dse(e) {
- return (t) => Promise.all(t.map(({ animation: t, options: n }) => aoe(e, t, n)));
+var dse = [...DE].reverse(), fse = DE.length;
+function pse(e) {
+ return (t) => Promise.all(t.map(({ animation: t, options: n }) => soe(e, t, n)));
}
-function fse(e) {
- let t = dse(e), n = pD(), r = !0, i = !1, a = (t) => (n, r) => {
- let i = DT(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
+function mse(e) {
+ let t = pse(e), n = gD(), r = !0, i = !1, a = (t) => (n, r) => {
+ let i = AT(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
if (i) {
let { transition: e, transitionEnd: t, ...r } = i;
n = {
@@ -31398,12 +31399,12 @@ function fse(e) {
t = n(e);
}
function s(o) {
- let { props: s } = e, c = uD(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
- for (let t = 0; t < use; t++) {
- let p = lse[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = CE(h), _ = p === o ? m.isActive : null;
+ let { props: s } = e, c = pD(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
+ for (let t = 0; t < fse; t++) {
+ let p = dse[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = EE(h), _ = p === o ? m.isActive : null;
_ === !1 && (f = t);
let v = h === c[p] && h !== s[p] && g;
- if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || SE(h) || typeof h == "boolean") continue;
+ if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || TE(h) || typeof h == "boolean") continue;
if (p === "exit" && m.isActive && _ !== !0) {
m.prevResolvedValues && (d = {
...d,
@@ -31411,7 +31412,7 @@ function fse(e) {
});
continue;
}
- let y = pse(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
+ let y = hse(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
_ === !1 && (C = {});
let { prevResolvedValues: w = {} } = m, T = {
...w,
@@ -31425,7 +31426,7 @@ function fse(e) {
let t = C[e], n = w[e];
if (d.hasOwnProperty(e)) continue;
let r = !1;
- r = kT(t) && kT(n) ? !dD(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
+ r = MT(t) && MT(n) ? !mD(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
}
m.prevProp = h, m.prevResolvedValues = C, m.isActive && (d = {
...d,
@@ -31435,10 +31436,10 @@ function fse(e) {
b && (!D || x) && l.push(...S.map((t) => {
let n = { type: p };
if (typeof t == "string" && (r || i) && !D && e.manuallyAnimateOnMount && e.parent) {
- let { parent: r } = e, i = DT(r, t);
+ let { parent: r } = e, i = AT(r, t);
if (r.enteringChildren && i) {
let { delayChildren: t } = i.transition || {};
- n.delay = _T(r.enteringChildren, e, t);
+ n.delay = bT(r.enteringChildren, e, t);
}
}
return {
@@ -31450,7 +31451,7 @@ function fse(e) {
if (u.size) {
let t = {};
if (typeof s.initial != "boolean") {
- let n = DT(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
+ let n = AT(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
n && n.transition && (t.transition = n.transition);
}
u.forEach((n) => {
@@ -31474,14 +31475,14 @@ function fse(e) {
setAnimateFunction: o,
getState: () => n,
reset: () => {
- n = pD(), i = !0;
+ n = gD(), i = !0;
}
};
}
-function pse(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !dD(t, e) : !1;
+function hse(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !mD(t, e) : !1;
}
-function fD(e = !1) {
+function hD(e = !1) {
return {
isActive: e,
protectedKeys: {},
@@ -31489,115 +31490,115 @@ function fD(e = !1) {
prevResolvedValues: {}
};
}
-function pD() {
+function gD() {
return {
- animate: fD(!0),
- whileInView: fD(),
- whileHover: fD(),
- whileTap: fD(),
- whileDrag: fD(),
- whileFocus: fD(),
- exit: fD()
+ animate: hD(!0),
+ whileInView: hD(),
+ whileHover: hD(),
+ whileTap: hD(),
+ whileDrag: hD(),
+ whileFocus: hD(),
+ exit: hD()
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function mD(e, t) {
+function _D(e, t) {
e.min = t.min, e.max = t.max;
}
-function hD(e, t) {
- mD(e.x, t.x), mD(e.y, t.y);
+function vD(e, t) {
+ _D(e.x, t.x), _D(e.y, t.y);
}
-function gD(e, t) {
+function yD(e, t) {
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
-var mse = .9999, hse = 1.0001, gse = -.01, _se = .01;
-function _D(e) {
+var gse = .9999, _se = 1.0001, vse = -.01, yse = .01;
+function bD(e) {
return e.max - e.min;
}
-function vse(e, t, n) {
+function bse(e, t, n) {
return Math.abs(e - t) <= n;
}
-function vD(e, t, n, r = .5) {
- e.origin = r, e.originPoint = aw(t.min, t.max, e.origin), e.scale = _D(n) / _D(t), e.translate = aw(n.min, n.max, e.origin) - e.originPoint, (e.scale >= mse && e.scale <= hse || isNaN(e.scale)) && (e.scale = 1), (e.translate >= gse && e.translate <= _se || isNaN(e.translate)) && (e.translate = 0);
+function xD(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = pw(t.min, t.max, e.origin), e.scale = bD(n) / bD(t), e.translate = pw(n.min, n.max, e.origin) - e.originPoint, (e.scale >= gse && e.scale <= _se || isNaN(e.scale)) && (e.scale = 1), (e.translate >= vse && e.translate <= yse || isNaN(e.translate)) && (e.translate = 0);
}
-function yD(e, t, n, r) {
- vD(e.x, t.x, n.x, r ? r.originX : void 0), vD(e.y, t.y, n.y, r ? r.originY : void 0);
+function SD(e, t, n, r) {
+ xD(e.x, t.x, n.x, r ? r.originX : void 0), xD(e.y, t.y, n.y, r ? r.originY : void 0);
}
-function bD(e, t, n, r = 0) {
- e.min = (r ? aw(n.min, n.max, r) : n.min) + t.min, e.max = e.min + _D(t);
+function CD(e, t, n, r = 0) {
+ e.min = (r ? pw(n.min, n.max, r) : n.min) + t.min, e.max = e.min + bD(t);
}
-function yse(e, t, n, r) {
- bD(e.x, t.x, n.x, r?.x), bD(e.y, t.y, n.y, r?.y);
+function xse(e, t, n, r) {
+ CD(e.x, t.x, n.x, r?.x), CD(e.y, t.y, n.y, r?.y);
}
-function xD(e, t, n, r = 0) {
- let i = r ? aw(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + _D(t);
+function wD(e, t, n, r = 0) {
+ let i = r ? pw(n.min, n.max, r) : n.min;
+ e.min = t.min - i, e.max = e.min + bD(t);
}
-function SD(e, t, n, r) {
- xD(e.x, t.x, n.x, r?.x), xD(e.y, t.y, n.y, r?.y);
+function TD(e, t, n, r) {
+ wD(e.x, t.x, n.x, r?.x), wD(e.y, t.y, n.y, r?.y);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function CD(e, t, n, r, i) {
- return e -= t, e = HE(e, 1 / n, r), i !== void 0 && (e = HE(e, 1 / i, r)), e;
+function ED(e, t, n, r, i) {
+ return e -= t, e = GE(e, 1 / n, r), i !== void 0 && (e = GE(e, 1 / i, r)), e;
}
-function bse(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
- if (PC.test(t) && (t = parseFloat(t), t = aw(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
- let s = aw(a.min, a.max, r);
- e === a && (s -= t), e.min = CD(e.min, t, n, s, i), e.max = CD(e.max, t, n, s, i);
+function Sse(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+ if (tw.test(t) && (t = parseFloat(t), t = pw(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
+ let s = pw(a.min, a.max, r);
+ e === a && (s -= t), e.min = ED(e.min, t, n, s, i), e.max = ED(e.max, t, n, s, i);
}
-function wD(e, t, [n, r, i], a, o) {
- bse(e, t[n], t[r], t[i], t.scale, a, o);
+function DD(e, t, [n, r, i], a, o) {
+ Sse(e, t[n], t[r], t[i], t.scale, a, o);
}
-var xse = [
+var Cse = [
"x",
"scaleX",
"originX"
-], Sse = [
+], wse = [
"y",
"scaleY",
"originY"
];
-function TD(e, t, n, r) {
- wD(e.x, t, xse, n ? n.x : void 0, r ? r.x : void 0), wD(e.y, t, Sse, n ? n.y : void 0, r ? r.y : void 0);
+function OD(e, t, n, r) {
+ DD(e.x, t, Cse, n ? n.x : void 0, r ? r.x : void 0), DD(e.y, t, wse, n ? n.y : void 0, r ? r.y : void 0);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function ED(e) {
+function kD(e) {
return e.translate === 0 && e.scale === 1;
}
-function DD(e) {
- return ED(e.x) && ED(e.y);
+function AD(e) {
+ return kD(e.x) && kD(e.y);
}
-function OD(e, t) {
+function jD(e, t) {
return e.min === t.min && e.max === t.max;
}
-function Cse(e, t) {
- return OD(e.x, t.x) && OD(e.y, t.y);
+function Tse(e, t) {
+ return jD(e.x, t.x) && jD(e.y, t.y);
}
-function kD(e, t) {
+function MD(e, t) {
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function AD(e, t) {
- return kD(e.x, t.x) && kD(e.y, t.y);
+function ND(e, t) {
+ return MD(e.x, t.x) && MD(e.y, t.y);
}
-function jD(e) {
- return _D(e.x) / _D(e.y);
+function PD(e) {
+ return bD(e.x) / bD(e.y);
}
-function MD(e, t) {
+function FD(e, t) {
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
-function ND(e) {
+function ID(e) {
return [e("x"), e("y")];
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function wse(e, t, n) {
+function Ese(e, t, n) {
let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, skewX: s, skewY: c } = n;
@@ -31608,81 +31609,81 @@ function wse(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs
-var Tse = KT.length, PD = (e) => typeof e == "string" ? parseFloat(e) : e, FD = (e) => typeof e == "number" || X.test(e);
-function Ese(e, t, n, r, i, a) {
- i ? (e.opacity = aw(0, n.opacity ?? 1, Dse(r)), e.opacityExit = aw(t.opacity ?? 1, 0, Ose(r))) : a && (e.opacity = aw(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < Tse; i++) {
- let a = KT[i], o = ID(t, a), s = ID(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || FD(o) === FD(s) ? (e[a] = Math.max(aw(PD(o), PD(s), r), 0), (PC.test(s) || PC.test(o)) && (e[a] += "%")) : e[a] = s);
+var Dse = YT.length, LD = (e) => typeof e == "string" ? parseFloat(e) : e, RD = (e) => typeof e == "number" || X.test(e);
+function Ose(e, t, n, r, i, a) {
+ i ? (e.opacity = pw(0, n.opacity ?? 1, kse(r)), e.opacityExit = pw(t.opacity ?? 1, 0, Ase(r))) : a && (e.opacity = pw(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < Dse; i++) {
+ let a = YT[i], o = zD(t, a), s = zD(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || RD(o) === RD(s) ? (e[a] = Math.max(pw(LD(o), LD(s), r), 0), (tw.test(s) || tw.test(o)) && (e[a] += "%")) : e[a] = s);
}
- (t.rotate || n.rotate) && (e.rotate = aw(t.rotate || 0, n.rotate || 0, r));
+ (t.rotate || n.rotate) && (e.rotate = pw(t.rotate || 0, n.rotate || 0, r));
}
-function ID(e, t) {
+function zD(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var Dse = /*@__PURE__*/ LD(0, .5, iC), Ose = /*@__PURE__*/ LD(.5, .95, HS);
-function LD(e, t, n) {
- return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ WS(e, t, r));
+var kse = /*@__PURE__*/ BD(0, .5, TC), Ase = /*@__PURE__*/ BD(.5, .95, lC);
+function BD(e, t, n) {
+ return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ dC(e, t, r));
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function kse(e, t, n) {
- let r = AT(e) ? e : bT(e);
- return r.start(CT("", r, t, n)), r.animation;
+function jse(e, t, n) {
+ let r = NT(e) ? e : CT(e);
+ return r.start(ET("", r, t, n)), r.animation;
}
//#endregion
//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function RD(e, t, n, r = { passive: !0 }) {
+function VD(e, t, n, r = { passive: !0 }) {
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
-var Ase = (e, t) => e.depth - t.depth, jse = class {
+var Mse = (e, t) => e.depth - t.depth, Nse = class {
constructor() {
this.children = [], this.isDirty = !1;
}
add(e) {
- PS(this.children, e), this.isDirty = !0;
+ tC(this.children, e), this.isDirty = !0;
}
remove(e) {
- FS(this.children, e), this.isDirty = !0;
+ nC(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(Ase), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(Mse), this.isDirty = !1, this.children.forEach(e);
}
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/delay.mjs
-function Mse(e, t) {
- let n = _C.now(), r = ({ timestamp: i }) => {
+function Pse(e, t) {
+ let n = RC.now(), r = ({ timestamp: i }) => {
let a = i - n;
- a >= t && (pC(r), e(a - t));
+ a >= t && (PC(r), e(a - t));
};
- return fC.setup(r, !0), () => pC(r);
+ return NC.setup(r, !0), () => PC(r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function zD(e) {
- return AT(e) ? e.get() : e;
+function HD(e) {
+ return NT(e) ? e.get() : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs
-var Nse = class {
+var Fse = class {
constructor() {
this.members = [];
}
add(e) {
- PS(this.members, e);
+ tC(this.members, e);
for (let t = this.members.length - 1; t >= 0; t--) {
let n = this.members[t];
if (n === e || n === this.lead || n === this.prevLead) continue;
let r = n.instance;
- (!r || r.isConnected === !1) && !n.snapshot && (FS(this.members, n), n.unmount());
+ (!r || r.isConnected === !1) && !n.snapshot && (nC(this.members, n), n.unmount());
}
e.scheduleRender();
}
remove(e) {
- if (FS(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
+ if (nC(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
let e = this.members[this.members.length - 1];
e && this.promote(e);
}
@@ -31713,51 +31714,51 @@ var Nse = class {
removeLeadSnapshot() {
this.lead?.snapshot && (this.lead.snapshot = void 0);
}
-}, BD = {
+}, UD = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
-}, VD = {
+}, WD = {
nodes: 0,
calculatedTargetDeltas: 0,
calculatedProjections: 0
-}, HD = [
+}, GD = [
"",
"X",
"Y",
"Z"
-], Pse = 1e3, Fse = 0;
-function UD(e, t, n, r) {
+], Ise = 1e3, Lse = 0;
+function KD(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-function WD(e) {
+function qD(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
- let n = PT(t);
+ let n = LT(t);
if (window.MotionHasOptimisedAnimation(n, "transform")) {
let { layout: t, layoutId: r } = e.options;
- window.MotionCancelOptimisedAnimation(n, "transform", fC, !(t || r));
+ window.MotionCancelOptimisedAnimation(n, "transform", NC, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && WD(r);
+ r && !r.hasCheckedOptimisedAppear && qD(r);
}
-function GD({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+function JD({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
return class {
constructor(e = {}, n = t?.()) {
- this.id = Fse++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
+ this.id = Lse++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
x: 1,
y: 1
}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.layoutVersion = 0, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
}, this.updateProjection = () => {
- this.projectionUpdateScheduled = !1, hE.value && (VD.nodes = VD.calculatedTargetDeltas = VD.calculatedProjections = 0), this.nodes.forEach(Rse), this.nodes.forEach(Wse), this.nodes.forEach(Gse), this.nodes.forEach(zse), hE.addProjectionMetrics && hE.addProjectionMetrics(VD);
+ this.projectionUpdateScheduled = !1, vE.value && (WD.nodes = WD.calculatedTargetDeltas = WD.calculatedProjections = 0), this.nodes.forEach(Bse), this.nodes.forEach(Kse), this.nodes.forEach(qse), this.nodes.forEach(Vse), vE.addProjectionMetrics && vE.addProjectionMetrics(WD);
}, this.resolvedRelativeTargetAt = 0, this.linkedParentVersion = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;
for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;
- this.root === this && (this.nodes = new jse());
+ this.root === this && (this.nodes = new Nse());
}
addEventListener(e, t) {
- return this.eventHandlers.has(e) || this.eventHandlers.set(e, new GS()), this.eventHandlers.get(e).add(t);
+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new fC()), this.eventHandlers.get(e).add(t);
}
notifyListeners(e, ...t) {
let n = this.eventHandlers.get(e);
@@ -31768,15 +31769,15 @@ function GD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
mount(t) {
if (this.instance) return;
- this.isSVG = cE(t) && !Ioe(t), this.instance = t;
+ this.isSVG = dE(t) && !Roe(t), this.instance = t;
let { layoutId: n, layout: r, visualElement: i } = this.options;
if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {
let n, r = 0, i = () => this.root.updateBlockedByResize = !1;
- fC.read(() => {
+ NC.read(() => {
r = window.innerWidth;
}), e(t, () => {
let e = window.innerWidth;
- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = Mse(i, 250), BD.hasAnimatedSinceResize && (BD.hasAnimatedSinceResize = !1, this.nodes.forEach(JD)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = Pse(i, 250), UD.hasAnimatedSinceResize && (UD.hasAnimatedSinceResize = !1, this.nodes.forEach(ZD)));
});
}
n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {
@@ -31784,23 +31785,23 @@ function GD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || i.getDefaultTransition() || Xse, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !AD(this.targetLayout, r), l = !t && n;
+ let a = this.options.transition || i.getDefaultTransition() || Qse, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !ND(this.targetLayout, r), l = !t && n;
if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
let t = {
- ...ST(a, "layout"),
+ ...TT(a, "layout"),
onPlay: o,
onComplete: s
};
(i.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
- } else t || JD(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
+ } else t || ZD(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
this.targetLayout = r;
});
}
unmount() {
this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);
let e = this.getStack();
- e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), pC(this.updateProjection);
+ e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), PC(this.updateProjection);
}
blockUpdate() {
this.updateManuallyBlocked = !0;
@@ -31815,7 +31816,7 @@ function GD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Kse), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Jse), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -31826,7 +31827,7 @@ function GD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.onExitComplete && this.options.onExitComplete();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && WD(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && qD(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
this.isLayoutDirty = !0;
for (let e = 0; e < this.path.length; e++) {
let t = this.path[e];
@@ -31840,39 +31841,39 @@ function GD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
update() {
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
let e = this.updateBlockedByResize;
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Vse), this.nodes.forEach(KD);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Use), this.nodes.forEach(YD);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(qD);
+ this.nodes.forEach(XD);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Hse), this.nodes.forEach(Use), this.nodes.forEach(Ise), this.nodes.forEach(Lse)) : this.nodes.forEach(qD), this.clearAllSnapshots();
- let e = _C.now();
- mC.delta = IS(0, 1e3 / 60, e - mC.timestamp), mC.timestamp = e, mC.isProcessing = !0, hC.update.process(mC), hC.preRender.process(mC), hC.render.process(mC), mC.isProcessing = !1;
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Wse), this.nodes.forEach(Gse), this.nodes.forEach(Rse), this.nodes.forEach(zse)) : this.nodes.forEach(XD), this.clearAllSnapshots();
+ let e = RC.now();
+ FC.delta = rC(0, 1e3 / 60, e - FC.timestamp), FC.timestamp = e, FC.isProcessing = !0, IC.update.process(FC), IC.preRender.process(FC), IC.render.process(FC), FC.isProcessing = !1;
}
didUpdate() {
- this.updateScheduled || (this.updateScheduled = !0, XT.read(this.scheduleUpdate));
+ this.updateScheduled || (this.updateScheduled = !0, $T.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach(Bse), this.sharedNodes.forEach(qse);
+ this.nodes.forEach(Hse), this.sharedNodes.forEach(Yse);
}
scheduleUpdateProjection() {
- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, fC.preRender(this.updateProjection, !1, !0));
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, NC.preRender(this.updateProjection, !1, !0));
}
scheduleCheckAfterUnmount() {
- fC.postRender(() => {
+ NC.postRender(() => {
this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
});
}
updateSnapshot() {
- this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !_D(this.snapshot.measuredBox.x) && !_D(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !bD(this.snapshot.measuredBox.x) && !bD(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
}
updateLayout() {
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();
let e = this.layout;
- this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= xE(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
+ this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= wE(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
let { visualElement: t } = this.options;
t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
}
@@ -31891,12 +31892,12 @@ function GD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
resetTransform() {
if (!i) return;
- let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !DD(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
- e && this.instance && (t || zE(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
+ let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !AD(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && this.instance && (t || HE(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
}
measure(e = !0) {
let t = this.measurePageBox(), n = this.removeElementScroll(t);
- return e && (n = this.removeTransform(n)), Zse(n), {
+ return e && (n = this.removeTransform(n)), $se(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -31906,42 +31907,42 @@ function GD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
measurePageBox() {
let { visualElement: e } = this.options;
- if (!e) return xE();
+ if (!e) return wE();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(Qse))) {
+ if (!(this.scroll?.wasRoot || this.path.some(ece))) {
let { scroll: e } = this.root;
- e && (JE(t.x, e.offset.x), JE(t.y, e.offset.y));
+ e && (ZE(t.x, e.offset.x), ZE(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
- let t = xE();
- if (hD(t, e), this.scroll?.wasRoot) return t;
+ let t = wE();
+ if (vD(t, e), this.scroll?.wasRoot) return t;
for (let n = 0; n < this.path.length; n++) {
let r = this.path[n], { scroll: i, options: a } = r;
- r !== this.root && i && a.layoutScroll && (i.wasRoot && hD(t, e), JE(t.x, i.offset.x), JE(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && vD(t, e), ZE(t.x, i.offset.x), ZE(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n) {
- let r = n || xE();
- hD(r, e);
+ let r = n || wE();
+ vD(r, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- !t && n.options.layoutScroll && n.scroll && n !== n.root && (JE(r.x, -n.scroll.offset.x), JE(r.y, -n.scroll.offset.y)), zE(n.latestValues) && ZE(r, n.latestValues, n.layout?.layoutBox);
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (ZE(r.x, -n.scroll.offset.x), ZE(r.y, -n.scroll.offset.y)), HE(n.latestValues) && eD(r, n.latestValues, n.layout?.layoutBox);
}
- return zE(this.latestValues) && ZE(r, this.latestValues, this.layout?.layoutBox), r;
+ return HE(this.latestValues) && eD(r, this.latestValues, this.layout?.layoutBox), r;
}
removeTransform(e) {
- let t = xE();
- hD(t, e);
+ let t = wE();
+ vD(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- if (!zE(n.latestValues)) continue;
+ if (!HE(n.latestValues)) continue;
let r;
- n.instance && (RE(n.latestValues) && n.updateSnapshot(), r = xE(), hD(r, n.measurePageBox())), TD(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (VE(n.latestValues) && n.updateSnapshot(), r = wE(), vD(r, n.measurePageBox())), OD(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return zE(this.latestValues) && TD(t, this.latestValues), t;
+ return HE(this.latestValues) && OD(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -31957,7 +31958,7 @@ function GD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
}
forceRelativeParentToResolveTarget() {
- this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== mC.timestamp && this.relativeParent.resolveTargetDelta(!0);
+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== FC.timestamp && this.relativeParent.resolveTargetDelta(!0);
}
resolveTargetDelta(e = !1) {
let t = this.getLead();
@@ -31966,36 +31967,36 @@ function GD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if (!(e || n && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return;
let { layout: r, layoutId: i } = this.options;
if (!this.layout || !(r || i)) return;
- this.resolvedRelativeTargetAt = mC.timestamp;
+ this.resolvedRelativeTargetAt = FC.timestamp;
let a = this.getClosestProjectingParent();
- a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = xE(), this.targetWithTransforms = xE()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), yse(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : hD(this.target, this.layout.layoutBox), GE(this.target, this.targetDelta)) : hD(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), hE.value && VD.calculatedTargetDeltas++);
+ a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = wE(), this.targetWithTransforms = wE()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), xse(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : vD(this.target, this.layout.layoutBox), JE(this.target, this.targetDelta)) : vD(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), vE.value && WD.calculatedTargetDeltas++);
}
getClosestProjectingParent() {
- if (!(!this.parent || RE(this.parent.latestValues) || BE(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
+ if (!(!this.parent || VE(this.parent.latestValues) || UE(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
}
isProjecting() {
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
}
createRelativeTarget(e, t, n) {
- this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = xE(), this.relativeTargetOrigin = xE(), SD(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), hD(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = wE(), this.relativeTargetOrigin = wE(), TD(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), vD(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
}
calcProjection() {
let e = this.getLead(), t = !!this.resumingFrom || this !== e, n = !0;
- if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === mC.timestamp && (n = !1), n) return;
+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === FC.timestamp && (n = !1), n) return;
let { layout: r, layoutId: i } = this.options;
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
- hD(this.layoutCorrected, this.layout.layoutBox);
+ vD(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- Joe(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = xE());
+ Xoe(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = wE());
let { target: s } = e;
if (!s) {
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
return;
}
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (gD(this.prevProjectionDelta.x, this.projectionDelta.x), gD(this.prevProjectionDelta.y, this.projectionDelta.y)), yD(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !MD(this.projectionDelta.x, this.prevProjectionDelta.x) || !MD(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), hE.value && VD.calculatedProjections++;
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (yD(this.prevProjectionDelta.x, this.projectionDelta.x), yD(this.prevProjectionDelta.y, this.projectionDelta.y)), SD(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !FD(this.projectionDelta.x, this.prevProjectionDelta.x) || !FD(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), vE.value && WD.calculatedProjections++;
}
hide() {
this.isVisible = !1;
@@ -32011,22 +32012,22 @@ function GD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
}
createProjectionDeltas() {
- this.prevProjectionDelta = yE(), this.projectionDelta = yE(), this.projectionDeltaWithTransform = yE();
+ this.prevProjectionDelta = SE(), this.projectionDelta = SE(), this.projectionDeltaWithTransform = SE();
}
setAnimationOrigin(e, t = !1, n) {
- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = yE();
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = SE();
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = xE(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !!(c && !u && this.options.crossfade === !0 && !this.path.some(Yse));
+ let s = wE(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !!(c && !u && this.options.crossfade === !0 && !this.path.some(Zse));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- r ? (o.x.translate = r.x, o.x.scale = aw(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = aw(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (YD(o.x, e.x, n), YD(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (SD(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Jse(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Cse(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= xE(), hD(f, this.relativeTarget)), c && (this.animationValues = a, Ese(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ r ? (o.x.translate = r.x, o.x.scale = pw(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = pw(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (QD(o.x, e.x, n), QD(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (TD(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Xse(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Tse(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= wE(), vD(f, this.relativeTarget)), c && (this.animationValues = a, Ose(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
}
startAnimation(e) {
- this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (pC(this.pendingAnimation), void 0), this.pendingAnimation = fC.update(() => {
- BD.hasAnimatedSinceResize = !0, this.motionValue ||= bT(0), this.motionValue.jump(0, !1), this.currentAnimation = kse(this.motionValue, [0, 1e3], {
+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (PC(this.pendingAnimation), void 0), this.pendingAnimation = NC.update(() => {
+ UD.hasAnimatedSinceResize = !0, this.motionValue ||= CT(0), this.motionValue.jump(0, !1), this.currentAnimation = jse(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -32045,23 +32046,23 @@ function GD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
}
finishAnimation() {
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Pse), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Ise), this.currentAnimation.stop()), this.completeAnimation();
}
applyTransformsToTarget() {
let e = this.getLead(), { targetWithTransforms: t, target: n, layout: r, latestValues: i } = e;
if (!(!t || !n || !r)) {
- if (this !== e && this.layout && r && eO(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
- n = this.target || xE();
- let t = _D(this.layout.layoutBox.x);
+ if (this !== e && this.layout && r && rO(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
+ n = this.target || wE();
+ let t = bD(this.layout.layoutBox.x);
n.x.min = e.target.x.min, n.x.max = n.x.min + t;
- let r = _D(this.layout.layoutBox.y);
+ let r = bD(this.layout.layoutBox.y);
n.y.min = e.target.y.min, n.y.max = n.y.min + r;
}
- hD(t, n), ZE(t, i), yD(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
+ vD(t, n), eD(t, i), SD(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Nse()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Fse()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n ? n.transition : void 0,
@@ -32098,8 +32099,8 @@ function GD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let t = !1, { latestValues: n } = e;
if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;
let r = {};
- n.z && UD("z", e, r, this.animationValues);
- for (let t = 0; t < HD.length; t++) UD(`rotate${HD[t]}`, e, r, this.animationValues), UD(`skew${HD[t]}`, e, r, this.animationValues);
+ n.z && KD("z", e, r, this.animationValues);
+ for (let t = 0; t < GD.length; t++) KD(`rotate${GD[t]}`, e, r, this.animationValues), KD(`skew${GD[t]}`, e, r, this.animationValues);
e.render();
for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);
e.scheduleRender();
@@ -32112,71 +32113,71 @@ function GD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let n = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = zD(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = HD(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
return;
}
let r = this.getLead();
if (!this.projectionDelta || !this.layout || !r.target) {
- this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = zD(t?.pointerEvents) || ""), this.hasProjected && !zE(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = HD(t?.pointerEvents) || ""), this.hasProjected && !HE(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
let i = r.animationValues || r.latestValues;
this.applyTransformsToTarget();
- let a = wse(this.projectionDeltaWithTransform, this.treeScale, i);
+ let a = Ese(this.projectionDeltaWithTransform, this.treeScale, i);
n && (a = n(i, a)), e.transform = a;
let { x: o, y: s } = this.projectionDelta;
e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = r.animationValues ? r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
- for (let t in rD) {
+ for (let t in oD) {
if (i[t] === void 0) continue;
- let { correct: n, applyTo: o, isCSSVariable: s } = rD[t], c = a === "none" ? i[t] : n(i[t], r);
+ let { correct: n, applyTo: o, isCSSVariable: s } = oD[t], c = a === "none" ? i[t] : n(i[t], r);
if (o) {
let t = o.length;
for (let n = 0; n < t; n++) e[o[n]] = c;
} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;
}
- this.options.layoutId && (e.pointerEvents = r === this ? zD(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = r === this ? HD(t?.pointerEvents) || "" : "none");
}
clearSnapshot() {
this.resumeFrom = this.snapshot = void 0;
}
resetTree() {
- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(KD), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(YD), this.root.sharedNodes.clear();
}
};
}
-function Ise(e) {
+function Rse(e) {
e.updateLayout();
}
-function Lse(e) {
+function zse(e) {
let t = e.resumeFrom?.snapshot || e.snapshot;
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;
- if (i === "size") ND((e) => {
- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = _D(r);
+ if (i === "size") ID((e) => {
+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = bD(r);
r.min = n[e].min, r.max = r.min + i;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- mD(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
- } else eO(i, t.layoutBox, n) && ND((r) => {
- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = _D(n[r]);
+ _D(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
+ } else rO(i, t.layoutBox, n) && ID((r) => {
+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = bD(n[r]);
i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);
});
- let o = yE();
- yD(o, n, t.layoutBox);
- let s = yE();
- a ? yD(s, e.applyTransform(r, !0), t.measuredBox) : yD(s, n, t.layoutBox);
- let c = !DD(o), l = !1;
+ let o = SE();
+ SD(o, n, t.layoutBox);
+ let s = SE();
+ a ? SD(s, e.applyTransform(r, !0), t.measuredBox) : SD(s, n, t.layoutBox);
+ let c = !AD(o), l = !1;
if (!e.resumeFrom) {
let r = e.getClosestProjectingParent();
if (r && !r.resumeFrom) {
let { snapshot: i, layout: a } = r;
if (i && a) {
- let o = e.options.layoutAnchor || void 0, s = xE();
- SD(s, t.layoutBox, i.layoutBox, o);
- let c = xE();
- SD(c, n, a.layoutBox, o), AD(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
+ let o = e.options.layoutAnchor || void 0, s = wE();
+ TD(s, t.layoutBox, i.layoutBox, o);
+ let c = wE();
+ TD(c, n, a.layoutBox, o), ND(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
}
}
}
@@ -32194,59 +32195,59 @@ function Lse(e) {
}
e.options.transition = void 0;
}
-function Rse(e) {
- hE.value && VD.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
+function Bse(e) {
+ vE.value && WD.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
}
-function zse(e) {
+function Vse(e) {
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
-function Bse(e) {
+function Hse(e) {
e.clearSnapshot();
}
-function KD(e) {
+function YD(e) {
e.clearMeasurements();
}
-function Vse(e) {
+function Use(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function qD(e) {
+function XD(e) {
e.isLayoutDirty = !1;
}
-function Hse(e) {
+function Wse(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
}
-function Use(e) {
+function Gse(e) {
let { visualElement: t } = e.options;
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function JD(e) {
+function ZD(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function Wse(e) {
+function Kse(e) {
e.resolveTargetDelta();
}
-function Gse(e) {
+function qse(e) {
e.calcProjection();
}
-function Kse(e) {
+function Jse(e) {
e.resetSkewAndRotation();
}
-function qse(e) {
+function Yse(e) {
e.removeLeadSnapshot();
}
-function YD(e, t, n) {
- e.translate = aw(t.translate, 0, n), e.scale = aw(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
+function QD(e, t, n) {
+ e.translate = pw(t.translate, 0, n), e.scale = pw(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
-function XD(e, t, n, r) {
- e.min = aw(t.min, n.min, r), e.max = aw(t.max, n.max, r);
+function $D(e, t, n, r) {
+ e.min = pw(t.min, n.min, r), e.max = pw(t.max, n.max, r);
}
-function Jse(e, t, n, r) {
- XD(e.x, t.x, n.x, r), XD(e.y, t.y, n.y, r);
+function Xse(e, t, n, r) {
+ $D(e.x, t.x, n.x, r), $D(e.y, t.y, n.y, r);
}
-function Yse(e) {
+function Zse(e) {
return e.animationValues && e.animationValues.opacityExit !== void 0;
}
-var Xse = {
+var Qse = {
duration: .45,
ease: [
.4,
@@ -32254,39 +32255,39 @@ var Xse = {
.1,
1
]
-}, ZD = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), QD = ZD("applewebkit/") && !ZD("chrome/") ? Math.round : HS;
-function $D(e) {
- e.min = QD(e.min), e.max = QD(e.max);
+}, eO = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), tO = eO("applewebkit/") && !eO("chrome/") ? Math.round : lC;
+function nO(e) {
+ e.min = tO(e.min), e.max = tO(e.max);
}
-function Zse(e) {
- $D(e.x), $D(e.y);
+function $se(e) {
+ nO(e.x), nO(e.y);
}
-function eO(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !vse(jD(t), jD(n), .2);
+function rO(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !bse(PD(t), PD(n), .2);
}
-function Qse(e) {
+function ece(e) {
return e !== e.root && e.scroll?.wasRoot;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var $se = GD({
- attachResizeListener: (e, t) => RD(e, "resize", t),
+var tce = JD({
+ attachResizeListener: (e, t) => VD(e, "resize", t),
measureScroll: () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
}),
checkIsScrollRoot: () => !0
-}), tO = { current: void 0 }, nO = GD({
+}), iO = { current: void 0 }, aO = JD({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!tO.current) {
- let e = new $se({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), tO.current = e;
+ if (!iO.current) {
+ let e = new tce({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), iO.current = e;
}
- return tO.current;
+ return iO.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
@@ -32295,18 +32296,18 @@ var $se = GD({
});
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function ece(e, t, n, r) {
+function nce(e, t, n, r) {
if (e == null) return [];
- let i = qT(e, r), a = i.length, o = [];
+ let i = XT(e, r), a = i.length, o = [];
for (let e = 0; e < a; e++) {
let r = i[e], s = { ...n };
typeof s.delay == "function" && (s.delay = s.delay(e, a));
for (let e in t) {
let n = t[e];
Array.isArray(n) || (n = [n]);
- let i = { ...ST(s, e) };
- i.duration &&= /* @__PURE__ */ KS(i.duration), i.delay &&= /* @__PURE__ */ KS(i.delay);
- let a = Vae(r), c = Bae(e, i.pseudoElement || ""), l = a.get(c);
+ let i = { ...TT(s, e) };
+ i.duration &&= /* @__PURE__ */ pC(i.duration), i.delay &&= /* @__PURE__ */ pC(i.delay);
+ let a = Uae(r), c = Hae(e, i.pseudoElement || ""), l = a.get(c);
l && l.stop(), o.push({
map: a,
key: c,
@@ -32322,40 +32323,40 @@ function ece(e, t, n, r) {
}
for (let e = 0; e < o.length; e++) {
let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;
- !a && t[0] === null && (t[0] = sE(r, i)), Fw(t), _oe(t, i), !a && t.length < 2 && t.unshift(sE(r, i)), n.keyframes = t;
+ !a && t[0] === null && (t[0] = uE(r, i)), Lw(t), yoe(t, i), !a && t.length < 2 && t.unshift(uE(r, i)), n.keyframes = t;
}
let s = [];
for (let e = 0; e < o.length; e++) {
- let { map: t, key: n, options: r } = o[e], i = new lT(r);
+ let { map: t, key: n, options: r } = o[e], i = new dT(r);
t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);
}
return s;
}
-var tce = /*@__PURE__*/ ((e) => {
+var rce = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new zae(ece(t, n, r, e));
+ return new Vae(nce(t, n, r, e));
}
return t;
-})(), rO = (e, t) => Math.abs(e - t);
-function nce(e, t) {
- let n = rO(e.x, t.x), r = rO(e.y, t.y);
+})(), oO = (e, t) => Math.abs(e - t);
+function ice(e, t) {
+ let n = oO(e.x, t.x), r = oO(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
//#endregion
//#region src/react/components/use-moving-surface.ts
-var rce = {
+var ace = {
selection: {
- type: Ew,
+ type: Ow,
duration: .16,
bounce: 0
},
hover: {
- type: Ew,
+ type: Ow,
duration: .08,
bounce: 0
}
};
-function iO(e) {
+function sO(e) {
let [t, n] = (0, L.useState)(null);
return (0, L.useLayoutEffect)(() => {
if (!t) return;
@@ -32376,7 +32377,7 @@ function iO(e) {
let E = `translate(${b}px, ${x}px) scale(1, 1)`;
if (u && a && !r.matches && T && s !== h) {
let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;
- l = tce(n, { transform: [r, E] }, rce[e]);
+ l = rce(n, { transform: [r, E] }, ace[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -32413,9 +32414,9 @@ function iO(e) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function aO(e) {
- let t = iO("hover");
- return /* @__PURE__ */ (0, R.jsx)($g, {
+function cO(e) {
+ let t = sO("hover");
+ return /* @__PURE__ */ (0, R.jsx)(a_, {
...e,
ref: t
});
@@ -32426,67 +32427,67 @@ function aO(e) {
}).medium;
//#endregion
//#region src/management.ts
-var ice = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", ace = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", oce = ga({
+var oce = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", sce = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", cce = ba({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), sce = {
+}), lce = {
split: "min-w-0 p-6",
stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"
-}, cce = {
+}, uce = {
split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",
stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"
-}, lce = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", uce = {
+}, dce = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", fce = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, dce = ga({
+}, pce = ba({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), oO = "border-t border-border-button-default p-4 first:border-t-0";
-function sO({ tone: e = "neutral", status: t, children: n }) {
+}), lO = "border-t border-border-button-default p-4 first:border-t-0";
+function uO({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: `${lce} ${uce[e]}`,
+ className: `${dce} ${fce[e]}`,
children: [t ? /* @__PURE__ */ (0, R.jsx)("p", {
className: `mr-auto min-w-0 text-caption-1-regular ${e === "error" ? "text-text-error-primary" : "text-text-secondary"}`,
children: t
}) : null, n]
});
}
-function cO({ id: e, children: t }) {
+function dO({ id: e, children: t }) {
return /* @__PURE__ */ (0, R.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function lO({ id: e, gap: t = "none", children: n }) {
+function fO({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, R.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function uO({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function pO({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, R.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${oce} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${cce} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, R.jsx)("div", {
- className: sce[e],
+ className: lce[e],
children: a
}), i ? /* @__PURE__ */ (0, R.jsx)("footer", {
- className: cce[e],
+ className: uce[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function dO() {
+function mO() {
let e = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
v(e.current);
@@ -32494,7 +32495,7 @@ function dO() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var fO = na({
+var hO = oa({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -32515,21 +32516,21 @@ var fO = na({
small: "size-4 shrink-0"
}
});
-function pO({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function gO({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, R.jsx)("button", {
ref: i,
type: r,
- className: ta(fO.base, fO.size[t], n),
+ className: aa(hO.base, hO.size[t], n),
...a,
children: /* @__PURE__ */ (0, R.jsx)(e, {
- className: fO.icon[t],
+ className: hO.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function fce({ className: e }) {
+function mce({ className: e }) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -32542,8 +32543,8 @@ function fce({ className: e }) {
children: /* @__PURE__ */ (0, R.jsx)("use", { href: "#i-folder-open" })
});
}
-var pce = "打开文件管理器失败,请重试";
-function mO({ path: e, prefix: t, className: n, onRevealed: r }) {
+var hce = "打开文件管理器失败,请重试";
+function _O({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, L.useState)(!1), [o, s] = (0, L.useState)(""), c = (0, L.useRef)(!0);
(0, L.useEffect)(() => () => {
c.current = !1;
@@ -32554,7 +32555,7 @@ function mO({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await W("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof sa ? e.message : pce);
+ c.current && s(e instanceof da ? e.message : hce);
} finally {
c.current && a(!1);
}
@@ -32565,10 +32566,10 @@ function mO({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, R.jsxs)("p", {
- className: ta("min-w-0 break-all", n),
+ className: aa("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, R.jsx)(pO, {
- icon: fce,
+ }), /* @__PURE__ */ (0, R.jsx)(gO, {
+ icon: mce,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -32583,38 +32584,38 @@ function mO({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function hO({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function vO({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-task-progress": !0,
- className: r ? "flex flex-col gap-1.5" : ga({
+ className: r ? "flex flex-col gap-1.5" : ba({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-1.5 px-4 py-3.5"
}),
- children: n && n > 0 ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(Ca, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(Da, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, R.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, R.jsx)(ya, { label: e })
+ })] }) : /* @__PURE__ */ (0, R.jsx)(Ca, { label: e })
});
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function gO({ toast: e, mode: t, monitor: n }) {
- let r = t === "notice" || !!n, i = vr({
- queryKey: cx,
- queryFn: ({ signal: e }) => lx(e),
- refetchInterval: (e) => ure(e.state.data, r)
+function yO({ toast: e, mode: t, monitor: n }) {
+ let r = t === "notice" || !!n, i = Sr({
+ queryKey: ax,
+ queryFn: ({ signal: e }) => ox(e),
+ refetchInterval: (e) => vre(e.state.data, r)
}), [a, o] = (0, L.useState)(null), s = (0, L.useRef)(void 0), c = i.data;
return (0, L.useEffect)(() => {
if (!c) return;
let n = s.current;
s.current = c.status;
let r = n === "running" && c.status !== "running";
- r && o(c), (r || t === "notice") && hre(c, e, r);
+ r && o(c), (r || t === "notice") && Cre(c, e, r);
}, [
c,
t,
@@ -32627,29 +32628,29 @@ function gO({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var mce = [
+var gce = [
{
label: "扫描并补全资料",
- icon: _t,
+ icon: xt,
command: {}
},
{
label: "只扫描",
- icon: wt,
+ icon: Ot,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: Ct,
+ icon: Dt,
command: { stage: "collect" }
}
-], hce = ta(Ny, Py, "text-body-2-medium"), gce = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", _ce = (e) => {
+], _ce = aa(Ly, Ry, "text-body-2-medium"), vce = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", yce = (e) => {
let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;
if (!t && !n && !r && !i) return "";
let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];
return r && a.push(`${r} 个同名冲突交回人工`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;
-}, vce = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + _ce(e);
-function yce({ busy: e, onRun: t }) {
+}, bce = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + yce(e);
+function xce({ busy: e, onRun: t }) {
let n = (0, L.useRef)(null), [r, i] = (0, L.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -32658,14 +32659,14 @@ function yce({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, R.jsx)(V, {
- leadingIcon: _t,
+ leadingIcon: xt,
onClick: () => a({}),
...K(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, R.jsx)(V, {
ref: n,
iconOnly: !0,
- leadingIcon: ct,
+ leadingIcon: ft,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -32674,19 +32675,19 @@ function yce({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, R.jsx)(ig, {
+ }), /* @__PURE__ */ (0, R.jsx)(cg, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: My,
- children: /* @__PURE__ */ (0, R.jsx)(aO, {
+ className: Py,
+ children: /* @__PURE__ */ (0, R.jsx)(cO, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: mce.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, R.jsxs)("button", {
+ children: gce.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
- className: hce,
+ className: _ce,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, R.jsx)(t, {
"aria-hidden": !0,
@@ -32696,8 +32697,8 @@ function yce({ busy: e, onRun: t }) {
})
})] });
}
-function bce({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = pre(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = fre(e.notes || {}), c = dO();
+function Sce({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = xre(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = bre(e.notes || {}), c = mO();
return /* @__PURE__ */ (0, R.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -32705,7 +32706,7 @@ function bce({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "warning",
title: "处理较慢",
- children: gce
+ children: vce
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
@@ -32717,7 +32718,7 @@ function bce({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, R.jsxs)($y, {
+ children: /* @__PURE__ */ (0, R.jsxs)(sb, {
summary: a.label,
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "relative",
@@ -32748,7 +32749,7 @@ function bce({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, R.jsx)(mO, {
+ children: /* @__PURE__ */ (0, R.jsx)(_O, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -32762,13 +32763,13 @@ function bce({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "success",
title: "处理完成",
- children: vce(n)
+ children: bce(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, R.jsx)(mO, {
+ children: /* @__PURE__ */ (0, R.jsx)(_O, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -32780,38 +32781,38 @@ function bce({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function _O(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = gO(e), o = yr({
- mutationFn: (e) => W(sx, e),
+function bO(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = yO(e), o = Cr({
+ mutationFn: (e) => W(ix, e),
onSuccess: (e) => {
- a(), Y.setQueryData(cx, e), Y.invalidateQueries({ queryKey: cx });
+ a(), Y.setQueryData(ax, e), Y.invalidateQueries({ queryKey: ax });
}
});
(0, L.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? H(o.error) : r.isError ? r.data ? dx : H(r.error) : "", l = o.isPending || s.status === "running", u = px(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? H(o.error) : r.isError ? r.data ? cx : H(r.error) : "", l = o.isPending || s.status === "running", u = ux(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, R.jsx)(uO, {
+ children: [/* @__PURE__ */ (0, R.jsx)(pO, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
- /* @__PURE__ */ (0, R.jsx)(Hy, {
+ /* @__PURE__ */ (0, R.jsx)(Xy, {
href: "/scraping",
size: "small",
- trailingIcon: lt,
+ trailingIcon: pt,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, R.jsx)(Hy, {
+ s.candidates ? /* @__PURE__ */ (0, R.jsx)(Xy, {
href: "/review",
size: "small",
- trailingIcon: lt,
+ trailingIcon: pt,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, R.jsx)(yce, {
+ /* @__PURE__ */ (0, R.jsx)(xce, {
busy: l,
onRun: d
})
@@ -32819,12 +32820,12 @@ function _O(e) {
children: /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(lO, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, R.jsx)(fO, { children: "扫描与采集" }),
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ice
+ children: oce
}),
- s.status === "running" ? /* @__PURE__ */ (0, R.jsx)(hO, {
+ s.status === "running" ? /* @__PURE__ */ (0, R.jsx)(vO, {
embedded: !0,
label: u,
value: s.checked,
@@ -32832,7 +32833,7 @@ function _O(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, R.jsx)(bce, {
+ }), /* @__PURE__ */ (0, R.jsx)(Sce, {
state: s,
problem: c,
settled: i,
@@ -32848,20 +32849,20 @@ function _O(e) {
}
//#endregion
//#region src/react/background-job.ts
-var vO = 2e3, xce = (e) => e, Sce = (e, t) => t;
-function yO(e) {
- let { queryKey: t, jobOf: n = xce, withJob: r = Sce, idlePollMs: i } = e, [a, o] = (0, L.useState)(!1), [s, c] = (0, L.useState)(null), l = (0, L.useRef)(e);
+var xO = 2e3, Cce = (e) => e, wce = (e, t) => t;
+function SO(e) {
+ let { queryKey: t, jobOf: n = Cce, withJob: r = wce, idlePollMs: i } = e, [a, o] = (0, L.useState)(!1), [s, c] = (0, L.useState)(null), l = (0, L.useRef)(e);
(0, L.useEffect)(() => {
l.current = e;
});
- let u = vr({
+ let u = Sr({
queryKey: t,
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? vO : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? xO : i ?? !1;
}
- }), d = yr({
+ }), d = Cr({
mutationFn: (e) => l.current.start(e),
onSuccess: (e) => {
o(!0), c(null), l.current.onStarted?.(e), Y.setQueryData(t, (t) => r(t, e)), Y.invalidateQueries({
@@ -32890,32 +32891,32 @@ function yO(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var Cce = (e) => _[e] || e, bO = (e) => Y.setQueryData(gx, e);
-function wce() {
- let e = vr({
- queryKey: gx,
- queryFn: ({ signal: e }) => vx(e),
- refetchInterval: (e) => e.state.data?.status === "running" && vO
- }), t = vr({
- queryKey: _x,
- queryFn: ({ signal: e }) => yx(e)
- }), [n, r] = (0, L.useState)(""), i = wa(), a = e.data ?? gre, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
+var Tce = (e) => _[e] || e, CO = (e) => Y.setQueryData(px, e);
+function Ece() {
+ let e = Sr({
+ queryKey: px,
+ queryFn: ({ signal: e }) => hx(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && xO
+ }), t = Sr({
+ queryKey: mx,
+ queryFn: ({ signal: e }) => gx(e)
+ }), [n, r] = (0, L.useState)(""), i = Oa(), a = e.data ?? wre, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
c && b({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => bO(await W(hx, {
+ onConfirm: async () => CO(await W(fx, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => W(hx, { stop: !0 }, "POST", e), bO), d = vre(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => W(fx, { stop: !0 }, "POST", e), CO), d = Ere(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, R.jsx)(uO, {
+ children: [/* @__PURE__ */ (0, R.jsx)(pO, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(Iy, {
+ footer: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -32923,10 +32924,10 @@ function wce() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, R.jsxs)(Ly, {
+ children: o.map((e) => /* @__PURE__ */ (0, R.jsxs)(Gy, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, R.jsx)(eb, { mark: Cce(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, R.jsx)(cb, { mark: Tce(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, R.jsx)(V, {
onClick: u,
@@ -32940,12 +32941,12 @@ function wce() {
children: /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(lO, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, R.jsx)(fO, { children: "媒体修复" }),
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ace
+ children: sce
}),
- s && a.total ? /* @__PURE__ */ (0, R.jsx)(Ca, {
+ s && a.total ? /* @__PURE__ */ (0, R.jsx)(Da, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -32969,7 +32970,7 @@ function wce() {
f && a.missing_tool ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "warning",
title: "缺少 untrunc",
- children: yre(a)
+ children: Dre(a)
}) : null,
p ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
@@ -32981,7 +32982,7 @@ function wce() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var xO = {
+var wO = {
md: {
box: "size-4",
glyph: "size-4",
@@ -32995,11 +32996,11 @@ var xO = {
gap: "gap-1.5"
}
};
-function SO({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = xO[t], c = n || r, l = o && !a;
+function TO({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = wO[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, R.jsx)("span", {
"aria-hidden": !0,
- className: ta("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? ta("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : ta("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: aa("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? aa("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : aa("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, R.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -33023,36 +33024,36 @@ function SO({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function CO({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = xO[n];
- return /* @__PURE__ */ (0, R.jsx)(Od, {
+function EO({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = wO[n];
+ return /* @__PURE__ */ (0, R.jsx)(Md, {
ref: r,
...i,
- className: (t) => ta("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, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(SO, {
+ className: (t) => aa("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, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(TO, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, R.jsx)("span", {
- className: ta(a.label, "text-text-primary"),
+ className: aa(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function wO({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function DO({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
- className: ta("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, R.jsx)(oy, {
+ className: aa("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, R.jsx)(sy, {
ref: r,
...i,
- className: ta("bui-table", e === "sm" && "bui-table-sm", t)
+ className: aa("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
//#endregion
//#region src/react/components/row-click.ts
-var Tce = [
+var Dce = [
"a",
"button",
"input",
@@ -33065,15 +33066,15 @@ var Tce = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function TO(e, t) {
+function OO(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Tce);
+ let r = n.closest(Dce);
return !r || !t.contains(r) || r === t;
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function EO({ children: e, follow: t = !1, onRowClick: n }) {
+function kO({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -33081,15 +33082,15 @@ function EO({ children: e, follow: t = !1, onRowClick: n }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && TO(e, r) && n(r.dataset.key);
+ r && OO(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var Ece = Wb("unlink"), DO = Wb("rotate-cw"), Dce = "站点返回 404 或 410,确认这个地址不存在。", Oce = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", kce = "删除前会逐条重验一次;此操作不可撤销。", Ace = "暂时无法读取进度,正在重新连接…", OO = (e) => Number(e || 0).toLocaleString();
-function kO({ label: e, value: t, note: n }) {
+var Oce = Vb("unlink"), AO = Vb("rotate-cw"), kce = "站点返回 404 或 410,确认这个地址不存在。", Ace = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", jce = "删除前会逐条重验一次;此操作不可撤销。", Mce = "暂时无法读取进度,正在重新连接…", jO = (e) => Number(e || 0).toLocaleString();
+function MO({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -33108,11 +33109,11 @@ function kO({ label: e, value: t, note: n }) {
]
});
}
-function AO({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function NO({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
if (!t.length) return null;
let o = r ?? [], s = o.length > 0 && o.length === t.length;
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: oO,
+ className: lO,
children: [
/* @__PURE__ */ (0, R.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -33125,13 +33126,13 @@ function AO({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
className: "mb-3 text-caption-1-regular text-text-secondary",
children: n
}),
- /* @__PURE__ */ (0, R.jsx)(EO, { children: /* @__PURE__ */ (0, R.jsxs)(wO, {
+ /* @__PURE__ */ (0, R.jsx)(kO, { children: /* @__PURE__ */ (0, R.jsxs)(DO, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, R.jsxs)(ly, { children: [
- i ? /* @__PURE__ */ (0, R.jsx)(uy, {
+ children: [/* @__PURE__ */ (0, R.jsxs)(dy, { children: [
+ i ? /* @__PURE__ */ (0, R.jsx)(fy, {
id: "pick",
- children: /* @__PURE__ */ (0, R.jsx)(CO, {
+ children: /* @__PURE__ */ (0, R.jsx)(EO, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: s,
@@ -33139,44 +33140,44 @@ function AO({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
onChange: (e) => i(e ? t.map((e) => e.id) : [])
})
}) : null,
- /* @__PURE__ */ (0, R.jsx)(uy, {
+ /* @__PURE__ */ (0, R.jsx)(fy, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, R.jsx)(uy, {
+ /* @__PURE__ */ (0, R.jsx)(fy, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, R.jsx)(uy, {
+ /* @__PURE__ */ (0, R.jsx)(fy, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, R.jsx)(uy, {
+ /* @__PURE__ */ (0, R.jsx)(fy, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, R.jsx)(uy, {
+ /* @__PURE__ */ (0, R.jsx)(fy, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, R.jsx)(fy, { children: t.map((e) => /* @__PURE__ */ (0, R.jsxs)(hy, {
+ ] }), /* @__PURE__ */ (0, R.jsx)(my, { children: t.map((e) => /* @__PURE__ */ (0, R.jsxs)(_y, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, R.jsx)(_y, { children: /* @__PURE__ */ (0, R.jsx)(CO, {
+ i ? /* @__PURE__ */ (0, R.jsx)(yy, { children: /* @__PURE__ */ (0, R.jsx)(EO, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: o.includes(e.id),
onChange: (t) => i(t ? [...o, e.id] : o.filter((t) => t !== e.id))
}) }) : null,
- /* @__PURE__ */ (0, R.jsx)(_y, { children: e.entity }),
- /* @__PURE__ */ (0, R.jsx)(_y, { children: Ux[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, R.jsx)(_y, { children: e.label || "" }),
- /* @__PURE__ */ (0, R.jsx)(_y, { children: /* @__PURE__ */ (0, R.jsx)("span", {
+ /* @__PURE__ */ (0, R.jsx)(yy, { children: e.entity }),
+ /* @__PURE__ */ (0, R.jsx)(yy, { children: Gx[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, R.jsx)(yy, { children: e.label || "" }),
+ /* @__PURE__ */ (0, R.jsx)(yy, { children: /* @__PURE__ */ (0, R.jsx)("span", {
className: "tabular-nums text-text-error-primary",
children: e.note
}) }),
- /* @__PURE__ */ (0, R.jsx)(_y, { children: /* @__PURE__ */ (0, R.jsxs)("a", {
+ /* @__PURE__ */ (0, R.jsx)(yy, { children: /* @__PURE__ */ (0, R.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -33186,7 +33187,7 @@ function AO({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
"data-middle-truncate": !0,
className: "min-w-0 truncate",
children: e.url
- }), /* @__PURE__ */ (0, R.jsx)(bt, {
+ }), /* @__PURE__ */ (0, R.jsx)(wt, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -33198,27 +33199,27 @@ function AO({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function jce() {
- let e = vr({
- queryKey: Bx,
- queryFn: ({ signal: e }) => Gx(e)
- }), [t, n] = (0, L.useState)([]), r = yO({
+function Nce() {
+ let e = Sr({
queryKey: Hx,
- queryFn: ({ signal: e }) => qx(e),
- start: qre,
+ queryFn: ({ signal: e }) => qx(e)
+ }), [t, n] = (0, L.useState)([]), r = SO({
+ queryKey: Wx,
+ queryFn: ({ signal: e }) => Xx(e),
+ start: Zx,
onFinish: () => {
Y.invalidateQueries({
- queryKey: Bx,
+ queryKey: Hx,
exact: !0
}), Y.invalidateQueries({
- queryKey: Vx,
+ queryKey: Ux,
exact: !0
});
}
- }), i = yO({
- queryKey: Vx,
- queryFn: ({ signal: e }) => Kx(e),
- start: Kre,
+ }), i = SO({
+ queryKey: Ux,
+ queryFn: ({ signal: e }) => Jx(e),
+ start: Yx,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -33248,7 +33249,7 @@ function jce() {
else if (_) x = /* @__PURE__ */ (0, R.jsx)(G, {
tone: "success",
title: "完成",
- children: Jre(_)
+ children: $x(_)
});
else if (v) x = /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
@@ -33258,7 +33259,7 @@ function jce() {
else if (i.query.isError && a) x = /* @__PURE__ */ (0, R.jsx)(G, {
tone: "neutral",
title: "任务状态",
- children: Ace
+ children: Mce
});
else if (a?.status === "failed") x = /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
@@ -33266,12 +33267,12 @@ function jce() {
children: a.error || "检查失败"
});
else if (a && a.status !== "idle") {
- y = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, R.jsx)(hO, {
+ y = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, R.jsx)(vO, {
embedded: !0,
- label: Yre(a),
+ label: eS(a),
value: a.checked,
total: a.total
- }) : null, c ? /* @__PURE__ */ (0, R.jsx)(hO, {
+ }) : null, c ? /* @__PURE__ */ (0, R.jsx)(vO, {
embedded: !0,
label: r.job?.message || "正在重验并删除失效链接…",
value: r.job?.checked,
@@ -33279,38 +33280,38 @@ function jce() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
x = l || u.length || d.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
- className: dce,
+ className: pce,
children: [
- /* @__PURE__ */ (0, R.jsx)(AO, {
+ /* @__PURE__ */ (0, R.jsx)(NO, {
title: "地址已失效",
items: u,
- hint: Dce
+ hint: kce
}),
- /* @__PURE__ */ (0, R.jsx)(AO, {
+ /* @__PURE__ */ (0, R.jsx)(NO, {
title: "本次未访问成功",
items: d,
- hint: Oce,
+ hint: Ace,
picked: f.length ? t : void 0,
onPick: f.length ? n : void 0,
children: f.length ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, R.jsxs)(sO, { children: [/* @__PURE__ */ (0, R.jsx)(V, {
- leadingIcon: DO,
+ children: /* @__PURE__ */ (0, R.jsxs)(uO, { children: [/* @__PURE__ */ (0, R.jsx)(V, {
+ leadingIcon: AO,
disabled: !t.length,
...K(s),
onClick: () => h(t),
children: e
}), /* @__PURE__ */ (0, R.jsx)(V, {
- leadingIcon: DO,
+ leadingIcon: AO,
...K(s),
onClick: () => h(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, R.jsx)(sO, {
+ l && u.length ? /* @__PURE__ */ (0, R.jsx)(uO, {
tone: "error",
- status: kce,
+ status: jce,
children: /* @__PURE__ */ (0, R.jsx)(V, {
variant: "danger",
...K(c),
@@ -33319,7 +33320,7 @@ function jce() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, R.jsx)("p", {
- className: `${oO} text-body-regular text-notification-success-foreground`,
+ className: `${lO} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -33330,21 +33331,21 @@ function jce() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, R.jsx)(cO, {
+ /* @__PURE__ */ (0, R.jsx)(dO, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, R.jsxs)(uO, {
+ /* @__PURE__ */ (0, R.jsxs)(pO, {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, R.jsx)(V, {
- leadingIcon: Ece,
+ leadingIcon: Oce,
...K(s),
onClick: () => h(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, R.jsx)(lO, {
+ /* @__PURE__ */ (0, R.jsx)(fO, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -33355,13 +33356,13 @@ function jce() {
children: H(e.error)
}) : p ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, R.jsx)(kO, {
+ children: [/* @__PURE__ */ (0, R.jsx)(MO, {
label: "链接总数",
- value: OO(p.total),
- note: `分布在 ${OO(p.entities)} 个女优、厂牌与系列`
- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(kO, {
- label: Ux[e] || e,
- value: OO(t)
+ value: jO(p.total),
+ note: `分布在 ${jO(p.entities)} 个女优、厂牌与系列`
+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(MO, {
+ label: Gx[e] || e,
+ value: jO(t)
}, e))]
}), m ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -33390,18 +33391,18 @@ function jce() {
}
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var Mce = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Nce = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Pce = 8;
-function Fce({ plan: e }) {
+var Pce = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Fce = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Ice = 8;
+function Lce({ plan: e }) {
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, Pce).map((e) => /* @__PURE__ */ (0, R.jsxs)("li", {
+ children: e.rows.slice(0, Ice).map((e) => /* @__PURE__ */ (0, R.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, R.jsx)("span", {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: oS(e.current_path)
+ children: DS(e.current_path)
}),
/* @__PURE__ */ (0, R.jsx)("span", {
"aria-hidden": !0,
@@ -33411,7 +33412,7 @@ function Fce({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: oS(e.target_path)
+ children: DS(e.target_path)
})
]
}, e.current_path))
@@ -33420,10 +33421,10 @@ function Fce({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function Ice({ toast: t, failure: n }) {
- let r = vr({
- queryKey: iS,
- queryFn: ({ signal: e }) => aS(e)
+function Rce({ toast: t, failure: n }) {
+ let r = Sr({
+ queryKey: bS,
+ queryFn: ({ signal: e }) => xS(e)
}), i = r.data, a = i?.locations ?? [], [o, s] = (0, L.useState)(""), c = a.some((e) => e.location === o) ? o : a[0]?.location ?? "", l = i?.templates?.[c], [u, d] = (0, L.useState)(null), f = u?.location === c ? u : {
location: c,
file: l?.file ?? "",
@@ -33435,9 +33436,9 @@ function Ice({ toast: t, failure: n }) {
location: c,
file_template: f.file.trim(),
dir_template: f.dir.trim()
- }), x = yr({
- mutationFn: sie,
- onSuccess: (e, t) => void lie({
+ }), x = Cr({
+ mutationFn: CS,
+ onSuccess: (e, t) => void TS({
...i?.templates ?? {},
[t.location]: {
file: t.file_template,
@@ -33445,29 +33446,29 @@ function Ice({ toast: t, failure: n }) {
}
}),
onError: (e) => {
- let t = die.test(H(e)) ? "dir" : "file";
+ let t = Yre.test(H(e)) ? "dir" : "file";
h(t), (t === "dir" ? v : g).current?.focus();
}
- }), S = yO({
- queryKey: iS,
- queryFn: ({ signal: e }) => aS(e),
- start: cie,
+ }), S = SO({
+ queryKey: bS,
+ queryFn: ({ signal: e }) => xS(e),
+ start: wS,
jobOf: (e) => e,
- withJob: uie,
+ withJob: ES,
onStarted: () => x.reset(),
onFinish: (e) => {
if (Y.invalidateQueries({
- queryKey: iS,
+ queryKey: bS,
exact: !0
}), e.status !== "complete") return;
- let { text: r, failed: i } = cS(e);
+ let { text: r, failed: i } = kS(e);
i ? n("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : t(r.replace(/。$/, ""));
}
}), C = S.running || S.start.isPending, w = x.data, T = Number(w?.counts?.change || 0), E = e[c] || c, D = (i?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), O = () => {
x.isPending || !c || (h(null), x.mutate(y()));
}, k = () => void b({
title: "按模板整理文件",
- body: Mce(E),
+ body: Pce(E),
confirmLabel: "整理文件",
onConfirm: () => S.start.mutateAsync({
kind: "apply",
@@ -33475,13 +33476,13 @@ function Ice({ toast: t, failure: n }) {
})
}), A = () => void b({
title: "回滚上一批整理",
- body: Nce,
+ body: Fce,
confirmLabel: "回滚整理",
onConfirm: () => S.start.mutateAsync({ kind: "rollback" })
}), j = null, M = S.job, N = S.outcome;
if (M?.status === "running") {
let e = M.message || M.stage || "正在整理文件…";
- j = /* @__PURE__ */ (0, R.jsx)(hO, {
+ j = /* @__PURE__ */ (0, R.jsx)(vO, {
embedded: !0,
label: e,
value: M.checked,
@@ -33493,7 +33494,7 @@ function Ice({ toast: t, failure: n }) {
children: N.error || "请查看任务记录,核对已处理的文件。"
});
else if (N) {
- let { text: e, failed: t } = cS(N);
+ let { text: e, failed: t } = kS(N);
j = /* @__PURE__ */ (0, R.jsx)(G, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -33503,7 +33504,7 @@ function Ice({ toast: t, failure: n }) {
tone: "error",
title: "整理失败",
children: H(S.start.error)
- }) : x.isPending ? j = /* @__PURE__ */ (0, R.jsx)(hO, {
+ }) : x.isPending ? j = /* @__PURE__ */ (0, R.jsx)(vO, {
embedded: !0,
label: "正在按模板算计划…"
}) : x.isError ? j = /* @__PURE__ */ (0, R.jsx)(G, {
@@ -33513,9 +33514,9 @@ function Ice({ toast: t, failure: n }) {
}) : w && (j = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(G, {
tone: "neutral",
title: "预览结果",
- children: fie(w)
- }), T ? /* @__PURE__ */ (0, R.jsx)(Fce, { plan: w }) : null] }));
- return /* @__PURE__ */ (0, R.jsxs)(uO, {
+ children: Xre(w)
+ }), T ? /* @__PURE__ */ (0, R.jsx)(Lce, { plan: w }) : null] }));
+ return /* @__PURE__ */ (0, R.jsxs)(pO, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -33539,7 +33540,7 @@ function Ice({ toast: t, failure: n }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, R.jsx)(lO, {
+ /* @__PURE__ */ (0, R.jsx)(fO, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -33559,20 +33560,20 @@ function Ice({ toast: t, failure: n }) {
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- a.length ? /* @__PURE__ */ (0, R.jsx)(Iy, {
+ a.length ? /* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: c || null,
onSelectionChange: (e) => {
e !== null && (s(String(e)), h(null), x.reset());
},
- children: a.map((t) => /* @__PURE__ */ (0, R.jsxs)(Ly, {
+ children: a.map((t) => /* @__PURE__ */ (0, R.jsxs)(Gy, {
id: t.location,
textValue: e[t.location] || t.location,
- children: [/* @__PURE__ */ (0, R.jsx)(eb, { mark: _[t.location] || "database" }), e[t.location] || t.location]
+ children: [/* @__PURE__ */ (0, R.jsx)(cb, { mark: _[t.location] || "database" }), e[t.location] || t.location]
}, t.location))
}) : null,
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: f.file,
@@ -33583,7 +33584,7 @@ function Ice({ toast: t, failure: n }) {
p({ file: e }), h(null);
}
}),
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: f.dir,
@@ -33623,56 +33624,56 @@ function Ice({ toast: t, failure: n }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var Lce = "/api/orphan-records", Rce = "/api/orphan-records/attach", jO = ["orphan-records"], zce = [
+var zce = "/api/orphan-records", Bce = "/api/orphan-records/attach", PO = ["orphan-records"], Vce = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], Bce = (e) => U(Lce, e), Vce = (e, t) => W(Rce, {
+], Hce = (e) => U(zce, e), Uce = (e, t) => W(Bce, {
id: e,
target: t
-}), Hce = (e) => W(nx, {
+}), Wce = (e) => W($b, {
ids: [e],
operation: "delete"
-}), Uce = (e) => [
+}), Gce = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], MO = (e) => [...zce.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Uce(e)].filter(Boolean).join(" · "), Wce = (e) => e ? `${Math.round(e / 60)} 分钟` : "", NO = (e) => [e.name, Wce(e.duration)].filter(Boolean).join(" · "), Gce = Wb("play"), PO = () => Y.invalidateQueries({
- queryKey: jO,
+], FO = (e) => [...Vce.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Gce(e)].filter(Boolean).join(" · "), Kce = (e) => e ? `${Math.round(e / 60)} 分钟` : "", IO = (e) => [e.name, Kce(e.duration)].filter(Boolean).join(" · "), qce = Vb("play"), LO = () => Y.invalidateQueries({
+ queryKey: PO,
exact: !0
});
-function Kce({ item: t, toast: n }) {
- let [r, i] = (0, L.useState)(t.candidates[0]?.id ?? null), a = yr({
- mutationFn: () => Vce(t.id, Number(r)),
+function Jce({ item: t, toast: n }) {
+ let [r, i] = (0, L.useState)(t.candidates[0]?.id ?? null), a = Cr({
+ mutationFn: () => Uce(t.id, Number(r)),
onSuccess: (e) => {
- n(`记录已接到新文件,批次 ${e.batch}`), PO();
+ n(`记录已接到新文件,批次 ${e.batch}`), LO();
},
onError: (e) => n(H(e))
- }), o = yr({
- mutationFn: () => Hce(t.id),
+ }), o = Cr({
+ mutationFn: () => Wce(t.id),
onSuccess: (e) => {
- n(e.blocked.length ? `${t.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${t.name}`), PO();
+ n(e.blocked.length ? `${t.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${t.name}`), LO();
}
}), s = () => {
b({
title: "彻底删除",
- body: `将删除「${t.name}」这一条和它带的记录(${MO(t.records)})。此操作不可撤销。`,
+ body: `将删除「${t.name}」这一条和它带的记录(${FO(t.records)})。此操作不可撤销。`,
confirmLabel: "彻底删除",
danger: !0,
onConfirm: () => o.mutateAsync()
});
}, c = a.isPending || o.isPending;
- return /* @__PURE__ */ (0, R.jsxs)(hy, {
+ return /* @__PURE__ */ (0, R.jsxs)(_y, {
id: t.id,
children: [
- /* @__PURE__ */ (0, R.jsx)(_y, { children: /* @__PURE__ */ (0, R.jsxs)("span", {
+ /* @__PURE__ */ (0, R.jsx)(yy, { children: /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, R.jsxs)("span", {
className: "relative inline-grid aspect-16/10 w-24 flex-none place-items-center max-cleanup-tight:hidden overflow-hidden rounded-lg border border-separator-border bg-background-tertiary-default text-text-tertiary",
- children: [/* @__PURE__ */ (0, R.jsx)(Gce, {
+ children: [/* @__PURE__ */ (0, R.jsx)(qce, {
"aria-hidden": !0,
className: "size-5"
}), t.has_thumb ? /* @__PURE__ */ (0, R.jsx)("img", {
@@ -33694,27 +33695,27 @@ function Kce({ item: t, toast: n }) {
})]
})]
}) }),
- /* @__PURE__ */ (0, R.jsx)(_y, { children: /* @__PURE__ */ (0, R.jsx)("span", {
+ /* @__PURE__ */ (0, R.jsx)(yy, { children: /* @__PURE__ */ (0, R.jsx)("span", {
className: "block min-w-44",
- children: MO(t.records)
+ children: FO(t.records)
}) }),
- /* @__PURE__ */ (0, R.jsx)(_y, { children: t.candidates.length ? /* @__PURE__ */ (0, R.jsx)(Iy, {
+ /* @__PURE__ */ (0, R.jsx)(yy, { children: t.candidates.length ? /* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": `把 ${t.name} 的记录接到哪个文件`,
className: "w-64",
selectedKey: r,
onSelectionChange: (e) => {
e !== null && i(Number(e));
},
- children: t.candidates.map((e) => /* @__PURE__ */ (0, R.jsx)(Ly, {
+ children: t.candidates.map((e) => /* @__PURE__ */ (0, R.jsx)(Gy, {
id: e.id,
- textValue: NO(e),
- children: NO(e)
+ textValue: IO(e),
+ children: IO(e)
}, e.id))
}) : /* @__PURE__ */ (0, R.jsx)("span", {
className: "text-text-secondary",
children: "没有番号或文件名对得上的文件"
}) }),
- /* @__PURE__ */ (0, R.jsx)(_y, { children: /* @__PURE__ */ (0, R.jsxs)("span", {
+ /* @__PURE__ */ (0, R.jsx)(yy, { children: /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex flex-wrap gap-2",
children: [t.candidates.length ? /* @__PURE__ */ (0, R.jsx)(V, {
size: "small",
@@ -33734,23 +33735,23 @@ function Kce({ item: t, toast: n }) {
]
});
}
-function qce({ toast: e }) {
- let t = vr({
- queryKey: jO,
- queryFn: ({ signal: e }) => Bce(e)
+function Yce({ toast: e }) {
+ let t = Sr({
+ queryKey: PO,
+ queryFn: ({ signal: e }) => Hce(e)
}), n = t.data?.items ?? [];
return !t.isError && !n.length ? null : /* @__PURE__ */ (0, R.jsxs)("section", {
id: "orphan-records",
"aria-labelledby": "orphan-records-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, R.jsx)(cO, {
+ children: [/* @__PURE__ */ (0, R.jsx)(dO, {
id: "orphan-records-title",
children: "孤儿记录"
- }), /* @__PURE__ */ (0, R.jsxs)(uO, {
+ }), /* @__PURE__ */ (0, R.jsxs)(pO, {
layout: "stack",
labelledBy: "orphan-records-box",
children: [
- /* @__PURE__ */ (0, R.jsx)(lO, {
+ /* @__PURE__ */ (0, R.jsx)(fO, {
id: "orphan-records-box",
gap: "small",
children: "文件已消失的作品"
@@ -33763,28 +33764,28 @@ function qce({ toast: e }) {
tone: "error",
title: "孤儿记录读取失败",
children: H(t.error)
- }) : /* @__PURE__ */ (0, R.jsx)(EO, { children: /* @__PURE__ */ (0, R.jsxs)(wO, {
+ }) : /* @__PURE__ */ (0, R.jsx)(kO, { children: /* @__PURE__ */ (0, R.jsxs)(DO, {
"aria-label": "文件已消失的作品",
size: "sm",
- children: [/* @__PURE__ */ (0, R.jsxs)(ly, { children: [
- /* @__PURE__ */ (0, R.jsx)(uy, {
+ children: [/* @__PURE__ */ (0, R.jsxs)(dy, { children: [
+ /* @__PURE__ */ (0, R.jsx)(fy, {
id: "item",
isRowHeader: !0,
children: "作品"
}),
- /* @__PURE__ */ (0, R.jsx)(uy, {
+ /* @__PURE__ */ (0, R.jsx)(fy, {
id: "records",
children: "带的记录"
}),
- /* @__PURE__ */ (0, R.jsx)(uy, {
+ /* @__PURE__ */ (0, R.jsx)(fy, {
id: "target",
children: "接到"
}),
- /* @__PURE__ */ (0, R.jsx)(uy, {
+ /* @__PURE__ */ (0, R.jsx)(fy, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, R.jsx)(fy, { children: n.map((t) => /* @__PURE__ */ (0, R.jsx)(Kce, {
+ ] }), /* @__PURE__ */ (0, R.jsx)(my, { children: n.map((t) => /* @__PURE__ */ (0, R.jsx)(Jce, {
item: t,
toast: e
}, t.id)) })]
@@ -33795,60 +33796,60 @@ function qce({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var Jce = Wb("git-compare"), Yce = Wb("rotate-cw"), Xce = "暂时无法读取进度,正在重新连接…", FO = "清理失效条目", IO = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", LO = (e) => Number(e || 0).toLocaleString();
+var Xce = Vb("git-compare"), RO = Vb("rotate-cw"), zO = "暂时无法读取进度,正在重新连接…", BO = "清理失效条目", VO = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", HO = (e) => Number(e || 0).toLocaleString();
function Zce({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("div", {
- className: IO,
+ className: VO,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, R.jsx)("article", {
- className: jS(),
- children: /* @__PURE__ */ (0, R.jsx)(MS, {
- label: _ie[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, R.jsx)(eb, { mark: _[e.location] ?? "database" }),
+ className: QS(),
+ children: /* @__PURE__ */ (0, R.jsx)($S, {
+ label: tie[e.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, R.jsx)(cb, { mark: _[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, R.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${LO(e.missing)} 项` : "—",
- meta: xie(e),
+ figure: e.online ? `${HO(e.missing)} 项` : "—",
+ meta: aie(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, R.jsxs)("div", {
- className: IO,
+ className: VO,
children: [
/* @__PURE__ */ (0, R.jsx)("article", {
- className: jS(),
- children: /* @__PURE__ */ (0, R.jsx)(MS, {
+ className: QS(),
+ children: /* @__PURE__ */ (0, R.jsx)($S, {
label: "待永久删除",
- figure: `${LO(_S(e))} 项`,
+ figure: `${HO(RS(e))} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, R.jsx)("article", {
- className: jS(),
- children: /* @__PURE__ */ (0, R.jsx)(MS, {
+ className: QS(),
+ children: /* @__PURE__ */ (0, R.jsx)($S, {
label: "将标为已消失",
- figure: `${LO(e.vanish)} 项`,
+ figure: `${HO(e.vanish)} 项`,
meta: "带个人记录,记录留着"
})
}),
/* @__PURE__ */ (0, R.jsx)("article", {
- className: jS(),
- children: /* @__PURE__ */ (0, R.jsx)(MS, {
+ className: QS(),
+ children: /* @__PURE__ */ (0, R.jsx)($S, {
label: "空文件夹",
- figure: `${LO(e.empty)} 个`,
+ figure: `${HO(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, R.jsx)("article", {
- className: jS(),
- children: /* @__PURE__ */ (0, R.jsx)(MS, {
+ className: QS(),
+ children: /* @__PURE__ */ (0, R.jsx)($S, {
label: "可清理的缓存",
- figure: `${LO(t.files)} 个`,
+ figure: `${HO(t.files)} 个`,
meta: t.files ? s(t.bytes) : ""
})
})
@@ -33856,38 +33857,38 @@ function Zce({ scan: e }) {
})] });
}
function Qce({ toast: e }) {
- let t = yO({
- queryKey: fS,
- queryFn: ({ signal: e }) => mS(e),
- start: mie,
+ let t = SO({
+ queryKey: NS,
+ queryFn: ({ signal: e }) => FS(e),
+ start: Qre,
onFinish: (t) => {
if (Y.invalidateQueries({
- queryKey: wS,
+ queryKey: GS,
exact: !0
}), Y.invalidateQueries({
- queryKey: dS,
+ queryKey: MS,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = bS(t);
- r ? e(`已完成 ${LO(n)} 项,${LO(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = VS(t);
+ r ? e(`已完成 ${HO(n)} 项,${HO(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = yO({
- queryKey: dS,
- queryFn: ({ signal: e }) => pS(e),
- start: pie,
+ }), n = SO({
+ queryKey: MS,
+ queryFn: ({ signal: e }) => PS(e),
+ start: Zre,
onStarted: () => t.dismiss()
}), r = n.job, i = n.running || n.start.isPending, a = t.running || t.start.isPending, o = r?.status === "complete" || r?.status === "failed", c = i ? "扫描中" : o ? "重新扫描" : "检查文件", l = (e) => void b({
- title: FO,
- body: bie(e),
- confirmLabel: FO,
+ title: BO,
+ body: iie(e),
+ confirmLabel: BO,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), u = t.outcome, d = (e) => {
- let t = bS(e).left > 0;
+ let t = VS(e).left > 0;
return /* @__PURE__ */ (0, R.jsx)(G, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: Sie(e, s)
+ children: oie(e, s)
});
}, f = null, p = null;
if (u?.status === "failed") p = /* @__PURE__ */ (0, R.jsx)(G, {
@@ -33896,7 +33897,7 @@ function Qce({ toast: e }) {
children: u.error || "请查看任务记录,核对已处理的文件。"
});
else if (u) p = d(u);
- else if (t.running) f = /* @__PURE__ */ (0, R.jsx)(hO, {
+ else if (t.running) f = /* @__PURE__ */ (0, R.jsx)(vO, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -33908,11 +33909,11 @@ function Qce({ toast: e }) {
else if (n.query.isError && r) p = /* @__PURE__ */ (0, R.jsx)(G, {
tone: "neutral",
title: "任务状态",
- children: Xce
+ children: zO
});
else if (r?.status === "running") {
- let e = vie(r);
- f = /* @__PURE__ */ (0, R.jsx)(hO, {
+ let e = nie(r);
+ f = /* @__PURE__ */ (0, R.jsx)(vO, {
embedded: !0,
label: e,
value: r.completed_sources,
@@ -33929,13 +33930,13 @@ function Qce({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = gie(r);
+ let e = eie(r);
p = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsx)(Zce, { scan: r }),
e ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "neutral",
title: "清理内容",
- children: yie(r)
+ children: rie(r)
}) : null,
/* @__PURE__ */ (0, R.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -33943,7 +33944,7 @@ function Qce({ toast: e }) {
variant: "danger",
...K(a),
onClick: () => l(r),
- children: a ? "正在复核并清理…" : FO
+ children: a ? "正在复核并清理…" : BO
}) : /* @__PURE__ */ (0, R.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -33960,16 +33961,16 @@ function Qce({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, R.jsx)(cO, {
+ /* @__PURE__ */ (0, R.jsx)(dO, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, R.jsxs)(uO, {
+ /* @__PURE__ */ (0, R.jsxs)(pO, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, R.jsx)(V, {
"data-resource-scan": !0,
- leadingIcon: o && !i ? Yce : Jce,
+ leadingIcon: o && !i ? RO : Xce,
...K(i),
onClick: () => {
i || n.start.mutate();
@@ -33977,7 +33978,7 @@ function Qce({ toast: e }) {
children: c
}),
children: [
- /* @__PURE__ */ (0, R.jsx)(lO, {
+ /* @__PURE__ */ (0, R.jsx)(fO, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -34003,16 +34004,16 @@ function Qce({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function RO(e, t) {
+function UO(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function zO({ section: e, label: t, icon: n, value: r, open: i }) {
+function WO({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
- className: jS({ interactive: !0 }),
+ className: QS({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, R.jsx)(MS, {
+ children: /* @__PURE__ */ (0, R.jsx)($S, {
label: t,
icon: n,
figure: r.figure,
@@ -34020,10 +34021,10 @@ function zO({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var $ce = Wb("square-check-big"), ele = Wb("sparkles"), tle = Wb("file-stack"), nle = Wb("file-archive"), rle = Wb("trash"), ile = [
- xS,
- xx,
- tx
+var $ce = Vb("square-check-big"), ele = Vb("sparkles"), tle = Vb("file-stack"), nle = Vb("file-archive"), rle = Vb("trash"), ile = [
+ HS,
+ vx,
+ Qb
], ale = () => {
for (let e of ile) Y.invalidateQueries({
queryKey: e,
@@ -34031,69 +34032,69 @@ var $ce = Wb("square-check-big"), ele = Wb("sparkles"), tle = Wb("file-stack"),
});
};
function ole({ toast: e, failure: t, open: n }) {
- let r = vr({
- queryKey: xS,
- queryFn: ({ signal: e }) => TS(e)
- }), i = vr({
- queryKey: xx,
- queryFn: ({ signal: e }) => Sx(e)
- }), a = vr({
- queryKey: tx,
- queryFn: ({ signal: e }) => rx(e)
- }), o = vr({
- queryKey: SS,
- queryFn: ({ signal: e }) => ES(e)
- }), c = vr({
- queryKey: wS,
- queryFn: ({ signal: e }) => DS(e)
- }), l = vr({
+ let r = Sr({
+ queryKey: HS,
+ queryFn: ({ signal: e }) => KS(e)
+ }), i = Sr({
+ queryKey: vx,
+ queryFn: ({ signal: e }) => yx(e)
+ }), a = Sr({
queryKey: Qb,
- queryFn: ({ signal: e }) => $b(e)
+ queryFn: ({ signal: e }) => ex(e)
+ }), o = Sr({
+ queryKey: US,
+ queryFn: ({ signal: e }) => qS(e)
+ }), c = Sr({
+ queryKey: GS,
+ queryFn: ({ signal: e }) => JS(e)
+ }), l = Sr({
+ queryKey: Yb,
+ queryFn: ({ signal: e }) => Xb(e)
}), u = (t) => e(t);
- return /* @__PURE__ */ (0, R.jsxs)(ba, { children: [
+ return /* @__PURE__ */ (0, R.jsxs)(wa, { children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
- className: Nie,
+ className: _ie,
children: [
- /* @__PURE__ */ (0, R.jsx)(zO, {
+ /* @__PURE__ */ (0, R.jsx)(WO, {
section: "review",
label: "人工复核",
icon: $ce,
open: n,
- value: RO(r, Eie)
+ value: UO(r, uie)
}),
- /* @__PURE__ */ (0, R.jsx)(zO, {
+ /* @__PURE__ */ (0, R.jsx)(WO, {
section: "quality",
label: "高清版",
icon: ele,
open: n,
- value: RO(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: UO(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, R.jsx)(zO, {
+ /* @__PURE__ */ (0, R.jsx)(WO, {
section: "duplicates",
label: "重复文件",
icon: tle,
open: n,
- value: RO(a, (e) => Number(e.total || 0) ? {
+ value: UO(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${s(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, R.jsx)(zO, {
+ /* @__PURE__ */ (0, R.jsx)(WO, {
section: "ads",
label: "垃圾文件",
icon: nle,
open: n,
- value: RO(o, (e) => ({
+ value: UO(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: Die(e)
+ meta: die(e)
}))
}),
- /* @__PURE__ */ (0, R.jsx)(zO, {
+ /* @__PURE__ */ (0, R.jsx)(WO, {
section: "trash",
label: "回收站",
icon: rle,
open: n,
- value: RO(c, (e) => ({
+ value: UO(c, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${s(e.bytes || 0)}` : ""
}))
@@ -34106,7 +34107,7 @@ function ole({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, R.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, R.jsx)(_O, {
+ children: /* @__PURE__ */ (0, R.jsx)(bO, {
toast: u,
monitor: !0,
onComplete: ale
@@ -34114,22 +34115,22 @@ function ole({ toast: e, failure: t, open: n }) {
}),
/* @__PURE__ */ (0, R.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, R.jsx)(wce, {})
+ children: /* @__PURE__ */ (0, R.jsx)(Ece, {})
}),
- /* @__PURE__ */ (0, R.jsx)(Ice, {
+ /* @__PURE__ */ (0, R.jsx)(Rce, {
toast: u,
failure: t
})
]
}),
- /* @__PURE__ */ (0, R.jsx)(jce, {}),
- /* @__PURE__ */ (0, R.jsx)(qce, { toast: u }),
- hS(l.data) ? /* @__PURE__ */ (0, R.jsx)(Qce, { toast: e }) : null
+ /* @__PURE__ */ (0, R.jsx)(Nce, {}),
+ /* @__PURE__ */ (0, R.jsx)(Yce, { toast: u }),
+ IS(l.data) ? /* @__PURE__ */ (0, R.jsx)(Qce, { toast: e }) : null
] });
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function BO({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function GO({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-collection-summary": "",
className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5
@@ -34156,7 +34157,7 @@ function BO({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/components/use-stuck.ts
-function VO(e) {
+function KO(e) {
(0, L.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -34176,7 +34177,7 @@ function VO(e) {
//#region src/react/components/filter-glass.tsx
function sle({ title: e, children: t }) {
let n = (0, L.useRef)(null);
- return VO(n), /* @__PURE__ */ (0, R.jsxs)("div", {
+ return KO(n), /* @__PURE__ */ (0, R.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -34189,48 +34190,48 @@ function sle({ title: e, children: t }) {
}), t]
});
}
-function HO({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function qO({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
let d = (0, L.useRef)(null);
- return VO(d), /* @__PURE__ */ (0, R.jsxs)("div", {
+ return KO(d), /* @__PURE__ */ (0, R.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: ta("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: aa("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
/* @__PURE__ */ (0, R.jsx)("div", {
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: ta("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: aa("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
children: n
}),
/* @__PURE__ */ (0, R.jsx)("div", {
ref: u,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
- className: ta("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: aa("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
})
]
});
}
var cle = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
-function UO({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+function JO({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: ta(cle, r),
+ className: aa(cle, r),
onClick: n,
children: e
});
}
var lle = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function WO({ children: e, onPress: t, busy: n = !1 }) {
+function YO({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-glass-pill": "",
@@ -34245,25 +34246,25 @@ function WO({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var ule = Wb("play"), dle = Wb("file-stack"), fle = ga({
+var ule = Vb("play"), dle = Vb("file-stack"), fle = ba({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), GO = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", KO = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", qO = "font-mono text-caption-1-regular leading-5 text-text-secondary", JO = () => {
+}), XO = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", ZO = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", QO = "font-mono text-caption-1-regular leading-5 text-text-secondary", $O = () => {
Y.invalidateQueries({
- queryKey: tx,
+ queryKey: Qb,
exact: !0
}), Y.invalidateQueries({
- queryKey: wS,
+ queryKey: GS,
exact: !0
});
};
function ple(e) {
return e.identical ? /* @__PURE__ */ (0, R.jsx)("span", {
- className: `${KO} text-(--keep)`,
+ className: `${ZO} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, R.jsx)("span", {
- className: `${KO} text-text-secondary`,
+ className: `${ZO} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
@@ -34301,55 +34302,55 @@ function mle({ file: t, openItem: n }) {
}), t.is_largest || t.is_longest ? /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex flex-none gap-1",
children: [t.is_largest ? /* @__PURE__ */ (0, R.jsx)("i", {
- className: `${GO} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${XO} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, t.is_longest ? /* @__PURE__ */ (0, R.jsx)("i", {
- className: `${GO} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${XO} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, R.jsxs)("span", {
- className: `${qO} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, R.jsx)(eb, { mark: _[t.location] || "database" }), /* @__PURE__ */ (0, R.jsx)("span", {
+ className: `${QO} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, R.jsx)(cb, { mark: _[t.location] || "database" }), /* @__PURE__ */ (0, R.jsx)("span", {
className: "whitespace-nowrap",
children: e[t.location] || t.location || t.drive
})]
}),
/* @__PURE__ */ (0, R.jsx)("span", {
- className: qO,
+ className: QO,
children: s(t.size || 0)
}),
/* @__PURE__ */ (0, R.jsx)("span", {
- className: qO,
+ className: QO,
children: o(t.duration)
}),
/* @__PURE__ */ (0, R.jsx)("span", {
"data-middle-truncate": !0,
title: t.path ?? "",
- className: `${qO} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
+ className: `${QO} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
children: t.path ?? ""
})
]
});
}
-function hle({ openItem: t, toast: n, failure: r }) {
- let i = vr({
- queryKey: tx,
- queryFn: ({ signal: e }) => rx(e)
- }), a = vr({
+function ek({ openItem: t, toast: n, failure: r }) {
+ let i = Sr({
queryKey: Qb,
- queryFn: ({ signal: e }) => $b(e)
- }), [o, c] = (0, L.useState)(""), l = yr({
- mutationFn: (e) => ox(e, "dispose"),
+ queryFn: ({ signal: e }) => ex(e)
+ }), a = Sr({
+ queryKey: Yb,
+ queryFn: ({ signal: e }) => Xb(e)
+ }), [o, c] = (0, L.useState)(""), l = Cr({
+ mutationFn: (e) => rx(e, "dispose"),
onSuccess: (e, t) => {
- JO(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
+ $O(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
try {
- await ox(t, "restore");
+ await rx(t, "restore");
} catch (e) {
r("撤销移入回收站", e);
} finally {
- JO();
+ $O();
}
} });
},
@@ -34363,12 +34364,12 @@ function hle({ openItem: t, toast: n, failure: r }) {
children: i.error ? H(i.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let d = u.groups ?? [], f = tre(a.data), p = ({ groups: e, keep: t, key: n }) => {
+ let d = u.groups ?? [], f = lre(a.data), p = ({ groups: e, keep: t, key: n }) => {
if (l.isPending) return;
- let r = ore(e, t);
+ let r = mre(e, t);
r.length && b({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${ix[t] ?? ix.largest}。文件共 ${s(sre(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${tx[t] ?? tx.largest}。文件共 ${s(hre(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (c(n), l.mutateAsync(r))
});
@@ -34376,7 +34377,7 @@ function hle({ openItem: t, toast: n, failure: r }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, R.jsx)(BO, {
+ /* @__PURE__ */ (0, R.jsx)(GO, {
label: "重复内容",
figure: `${Number(u.total || 0).toLocaleString()} 组`,
detail: `${u.files} 个文件 · 可回收 ${s(u.reclaimable)}`
@@ -34384,7 +34385,7 @@ function hle({ openItem: t, toast: n, failure: r }) {
d.length ? /* @__PURE__ */ (0, R.jsxs)(sle, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, R.jsx)(WO, {
+ /* @__PURE__ */ (0, R.jsx)(YO, {
busy: o === "all:largest",
onPress: () => p({
groups: d,
@@ -34393,7 +34394,7 @@ function hle({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, R.jsx)(WO, {
+ /* @__PURE__ */ (0, R.jsx)(YO, {
busy: o === "all:longest",
onPress: () => p({
groups: d,
@@ -34402,7 +34403,7 @@ function hle({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最长"
}),
- are(d, f).map((t) => /* @__PURE__ */ (0, R.jsx)(WO, {
+ pre(d, f).map((t) => /* @__PURE__ */ (0, R.jsx)(YO, {
busy: o === `all:${t}`,
onPress: () => p({
groups: d,
@@ -34439,7 +34440,7 @@ function hle({ openItem: t, toast: n, failure: r }) {
}),
ple(n),
n.cross_drive ? /* @__PURE__ */ (0, R.jsx)("span", {
- className: `${KO} text-text-secondary`,
+ className: `${ZO} text-text-secondary`,
children: `跨盘 ${n.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, R.jsxs)("span", {
@@ -34467,7 +34468,7 @@ function hle({ openItem: t, toast: n, failure: r }) {
}),
children: "留最长"
}),
- ax(n.files, f).map((t) => /* @__PURE__ */ (0, R.jsx)(V, {
+ nx(n.files, f).map((t) => /* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
size: "small",
...m(a(t)),
@@ -34497,7 +34498,7 @@ function hle({ openItem: t, toast: n, failure: r }) {
openItem: t
}, e.id)) })]
}, `${n.code}-${r}`);
- }) : /* @__PURE__ */ (0, R.jsx)(va, {
+ }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
icon: dle,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
@@ -34507,7 +34508,7 @@ function hle({ openItem: t, toast: n, failure: r }) {
}
//#endregion
//#region src/react/components/use-view-glide.ts
-function gle(e, t, n) {
+function tk(e, t, n) {
if (!t.contains(e)) return null;
let r = 0, i = 0;
for (let n = e; n && n !== t; n = n.offsetParent) r += n.offsetLeft, i += n.offsetTop;
@@ -34531,11 +34532,11 @@ function gle(e, t, n) {
h: e.offsetHeight
};
}
-function YO(e, t, n, r, { axis: i = "x" } = {}) {
+function nk(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, L.useRef)(null), o = (0, L.useCallback)((r, o) => {
let s = e.current, c = t.current, l = s?.parentElement;
if (!s) return;
- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? gle(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? tk(u, l, i) : null;
if (!d || !d.w) {
s.hidden = !0;
return;
@@ -34577,33 +34578,33 @@ function YO(e, t, n, r, { axis: i = "x" } = {}) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function XO(e) {
- let t = iO("selection");
- return /* @__PURE__ */ (0, R.jsx)(wy, {
+function rk(e) {
+ let t = sO("selection");
+ return /* @__PURE__ */ (0, R.jsx)(Ey, {
...e,
ref: t
});
}
-function ZO(e) {
- let t = iO("selection");
- return /* @__PURE__ */ (0, R.jsx)(W_, {
+function ik(e) {
+ let t = sO("selection");
+ return /* @__PURE__ */ (0, R.jsx)(X_, {
...e,
ref: t
});
}
-var QO = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", $O = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", _le = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", ek = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", tk = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", vle = (e) => e === "videos", nk = () => /* @__PURE__ */ (0, R.jsx)("span", {
+var ak = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", ok = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", hle = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", sk = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", ck = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", gle = (e) => e === "videos", lk = () => /* @__PURE__ */ (0, R.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function yle(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = vle(t), u = (0, L.useRef)(null), d = (0, L.useRef)(null), f = (0, L.useRef)(null), p = (0, L.useRef)(null), m = (0, L.useRef)(null), h = (0, L.useRef)(null), g = (0, L.useRef)(null), _ = YO(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = YO(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
+function _le(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = gle(t), u = (0, L.useRef)(null), d = (0, L.useRef)(null), f = (0, L.useRef)(null), p = (0, L.useRef)(null), m = (0, L.useRef)(null), h = (0, L.useRef)(null), g = (0, L.useRef)(null), _ = nk(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = nk(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
return (0, L.useEffect)(() => {
c.wireDrag(h.current), c.wireScroller(m.current), c.wireDrag(g.current);
- }, [c]), /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(rk, {
+ }, [c]), /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(uk, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, R.jsx)(HO, {
+ }), /* @__PURE__ */ (0, R.jsx)(qO, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -34623,13 +34624,13 @@ function yle(e) {
"data-view-glide": "round",
"aria-hidden": "true"
})] }),
- top: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [n ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(ble, {
+ top: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [n ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(vle, {
keys: n,
view: t,
row: p,
glide: v,
onView: s.setView
- }), l ? /* @__PURE__ */ (0, R.jsx)(nk, {}) : null] }) : null, /* @__PURE__ */ (0, R.jsxs)("div", {
+ }), l ? /* @__PURE__ */ (0, R.jsx)(lk, {}) : null] }) : null, /* @__PURE__ */ (0, R.jsxs)("div", {
ref: m,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
@@ -34649,11 +34650,11 @@ function yle(e) {
r !== e.k && s.setState(e.k);
},
children: e.label
- }, e.k)), /* @__PURE__ */ (0, R.jsx)(nk, {})]
+ }, e.k)), /* @__PURE__ */ (0, R.jsx)(lk, {})]
}), /* @__PURE__ */ (0, R.jsx)("div", {
ref: h,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, R.jsxs)(UO, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, R.jsxs)(JO, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -34665,10 +34666,10 @@ function yle(e) {
}, e.k)) : null
})]
})] }),
- bottom: /* @__PURE__ */ (0, R.jsx)(xle, { ...e })
+ bottom: /* @__PURE__ */ (0, R.jsx)(yle, { ...e })
})] });
}
-function ble({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function vle({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -34710,7 +34711,7 @@ function ble({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function rk({ items: e, hidden: t, actions: n }) {
+function uk({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -34730,7 +34731,7 @@ function rk({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function xle(e) {
+function yle(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, R.jsxs)("button", {
@@ -34742,22 +34743,22 @@ function xle(e) {
dangerouslySetInnerHTML: { __html: l("chevron-left") }
}), /* @__PURE__ */ (0, R.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, R.jsx)(Sle, {
+ /* @__PURE__ */ (0, R.jsx)(ble, {
text: n,
busy: r
}),
- t === "videos" && i ? /* @__PURE__ */ (0, R.jsx)(Cle, {
+ t === "videos" && i ? /* @__PURE__ */ (0, R.jsx)(xle, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, R.jsx)(wle, {
+ t === "photos" && a ? /* @__PURE__ */ (0, R.jsx)(Sle, {
head: a,
actions: o,
helpers: s
}) : null
] });
}
-function Sle({ text: e, busy: t }) {
+function ble({ text: e, busy: t }) {
return /* @__PURE__ */ (0, R.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, R.jsx)("span", {
@@ -34767,22 +34768,22 @@ function Sle({ text: e, busy: t }) {
}) : e
});
}
-function ik({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, R.jsx)(W_, {
+function dk({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, R.jsx)(X_, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: ek,
+ className: sk,
children: r.map(([e, t, n]) => {
- let r = Wb(n);
- return /* @__PURE__ */ (0, R.jsx)(G_, {
+ let r = Vb(n);
+ return /* @__PURE__ */ (0, R.jsx)(Z_, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: tk,
+ className: ck,
children: /* @__PURE__ */ (0, R.jsx)("span", {
title: t,
className: "contents",
@@ -34792,7 +34793,7 @@ function ik({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function ak({ onPress: e, busy: t = !1 }) {
+function fk({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -34806,27 +34807,27 @@ function ak({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? ae("正在换一批") : l("shuffle") }
});
}
-function Cle({ head: e, actions: t }) {
+function xle({ head: e, actions: t }) {
return /* @__PURE__ */ (0, R.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, R.jsx)(ak, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, R.jsx)(ik, {
+ /* @__PURE__ */ (0, R.jsx)(fk, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, R.jsx)(dk, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, R.jsx)(ok, {
+ /* @__PURE__ */ (0, R.jsx)(pk, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function ok({ sorts: e, onSort: t }) {
+function pk({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, R.jsx)(R.Fragment, { children: e.map((e) => {
- let n = Wb(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = Vb(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -34838,20 +34839,20 @@ function ok({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function wle({ head: e, actions: t, helpers: n }) {
+function Sle({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, L.useState)(!1), a = (0, L.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, L.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, R.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, R.jsx)(ak, {
+ e.shuffle ? /* @__PURE__ */ (0, R.jsx)(fk, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, R.jsx)(ik, {
+ /* @__PURE__ */ (0, R.jsx)(dk, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -34867,34 +34868,34 @@ function wle({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var sk = "";
-function Tle(e) {
- let t = !e.tiers, n = Mle(e.comboHost);
+var mk = "";
+function Cle(e) {
+ let t = !e.tiers, n = Ale(e.comboHost);
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, it.createPortal)(/* @__PURE__ */ (0, R.jsx)(rk, {
+ n ? (0, ct.createPortal)(/* @__PURE__ */ (0, R.jsx)(uk, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, R.jsx)(Ole, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, R.jsx)(Ele, { ...e })
+ /* @__PURE__ */ (0, R.jsx)(Ele, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, R.jsx)(wle, { ...e })
]
});
}
-function Ele(e) {
- let { actions: t, helpers: n } = e, r = (0, L.useRef)(null), i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useRef)(null), c = YO(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function wle(e) {
+ let { actions: t, helpers: n } = e, r = (0, L.useRef)(null), i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useRef)(null), c = nk(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, L.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let l = !e.tiers, u = lk(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let l = !e.tiers, u = gk(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, L.useLayoutEffect)(() => {
M(o.current, "tagbar");
- }, [u]), /* @__PURE__ */ (0, R.jsx)(HO, {
+ }, [u]), /* @__PURE__ */ (0, R.jsx)(qO, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -34937,17 +34938,17 @@ function Ele(e) {
}), /* @__PURE__ */ (0, R.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, R.jsx)(ck, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, R.jsx)(Dle, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, R.jsx)(hk, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, R.jsx)(Tle, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, R.jsx)(Ale, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, R.jsx)(Ole, { ...e })
});
}
-function Dle({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, R.jsxs)(UO, {
+function Tle({ tag: e, onPress: t }) {
+ return /* @__PURE__ */ (0, R.jsxs)(JO, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -34958,12 +34959,12 @@ function Dle({ tag: e, onPress: t }) {
})]
});
}
-function Ole(e) {
+function Ele(e) {
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = e.empty || !e.tiers, a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useCallback)((e) => () => t.moreTops(e), [t]), c = lk(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = lk(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
+ }, i = e.empty || !e.tiers, a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useCallback)((e) => () => t.moreTops(e), [t]), c = gk(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = gk(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
return (0, L.useEffect)(() => {
n.wireDrag(a.current), n.wireDrag(o.current);
}, [
@@ -34976,7 +34977,7 @@ function Ole(e) {
children: [u ? /* @__PURE__ */ (0, R.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, R.jsx)(ck, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, R.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, R.jsx)(hk, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -34993,18 +34994,18 @@ function Ole(e) {
}) : null, d ? /* @__PURE__ */ (0, R.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, R.jsx)(ck, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, R.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, R.jsx)(hk, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
"data-tier-studio": "",
"data-entity-kind": "studio",
"data-entity-name": e.name,
onClick: () => t.openEntity("studio", e.name),
- children: [/* @__PURE__ */ (0, R.jsx)(kle, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, R.jsx)(Dle, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function kle({ studio: e }) {
+function Dle({ studio: e }) {
let [t, n] = (0, L.useState)(!1);
return /* @__PURE__ */ (0, R.jsx)("span", {
"data-tier-mark": "",
@@ -35018,7 +35019,7 @@ function kle({ studio: e }) {
}) : e.fallback
});
}
-function ck({ kind: e }) {
+function hk({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -35034,32 +35035,32 @@ function ck({ kind: e }) {
children: [/* @__PURE__ */ (0, R.jsx)("span", {}), /* @__PURE__ */ (0, R.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function Ale({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function Ole({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let [a, o] = (0, L.useState)(!1);
- return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(jle, { count: e }), /* @__PURE__ */ (0, R.jsxs)("span", {
+ return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(kle, { count: e }), /* @__PURE__ */ (0, R.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, R.jsx)(ak, {
+ /* @__PURE__ */ (0, R.jsx)(fk, {
onPress: () => {
o(!0), i.reshuffle().finally(() => o(!1));
},
busy: a || t
}),
- n ? /* @__PURE__ */ (0, R.jsx)(ik, {
+ n ? /* @__PURE__ */ (0, R.jsx)(dk, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, R.jsx)(ok, {
+ /* @__PURE__ */ (0, R.jsx)(pk, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function jle({ count: e }) {
+function kle({ count: e }) {
let t = (0, L.useRef)(null), n = (0, L.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown}` : "";
return (0, L.useLayoutEffect)(() => {
if (!e) {
@@ -35067,7 +35068,7 @@ function jle({ count: e }) {
return;
}
let i = t.current;
- i && (sk && i.dataset.popCount === void 0 && (i.dataset.popCount = sk), sk = r, N(i, r));
+ i && (mk && i.dataset.popCount === void 0 && (i.dataset.popCount = mk), mk = r, N(i, r));
}, [e, r]), e ? /* @__PURE__ */ (0, R.jsx)("span", {
ref: t,
"data-catalog-readout": "",
@@ -35083,7 +35084,7 @@ function jle({ count: e }) {
})
}, "skeleton");
}
-function Mle(e) {
+function Ale(e) {
let [t, n] = (0, L.useState)(null);
return (0, L.useLayoutEffect)(() => {
if (!e) return;
@@ -35093,7 +35094,7 @@ function Mle(e) {
};
}, [e]), t;
}
-function lk(e, t, n, r, i) {
+function gk(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -35139,15 +35140,15 @@ function lk(e, t, n, r, i) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function uk({ value: e }) {
+function _k({ value: e }) {
return /* @__PURE__ */ (0, R.jsx)("span", {
"data-tab-count": "",
className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",
children: e.toLocaleString()
});
}
-var Nle = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function dk({ tabs: e, value: t, label: n, onChange: r }) {
+var jle = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+function vk({ tabs: e, value: t, label: n, onChange: r }) {
let i = (0, L.useRef)(null), a = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => {
let e = i.current;
@@ -35175,14 +35176,14 @@ function dk({ tabs: e, value: t, label: n, onChange: r }) {
},
className: "relative mb-5.5 flex flex-none gap-1 overflow-x-auto border-b border-border-button-default max-board-narrow:gap-0",
children: [e.map((e) => {
- let n = e.symbol ? Wb(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? Vb(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
role: "tab",
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: Nle,
+ className: jle,
onClick: () => {
i || r(e.value);
},
@@ -35198,21 +35199,21 @@ function dk({ tabs: e, value: t, label: n, onChange: r }) {
}
//#endregion
//#region src/react/search/search.ts
-var fk = /* @__PURE__ */ new Set([
+var yk = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), pk = /* @__PURE__ */ new Set(["asset"]), mk = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function hk({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
+]), bk = /* @__PURE__ */ new Set(["asset"]), xk = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function Mle({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
let s = 0, c = [], l = (e) => {
let t = {
...e,
index: s++
};
return c.push(t), t;
- }, u = t.filter((t) => !e || mk(t).includes(mk(e)));
+ }, u = t.filter((t) => !e || xk(t).includes(xk(e)));
if (!e) {
let e = u.length ? {
label: "搜索记录",
@@ -35250,7 +35251,7 @@ function hk({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a,
kind: e.kind,
item: t
}))
- }), h = p.filter((e) => !pk.has(e.kind)).map(m), g = p.filter((e) => pk.has(e.kind)).map(m);
+ }), h = p.filter((e) => !bk.has(e.kind)).map(m), g = p.filter((e) => bk.has(e.kind)).map(m);
return {
tabs: d && a.length > 1 ? [...a] : null,
recent: f,
@@ -35259,17 +35260,17 @@ function hk({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a,
options: c
};
}
-function gk(e, t, n = Math.random) {
+function Nle(e, t, n = Math.random) {
let r = [...e];
for (let e = r.length - 1; e > 0; --e) {
let t = Math.floor(n() * (e + 1));
[r[e], r[t]] = [r[t], r[e]];
}
- return r.filter((e) => !t.some((t) => mk(t) === mk(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => xk(t) === xk(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
-var _k = () => ({
+var Ple = () => ({
history: [],
pool: [],
poolRequest: 0,
@@ -35284,7 +35285,7 @@ var _k = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), vk = (e) => hk({
+}), Sk = (e) => Mle({
query: e.query,
history: e.history,
picks: e.picks,
@@ -35292,18 +35293,18 @@ var _k = () => ({
groups: e.groups,
tabs: e.tabs,
kind: e.kind
-}), yk = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), bk = ({ name: e }) => /* @__PURE__ */ (0, R.jsx)("svg", {
+}), Fle = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), Ck = ({ name: e }) => /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, R.jsx)("use", { href: `#i-${e}` })
});
-function xk(e) {
+function Ile(e) {
let t = (0, L.useRef)(e);
t.current = e;
let n = (0, L.useRef)(null);
- n.current ??= _k();
+ n.current ??= Ple();
let r = n.current, i = (0, L.useRef)(null), [, a] = (0, L.useReducer)((e) => e + 1, 0), o = (0, L.useRef)(null);
- o.current ??= Sk(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= Lle(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, L.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();
@@ -35316,7 +35317,7 @@ function xk(e) {
let e = i.current?.closest("[data-search-menu]");
r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;
});
- let c = vk(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, R.jsx)(Tk, {
+ let c = Sk(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, R.jsx)(zle, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -35336,7 +35337,7 @@ function xk(e) {
"data-search-root": "",
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, R.jsx)(Ck, {
+ c.tabs ? /* @__PURE__ */ (0, R.jsx)(Rle, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -35357,7 +35358,7 @@ function xk(e) {
]
});
}
-function Sk(e, t, n, r) {
+function Lle(e, t, n, r) {
let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {
t.history = n.slice(0, e().historyLimit);
}, c = async () => {
@@ -35371,7 +35372,7 @@ function Sk(e, t, n, r) {
t.history = Array.isArray(e.items) ? e.items.map(String) : [];
} catch {}
}, l = (t) => {
- !t || !e().historyLimit || (s([t, ...o().filter((e) => mk(e) !== mk(t))]), W("/api/search-history", { query: t }).catch(() => null));
+ !t || !e().historyLimit || (s([t, ...o().filter((e) => xk(e) !== xk(t))]), W("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -35404,9 +35405,9 @@ function Sk(e, t, n, r) {
let i = n();
i && e().helpers.dismiss(i), t.active = -1, r();
}, m = () => {
- t.query = i().value.trim(), t.picks = t.query ? [] : gk(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : Nle(t.pool, o()), t.active = -1;
let a = n();
- a && (yk(vk(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (Fle(Sk(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, h = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -35418,7 +35419,7 @@ function Sk(e, t, n, r) {
!n || e === t.kind || (t.kind = e, clearTimeout(t.timer), m(), t.rewind = !0, d(n, e).then(() => {
a() && t.kind === e && m();
}));
- }, _ = () => f() ? vk(t).options : [], v = (e) => {
+ }, _ = () => f() ? Sk(t).options : [], v = (e) => {
let n = _();
return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;
}, y = (t, n) => {
@@ -35431,7 +35432,7 @@ function Sk(e, t, n, r) {
i().blur(), e().actions.openItem(t.item.id);
return;
}
- if (t.type === "suggest" && fk.has(t.kind)) {
+ if (t.type === "suggest" && yk.has(t.kind)) {
b(t.kind, t.value);
return;
}
@@ -35483,12 +35484,12 @@ function Sk(e, t, n, r) {
await W("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => mk(t) !== mk(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => xk(t) !== xk(e))), t.active = -1, r();
},
pickKind: g
};
}
-function Ck({ tabs: e, kind: t, onPick: n, wire: r }) {
+function Rle({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, L.useRef)(null);
(0, L.useLayoutEffect)(() => {
r(i.current);
@@ -35500,7 +35501,7 @@ function Ck({ tabs: e, kind: t, onPick: n, wire: r }) {
"aria-selected": t === e,
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, R.jsx)(uk, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, R.jsx)(_k, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, R.jsxs)("div", {
ref: i,
@@ -35511,7 +35512,7 @@ function Ck({ tabs: e, kind: t, onPick: n, wire: r }) {
});
}
var wk = (e) => e.preventDefault();
-function Tk({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+function zle({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -35523,7 +35524,7 @@ function Tk({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, R.jsx)(bk, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, R.jsx)(Ck, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, R.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
@@ -35533,18 +35534,18 @@ function Tk({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, R.jsx)(bk, { name: "x" })
+ children: /* @__PURE__ */ (0, R.jsx)(Ck, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = fk.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = yk.has(c) ? c : void 0;
if (c === "asset") {
let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-search-option": "work",
"data-open-item": s.id,
...o,
- children: [/* @__PURE__ */ (0, R.jsx)(Ek, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Tk, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, R.jsxs)("span", {
@@ -35570,7 +35571,7 @@ function Tk({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a
"data-open-entity": l,
...o,
children: [
- /* @__PURE__ */ (0, R.jsx)(Dk, {
+ /* @__PURE__ */ (0, R.jsx)(Ek, {
item: s,
kind: c
}),
@@ -35594,7 +35595,7 @@ function Tk({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, R.jsx)(Ek, {
+ children: /* @__PURE__ */ (0, R.jsx)(Tk, {
card: e,
helpers: n
})
@@ -35608,7 +35609,7 @@ function Tk({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, R.jsx)(Dk, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, R.jsx)(Ek, {
item: s,
kind: c
}) : null,
@@ -35621,13 +35622,13 @@ function Tk({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a
]
});
}
-function Ek({ card: e, helpers: t }) {
+function Tk({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, R.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function Dk({ item: e, kind: t }) {
+function Ek({ item: e, kind: t }) {
let n = {
id: e.entity_id,
has_image: e.has_image,
@@ -35642,8 +35643,8 @@ function Dk({ item: e, kind: t }) {
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var Ok = (e) => ["feed-new", e ?? "home"], kk = 8, Ak = 1500;
-function jk(e, t, n) {
+var Dk = (e) => ["feed-new", e ?? "home"], Ble = 8, Vle = 1500;
+function Hle(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -35654,32 +35655,32 @@ function jk(e, t, n) {
setTimeout(e, n);
})]);
}
-async function Mk(e, n, r) {
+async function Ule(e, n, r) {
let i = new URLSearchParams({ limit: "12" });
e && i.set("entity", String(e));
let a = await t(`/api/feeds/discoveries?${i}`).catch(() => null), o = a && !a.error ? a : null, s = o?.items || [], c = n(o);
- return r && s.length && await jk(c, kk, Ak), {
+ return r && s.length && await Hle(c, Ble, Vle), {
items: s,
html: c
};
}
-var Nk = (e, t, n = !1) => ({
- queryKey: Ok(e),
- queryFn: () => Mk(e, t, n),
+var Ok = (e, t, n = !1) => ({
+ queryKey: Dk(e),
+ queryFn: () => Ule(e, t, n),
staleTime: Infinity
-}), Pk = (e, n) => t("/api/feeds/discovery", {
+}), kk = (e, n) => t("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: n,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function Fk(e) {
- Y.removeQueries({ queryKey: Ok(null) }), await Y.fetchQuery(Nk(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function Wle(e) {
+ Y.removeQueries({ queryKey: Dk(null) }), await Y.fetchQuery(Ok(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var Ik = [
+var Gle = [
"loc",
"creator",
"tag",
@@ -35689,52 +35690,52 @@ var Ik = [
"orient",
"sort",
"dir"
-], Lk = {
+], Ak = {
media: "videos",
set: 0
-}, Rk = (e, t) => [
+}, jk = (e, t) => [
"entity",
e,
t
-], zk = (e, t, n, r) => [
+], Kle = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], Bk = (e, t, n, r) => [
+], Mk = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], Vk = (e) => String(e || "").split(",").filter(Boolean), Hk = (e, t) => Vk(e).includes(t);
-function Uk(e, t, n, r, i = 0) {
+], Nk = (e) => String(e || "").split(",").filter(Boolean), qle = (e, t) => Nk(e).includes(t);
+function Pk(e, t, n, r, i = 0) {
let a = new URLSearchParams();
a.set(e, t), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
- for (let t of Ik) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ for (let t of Gle) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function Wk(e, n, r, i, a, o, s) {
- let c = await t(`/api/items?${Uk(e, n, r, i, a)}`, s ? { signal: s } : {});
+async function Fk(e, n, r, i, a, o, s) {
+ let c = await t(`/api/items?${Pk(e, n, r, i, a)}`, s ? { signal: s } : {});
return o(c.items || []), c;
}
-var Gk = (e) => {
+var Ik = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = Uk(e.kind, e.name, e.filters, t).toString();
+ }, n = Pk(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: zk(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => Wk(e.kind, e.name, e.filters, t, 0, e.cache, n),
+ queryKey: Kle(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => Fk(e.kind, e.name, e.filters, t, 0, e.cache, n),
staleTime: Infinity
};
-}, Kk = (e, n) => ({
- queryKey: Rk(e, n),
+}, Lk = (e, n) => ({
+ queryKey: jk(e, n),
queryFn: ({ signal: r }) => t(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(n)}`, { signal: r }),
staleTime: Infinity
});
-function qk(e, t, n, r, i, a) {
+function Jle(e, t, n, r, i, a) {
let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;
if (i) {
let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;
@@ -35743,10 +35744,10 @@ function qk(e, t, n, r, i, a) {
let s = r ? `&seed=${encodeURIComponent(r)}` : "";
return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;
}
-var Jk = (e, n, r, i) => ({
- queryKey: Bk(e, n, r, i),
+var Rk = (e, n, r, i) => ({
+ queryKey: Mk(e, n, r, i),
queryFn: async ({ pageParam: a }) => {
- let o = await t(qk(e, n, r, i, a?.offset || 0, a?.seed || "")).catch((e) => {
+ let o = await t(Jle(e, n, r, i, a?.offset || 0, a?.seed || "")).catch((e) => {
if (a) throw e;
return { error: String(e) };
});
@@ -35759,8 +35760,8 @@ var Jk = (e, n, r, i) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), Yk = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function Xk(e) {
+}), zk = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function Yle(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -35772,51 +35773,51 @@ async function Xk(e) {
n
] });
await Promise.all([
- Y.fetchQuery(Kk(t, n)).then((t) => !t || t.error || !t.id ? null : (Y.removeQueries({ queryKey: Ok(Number(t.id)) }), Y.fetchQuery(Nk(Number(t.id), e.helpers.feedRowHtml, !0)))),
- Y.fetchQuery(Gk(e)),
- Y.fetchInfiniteQuery(Jk(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? Y.fetchInfiniteQuery(Jk(t, n, e.media.set, "")) : null
+ Y.fetchQuery(Lk(t, n)).then((t) => !t || t.error || !t.id ? null : (Y.removeQueries({ queryKey: Dk(Number(t.id)) }), Y.fetchQuery(Ok(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ Y.fetchQuery(Ik(e)),
+ Y.fetchInfiniteQuery(Rk(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? Y.fetchInfiniteQuery(Rk(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var Zk = "/api/follow/authors", Qk = "/api/follow/tags", $k = (e) => [
+var Xle = "/api/follow/authors", Zle = "/api/follow/tags", Qle = (e) => [
"follow",
"authors",
e
-], eA = (e, t) => [
+], $le = (e, t) => [
"follow",
"tags",
e,
t
];
-function tA(e, t, n) {
+function eue(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${Zk}?${r}`;
+ return e && r.set("q", e), `${Xle}?${r}`;
}
-function nA(e, t, n, r) {
+function tue(e, t, n, r) {
let i = new URLSearchParams({
types: "all",
limit: String(n),
offset: String(r)
});
- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Qk}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Zle}?${i}`;
}
-var rA = (e, t, n, r) => U(tA(e, t, n), r), iA = (e, t, n, r, i) => U(nA(e, t, n, r), i), aA = "/api/index", oA = {
+var nue = (e, t, n, r) => U(eue(e, t, n), r), rue = (e, t, n, r, i) => U(tue(e, t, n, r), i), iue = "/api/index", Bk = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, sA = {
+}, aue = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, cA = [
+}, Vk = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -35826,26 +35827,26 @@ var rA = (e, t, n, r) => U(tA(e, t, n), r), iA = (e, t, n, r, i) => U(nA(e, t, n
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], lA = [
+], Hk = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], uA = {
+], Uk = {
people: 120,
tags: 180
-}, dA = (e) => e !== "tags", fA = (e) => e === "studios" || e === "agencies";
-function pA(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? lA : cA).some(([t]) => t === e.category);
+}, Wk = (e) => e !== "tags", Gk = (e) => e === "studios" || e === "agencies";
+function Kk(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? Hk : Vk).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: e.kind === "tags" && n ? e.category : "all"
};
}
-function mA(e) {
+function qk(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -35864,50 +35865,50 @@ function mA(e) {
q: n
};
}
-var hA = (e, t, n = "all") => [
+var Jk = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" ? [n] : []
];
-function gA(e, t, n, r, i) {
+function Yk(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${aA}?${a}`;
+ return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${iue}?${a}`;
}
-function _A(e) {
- let t = e.what === "people" || e.what === "online-authors" ? uA.people : uA.tags, n = {
+function Xk(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? Uk.people : Uk.tags, n = {
initialPageParam: 0,
getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0
};
switch (e.what) {
case "people": return {
...n,
- queryKey: hA(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => U(gA(e.kind, e.q, "all", t, n), r)
+ queryKey: Jk(e.kind, e.q),
+ queryFn: ({ pageParam: n, signal: r }) => U(Yk(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: hA("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => U(gA("tags", e.q, e.category, t, n), r)
+ queryKey: Jk("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => U(Yk("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: $k(e.q),
- queryFn: ({ pageParam: n, signal: r }) => rA(e.q, t, n, r)
+ queryKey: Qle(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => nue(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: eA(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => iA(e.q, e.category, t, n, r)
+ queryKey: $le(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => rue(e.q, e.category, t, n, r)
};
}
}
-async function vA(e, t) {
- let n = _A(mA(pA(e)));
+async function oue(e, t) {
+ let n = Xk(qk(Kk(e)));
Y.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -35921,13 +35922,13 @@ async function vA(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var yA = (e) => e ? e.pages.flatMap((e) => e.items) : [], bA = (e, t) => `${e}${t ? "+" : ""} 项`, xA = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", SA = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), CA = {
+var sue = (e) => e ? e.pages.flatMap((e) => e.items) : [], Zk = (e, t) => `${e}${t ? "+" : ""} 项`, Qk = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", $k = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), eA = {
numeric: !0,
sensitivity: "base"
};
-function wA(e, t) {
+function tA(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", CA))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", eA))) {
let e = t(r.k).normalize("NFKC").trim().charAt(0).toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
a ? a.push(r) : n.set(i, [r]);
}
@@ -35935,7 +35936,7 @@ function wA(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function TA({ html: e, face: t, company: n, big: r }) {
+function nA({ html: e, face: t, company: n, big: r }) {
let i = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -35947,18 +35948,18 @@ function TA({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var EA = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function DA({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var rA = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function iA({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
...a,
"data-index-cell": "",
onClick: i,
- className: ga({
+ className: ba({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${EA} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${rA} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -35975,8 +35976,8 @@ function DA({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function OA({ kind: e, items: t, layout: n, props: r }) {
- let i = sA[e], a = fA(e), o = n === "big";
+function aA({ kind: e, items: t, layout: n, props: r }) {
+ let i = aue[e], a = Gk(e), o = n === "big";
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -35984,14 +35985,14 @@ function OA({ kind: e, items: t, layout: n, props: r }) {
className: `${a ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
let n = r.personAvatar(t, i, o);
- return /* @__PURE__ */ (0, R.jsx)(DA, {
+ return /* @__PURE__ */ (0, R.jsx)(iA, {
"data-k": t.k,
"data-kind": i,
name: t.k,
- readout: SA(e, t),
+ readout: $k(e, t),
big: o,
onPress: () => r.openEntity(i, t.k),
- children: /* @__PURE__ */ (0, R.jsx)(TA, {
+ children: /* @__PURE__ */ (0, R.jsx)(nA, {
html: n.html,
face: n.face,
company: a,
@@ -36001,21 +36002,21 @@ function OA({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function kA({ items: e, layout: t, props: n }) {
+function oA({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, R.jsx)(DA, {
+ children: e.map((e) => /* @__PURE__ */ (0, R.jsx)(iA, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
readout: `${e.n.toLocaleString()} 项更新`,
big: r,
onPress: () => n.openFollowAuthor(e.key),
- children: /* @__PURE__ */ (0, R.jsx)(TA, {
+ children: /* @__PURE__ */ (0, R.jsx)(nA, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -36025,14 +36026,14 @@ function kA({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function AA(e) {
+function sA(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var jA = "/vendor/swiper/14.2.0/", MA = null, NA = () => MA ??= Promise.all([new Promise((e, t) => {
- let n = `${jA}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var cA = "/vendor/swiper/14.2.0/", lA = null, uA = () => lA ??= Promise.all([new Promise((e, t) => {
+ let n = `${cA}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -36046,11 +36047,11 @@ var jA = "/vendor/swiper/14.2.0/", MA = null, NA = () => MA ??= Promise.all([new
return;
}
let r = document.createElement("script");
- r.src = `${jA}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${cA}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
})]).then(([, e]) => e).catch((e) => {
- throw MA = null, e;
+ throw lA = null, e;
});
-function PA(e, t, n) {
+function dA(e, t, n) {
let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {
let e = i();
return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);
@@ -36071,48 +36072,48 @@ function PA(e, t, n) {
}
};
}
-var FA = (e) => {
+var fA = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : s(t)).replace(" ", "\xA0") : "大小未知";
-}, IA = (e) => e.asset?.name || e.name || "未命名图片";
-function LA(t, n) {
+}, pA = (e) => e.asset?.name || e.name || "未命名图片";
+function mA(t, n) {
let r = t.asset;
- if (r) return [e[r.location ?? ""] || r.location || "来源未知", FA(r.size)].join(" · ");
+ if (r) return [e[r.location ?? ""] || r.location || "来源未知", fA(r.size)].join(" · ");
let i = (t.total ?? 0) > 1 ? `第 ${t.position} / ${t.total} 张` : "", a = n?.[0] && n[1] ? `${n[0]} × ${n[1]}` : "";
return [
t.source || "在线图片",
i,
a,
- t.size ? FA(t.size) : ""
+ t.size ? fA(t.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var RA = null, zA = null, BA = 0;
-function VA() {
- return (!zA || !RA?.isConnected) && (zA?.unmount(), RA = document.createElement("div"), RA.className = "peach-react", RA.dataset.photoLightboxHost = "", document.body.append(RA), zA = (0, at.createRoot)(RA)), zA;
+var hA = null, gA = null, _A = 0;
+function cue() {
+ return (!gA || !hA?.isConnected) && (gA?.unmount(), hA = document.createElement("div"), hA.className = "peach-react", hA.dataset.photoLightboxHost = "", document.body.append(hA), gA = (0, lt.createRoot)(hA)), gA;
}
-async function HA(e, t, n) {
+async function vA(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await NA();
+ r = await uA();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = VA();
- (0, it.flushSync)(() => i.render(/* @__PURE__ */ (0, R.jsx)(WA, {
+ let i = cue();
+ (0, ct.flushSync)(() => i.render(/* @__PURE__ */ (0, R.jsx)(lue, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++BA)));
+ }, ++_A)));
}
-function UA() {
- zA && (0, it.flushSync)(() => zA.render(null));
+function yA() {
+ gA && (0, ct.flushSync)(() => gA.render(null));
}
-function WA({ slides: e, index: t, Swiper: n, host: r }) {
+function lue({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, L.useId)(), o = (0, L.useRef)(null), s = (0, L.useRef)(null), c = (0, L.useRef)(null), u = (0, L.useRef)(null), d = (0, L.useRef)(null), f = (0, L.useRef)(null), p = (0, L.useRef)(null), m = (0, L.useRef)(null), h = (0, L.useRef)(null), g = (0, L.useRef)(null), _ = (0, L.useRef)(null), [v, y] = (0, L.useState)(t), [b, x] = (0, L.useState)(100), [S, C] = (0, L.useState)({}), [w, T] = (0, L.useState)(() => /* @__PURE__ */ new Set()), [E, D] = (0, L.useState)(!1), [O, k] = (0, L.useState)({
at: t,
text: ""
@@ -36155,7 +36156,7 @@ function WA({ slides: e, index: t, Swiper: n, host: r }) {
y(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), g.current = PA(e, a, x);
+ i(t, 0), g.current = dA(e, a, x);
let l = ce(e, p.current, m.current), h = (e = !1) => {
l.hide(), p.current?.setAttribute("aria-expanded", "false"), e && p.current && document.contains(p.current) && p.current.focus();
};
@@ -36172,13 +36173,13 @@ function WA({ slides: e, index: t, Swiper: n, host: r }) {
});
v.observe(e);
let b = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), _.current?.isOpen() ? _.current.dismiss(!0) : UA());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), _.current?.isOpen() ? _.current.dismiss(!0) : yA());
};
return document.addEventListener("keydown", b, !0), () => {
document.removeEventListener("keydown", b, !0), h(), v.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), g.current = null, _.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, L.useLayoutEffect)(() => {
- h.current && AA(h.current);
+ h.current && sA(h.current);
}, [b]);
let A = e[v], j = A.asset ?? null, M = async (e) => {
if (!j || !r || e.getAttribute("aria-busy") === "true") return;
@@ -36209,18 +36210,18 @@ function WA({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), UA();
+ e.preventDefault(), yA();
},
onClick: (e) => {
let t = e.target;
- _.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && UA();
+ _.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && yA();
},
children: [
/* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: UA,
+ onClick: yA,
dangerouslySetInnerHTML: { __html: l("x") }
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
@@ -36353,10 +36354,10 @@ function WA({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: IA(A)
+ children: pA(A)
}, v), /* @__PURE__ */ (0, R.jsx)("span", {
"data-photo-detail-meta": "",
- children: LA(A, S[v])
+ children: mA(A, S[v])
})]
}),
/* @__PURE__ */ (0, R.jsx)("button", {
@@ -36395,33 +36396,33 @@ function WA({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function GA(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, R.jsx)(Ple, {
+function uue(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, R.jsx)(due, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, R.jsx)(Fle, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, R.jsx)(Rle, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, R.jsx)(fue, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, R.jsx)(hue, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-function Ple({ roster: e, props: t }) {
+function due({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, L.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
}), [n, r]);
- return /* @__PURE__ */ (0, R.jsx)(OA, {
+ return /* @__PURE__ */ (0, R.jsx)(aA, {
kind: e.kind,
items: e.people,
layout: e.layout,
props: i
});
}
-function Fle(e) {
- let t = Eb(!e.items, e.skeletonHtml);
+function fue(e) {
+ let t = Nb(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, R.jsx)(Yb, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, R.jsx)(Kb, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -36441,16 +36442,16 @@ function Fle(e) {
}) : null]
});
}
-var Ile = (e) => Array.from({ length: e.n }, (t, n) => ({
+var pue = (e) => Array.from({ length: e.n }, (t, n) => ({
sample: !0,
code: e.code,
position: n + 1,
total: e.n,
name: `${e.code} 样张 ${n + 1}`,
source: e.site_label || "官方样张"
-})), KA = (e) => e.sample === !0, qA = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, JA = (e) => KA(e) ? `/sample-thumb?${qA(e)}` : `/photo-thumb?id=${e.id}`, Lle = (e) => KA(e) ? {
- src: `/sample-image?${qA(e)}`,
- thumb: JA(e),
+})), bA = (e) => e.sample === !0, xA = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, SA = (e) => bA(e) ? `/sample-thumb?${xA(e)}` : `/photo-thumb?id=${e.id}`, mue = (e) => bA(e) ? {
+ src: `/sample-image?${xA(e)}`,
+ thumb: SA(e),
name: e.name,
asset: null,
source: e.source,
@@ -36458,18 +36459,18 @@ var Ile = (e) => Array.from({ length: e.n }, (t, n) => ({
total: e.total
} : {
src: `/photo?id=${e.id}`,
- thumb: JA(e),
+ thumb: SA(e),
name: e.name || "",
asset: e
};
-function Rle({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, L.useMemo)(() => [...e.codeSets.flatMap(Ile), ...e.items], [e]), [s, c] = (0, L.useState)(() => /* @__PURE__ */ new Set()), l = (0, L.useCallback)((e) => c((t) => {
+function hue({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, L.useMemo)(() => [...e.codeSets.flatMap(pue), ...e.items], [e]), [s, c] = (0, L.useState)(() => /* @__PURE__ */ new Set()), l = (0, L.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, L.useCallback)((e) => {
- HA(e, o.map(Lle), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, R.jsx)(zle, {
+ vA(e, o.map(mue), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, R.jsx)(gue, {
item: e,
index: t,
lost: s.has(t),
@@ -36487,7 +36488,7 @@ function Rle({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, R.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(YA, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, R.jsxs)(L.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(CA, {
label: e.code,
title: e.name,
meta: [
@@ -36499,7 +36500,7 @@ function Rle({ photos: e, props: t }) {
...f,
children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))
})] }, e.code)),
- m.length && e.total ? /* @__PURE__ */ (0, R.jsx)(YA, {
+ m.length && e.total ? /* @__PURE__ */ (0, R.jsx)(CA, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -36508,14 +36509,14 @@ function Rle({ photos: e, props: t }) {
"data-local-wall": "",
children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))
}),
- e.hasMore ? /* @__PURE__ */ (0, R.jsx)(Xb, {
+ e.hasMore ? /* @__PURE__ */ (0, R.jsx)(qb, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function YA({ label: e, title: t, meta: n }) {
+function CA({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -36532,7 +36533,7 @@ function YA({ label: e, title: t, meta: n }) {
]
});
}
-function zle({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function gue({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
@@ -36541,7 +36542,7 @@ function zle({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, R.jsx)("img", {
- src: JA(e),
+ src: SA(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -36550,7 +36551,7 @@ function zle({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
})
});
}
-function XA(e) {
+function wA(e) {
return {
x0: 0,
y0: 0,
@@ -36558,7 +36559,7 @@ function XA(e) {
y1: e.height
};
}
-function ZA(e) {
+function TA(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -36566,40 +36567,40 @@ function ZA(e) {
y1: Math.round(e.y1)
};
}
-function QA(e) {
+function EA(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function $A(e, t) {
- if (!QA(e)) return {
+function DA(e, t) {
+ if (!EA(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return XA(e);
+ if (t == null || !(t > 0)) return wA(e);
let n = e.width, r = n / t;
r > e.height && (r = e.height, n = r * t);
let i = (e.width - n) / 2, a = (e.height - r) / 2;
- return ZA({
+ return TA({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function Ble(e, t) {
- if (!QA(e) || !(t > 0)) return XA(e);
+function _ue(e, t) {
+ if (!EA(e) || !(t > 0)) return wA(e);
let n = Math.min(e.width, e.height * t);
- return ZA({
+ return TA({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function Vle(e, t, n) {
- if (!QA(t) || !(n > 0)) return XA(t);
- let r = ej(e, t), i = $A({
+function vue(e, t, n) {
+ if (!EA(t) || !(n > 0)) return wA(t);
+ let r = OA(e, t), i = DA({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -36610,8 +36611,8 @@ function Vle(e, t, n) {
y1: r.y0 + i.y1
};
}
-function ej(e, t, n = null, r = "width") {
- if (!QA(t)) return {
+function OA(e, t, n = null, r = "width") {
+ if (!EA(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -36620,43 +36621,43 @@ function ej(e, t, n = null, r = "width") {
let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));
n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));
let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));
- return ZA({
+ return TA({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function tj(e, t, n, r) {
+function kA(e, t, n, r) {
let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));
- return ZA({
+ return TA({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function nj(e, t, n, r = null) {
- if (!QA(n) || !(t > 0)) return e;
+function AA(e, t, n, r = null) {
+ if (!EA(n) || !(t > 0)) return e;
let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;
- return ej({
+ return OA({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function Hle(e, t, n, r, i = null) {
+function yue(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
x1: Math.max(e.x0 + 1, t),
y1: Math.max(e.y0 + 1, n)
};
- return ej(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return OA(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function Ule(e, t) {
- return QA(t) ? {
+function bue(e, t) {
+ return EA(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -36668,8 +36669,8 @@ function Ule(e, t) {
height: 0
};
}
-function Wle(e, t) {
- if (!QA(t)) return {
+function xue(e, t) {
+ if (!EA(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -36679,7 +36680,7 @@ function Wle(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function Gle(e, t) {
+function Sue(e, t) {
let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);
return {
left: `${-e.x0 / n * 100}%`,
@@ -36688,29 +36689,29 @@ function Gle(e, t) {
height: `${t.height / r * 100}%`
};
}
-function rj(e, t, n) {
+function jA(e, t, n) {
return t > 0 ? e * n / t : 0;
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var Kle = {
+var Cue = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function ij({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
- let { isFocusVisible: a } = Bs();
- return /* @__PURE__ */ (0, R.jsx)(B_, {
+function MA({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+ let { isFocusVisible: a } = Ws();
+ return /* @__PURE__ */ (0, R.jsx)(K_, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
"data-modal-motion": "",
"data-motion-instant": a || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, R.jsx)(Dee, {
+ children: /* @__PURE__ */ (0, R.jsx)(Eee, {
"data-modal-surface": "",
- className: `flex max-h-full w-full ${Kle[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, R.jsx)($g, {
+ className: `flex max-h-full w-full ${Cue[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, R.jsx)(a_, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
children: i
@@ -36718,7 +36719,7 @@ function ij({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function aj({ children: e }) {
+function NA({ children: e }) {
return /* @__PURE__ */ (0, R.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",
@@ -36727,8 +36728,8 @@ function aj({ children: e }) {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var qle = .02, oj = 1.08;
-function sj({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var wue = .02, PA = 1.08;
+function FA({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, L.useRef)(null), c = (0, L.useRef)(null), [l, u] = (0, L.useState)(!1);
(0, L.useEffect)(() => {
u(!1);
@@ -36739,8 +36740,8 @@ function sj({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: rj(e, n.clientWidth, r.width),
- dy: rj(t, n.clientHeight, r.height)
+ dx: jA(e, n.clientWidth, r.width),
+ dy: jA(t, n.clientHeight, r.height)
};
}, [r]);
function f(e) {
@@ -36758,29 +36759,29 @@ function sj({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
if (!n || !a || !r) return;
let o = d(e.clientX - n.x, e.clientY - n.y);
if (n.mode === "move") {
- i(tj(n.box, o.dx, o.dy, r));
+ i(kA(n.box, o.dx, o.dy, r));
return;
}
- i(Hle(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
+ i(yue(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
}
function m(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
}
function h(e) {
if (!n || !r) return;
- let a = Math.max(1, (n.x1 - n.x0) * qle), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * wue), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
if (o[e.key]) {
- e.preventDefault(), i(tj(n, o[e.key][0], o[e.key][1], r));
+ e.preventDefault(), i(kA(n, o[e.key][0], o[e.key][1], r));
return;
}
- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(nj(n, e.key === "-" ? 1 / oj : oj, r, t)));
+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(AA(n, e.key === "-" ? 1 / PA : PA, r, t)));
}
- let g = n && r ? Ule(ej(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? bue(OA(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -36799,7 +36800,7 @@ function sj({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- QA({
+ EA({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -36838,7 +36839,7 @@ function sj({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: m,
onKeyDown: h,
onWheel: (e) => {
- !n || !r || i(nj(n, e.deltaY > 0 ? oj : 1 / oj, r, t));
+ !n || !r || i(AA(n, e.deltaY > 0 ? PA : 1 / PA, r, t));
},
className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",
children: /* @__PURE__ */ (0, R.jsx)("span", {
@@ -36860,61 +36861,61 @@ function sj({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var Jle = "/api/avatar-choices", cj = "/api/avatar-pick", Yle = "/api/avatar-code-cover", Xle = "/avatar-choice", lj = (e, t) => [
+var Tue = "/api/avatar-choices", IA = "/api/avatar-pick", Eue = "/api/avatar-code-cover", Due = "/avatar-choice", LA = (e, t) => [
"avatar-choices",
e,
t
-], uj = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, dj = (e, t, n, r = "") => `${Xle}${uj(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), fj = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Zle = (e, t, n) => U(Jle + uj(e, t), n), Qle = (e) => W(Yle, { code: e });
-function pj(e, t, n) {
+], RA = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, zA = (e, t, n, r = "") => `${Due}${RA(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), BA = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Oue = (e, t, n) => U(Tue + RA(e, t), n), kue = (e) => W(Eue, { code: e });
+function VA(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? Vle(e.focus, t, n) : $A(t, n);
+ return e.focus && r ? vue(e.focus, t, n) : DA(t, n);
}
-var $le = (e) => e.crop && QA({
+var Aue = (e) => e.crop && EA({
width: e.width,
height: e.height
});
-async function eue(e, t, n) {
+async function jue(e, t, n) {
if (!("file" in n)) {
- await W(cj, {
+ await W(IA, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${cj}${uj(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${IA}${RA(e, t)}&name=${encodeURIComponent(r.name)}`, {
method: "POST",
credentials: "same-origin",
body: r
});
if (i.ok) return;
let a = await i.json().catch(() => null);
- throw new sa(a?.error || `请求失败(${i.status})`, i.status, a);
+ throw new da(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function tue(e, t) {
+function Mue(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
return n.length ? `${e}:图库里按「${n.join("」「")}」找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:图库里没有这个名字,用下面两种方式换。`;
}
-var nue = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function rue(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${nue(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var Nue = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function Pue(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Nue(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var mj = (e) => e.cast > 1, iue = (e) => mj(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, aue = {
+var HA = (e) => e.cast > 1, Fue = (e) => HA(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Iue = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function oue(e) {
+function Lue(e) {
if (e.startsWith("cover:")) return "封面";
let t = e.split(":")[2] || "";
if (t === "cover") return "封面";
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var sue = (e) => `${aue[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (mj(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), cue = 8, lue = 3 / 4;
-function uue({ kind: e, entityId: t, name: n, onPicked: r }) {
+var Rue = (e) => `${Iue[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (HA(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), zue = 8, Bue = 3 / 4;
+function Vue({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, L.useState)(!1);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -36924,17 +36925,17 @@ function uue({ 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, R.jsx)(ot, {
+ children: /* @__PURE__ */ (0, R.jsx)(ut, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, R.jsx)(ij, {
+ }), /* @__PURE__ */ (0, R.jsx)(MA, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, R.jsx)(due, {
+ children: /* @__PURE__ */ (0, R.jsx)(Hue, {
kind: e,
entityId: t,
name: n,
@@ -36943,50 +36944,50 @@ function uue({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function due({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, L.useRef)(null), o = dO(), [s, c] = (0, L.useState)(""), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(""), [p, m] = (0, L.useState)(null), h = lj(e, t), g = (0, L.useRef)(!1), _ = vr({
+function Hue({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, L.useRef)(null), o = mO(), [s, c] = (0, L.useState)(""), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(""), [p, m] = (0, L.useState)(null), h = LA(e, t), g = (0, L.useRef)(!1), _ = Sr({
queryKey: h,
- queryFn: ({ signal: n }) => Zle(e, t, n),
+ queryFn: ({ signal: n }) => Oue(e, t, n),
retryOnMount: !0
});
(0, L.useEffect)(() => () => {
- g.current && Y.removeQueries({ queryKey: lj(e, t) });
+ g.current && Y.removeQueries({ queryKey: LA(e, t) });
}, [e, t]);
- let v = yr({
- mutationFn: (n) => eue(e, t, n),
+ let v = Cr({
+ mutationFn: (n) => jue(e, t, n),
onSuccess: () => {
g.current = !0, i(), r();
}
- }), y = yr({
- mutationFn: (e) => Qle(e),
+ }), y = Cr({
+ mutationFn: (e) => kue(e),
onSuccess: (e) => m(e)
});
function b(e) {
let t = e.currentTarget, n = t.files?.[0];
t.value = "", f(""), n && v.mutate({ file: n });
}
- let x = _.data, S = x?.choices ?? [], C = d || (v.error ? H(v.error) : "") || (!p && y.error ? H(y.error) : "") || (_.error ? H(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : rue(x);
+ let x = _.data, S = x?.choices ?? [], C = d || (v.error ? H(v.error) : "") || (!p && y.error ? H(y.error) : "") || (_.error ? H(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : Pue(x);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, R.jsx)(aj, { children: /* @__PURE__ */ (0, R.jsx)(Vt, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, R.jsx)(NA, { children: /* @__PURE__ */ (0, R.jsx)(Gt, { className: "size-6" }) }),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)(Fu, {
+ children: [/* @__PURE__ */ (0, R.jsx)(zu, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: p ? "框出头像那一块" : "更换头像"
- }), !p && S.length ? /* @__PURE__ */ (0, R.jsxs)(ia, {
+ }), !p && S.length ? /* @__PURE__ */ (0, R.jsxs)(ca, {
color: "soft",
children: [S.length, " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: p ? iue(p) : tue(n, x)
+ children: p ? Fue(p) : Mue(n, x)
}),
T ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "neutral",
@@ -36998,14 +36999,14 @@ function due({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, R.jsx)(pO, {
- icon: ht,
+ /* @__PURE__ */ (0, R.jsx)(gO, {
+ icon: yt,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), p ? /* @__PURE__ */ (0, R.jsx)(pue, {
+ }), p ? /* @__PURE__ */ (0, R.jsx)(Wue, {
kind: e,
entityId: t,
choice: p,
@@ -37029,7 +37030,7 @@ function due({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": _.isPending || void 0,
"data-skeleton": _.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: _.isPending ? Array.from({ length: cue }, (e, t) => /* @__PURE__ */ (0, R.jsxs)("span", {
+ children: _.isPending ? Array.from({ length: zue }, (e, t) => /* @__PURE__ */ (0, R.jsxs)("span", {
"aria-hidden": !0,
"data-avatar-skeleton": !0,
className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",
@@ -37042,15 +37043,15 @@ function due({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: sue(n),
+ title: Rue(n),
...K(w),
onClick: () => {
w || (n.crop ? m(n) : v.mutate({ ref: n.ref }));
},
className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",
children: [
- /* @__PURE__ */ (0, R.jsx)(fue, {
- src: dj(e, t, n.ref, fj(n, n.ref)),
+ /* @__PURE__ */ (0, R.jsx)(Uue, {
+ src: zA(e, t, n.ref, BA(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, R.jsx)("span", {
@@ -37059,15 +37060,15 @@ function due({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, R.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, R.jsx)(ia, {
+ children: /* @__PURE__ */ (0, R.jsx)(ca, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- mj(n) ? /* @__PURE__ */ (0, R.jsx)("span", {
+ HA(n) ? /* @__PURE__ */ (0, R.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, R.jsxs)(ia, {
+ children: /* @__PURE__ */ (0, R.jsxs)(ca, {
variant: "caption",
color: "gray",
children: [n.cast, " 人"]
@@ -37086,7 +37087,7 @@ function due({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, R.jsx)(jy, {
+ children: /* @__PURE__ */ (0, R.jsx)(Ny, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -37121,7 +37122,7 @@ function due({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 items-center gap-2",
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, R.jsx)(jy, {
+ children: /* @__PURE__ */ (0, R.jsx)(Ny, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -37141,7 +37142,7 @@ function due({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function fue({ src: e, choice: t }) {
+function Uue({ src: e, choice: t }) {
let n = (0, L.useRef)(null), [r, i] = (0, L.useState)(!1);
(0, L.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -37149,7 +37150,7 @@ function fue({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = $le(t) ? Gle(pj(t, a, lue), a) : null, s = r ? !0 : void 0;
+ }, o = Aue(t) ? Sue(VA(t, a, Bue), a) : null, s = r ? !0 : void 0;
return /* @__PURE__ */ (0, R.jsxs)("span", {
className: "relative block w-full aspect-avatar-choice overflow-hidden",
children: [/* @__PURE__ */ (0, R.jsx)("img", {
@@ -37174,23 +37175,23 @@ function fue({ src: e, choice: t }) {
})]
});
}
-function pue({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, L.useState)(o[0]), [l, u] = (0, L.useState)(null), [d, f] = (0, L.useState)(null), p = fj(n, s), m = dj(e, t, s, p), h = dO();
+function Wue({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, L.useState)(o[0]), [l, u] = (0, L.useState)(null), [d, f] = (0, L.useState)(null), p = BA(n, s), m = zA(e, t, s, p), h = mO();
function g(e) {
c(e), u(null), f(null);
}
- let _ = d && l ? Wle(d, l) : null;
+ let _ = d && l ? xue(d, l) : null;
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)("div", {
ref: h,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [/* @__PURE__ */ (0, R.jsx)(sj, {
+ children: [/* @__PURE__ */ (0, R.jsx)(FA, {
src: m,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), QA(e) && f(s === n.ref ? pj(n, e, 1) : $A(e, 1));
+ u(e), EA(e) && f(s === n.ref ? VA(n, e, 1) : DA(e, 1));
},
onBox: f
}), o.length > 1 ? /* @__PURE__ */ (0, R.jsx)("div", {
@@ -37204,7 +37205,7 @@ function pue({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
"data-crop-base": !0,
onClick: () => g(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: oue(e)
+ children: Lue(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, R.jsxs)("div", {
@@ -37238,7 +37239,7 @@ function pue({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function hj({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+function UA({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
let a = (0, L.useRef)(null), o = e?.items.length ? e.html : "";
(0, L.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !o, e && i?.(!!o);
@@ -37272,12 +37273,12 @@ function hj({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var mue = {
+var Gue = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function gj({ name: e }) {
- let t = mue[e];
+function WA({ name: e }) {
+ let t = Gue[e];
return /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -37287,19 +37288,19 @@ function gj({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function _j(e, t) {
+function GA(e, t) {
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8;
t.style.top = `${i + r.height <= innerHeight - 8 ? i : Math.max(8, n.top - r.height - 8)}px`;
}
-var vj = (e) => !!e?.isConnected && e.matches(":popover-open");
-function yj(e, t, n, r) {
+var KA = (e) => !!e?.isConnected && e.matches(":popover-open");
+function qA(e, t, n, r) {
let i = (0, L.useRef)(r);
i.current = r, (0, L.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && vj(n.current) ? _j(t.current, n.current) : i.current();
+ t.current && KA(n.current) ? GA(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -37313,17 +37314,17 @@ function yj(e, t, n, r) {
n
]);
}
-function bj({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function JA({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, L.useRef)(null), s = (0, L.useRef)(null), [c, l] = (0, L.useState)(!1), u = (0, L.useRef)(!1), d = (0, L.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, vj(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, KA(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), !(!s.current || !o.current || vj(s.current)) && (s.current.showPopover(), _j(o.current, s.current), l(!0));
+ clearTimeout(d.current), !(!s.current || !o.current || KA(s.current)) && (s.current.showPopover(), GA(o.current, s.current), l(!0));
}, m = () => {
clearTimeout(d.current), d.current = window.setTimeout(() => {
!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();
}, 150);
};
- return yj(c, o, s, f), (0, L.useEffect)(() => {
+ return qA(c, o, s, f), (0, L.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -37349,7 +37350,7 @@ function bj({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && vj(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && KA(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, R.jsxs)("div", {
@@ -37367,16 +37368,16 @@ function bj({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function hue({ following: e, busy: t, onToggle: n, tip: r }) {
+function Kue({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(null), [s, c] = (0, L.useState)(!1), l = (0, L.useRef)(!1), u = () => {
- vj(o.current) && o.current.hidePopover(), c(!1);
+ KA(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- l.current || !o.current || !i.current || vj(o.current) || (o.current.showPopover(), _j(i.current, o.current), c(!0));
+ l.current || !o.current || !i.current || KA(o.current) || (o.current.showPopover(), GA(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return yj(s, i, o, () => c(!1)), (0, L.useEffect)(() => {
- i.current && vj(o.current) && _j(i.current, o.current);
+ return qA(s, i, o, () => c(!1)), (0, L.useEffect)(() => {
+ i.current && KA(o.current) && GA(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, R.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -37385,7 +37386,7 @@ function hue({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, R.jsx)(gj, { name: "rss" }),
+ /* @__PURE__ */ (0, R.jsx)(WA, { name: "rss" }),
/* @__PURE__ */ (0, R.jsx)("input", {
ref: a,
type: "checkbox",
@@ -37420,29 +37421,29 @@ function hue({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function gue({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function que({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, L.useState)(!1), o = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, R.jsxs)(uee, {
+ }, []), /* @__PURE__ */ (0, R.jsxs)(lee, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, R.jsx)(ju, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Fu, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, R.jsx)(gj, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, R.jsx)(ig, {
+ children: /* @__PURE__ */ (0, R.jsx)(WA, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, R.jsx)(cg, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: My,
+ className: Py,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, R.jsxs)(fee, {
+ children: /* @__PURE__ */ (0, R.jsxs)(dee, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, R.jsx)(Yg, {
+ /* @__PURE__ */ (0, R.jsx)(t_, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -37450,31 +37451,31 @@ function gue({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, R.jsxs)(Zg, {
+ children: t.map((e) => /* @__PURE__ */ (0, R.jsxs)(r_, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, R.jsx)(gj, { name: "check" }), /* @__PURE__ */ (0, R.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, R.jsx)(WA, { name: "check" }), /* @__PURE__ */ (0, R.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, R.jsx)(kf, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, R.jsx)(Yg, { children: /* @__PURE__ */ (0, R.jsxs)(Zg, {
+ /* @__PURE__ */ (0, R.jsx)(Nf, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, R.jsx)(t_, { children: /* @__PURE__ */ (0, R.jsxs)(r_, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, R.jsx)(gj, { name: "plus" }), /* @__PURE__ */ (0, R.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, R.jsx)(WA, { name: "plus" }), /* @__PURE__ */ (0, R.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var _ue = (e) => e === "studio" || e === "agency", vue = (e) => e === "performer" || e === "creator", yue = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
-function bue(e) {
+var Jue = (e) => e === "studio" || e === "agency", Yue = (e) => e === "performer" || e === "creator", Xue = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
+function Zue(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function xj(e) {
+function YA(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -37485,13 +37486,13 @@ function xj(e) {
linked: !1
} : null;
}
-function Sj(e, t) {
+function XA(e, t) {
let n = f(e, "performer"), r = c(t);
return r && [e.label, n].map(c).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var Cj = (e) => ({ site: u(e) });
-function xue(e, t) {
- let r = xj(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var ZA = (e) => ({ site: u(e) });
+function Que(e, t) {
+ let r = YA(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -37501,7 +37502,7 @@ function xue(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${Sj(e, r)} · ${t}`
+ title: `${XA(e, r)} · ${t}`
};
}
let i = e.url || "";
@@ -37512,8 +37513,8 @@ function xue(e, t) {
if (t === "performer" && e.link_kind !== "social") return {
type: "icon",
url: i,
- title: Sj(e, r),
- mark: Cj(e)
+ title: XA(e, r),
+ mark: ZA(e)
};
if (e.link_kind === "social") {
let t = n(i);
@@ -37521,7 +37522,7 @@ function xue(e, t) {
type: "icon",
url: i,
title: e.label || "",
- mark: t ? { brand: t } : Cj(e)
+ mark: t ? { brand: t } : ZA(e)
};
}
return {
@@ -37529,13 +37530,13 @@ function xue(e, t) {
url: i,
title: e.label || "",
text: f(e, t, a),
- mark: Cj(e)
+ mark: ZA(e)
};
});
return [...i, ...o];
}
-var wj = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function Sue(e) {
+var QA = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function $ue(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -37592,14 +37593,14 @@ function Sue(e) {
tags: e.tags
}), t;
}
-function Cue(e) {
+function ede(e) {
let t = e.length > 5 ? 4 : e.length;
return {
shown: e.slice(0, t),
rest: e.length - t
};
}
-function wue(e) {
+function tde(e) {
if (!e) return null;
let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;
return n.length || r > 0 ? {
@@ -37610,7 +37611,7 @@ function wue(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function Tue(e) {
+function nde(e) {
return _e({
id: e.id,
hasImage: e.has_image,
@@ -37620,8 +37621,8 @@ function Tue(e) {
focus: e.avatar_focus
});
}
-function Eue({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o, helpers: s }) {
- let c = vue(e), l = _ue(e), u = e === "performer" ? Sue(n.profile) : [], d = xue(n, e), f = wj(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, L.useRef)(null), h = (0, L.useRef)(null);
+function rde({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o, helpers: s }) {
+ let c = Yue(e), l = Jue(e), u = e === "performer" ? $ue(n.profile) : [], d = Que(n, e), f = QA(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, L.useRef)(null), h = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
s.wireScroller(m.current);
}, [s, d.length]), (0, L.useEffect)(() => {
@@ -37634,7 +37635,7 @@ function Eue({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, R.jsx)(Due, {
+ children: [/* @__PURE__ */ (0, R.jsx)(ide, {
kind: e,
name: t,
helpers: s,
@@ -37642,7 +37643,7 @@ function Eue({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
company: l
}), c && n.id ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, R.jsx)(uue, {
+ children: /* @__PURE__ */ (0, R.jsx)(Vue, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -37655,14 +37656,14 @@ function Eue({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
"data-entity-title": "",
- children: [/* @__PURE__ */ (0, R.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, R.jsx)(gue, {
+ children: [/* @__PURE__ */ (0, R.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, R.jsx)(que, {
current: n.canonical_name,
- choices: bue(n),
+ choices: Zue(n),
onChoose: o.chooseName,
onAddAlias: o.addAlias
})]
}),
- /* @__PURE__ */ (0, R.jsx)(Oue, {
+ /* @__PURE__ */ (0, R.jsx)(ade, {
kind: e,
entity: n,
actions: o
@@ -37670,9 +37671,9 @@ function Eue({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
d.length ? /* @__PURE__ */ (0, R.jsx)("div", {
ref: m,
"data-entity-links": "",
- children: d.map((e, t) => /* @__PURE__ */ (0, R.jsx)(Mue, { link: e }, t))
+ children: d.map((e, t) => /* @__PURE__ */ (0, R.jsx)(lde, { link: e }, t))
}) : null,
- f.length || n.feed ? /* @__PURE__ */ (0, R.jsx)(Nue, {
+ f.length || n.feed ? /* @__PURE__ */ (0, R.jsx)(ude, {
entity: n,
actions: o,
helpers: s
@@ -37681,11 +37682,11 @@ function Eue({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
}),
u.length ? /* @__PURE__ */ (0, R.jsx)("dl", {
"data-entity-facts": "",
- children: u.map((e) => /* @__PURE__ */ (0, R.jsx)(Aue, {
+ children: u.map((e) => /* @__PURE__ */ (0, R.jsx)(sde, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, R.jsx)(jue, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, R.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, R.jsx)(cde, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, R.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -37704,7 +37705,7 @@ function Eue({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
onClick: () => o.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, R.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${i(e.k.slice(0, 1))}</span>${Tue(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${i(e.k.slice(0, 1))}</span>${nde(e)}` }
}), /* @__PURE__ */ (0, R.jsx)("span", {
"data-hero-costar-name": "",
children: e.k
@@ -37712,14 +37713,14 @@ function Eue({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
}, e.k))
})
}) : null]
- }), a ? (0, it.createPortal)(/* @__PURE__ */ (0, R.jsx)(hj, {
+ }), a ? (0, ct.createPortal)(/* @__PURE__ */ (0, R.jsx)(UA, {
feedNew: r,
host: a,
wire: s.wireFeedRow,
act: (e, t) => o.feedAction(e, t)
}), a) : null] });
}
-function Due({ kind: e, name: t, helpers: n, people: r, company: a }) {
+function ide({ kind: e, name: t, helpers: n, people: r, company: a }) {
let [o] = (0, L.useState)(() => `${n.portraitImg()}<span>${i(t.slice(0, 1))}</span>`);
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -37728,8 +37729,8 @@ function Due({ kind: e, name: t, helpers: n, people: r, company: a }) {
dangerouslySetInnerHTML: { __html: o }
});
}
-function Oue({ kind: e, entity: t, actions: n }) {
- let i = xj(t), a = (e, t) => (r) => {
+function ade({ kind: e, entity: t, actions: n }) {
+ let i = YA(t), a = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, o = i ? i.linked ? /* @__PURE__ */ (0, R.jsx)("a", {
href: r("agency", i.name),
@@ -37738,36 +37739,36 @@ function Oue({ kind: e, entity: t, actions: n }) {
children: i.name
}) : i.name : null, s = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer") {
- let e = wue(t.name_groups);
+ let e = tde(t.name_groups);
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-entity-alias": "meta",
children: [
/* @__PURE__ */ (0, R.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, R.jsx)(gj, { name: "film" }), /* @__PURE__ */ (0, R.jsx)("span", { children: s })]
+ children: [/* @__PURE__ */ (0, R.jsx)(WA, { name: "film" }), /* @__PURE__ */ (0, R.jsx)("span", { children: s })]
}),
o ? /* @__PURE__ */ (0, R.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, R.jsx)(gj, { name: "briefcase" }), /* @__PURE__ */ (0, R.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, R.jsx)(WA, { name: "briefcase" }), /* @__PURE__ */ (0, R.jsx)("span", { children: o })]
}) : null,
e ? /* @__PURE__ */ (0, R.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, R.jsx)(gj, { name: "id-card" }),
+ /* @__PURE__ */ (0, R.jsx)(WA, { name: "id-card" }),
/* @__PURE__ */ (0, R.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, R.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, R.jsx)(bj, {
+ e.rest > 0 ? /* @__PURE__ */ (0, R.jsx)(JA, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest} 个别名`,
heading: `${e.total} 个别名`,
- children: /* @__PURE__ */ (0, R.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, R.jsx)(kue, {
+ children: /* @__PURE__ */ (0, R.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, R.jsx)(ode, {
label: e.label,
names: e.names
}, t)) })
@@ -37802,25 +37803,25 @@ function Oue({ kind: e, entity: t, actions: n }) {
]
});
}
-function kue({ label: e, names: t }) {
+function ode({ label: e, names: t }) {
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [e ? /* @__PURE__ */ (0, R.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, R.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, R.jsxs)("span", { children: [e.name, e.reading ? /* @__PURE__ */ (0, R.jsx)("small", { children: e.reading }) : null] }, t))
})] });
}
-function Aue({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)("dt", { children: [/* @__PURE__ */ (0, R.jsx)(gj, { name: e }), t] }), /* @__PURE__ */ (0, R.jsx)("dd", {
+function sde({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)("dt", { children: [/* @__PURE__ */ (0, R.jsx)(WA, { name: e }), t] }), /* @__PURE__ */ (0, R.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function jue({ tags: e }) {
- let { shown: t, rest: n } = Cue(e);
+function cde({ tags: e }) {
+ let { shown: t, rest: n } = ede(e);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, R.jsx)("span", {
"data-fact-tag": "",
children: e
- }, e)), n ? /* @__PURE__ */ (0, R.jsx)(bj, {
+ }, e)), n ? /* @__PURE__ */ (0, R.jsx)(JA, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -37835,10 +37836,10 @@ function jue({ tags: e }) {
})
}) : null] });
}
-function Tj({ mark: e }) {
+function $A({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, R.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, R.jsx)(gj, { name: e.brand })
+ children: /* @__PURE__ */ (0, R.jsx)(WA, { name: e.brand })
});
let t = l("globe") + ("site" in e ? `<img src="${i(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, R.jsx)("span", {
@@ -37846,7 +37847,7 @@ function Tj({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function Mue({ link: e }) {
+function lde({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, R.jsx)("a", {
"data-link": "icon",
@@ -37855,19 +37856,19 @@ function Mue({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, R.jsx)(Tj, { mark: e.mark })
+ children: /* @__PURE__ */ (0, R.jsx)($A, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, R.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, R.jsx)(Tj, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, R.jsx)($A, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, R.jsxs)("span", {
"data-link": "private",
title: "私人馆藏来源记录,不直接打开下载页",
- children: [/* @__PURE__ */ (0, R.jsx)(Tj, { mark: { globe: !0 } }), /* @__PURE__ */ (0, R.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, R.jsx)($A, { mark: { globe: !0 } }), /* @__PURE__ */ (0, R.jsxs)("span", {
"data-link-label": "",
children: ["来源 · ", e.label]
})]
@@ -37878,14 +37879,14 @@ function Mue({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, R.jsx)(Tj, { mark: e.mark }), /* @__PURE__ */ (0, R.jsx)("span", {
+ children: [/* @__PURE__ */ (0, R.jsx)($A, { mark: e.mark }), /* @__PURE__ */ (0, R.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function Nue({ entity: e, actions: t, helpers: n }) {
+function ude({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, L.useState)(!!e.feed?.following), [a, o] = (0, L.useState)(!1), s = (0, L.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -37903,47 +37904,47 @@ function Nue({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-entry-marks": "",
- children: [wj(e).map((e, t) => /* @__PURE__ */ (0, R.jsxs)("a", {
+ children: [QA(e).map((e, t) => /* @__PURE__ */ (0, R.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, R.jsx)(gj, { name: e.mark }) : /* @__PURE__ */ (0, R.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, R.jsx)(WA, { name: e.mark }) : /* @__PURE__ */ (0, R.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, R.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, R.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, R.jsx)(hue, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, R.jsx)(Kue, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: yue(r)
+ tip: Xue(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
-function Pue(e) {
- let { kind: t, name: n } = e, r = vr(Kk(t, n)), i = !!r.data?.error, { actions: a } = e;
+function dde(e) {
+ let { kind: t, name: n } = e, r = Sr(Lk(t, n)), i = !!r.data?.error, { actions: a } = e;
return (0, L.useLayoutEffect)(() => {
i && a.missing();
- }, [a, i]), r.isError ? /* @__PURE__ */ (0, R.jsx)(Db, {
+ }, [a, i]), r.isError ? /* @__PURE__ */ (0, R.jsx)(Pb, {
message: H(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i ? null : /* @__PURE__ */ (0, R.jsx)(Lue, {
+ }) : !r.data || i ? null : /* @__PURE__ */ (0, R.jsx)(mde, {
...e,
entity: r.data
});
}
-function Ej(e) {
+function ej(e) {
let [t, n] = (0, L.useState)({
key: e,
n: 1
@@ -37955,14 +37956,14 @@ function Ej(e) {
};
return n(r), r.n;
}
-var Fue = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function Iue(e, t) {
+var fde = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function pde(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function Lue(e) {
- let { kind: n, name: r, entity: i, filters: a, media: o, helpers: s, actions: c, hosts: l } = e, u = n === "agency" || n === "studio", d = n === "agency" ? i.related_performers || [] : n === "studio" && i.labels || [], f = Number(i.id) || 0, p = br(Jk(n, r, 0, "")).data?.pages[0], m = p && !p.error ? p : null, h = m ? (m.total || 0) + (m.sample_total || 0) : 0, g = (m?.total || 0) > 0 || Yk(m).length > 0, _ = o.media === "photos" && g ? o : Lk, [v, y] = (0, L.useState)("people"), x = new URLSearchParams(Object.entries(a).filter(([, e]) => e)).toString(), [S, C] = (0, L.useState)(x);
+function mde(e) {
+ let { kind: n, name: r, entity: i, filters: a, media: o, helpers: s, actions: c, hosts: l } = e, u = n === "agency" || n === "studio", d = n === "agency" ? i.related_performers || [] : n === "studio" && i.labels || [], f = Number(i.id) || 0, p = wr(Rk(n, r, 0, "")).data?.pages[0], m = p && !p.error ? p : null, h = m ? (m.total || 0) + (m.sample_total || 0) : 0, g = (m?.total || 0) > 0 || zk(m).length > 0, _ = o.media === "photos" && g ? o : Ak, [v, y] = (0, L.useState)("people"), x = new URLSearchParams(Object.entries(a).filter(([, e]) => e)).toString(), [S, C] = (0, L.useState)(x);
S !== x && (C(x), y("videos"));
- let w = u && v === "people" && d.length ? "people" : _.media, [T, E] = (0, L.useState)(0), D = Gk(e), O = vr(D), k = Ej(JSON.stringify([D.queryKey, T])), [A] = (0, L.useState)(() => (n === "performer" || n === "studio") && (e.jav || (O.data?.items || []).some((e) => e.is_jav)));
+ let w = u && v === "people" && d.length ? "people" : _.media, [T, E] = (0, L.useState)(0), D = Ik(e), O = Sr(D), k = ej(JSON.stringify([D.queryKey, T])), [A] = (0, L.useState)(() => (n === "performer" || n === "studio") && (e.jav || (O.data?.items || []).some((e) => e.is_jav)));
(0, L.useLayoutEffect)(() => {
c.javContext(A);
}, [c, A]);
@@ -37972,26 +37973,26 @@ function Lue(e) {
}, [e.layout, A]), M = {
jav: e.jav,
seed: e.seed
- }, N = (0, L.useCallback)((t, i) => Wk(n, r, a, M, t, e.cache, i), [k]), [P, ee] = (0, L.useState)({}), F = _.set, te = P[F] || "", ne = br({
- ...Jk(n, r, F, te),
+ }, N = (0, L.useCallback)((t, i) => Fk(n, r, a, M, t, e.cache, i), [k]), [P, ee] = (0, L.useState)({}), F = _.set, te = P[F] || "", ne = wr({
+ ...Rk(n, r, F, te),
enabled: w === "photos"
- }), re = ne.data?.pages[0], ie = Ej(JSON.stringify(Bk(n, r, F, te))), ae = (0, L.useMemo)(() => {
+ }), re = ne.data?.pages[0], ie = ej(JSON.stringify(Mk(n, r, F, te))), ae = (0, L.useMemo)(() => {
let e = ne.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: ie,
- codeSets: t.id ? [] : Yk(t),
+ codeSets: t.id ? [] : zk(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
- }, [ne.data, ie]), oe = ne.refetch, se = ne.fetchNextPage, ce = vr({
- ...Nk(f, s.feedRowHtml),
+ }, [ne.data, ie]), oe = ne.refetch, se = ne.fetchNextPage, ce = Sr({
+ ...Ok(f, s.feedRowHtml),
enabled: !!f
}), le = (0, L.useRef)(e.feedRevision);
(0, L.useEffect)(() => {
- le.current !== e.feedRevision && (le.current = e.feedRevision, Y.invalidateQueries({ queryKey: Ok(f) }));
+ le.current !== e.feedRevision && (le.current = e.feedRevision, Y.invalidateQueries({ queryKey: Dk(f) }));
}, [f, e.feedRevision]);
let ue = !!O.data;
(0, L.useEffect)(() => {
@@ -38008,12 +38009,12 @@ function Lue(e) {
de.current = !1;
}, []);
let I = (0, L.useCallback)(async () => {
- await Y.invalidateQueries({ queryKey: Rk(n, r) }), await Y.invalidateQueries({ queryKey: [
+ await Y.invalidateQueries({ queryKey: jk(n, r) }), await Y.invalidateQueries({ queryKey: [
"entity-items",
n,
r
] });
- }, [n, r]), fe = yr({
+ }, [n, r]), fe = Cr({
mutationFn: (e) => t("/api/entity-alias", {
method: "POST",
body: JSON.stringify({
@@ -38023,14 +38024,14 @@ function Lue(e) {
})
}),
onSuccess: () => I()
- }), pe = yr({ mutationFn: ({ from: e, to: r }) => t("/api/entity-name", {
+ }), pe = Cr({ mutationFn: ({ from: e, to: r }) => t("/api/entity-name", {
method: "POST",
body: JSON.stringify({
kind: n,
name: e,
canonical: r
})
- }) }), me = yr({
+ }) }), me = Cr({
mutationFn: (e) => t("/api/feeds/source", {
method: "POST",
body: JSON.stringify({
@@ -38039,7 +38040,7 @@ function Lue(e) {
enabled: e
})
}),
- onSuccess: (e, t) => Y.setQueryData(Rk(n, r), (e) => e && {
+ onSuccess: (e, t) => Y.setQueryData(jk(n, r), (e) => e && {
...e,
feed: {
...e.feed,
@@ -38087,10 +38088,10 @@ function Lue(e) {
let e = await t("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- de.current && await Y.invalidateQueries({ queryKey: Ok(f) });
+ de.current && await Y.invalidateQueries({ queryKey: Dk(f) });
})();
},
- feedAction: Pk,
+ feedAction: kk,
avatarPicked: () => {
c.avatarChanged(), I().then(() => {
de.current && E((e) => e + 1);
@@ -38121,19 +38122,19 @@ function Lue(e) {
e === w && !_.set || (y(e === "people" ? "people" : "videos"), c.route(a, e === "photos" ? {
media: "photos",
set: 0
- } : Lk));
+ } : Ak));
},
setState: (e) => c.route({
...a,
state: e
- }, Lk),
+ }, Ak),
toggleTag: c.toggleTag,
clearFilter: c.clearFilter,
clearAll: c.clearAll,
setSort: c.setSort,
reshuffle: async () => {
if (w !== "photos") {
- let t = c.reshuffleVideos(), i = Gk({
+ let t = c.reshuffleVideos(), i = Ik({
kind: n,
name: r,
filters: {
@@ -38148,7 +38149,7 @@ function Lue(e) {
await Y.fetchQuery(i).catch(() => null);
return;
}
- let t = Fue(), i = await Y.fetchInfiniteQuery(Jk(n, r, F, t)).catch(() => null);
+ let t = fde(), i = await Y.fetchInfiniteQuery(Rk(n, r, F, t)).catch(() => null);
!de.current || !i?.pages[0] || i.pages[0].error || ee((e) => ({
...e,
[F]: t
@@ -38182,7 +38183,7 @@ function Lue(e) {
k: e.k,
label: s.tagLabel(e.k),
n: e.n,
- selected: Hk(a.tag, e.k)
+ selected: qle(a.tag, e.k)
})), be = h || d.length ? {
label: d.length ? "页面视图" : "媒体类型",
people: d.length ? {
@@ -38208,9 +38209,9 @@ function Lue(e) {
if (w === "people") we = `${n === "studio" ? "厂牌" : "艺人"} · ${d.length.toLocaleString()}`;
else if (w === "videos") {
Te = !O.data;
- let e = Vk(a.tag).map(s.tagLabel);
+ let e = Nk(a.tag).map(s.tagLabel);
we = `视频 · ${(O.data?.total || 0).toLocaleString()}${e.length ? ` · ${e.join(" · ")}` : ""}`;
- } else re && !re.error ? we = Se ? `${re.title} · ${(re.total || 0).toLocaleString()} 张` : Iue(re, Yk(re).length) : Te = ne.isPending;
+ } else re && !re.error ? we = Se ? `${re.title} · ${(re.total || 0).toLocaleString()} 张` : pde(re, zk(re).length) : Te = ne.isPending;
let Ee = (0, L.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -38227,7 +38228,7 @@ function Lue(e) {
d
]);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
- /* @__PURE__ */ (0, R.jsx)(Eue, {
+ /* @__PURE__ */ (0, R.jsx)(rde, {
kind: n,
name: r,
entity: i,
@@ -38237,7 +38238,7 @@ function Lue(e) {
actions: he,
helpers: ge
}, T),
- (0, it.createPortal)(/* @__PURE__ */ (0, R.jsx)(yle, {
+ (0, ct.createPortal)(/* @__PURE__ */ (0, R.jsx)(_le, {
kind: n,
name: r,
view: w,
@@ -38253,12 +38254,12 @@ function Lue(e) {
actions: _e,
helpers: ve
}), l.filter),
- (0, it.createPortal)(w === "videos" && O.isError ? /* @__PURE__ */ (0, R.jsx)(Db, {
+ (0, ct.createPortal)(w === "videos" && O.isError ? /* @__PURE__ */ (0, R.jsx)(Pb, {
message: H(O.error),
onRetry: () => {
O.refetch();
}
- }) : /* @__PURE__ */ (0, R.jsx)(GA, {
+ }) : /* @__PURE__ */ (0, R.jsx)(uue, {
kind: n,
name: r,
view: w,
@@ -38285,21 +38286,21 @@ function Lue(e) {
}
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
-function Rue({ host: e, revision: t, helpers: n, actions: r }) {
- let i = vr(Nk(null, n.feedRowHtml)), a = (0, L.useRef)(t);
+function hde({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = Sr(Ok(null, n.feedRowHtml)), a = (0, L.useRef)(t);
return (0, L.useEffect)(() => {
- a.current !== t && (a.current = t, Y.invalidateQueries({ queryKey: Ok(null) }));
- }, [t]), (0, it.createPortal)(/* @__PURE__ */ (0, R.jsx)(hj, {
+ a.current !== t && (a.current = t, Y.invalidateQueries({ queryKey: Dk(null) }));
+ }, [t]), (0, ct.createPortal)(/* @__PURE__ */ (0, R.jsx)(UA, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: Pk,
+ act: kk,
settled: r.settled
}), e);
}
//#endregion
//#region src/follow-sort.ts
-var Dj = [
+var tj = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -38307,7 +38308,7 @@ var Dj = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], zue = "checked", Oj = {
+], gde = "checked", nj = {
checked: "desc",
added: "desc",
name: "asc",
@@ -38315,32 +38316,32 @@ var Dj = [
source: "asc",
provider: "asc",
status: "asc"
-}, Bue = (e) => Dj.some(([t]) => t === e);
-function kj(e, t) {
- let n = Bue(e) ? e : zue;
+}, _de = (e) => tj.some(([t]) => t === e);
+function rj(e, t) {
+ let n = _de(e) ? e : gde;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : Oj[n]
+ dir: t === "asc" || t === "desc" ? t : nj[n]
};
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var Aj = "/api/follow", jj = "/api/follow/credentials", Mj = "/api/follow/check", Nj = "/api/follow/source", Pj = "/api/follow/resolve", Vue = "/api/follow/suggest", Fj = "/api/follow/author-alias", Hue = "/api/follow/credential", Ij = "/api/follow/status", Uue = "/api/feeds", Lj = "/api/feeds/source", Wue = "/api/feeds/check", Gue = "/api/feeds/lookup", Rj = ["follow-manage"], zj = ["follow-manage", "credentials"], Kue = ["follow-manage", "check"], que = ["follow-manage", "resolve"], Bj = ["follow-manage", "feeds"], Jue = (e) => [
+var ij = "/api/follow", aj = "/api/follow/credentials", oj = "/api/follow/check", sj = "/api/follow/source", cj = "/api/follow/resolve", vde = "/api/follow/suggest", lj = "/api/follow/author-alias", yde = "/api/follow/credential", uj = "/api/follow/status", bde = "/api/feeds", dj = "/api/feeds/source", xde = "/api/feeds/check", Sde = "/api/feeds/lookup", fj = ["follow-manage"], pj = ["follow-manage", "credentials"], Cde = ["follow-manage", "check"], wde = ["follow-manage", "resolve"], mj = ["follow-manage", "feeds"], Tde = (e) => [
"follow-manage",
"suggest",
e
-], Vj = [["default", "默认视图"], ["table", "表格视图"]], Hj = [
+], hj = [["default", "默认视图"], ["table", "表格视图"]], gj = [
10,
20,
50,
100
-], Yue = Object.fromEntries(Dj), Uj = {
+], Ede = Object.fromEntries(tj), _j = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Xue = (e) => Vj.some(([t]) => t === e), Zue = (e) => Hj.includes(Number(e)) ? Number(e) : 20, Que = {
+}, Dde = (e) => hj.some(([t]) => t === e), Ode = (e) => gj.includes(Number(e)) ? Number(e) : 20, kde = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -38348,25 +38349,25 @@ var Aj = "/api/follow", jj = "/api/follow/credentials", Mj = "/api/follow/check"
source: ["倒序", "正序"],
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
-}, $ue = (e, t) => `按${Yue[e]}${Que[e][t === "asc" ? 0 : 1]}排序`;
-function Wj(e) {
+}, Ade = (e, t) => `按${Ede[e]}${kde[e][t === "asc" ? 0 : 1]}排序`;
+function vj(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
-function ede(e) {
+function jde(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
-var Gj = (e) => e.last_status === "error" || e.last_status === "unauthorized", Kj = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), qj = {
- source: Kj,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || Kj(e, t),
- status: (e, t) => Wj(e) - Wj(t) || Kj(e, t)
-}, Jj = (e) => Date.parse(e || "") || 0, Yj = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function Xj(e, t = []) {
+var yj = (e) => e.last_status === "error" || e.last_status === "unauthorized", bj = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), xj = {
+ source: bj,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || bj(e, t),
+ status: (e, t) => vj(e) - vj(t) || bj(e, t)
+}, Sj = (e) => Date.parse(e || "") || 0, Cj = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function wj(e, t = []) {
if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || Yj(e.label), r = e.find((e) => e.entity_name);
+ let n = (e) => String(e.author_name || "").trim() || Cj(e.label), r = e.find((e) => e.entity_name);
if (r) return r.entity_name;
let i = t.find((t) => `name:${t.canonical_key}` === e[0]?.author_key);
- if (i) return Yj(i.canonical_name);
+ if (i) return Cj(i.canonical_name);
let a = e.find((e) => e.official_avatar_url);
if (a && n(a)) return n(a);
let o = e.map(n).filter(Boolean);
@@ -38374,18 +38375,18 @@ function Xj(e, t = []) {
let s = (e) => (e.match(/[A-Z]/g) || []).length;
return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);
}
-function Zj(e) {
+function Tj(e) {
let t = e.trim().match(/[A-Za-z0-9]/);
return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
}
-function Qj(e) {
+function Ej(e) {
let t = e.find((e) => e.official_avatar_url), n = e.find((e) => e.avatar_url), r = t?.official_avatar_url || n?.avatar_url || "";
return {
src: r,
fallback: t && n && n.avatar_url !== r && n.avatar_url || ""
};
}
-function $j(e) {
+function Dj(e) {
let t = [], n = /* @__PURE__ */ new Map();
for (let r of e) {
let e = r.author_key || `source:${r.id}`;
@@ -38393,32 +38394,32 @@ function $j(e) {
}
return t.map((e) => n.get(e));
}
-function tde(e, t, n, r = []) {
- let i = $j(e), a = n === Oj[t] ? 1 : -1, o = (e) => Xj(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = qj[t];
+function Mde(e, t, n, r = []) {
+ let i = Dj(e), a = n === nj[t] ? 1 : -1, o = (e) => wj(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = xj[t];
if (c) {
for (let e of i) e.sort((e, t) => a * c(e, t));
return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));
}
- let l = (e) => Math.max(...e.map((e) => Jj(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => Jj(e.created_at)));
+ let l = (e) => Math.max(...e.map((e) => Sj(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => Sj(e.created_at)));
return i.sort((e, n) => t === "name" ? a * s(e, n) : t === "sources" ? a * (n.length - e.length) || s(e, n) : t === "added" ? a * (u(n) - u(e)) || s(e, n) : a * (l(n) - l(e)) || s(e, n));
}
-function nde(e, t, n, r = []) {
+function Nde(e, t, n, r = []) {
let i = e.flatMap((e) => {
- let t = Xj(e, r);
+ let t = wj(e, r);
return e.map((n) => ({
source: n,
group: e,
author: t
}));
- }), a = qj[t];
+ }), a = xj[t];
if (a) {
- let e = n === Oj[t] ? 1 : -1;
+ let e = n === nj[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
}
-function eM(e, t, n) {
- let r = wx(e, t), i = Tx(n, r), a = (i - 1) * t;
+function Oj(e, t, n) {
+ let r = xx(e, t), i = Sx(n, r), a = (i - 1) * t;
return {
page: i,
pages: r,
@@ -38427,91 +38428,91 @@ function eM(e, t, n) {
end: Math.min(a + t, e)
};
}
-function rde(e, t) {
+function Pde(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function tM(e, t) {
+function kj(e, t) {
let n = t.filter((t) => e.has(t)).length;
return {
all: t.length > 0 && n === t.length,
some: n > 0 && n < t.length
};
}
-function nM(e, t, n) {
+function Aj(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var rM = (e) => U(`${Aj}?summary=1`, e), iM = (e) => U(jj, e), ide = (e) => U(Mj, e), ade = (e) => U(Pj, e), ode = (e, t) => U(`${Vue}?q=${encodeURIComponent(e)}`, t), aM = (e) => W(Mj, {
+var jj = (e) => U(`${ij}?summary=1`, e), Mj = (e) => U(aj, e), Fde = (e) => U(oj, e), Ide = (e) => U(cj, e), Lde = (e, t) => U(`${vde}?q=${encodeURIComponent(e)}`, t), Nj = (e) => W(oj, {
...e?.length ? { sources: e } : {},
background: !0
-}), sde = (e) => W(Pj, {
+}), Rde = (e) => W(cj, {
lines: e,
background: !0
-}), oM = (e, t) => W(Nj, {
+}), Pj = (e, t) => W(sj, {
action: "enabled",
id: e,
enabled: t
-}), sM = (e) => W(Nj, {
+}), Fj = (e) => W(sj, {
action: "remove",
id: e
-}), cde = (e) => W(Nj, {
+}), zde = (e) => W(sj, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), cM = (e, t) => W(Fj, {
+}), Ij = (e, t) => W(lj, {
action: "add",
canonical: e,
alias: t
-}), lde = (e) => W(Fj, {
+}), Bde = (e) => W(lj, {
action: "remove",
alias: e
-}), ude = (e, t) => W(Hue, {
+}), Vde = (e, t) => W(yde, {
provider: e,
values: t
-}), dde = (e, t) => W(Ij, {
+}), Hde = (e, t) => W(uj, {
item: e,
to: t
-}), fde = () => U(`${Aj}?status=new&limit=1000`);
-async function lM(e) {
- let t = await U(Uue, e);
+}), Ude = () => U(`${ij}?status=new&limit=1000`);
+async function Lj(e) {
+ let t = await U(bde, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var uM = (e, t, n) => W(Lj, {
+var Rj = (e, t, n) => W(dj, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), dM = (e, t) => W(Lj, {
+}, "POST", n), zj = (e, t) => W(dj, {
action: "remove",
id: e
-}, "POST", t), fM = (e, t) => W(Wue, t?.length ? { sources: t } : { all: !0 }, "POST", e), pde = (e, t) => U(`${Gue}?q=${encodeURIComponent(e)}`, t), mde = (e, t, n) => W(Lj, {
+}, "POST", t), Bj = (e, t) => W(xde, t?.length ? { sources: t } : { all: !0 }, "POST", e), Wde = (e, t) => U(`${Sde}?q=${encodeURIComponent(e)}`, t), Gde = (e, t, n) => W(dj, {
action: "follow-name",
name: e,
ids: t
}, "POST", n);
-async function hde(e, t = "") {
+async function Kde(e, t = "") {
await Promise.all([
Y.fetchQuery({
- queryKey: Rj,
- queryFn: () => rM(e)
+ queryKey: fj,
+ queryFn: () => jj(e)
}),
Y.fetchQuery({
- queryKey: zj,
- queryFn: () => iM(e)
+ queryKey: pj,
+ queryFn: () => Mj(e)
}),
t === "feeds" ? Y.fetchQuery({
- queryKey: Bj,
- queryFn: () => lM(e)
+ queryKey: mj,
+ queryFn: () => Lj(e)
}) : null
]);
}
-function pM(e, t) {
- Y.setQueryData(Rj, (n) => n && {
+function Vj(e, t) {
+ Y.setQueryData(fj, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -38519,24 +38520,24 @@ function pM(e, t) {
} : n)
});
}
-function mM(e) {
+function Hj(e) {
let t = new Set(e);
- Y.setQueryData(Rj, (e) => e && {
+ Y.setQueryData(fj, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var hM = () => Y.invalidateQueries({
- queryKey: Rj,
+var Uj = () => Y.invalidateQueries({
+ queryKey: fj,
exact: !0
});
-function gde(e) {
+function qde(e) {
let t = e.results || [], n = (e) => t.reduce((t, n) => t + (e(n) || 0), 0), r = n((e) => e.added), i = n((e) => e.updated), a = n((e) => e.skipped_compilations), o = n((e) => e.skipped) - a, s = n((e) => e.history_skipped), c = n((e) => e.probed), l = t.filter((e) => e.ok && !e.added && !e.updated).length, u = t.filter((e) => !e.ok).length, d = [];
r && d.push(`新增 ${r} 条`), i && d.push(`更新 ${i} 条`), o && d.push(`跳过 ${o} 条无资源`), a && d.push(`排除 ${a} 个超大合集`), s && d.push(`跳过 ${s} 条超出首次采集范围的历史内容`), c && d.push(`回查 ${c} 条`), l && d.push(`${l} 个来源没有更新`), d.length || d.push("没有任何更新");
let f = t.filter((e) => e.exhausted).length;
return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;
}
-var _de = (e) => (e?.results || []).filter((e) => !e.ok), vde = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", gM = (e) => e.last_checked_at ? Ex(e.last_checked_at) : "未检查", yde = /* @__PURE__ */ new Set([
+var Jde = (e) => (e?.results || []).filter((e) => !e.ok), Yde = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", Wj = (e) => e.last_checked_at ? Cx(e.last_checked_at) : "未检查", Xde = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -38549,50 +38550,50 @@ var _de = (e) => (e?.results || []).filter((e) => !e.ok), vde = (e) => (e?.resul
"gofile",
"f95zone",
"simpcity"
-]), _M = (e) => yde.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", bde = {
+]), Gj = (e) => Xde.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Zde = {
required: "需要",
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, vM = (e) => !!e.present && !e.missing.length, xde = [
+}, Kj = (e) => !!e.present && !e.missing.length, Qde = [
["", "全部"],
["new", "未看"],
["saved", "已保存"],
["ignored", "已忽略"]
-], Sde = [
+], $de = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
-], yM = {
+], qj = {
new: ["从新到旧", "从旧到新"],
hot: ["从高到低", "从低到高"],
dur: ["从长到短", "从短到长"]
};
-function bM(e, t) {
+function Jj(e, t) {
let n = (e) => encodeURIComponent(e.join(","));
return `/api/follow?limit=300&offset=${t}` + (e.status ? `&status=${e.status}` : "") + (e.author ? `&author=${n([e.author])}` : "") + (e.provider ? `&provider=${n([e.provider])}` : "") + (e.tags.length ? `&tag=${n(e.tags)}` : "") + (e.work ? `&work=${n([e.work])}` : "") + (e.sort === "new" ? "" : `&sort=${e.sort}`) + (e.sort === "rand" ? `&seed=${e.seed}` : "") + (e.dir === "desc" ? "" : `&dir=${e.dir}`);
}
-function xM(e, t) {
+function Yj(e, t) {
return {
queryKey: [
"follow-feed",
- bM(e, 0),
+ Jj(e, 0),
t
],
- queryFn: ({ pageParam: t, signal: n }) => U(bM(e, t), n),
+ queryFn: ({ pageParam: t, signal: n }) => U(Jj(e, t), n),
initialPageParam: 0,
getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 300 : void 0,
- placeholderData: _n
+ placeholderData: xn
};
}
-var SM = ["follow-feed", "credentials"], CM = (e) => U(jj, e).catch(() => ({ providers: [] }));
-async function Cde(e, t) {
- let n = xM(e.view, e.revision);
+var Xj = ["follow-feed", "credentials"], Zj = (e) => U(aj, e).catch(() => ({ providers: [] }));
+async function efe(e, t) {
+ let n = Yj(e.view, e.revision);
Y.removeQueries({
queryKey: n.queryKey,
exact: !0
}), Y.removeQueries({
- queryKey: SM,
+ queryKey: Xj,
exact: !0
}), await Promise.all([Y.fetchInfiniteQuery({
queryKey: n.queryKey,
@@ -38603,11 +38604,11 @@ async function Cde(e, t) {
initialPageParam: 0,
getNextPageParam: n.getNextPageParam
}), Y.fetchQuery({
- queryKey: SM,
- queryFn: () => CM(t)
+ queryKey: Xj,
+ queryFn: () => Zj(t)
})]);
}
-function wM(e) {
+function Qj(e) {
if (!e?.pages.length) return null;
let t = e.pages, n = t[t.length - 1];
return {
@@ -38616,10 +38617,10 @@ function wM(e) {
groups: t.flatMap((e) => e.groups || [])
};
}
-function TM(e, t, n) {
+function $j(e, t, n) {
return [...e].sort((e, r) => h(n, t(e)) - h(n, t(r)) || String(t(e)).localeCompare(String(t(r))));
}
-function EM(e) {
+function eM(e) {
let t = /* @__PURE__ */ new Set();
return [
e.primary,
@@ -38627,14 +38628,14 @@ function EM(e) {
...e.duplicates
].filter((e) => !e || t.has(e.id) ? !1 : (t.add(e.id), !0));
}
-function wde(e) {
+function tfe(e) {
let t = Y.getQueryCache().findAll({ queryKey: ["follow-feed"] }).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt);
for (let n of t) {
let t = n.state.data;
if (!Array.isArray(t?.pages) || !t.pages.length) continue;
let r = t.pages[t.pages.length - 1];
for (let n of t.pages) for (let t of n.groups || []) {
- let n = EM(t).find((t) => t.id === e);
+ let n = eM(t).find((t) => t.id === e);
if (n) return {
item: n,
group: t,
@@ -38645,7 +38646,7 @@ function wde(e) {
}
return null;
}
-function Tde(e) {
+function nfe(e) {
Y.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -38655,7 +38656,7 @@ function Tde(e) {
...t,
groups: (t.groups || []).map((t) => {
let n = (t) => t.id === e.id ? e : t;
- return EM(t).some((t) => t.id === e.id) ? {
+ return eM(t).some((t) => t.id === e.id) ? {
...t,
primary: n(t.primary),
variants: t.variants.map(n),
@@ -38665,39 +38666,39 @@ function Tde(e) {
}))
});
}
-function Ede(e, t) {
+function rfe(e, t) {
Y.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
- }, (n) => n && PM(n, null, e, t));
+ }, (n) => n && cM(n, null, e, t));
}
-function DM(e) {
- return EM(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
+function tM(e) {
+ return eM(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
}
-function OM(e) {
+function nM(e) {
let t = /* @__PURE__ */ new Set(), n = e.media_items || [];
return n.length ? n.forEach((e) => {
(e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind);
}) : (e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind), t;
}
-function kM(e) {
+function rM(e) {
let t = /* @__PURE__ */ new Set();
- return EM(e).forEach((e) => OM(e).forEach((e) => t.add(e))), t;
+ return eM(e).forEach((e) => nM(e).forEach((e) => t.add(e))), t;
}
-function AM(e, t) {
+function iM(e, t) {
let n = t === "images" ? "image" : "video";
- return DM(e).find((e) => OM(e).has(n)) || e.primary;
+ return tM(e).find((e) => nM(e).has(n)) || e.primary;
}
-function jM(e) {
- return DM(e).filter((e) => e.playable && e.media_kind === "video");
+function aM(e) {
+ return tM(e).filter((e) => e.playable && e.media_kind === "video");
}
-var MM = {
+var oM = {
video: "个视频",
image: "张图片",
mixed: "个媒体"
};
-function Dde({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
- let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${MM[s] || MM.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
+function ife({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
+ let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${oM[s] || oM.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
for (let t of n?.faces || []) r && t.media_kind !== "image" || !t.thumb_url || t.thumb_url === e || u.has(t.face) || (u.add(t.face), d.push(t.thumb_url));
return {
isMix: !!c,
@@ -38706,14 +38707,14 @@ function Dde({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r
faces: d.length > 1 ? d.slice(0, i) : []
};
}
-function Ode(e) {
+function afe(e) {
let t = e.filter((e) => e.can_backfill).map((e) => (e.backfill_page || 0) + 1);
if (!t.length) return "";
let n = Math.max(...t), r = Math.min(...t);
return n <= 1 ? "每个来源都只抓了第 1 页" : r === n ? `每个来源都抓到第 ${n} 页` : `已抓到第 ${r}–${n} 页`;
}
-function NM(e, t, n) {
- return e === t ? yM[e] ? {
+function sM(e, t, n) {
+ return e === t ? qj[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
@@ -38721,13 +38722,13 @@ function NM(e, t, n) {
dir: "desc"
};
}
-function kde(e, t, n, r) {
- let i = NM(e, n, r);
+function ofe(e, t, n, r) {
+ let i = sM(e, n, r);
if (!i) return "";
- let a = yM[i.sort];
+ let a = qj[i.sort];
return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;
}
-function PM(e, t, n, r) {
+function cM(e, t, n, r) {
let i = "", a = e.pages.map((e) => ({
...e,
groups: (e.groups || []).flatMap((e) => {
@@ -38757,7 +38758,7 @@ function PM(e, t, n, r) {
})
};
}
-function Ade(e, t) {
+function sfe(e, t) {
let n = [];
return e.author && n.push({
kind: "创作者",
@@ -38777,7 +38778,7 @@ function Ade(e, t) {
label: e
})), n;
}
-function jde(e, t) {
+function cfe(e, t) {
return t.kind === "创作者" ? {
...e,
author: ""
@@ -38792,7 +38793,7 @@ function jde(e, t) {
tags: e.tags.filter((e) => e !== t.key)
};
}
-function Mde(e, t) {
+function lfe(e, t) {
for (let n of e) {
let e = n.primary?.tag_types?.[t];
if (e) return e;
@@ -38801,7 +38802,7 @@ function Mde(e, t) {
}
//#endregion
//#region src/sidebar.ts
-var Nde = [
+var ufe = [
"",
"follow",
"jav",
@@ -38810,7 +38811,7 @@ var Nde = [
"studios",
"flagged",
"manage"
-], Pde = [
+], dfe = [
"playlists",
"immerse",
"stats",
@@ -38820,77 +38821,77 @@ var Nde = [
"follow-manage",
"quality"
];
-[...Nde, ...Pde];
-function Fde(e) {
+[...ufe, ...dfe];
+function ffe(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of new Set(n.tags || [])) t.set(e, (t.get(e) || 0) + 1);
return [...t].sort((e, t) => t[1] - e[1]).slice(0, 30);
}
//#endregion
//#region src/react/follow-feed/follow-marks.ts
-var FM = (e) => typeof e == "string" ? e : "", IM = (e) => e.aliases;
-function LM(e, t = "") {
- let n = _M(e);
+var lM = (e) => typeof e == "string" ? e : "", uM = (e) => e.aliases;
+function dM(e, t = "") {
+ let n = Gj(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${i(t)}"${t ? ` title="${i(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-var RM = (e, t) => Xj(e, IM(t));
-function zM(e, t) {
- let { src: n, fallback: r } = Qj(e), a = Zj(t);
+var fM = (e, t) => wj(e, uM(t));
+function pM(e, t) {
+ let { src: n, fallback: r } = Ej(e), a = Tj(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${i(a)}</span>`;
let o = r ? ` data-fallbacks="${i(r)}"` : "";
return `<img class="favatar" src="${i(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${o} data-initial="${i(a)}" data-drop-class="favatar none">`;
}
-function BM(e, t, n) {
- let r = IM(n), i = e.credit, a = i?.poster;
+function mM(e, t, n) {
+ let r = uM(n), i = e.credit, a = i?.poster;
if (!a) {
- let n = Xj(t, r);
+ let n = wj(t, r);
return {
- author: n || FM(e.author) || FM(e.source_label) || "创作者未取得",
- avatar: zM(t, n),
+ author: n || lM(e.author) || lM(e.source_label) || "创作者未取得",
+ avatar: pM(t, n),
credited: ""
};
}
- let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && Xj(c, r) || a;
+ let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && wj(c, r) || a;
return {
author: l,
- avatar: zM(c, l),
+ avatar: pM(c, l),
credited: i.credited || ""
};
}
-function VM(e, t = e.primary) {
+function hM(e, t = e.primary) {
let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;
e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));
- let a = FM(e.primary.version);
+ let a = lM(e.primary.version);
a && n.push(r("version", i(a)));
- let o = FM(t.audio), s = o === "voiced" ? "配音版" : o === "silent" ? "无声版" : "";
+ let o = lM(t.audio), s = o === "voiced" ? "配音版" : o === "silent" ? "无声版" : "";
return s && n.push(r(o, s)), n.join("");
}
-function HM(e, t = e.primary) {
+function gM(e, t = e.primary) {
let n = new Map([
e.primary,
...e.variants,
...e.duplicates
].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));
if (!n.size) return "";
- let r = [...n].map(([e, t]) => LM(e, t) || `<span>${i(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => dM(e, t) || `<span>${i(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${i([...n.values()].join("、"))}">另见 ${r}</span>`;
}
-function UM(e, t) {
- let n = FM(e.media_error);
+function _M(e, t) {
+ let n = lM(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var WM = (e) => e.published_at ? Ex(e.published_at) : "时间未取得", GM = /* @__PURE__ */ new Set(), KM = [], qM = null;
-function JM() {
- if (qM = null, !KM.length) return;
- let e = KM.splice(0, 200);
+var vM = (e) => e.published_at ? Cx(e.published_at) : "时间未取得", yM = /* @__PURE__ */ new Set(), bM = [], xM = null;
+function SM() {
+ if (xM = null, !bM.length) return;
+ let e = bM.splice(0, 200);
t("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), KM.length && (qM = setTimeout(JM, 800));
+ }).catch(() => {}), bM.length && (xM = setTimeout(SM, 800));
}
-function Ide(e, t, n, r) {
+function pfe(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- GM.has(i) || (GM.add(i), KM.push(t === null ? {
+ yM.has(i) || (yM.add(i), bM.push(t === null ? {
item: e,
width: n,
height: r
@@ -38899,15 +38900,15 @@ function Ide(e, t, n, r) {
width: n,
height: r,
media: t
- }), qM ||= setTimeout(JM, 800));
+ }), xM ||= setTimeout(SM, 800));
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var Lde = (e) => Number(e) > 0;
-function Rde(e) {
+var mfe = (e) => Number(e) > 0;
+function hfe(e) {
return /^\d{4}-/.test(e) ? e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10) : e;
}
-function zde({ src: e, width: t, height: n, onLearn: r }) {
+function gfe({ src: e, width: t, height: n, onLearn: r }) {
let [i, a] = (0, L.useState)(!1);
return i ? null : /* @__PURE__ */ (0, R.jsx)("img", {
src: e,
@@ -38923,8 +38924,8 @@ function zde({ src: e, width: t, height: n, onLearn: r }) {
} : void 0
});
}
-function Bde(e) {
- let { group: t, authorSources: n, media: r, context: a, selected: s, selectMode: c, busy: u, failure: d, helpers: f, actions: p } = e, m = AM(t, r), h = r === "images", g = h ? (m.media_items || []).find((e) => e.media_kind === "image") : void 0, _ = g?.thumb_url || m.thumb_url || "", v = g && g.thumb_url === _ ? g : null, y = !v || _ === m.thumb_url, b = h ? [v, y ? m : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, x = h && !b && _ ? (e, t) => Ide(m.id, v ? v.index : null, e, t) : void 0, S = r === "videos" ? jM(t) : [], C = (m.media_items || []).length > 1 ? m.id : S[0]?.id || m.id, w = Dde({
+function _fe(e) {
+ let { group: t, authorSources: n, media: r, context: a, selected: s, selectMode: c, busy: u, failure: d, helpers: f, actions: p } = e, m = iM(t, r), h = r === "images", g = h ? (m.media_items || []).find((e) => e.media_kind === "image") : void 0, _ = g?.thumb_url || m.thumb_url || "", v = g && g.thumb_url === _ ? g : null, y = !v || _ === m.thumb_url, b = h ? [v, y ? m : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, x = h && !b && _ ? (e, t) => pfe(m.id, v ? v.index : null, e, t) : void 0, S = r === "videos" ? aM(t) : [], C = (m.media_items || []).length > 1 ? m.id : S[0]?.id || m.id, w = ife({
cover: _,
coverFace: (g?.thumb_url ? g : m).face,
stack: t.stack,
@@ -38932,7 +38933,7 @@ function Bde(e) {
limit: 9
}), T = (0, L.useRef)(w.faces);
T.current = w.faces;
- let E = Gb({
+ let E = Hb({
load: async () => T.current,
canFlip: () => T.current.length > 1 && p.canFlip(),
referrerPolicy: "no-referrer"
@@ -38940,7 +38941,7 @@ function Bde(e) {
D.current = E.onPointerLeave;
let O = (0, L.useCallback)((e) => {
e && (e._stopHover = () => D.current());
- }, []), k = BM(m, n, a), A = WM(m), j = (m.tags || []).slice(0, 3), M = UM(m, a), N = HM(t, m), P = m.status === "saved", ee = (e) => {
+ }, []), k = mM(m, n, a), A = vM(m), j = (m.tags || []).slice(0, 3), M = _M(m, a), N = gM(t, m), P = m.status === "saved", ee = (e) => {
if (!e.target.closest("[data-media-tag]")) {
if (c || e.shiftKey || e.ctrlKey || e.metaKey) {
e.preventDefault(), p.toggleSelection(m.id, e.shiftKey);
@@ -38974,14 +38975,14 @@ function Bde(e) {
"data-follow-open": "",
"aria-label": `打开 ${m.title} 详情`
}),
- _ ? /* @__PURE__ */ (0, R.jsx)(zde, {
+ _ ? /* @__PURE__ */ (0, R.jsx)(gfe, {
src: _,
width: b?.width,
height: b?.height,
onLearn: x
}, _) : /* @__PURE__ */ (0, R.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: LM(m.resource_provider || m.provider) }
+ dangerouslySetInnerHTML: { __html: dM(m.resource_provider || m.provider) }
}),
w.faces.length > 1 ? /* @__PURE__ */ (0, R.jsx)("div", {
"data-mix-faces": "",
@@ -39000,7 +39001,7 @@ function Bde(e) {
"data-media-badge": "",
title: m.provider_label,
"aria-label": `来源:${m.provider_label || ""}`,
- dangerouslySetInnerHTML: { __html: LM(m.provider) }
+ dangerouslySetInnerHTML: { __html: dM(m.provider) }
}),
/* @__PURE__ */ (0, R.jsx)("span", {
"data-media-check": "",
@@ -39009,7 +39010,7 @@ function Bde(e) {
},
dangerouslySetInnerHTML: { __html: l("check") }
}),
- Lde(m.duration) ? /* @__PURE__ */ (0, R.jsx)("span", {
+ mfe(m.duration) ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-media-duration": "",
children: o(m.duration)
}) : null,
@@ -39091,7 +39092,7 @@ function Bde(e) {
/* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: VM(t, m) + i(m.title) }
+ dangerouslySetInnerHTML: { __html: hM(t, m) + i(m.title) }
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
"data-follow-byline": "",
@@ -39102,7 +39103,7 @@ function Bde(e) {
}), /* @__PURE__ */ (0, R.jsx)("time", {
dateTime: m.published_at || "",
title: A,
- children: Rde(A)
+ children: hfe(A)
})]
}),
k.credited ? /* @__PURE__ */ (0, R.jsx)("div", {
@@ -39138,10 +39139,10 @@ function Bde(e) {
]
});
}
-var Vde = (0, L.memo)(Bde), YM = () => /* @__PURE__ */ (0, R.jsx)("span", {
+var vfe = (0, L.memo)(_fe), CM = () => /* @__PURE__ */ (0, R.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), Hde = Wb("settings"), Ude = Wb("chevron-down"), Wde = Wb("history"), Gde = [[
+}), yfe = Vb("settings"), bfe = Vb("chevron-down"), xfe = Vb("history"), Sfe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -39150,19 +39151,19 @@ var Vde = (0, L.memo)(Bde), YM = () => /* @__PURE__ */ (0, R.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function Kde(e, t, n) {
+function Cfe(e, t, n) {
return (0, L.useMemo)(() => {
let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();
a.forEach((e) => {
e.author_key && (d.has(e.author_key) || d.set(e.author_key, []), d.get(e.author_key).push(e));
});
- let f = TM([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = TM(o.works || [], (e) => e[0], n).slice(0, 24);
+ let f = $j([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = $j(o.works || [], (e) => e[0], n).slice(0, 24);
t.work && !p.some((e) => e[0] === t.work) && p.push([
t.work,
t.work,
0
]);
- let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = TM([...u], (e) => e[0], n).slice(0, 20);
+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = $j([...u], (e) => e[0], n).slice(0, 20);
t.tags.forEach((e) => {
h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);
});
@@ -39170,7 +39171,7 @@ function Kde(e, t, n) {
videos: 0,
images: 0
};
- r.forEach((e) => kM(e).forEach((e) => {
+ r.forEach((e) => rM(e).forEach((e) => {
g[e === "image" ? "images" : "videos"] += 1;
}));
let _ = t.media === "images" ? "image" : "video";
@@ -39185,7 +39186,7 @@ function Kde(e, t, n) {
workRows: p,
allCount: m,
mediaCounts: g,
- visible: r.filter((e) => kM(e).has(_)),
+ visible: r.filter((e) => rM(e).has(_)),
author: d.has(t.author) && s.has(t.author) ? t.author : "",
provider: l.has(t.provider) ? t.provider : "",
workNames: new Map((o.works || []).map((e) => [e[0], e[1]])),
@@ -39198,15 +39199,15 @@ function Kde(e, t, n) {
n
]);
}
-function qde(e) {
- let { view: t, seed: n, revision: r, helpers: i, actions: a } = e, o = xM(t, r), s = br(o), c = vr({
- queryKey: SM,
- queryFn: ({ signal: e }) => CM(e)
- }), l = (0, L.useMemo)(() => wM(s.data), [s.data]), u = (0, L.useMemo)(() => new Set((c.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [c.data]), d = (0, L.useMemo)(() => ({
+function wfe(e) {
+ let { view: t, seed: n, revision: r, helpers: i, actions: a } = e, o = Yj(t, r), s = wr(o), c = Sr({
+ queryKey: Xj,
+ queryFn: ({ signal: e }) => Zj(e)
+ }), l = (0, L.useMemo)(() => Qj(s.data), [s.data]), u = (0, L.useMemo)(() => new Set((c.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [c.data]), d = (0, L.useMemo)(() => ({
sources: l?.sources || [],
aliases: l?.author_aliases || [],
credentials: u
- }), [l, u]), f = Kde(l, t, n), p = s.isPending || s.isPlaceholderData, h = !p && !!l, g = (0, L.useMemo)(() => Fde(f.visible.flatMap(EM).map((e) => ({ tags: e.tags || [] }))), [f.visible]);
+ }), [l, u]), f = Cfe(l, t, n), p = s.isPending || s.isPlaceholderData, h = !p && !!l, g = (0, L.useMemo)(() => ffe(f.visible.flatMap(eM).map((e) => ({ tags: e.tags || [] }))), [f.visible]);
(0, L.useEffect)(() => {
h && a.loaded(g);
}, [
@@ -39214,20 +39215,20 @@ function qde(e) {
g,
a
]);
- let _ = Jde(e, !!l);
- if (!l) return s.isError ? /* @__PURE__ */ (0, R.jsx)(Db, {
+ let _ = Tfe(e, !!l);
+ if (!l) return s.isError ? /* @__PURE__ */ (0, R.jsx)(Pb, {
message: m(s.error),
onRetry: () => void s.refetch()
}) : null;
let v = (e) => a.route({
...t,
...e
- }), y = Ade({
+ }), y = sfe({
...t,
author: f.author,
provider: f.provider
}, {
- authors: new Map([...f.authorSources].map(([e, t]) => [e, RM(t, d)])),
+ authors: new Map([...f.authorSources].map(([e, t]) => [e, fM(t, d)])),
providers: f.providers,
works: f.workNames
}), b = t.status ? f.counts[t.status] || 0 : f.allCount, x = f.sources.some((e) => e.can_backfill);
@@ -39247,7 +39248,7 @@ function qde(e) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
- leadingIcon: Hde,
+ leadingIcon: yfe,
"data-follow-manage": "",
onClick: a.openManage,
children: "管理关注"
@@ -39264,20 +39265,20 @@ function qde(e) {
}) : null]
})]
}),
- /* @__PURE__ */ (0, R.jsx)(Yde, {
+ /* @__PURE__ */ (0, R.jsx)(Efe, {
facets: f,
pressed: f.author,
context: d,
props: e,
onPick: (e) => v({ author: f.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, R.jsx)(Xde, {
+ /* @__PURE__ */ (0, R.jsx)(Dfe, {
rows: f.workRows,
pressed: t.work,
props: e,
onPick: (e) => v({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, R.jsx)(Zde, {
+ /* @__PURE__ */ (0, R.jsx)(Ofe, {
facets: f,
view: t,
total: b,
@@ -39285,9 +39286,9 @@ function qde(e) {
props: e,
route: v
}),
- /* @__PURE__ */ (0, R.jsx)(Qde, {
+ /* @__PURE__ */ (0, R.jsx)(kfe, {
conditions: y,
- onDrop: (e) => a.route(jde(t, e)),
+ onDrop: (e) => a.route(cfe(t, e)),
onClear: () => v({
author: "",
provider: "",
@@ -39295,11 +39296,11 @@ function qde(e) {
tags: []
})
}),
- f.broken.length ? /* @__PURE__ */ (0, R.jsx)($de, {
+ f.broken.length ? /* @__PURE__ */ (0, R.jsx)(Afe, {
count: f.broken.length,
onManage: a.openManage
}) : null,
- /* @__PURE__ */ (0, R.jsx)(efe, {
+ /* @__PURE__ */ (0, R.jsx)(jfe, {
pending: p,
facets: f,
data: l,
@@ -39310,19 +39311,19 @@ function qde(e) {
"data-follow-pagination": "",
children: [l.has_more ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-follow-page-action": "",
- children: /* @__PURE__ */ (0, R.jsxs)(Xb, {
+ children: /* @__PURE__ */ (0, R.jsxs)(qb, {
entity: !0,
enabled: () => !_.busyRef.current,
load: async () => {
await s.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, R.jsx)(Ude, { className: "size-3.5" }), "加载更多"]
+ children: [/* @__PURE__ */ (0, R.jsx)(bfe, { className: "size-3.5" }), "加载更多"]
}, s.data?.pages.length)
}) : null, x ? /* @__PURE__ */ (0, R.jsxs)("span", {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
- leadingIcon: _.olderBusy ? void 0 : Wde,
+ leadingIcon: _.olderBusy ? void 0 : xfe,
"data-follow-older": "",
"aria-busy": _.busy || void 0,
onClick: () => void _.start(!0),
@@ -39332,14 +39333,14 @@ function qde(e) {
}), /* @__PURE__ */ (0, R.jsx)("span", { children: "抓取中…" })] }) : "抓更早的一页"
}), /* @__PURE__ */ (0, R.jsx)("span", {
"data-follow-backfill": "",
- children: Ode(f.sources)
+ children: afe(f.sources)
})]
}) : null]
}) : null
]
})] });
}
-function Jde(e, t) {
+function Tfe(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, L.useState)(0), [o, s] = (0, L.useState)(!1), [c, l] = (0, L.useState)(""), [u, d] = (0, L.useState)(!1), f = (0, L.useRef)(!1), p = (0, L.useRef)(null), h = (0, L.useRef)({
helpers: n,
actions: r
@@ -39354,7 +39355,7 @@ function Jde(e, t) {
return h.current.helpers.jobProgress({
host: e,
active: () => t,
- read: (e) => U(Mj, e),
+ read: (e) => U(oj, e),
busy: (e) => {
t && (f.current = e, s(e));
},
@@ -39379,7 +39380,7 @@ function Jde(e, t) {
f.current = !0, l(e ? "older" : "check");
let t = !1;
try {
- let n = await W(Mj, e ? {
+ let n = await W(oj, e ? {
older: !0,
background: !0
} : { background: !0 });
@@ -39397,7 +39398,7 @@ function Jde(e, t) {
olderBusy: c === "older" || u && o
};
}
-function Yde({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function Efe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
r.helpers.wireDrag(a.current);
@@ -39414,16 +39415,16 @@ function Yde({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
onClick: () => i(r),
children: [/* @__PURE__ */ (0, R.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: zM(a, RM(a, n)) }
+ dangerouslySetInnerHTML: { __html: pM(a, fM(a, n)) }
}), /* @__PURE__ */ (0, R.jsx)("span", {
"data-follow-name": "",
- children: RM(a, n)
+ children: fM(a, n)
})]
}, r);
})
}) : null;
}
-function Xde({ rows: e, pressed: t, props: n, onPick: r }) {
+function Dfe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -39444,13 +39445,13 @@ function Xde({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function Zde({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, L.useRef)(null), u = (0, L.useRef)(null), d = (0, L.useRef)(null), f = (0, L.useRef)(null), p = (0, L.useRef)(null), m = (0, L.useRef)(null), h = !!e.mediaCounts.images || t.media === "images", g = YO(c, d, "[data-follow-filter][aria-pressed=\"true\"]", t.status), _ = YO(u, f, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${h}`);
+function Ofe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: s } = i, c = (0, L.useRef)(null), u = (0, L.useRef)(null), d = (0, L.useRef)(null), f = (0, L.useRef)(null), p = (0, L.useRef)(null), m = (0, L.useRef)(null), h = !!e.mediaCounts.images || t.media === "images", g = nk(c, d, "[data-follow-filter][aria-pressed=\"true\"]", t.status), _ = nk(u, f, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${h}`);
(0, L.useEffect)(() => {
o.wireDrag(p.current), o.wireDrag(m.current), o.wireScroller(m.current);
}, [o]);
let v = [...e.providers], y = v.length + e.tagRows.length > 0, b = t.media === "images";
- return /* @__PURE__ */ (0, R.jsx)(HO, {
+ return /* @__PURE__ */ (0, R.jsx)(qO, {
label: "筛选与排序",
topLabel: h ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -39502,7 +39503,7 @@ function Zde({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: l(i) }
}, e);
})
- }), /* @__PURE__ */ (0, R.jsx)(YM, {})] }) : null, /* @__PURE__ */ (0, R.jsxs)("div", {
+ }), /* @__PURE__ */ (0, R.jsx)(CM, {})] }) : null, /* @__PURE__ */ (0, R.jsxs)("div", {
ref: p,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
@@ -39511,7 +39512,7 @@ function Zde({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"aria-label": "状态",
"data-entity-states": "",
onPointerLeave: g.leave,
- children: [xde.map(([e, n]) => /* @__PURE__ */ (0, R.jsx)("button", {
+ children: [Qde.map(([e, n]) => /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-entity-state": e,
"data-follow-filter": e,
@@ -39522,7 +39523,7 @@ function Zde({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), y ? /* @__PURE__ */ (0, R.jsx)(YM, {}) : null]
+ }, e)), y ? /* @__PURE__ */ (0, R.jsx)(CM, {}) : null]
}), /* @__PURE__ */ (0, R.jsxs)("div", {
ref: m,
"data-entity-tags": "",
@@ -39535,13 +39536,13 @@ function Zde({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
title: n,
"aria-label": `来源:${n}`,
onClick: () => a({ provider: e.provider === t ? "" : t }),
- dangerouslySetInnerHTML: { __html: LM(t) }
+ dangerouslySetInnerHTML: { __html: dM(t) }
}, t)),
- v.length && e.tagRows.length ? /* @__PURE__ */ (0, R.jsx)(YM, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, R.jsxs)(UO, {
+ v.length && e.tagRows.length ? /* @__PURE__ */ (0, R.jsx)(CM, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, R.jsxs)(JO, {
"data-follow-tag": n,
"data-entity-press": "",
- "data-tag-cat": `r34-${Mde(e.groups, n)}`,
+ "data-tag-cat": `r34-${lfe(e.groups, n)}`,
pressed: t.tags.includes(n),
onPress: () => a({ tags: t.tags.includes(n) ? t.tags.filter((e) => e !== n) : [...t.tags, n] }),
children: [o.tagLabel(n), r ? /* @__PURE__ */ (0, R.jsx)("span", {
@@ -39559,11 +39560,11 @@ function Zde({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
}), /* @__PURE__ */ (0, R.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, R.jsx)(ak, { onPress: s.shuffle }),
- b ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(ik, {
+ /* @__PURE__ */ (0, R.jsx)(fk, { onPress: s.shuffle }),
+ b ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(dk, {
label: "图片布局",
value: i.photoLayout,
- options: Gde,
+ options: Sfe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
@@ -39580,17 +39581,17 @@ function Zde({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: l("captions-off") }
})]
})] }) : null,
- Sde.map(([e, n]) => {
- let r = t.sort === e, i = Wb(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ $de.map(([e, n]) => {
+ let r = t.sort === e, i = Vb(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
"data-entity-sort": e,
"data-follow-sort": e,
"data-entity-press": "",
"aria-pressed": r,
- "aria-label": kde(e, n, t.sort, t.dir) || void 0,
+ "aria-label": ofe(e, n, t.sort, t.dir) || void 0,
onClick: () => {
- let n = NM(e, t.sort, t.dir);
+ let n = sM(e, t.sort, t.dir);
n && a(n);
},
children: [n, r ? /* @__PURE__ */ (0, R.jsx)(i, { className: "size-3.5" }) : null]
@@ -39600,7 +39601,7 @@ function Zde({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})] })
});
}
-function Qde({ conditions: e, onDrop: t, onClear: n }) {
+function kfe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -39625,7 +39626,7 @@ function Qde({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function $de({ count: e, onManage: t }) {
+function Afe({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -39634,12 +39635,12 @@ function $de({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${l("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function efe({ pending: e, facets: t, data: n, context: r, props: i }) {
- let { view: a, helpers: o } = i, s = a.media === "images", c = Eb(e, () => o.listSkeletonHtml(a.media));
+function jfe({ pending: e, facets: t, data: n, context: r, props: i }) {
+ let { view: a, helpers: o } = i, s = a.media === "images", c = Nb(e, () => o.listSkeletonHtml(a.media));
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": c.fading ? "" : void 0,
- children: [c.layer, e ? null : /* @__PURE__ */ (0, R.jsx)(tfe, {
+ children: [c.layer, e ? null : /* @__PURE__ */ (0, R.jsx)(Mfe, {
facets: t,
data: n,
context: r,
@@ -39648,39 +39649,39 @@ function efe({ pending: e, facets: t, data: n, context: r, props: i }) {
})]
});
}
-function tfe({ facets: e, data: t, context: n, props: r, images: i }) {
- let { view: a, helpers: o, actions: s } = r, c = ife(r), l = i ? {
+function Mfe({ facets: e, data: t, context: n, props: r, images: i }) {
+ let { view: a, helpers: o, actions: s } = r, c = Ffe(r), l = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
} : {}, u;
return u = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), l = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;
- return /* @__PURE__ */ (0, R.jsx)(Vde, {
+ return /* @__PURE__ */ (0, R.jsx)(vfe, {
group: t,
authorSources: l,
media: a.media,
context: n,
- selected: r.selected.has(XM(t, a)),
+ selected: r.selected.has(wM(t, a)),
selectMode: r.selectMode,
- busy: c.busy.get(XM(t, a)) || "",
- failure: c.failures.get(XM(t, a)) || "",
+ busy: c.busy.get(wM(t, a)) || "",
+ failure: c.failures.get(wM(t, a)) || "",
helpers: o,
actions: s,
onStatus: c.status,
onSave: c.save
}, `${u}:${a.media}`);
- }) : /* @__PURE__ */ (0, R.jsx)(nfe, { data: t }), /* @__PURE__ */ (0, R.jsx)("div", {
+ }) : /* @__PURE__ */ (0, R.jsx)(Nfe, { data: t }), /* @__PURE__ */ (0, R.jsx)("div", {
"data-follow-list": "",
"data-follow-wall": i ? "" : void 0,
...l,
children: u
});
}
-function XM(e, t) {
- return AM(e, t.media).id;
+function wM(e, t) {
+ return iM(e, t.media).id;
}
-function nfe({ data: e }) {
+function Nfe({ data: e }) {
let t = (e.groups || []).length ? C("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源或标签后再试。") : (e.sources || []).length ? C("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : C("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-follow-empty": "",
@@ -39688,36 +39689,36 @@ function nfe({ data: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-var rfe = {
+var Pfe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function ife(e) {
- let { view: t, revision: n, actions: r } = e, [i, a] = (0, L.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, L.useState)(() => /* @__PURE__ */ new Map()), c = xM(t, n).queryKey, l = (e, t, n) => n((n) => {
+function Ffe(e) {
+ let { view: t, revision: n, actions: r } = e, [i, a] = (0, L.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, L.useState)(() => /* @__PURE__ */ new Map()), c = Yj(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
}), u = (e, n) => {
- Y.setQueryData(c, (r) => r && PM(r, t, e, n));
+ Y.setQueryData(c, (r) => r && cM(r, t, e, n));
}, d = () => void Y.invalidateQueries({
queryKey: c,
exact: !0
}), f = (e) => {
- let t = wM(Y.getQueryData(c));
+ let t = Qj(Y.getQueryData(c));
for (let n of t?.groups || []) for (let t of [
n.primary,
...n.variants,
...n.duplicates
]) if (t.id === e) return t.status;
return "new";
- }, p = yr({
- mutationFn: ({ id: e, to: t }) => W(Ij, {
+ }, p = Cr({
+ mutationFn: ({ id: e, to: t }) => W(uj, {
item: e,
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(rfe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
- await W(Ij, {
+ u(t, n), d(), r.toast(Pfe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ await W(uj, {
item: t,
to: i
}), u(t, i), d();
@@ -39727,7 +39728,7 @@ function ife(e) {
l(t, m(e), s), r.failure("更新关注状态", e);
},
onSettled: (e, t, { id: n }) => l(n, "", a)
- }), h = yr({
+ }), h = Cr({
mutationFn: (e) => W("/api/follow/save", { item: e }),
onSuccess: (e, t) => {
u(t, "saved"), d(), r.toast("已保存到账本");
@@ -39762,8 +39763,8 @@ function ife(e) {
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function ZM({ provider: e, label: t }) {
- let n = _M(e), [r, i] = (0, L.useState)(!1);
+function TM({ provider: e, label: t }) {
+ let n = Gj(e), [r, i] = (0, L.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, R.jsx)(R.Fragment, { children: t }) : null : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("img", {
src: n,
alt: "",
@@ -39772,10 +39773,10 @@ function ZM({ provider: e, label: t }) {
loading: "lazy",
onError: () => i(!0),
className: "size-3.5 shrink-0 rounded-sm object-contain"
- }), t ? /* @__PURE__ */ (0, R.jsx)(Xu, { children: t }) : null] });
+ }), t ? /* @__PURE__ */ (0, R.jsx)(ed, { children: t }) : null] });
}
-function QM({ group: e, name: t }) {
- let { src: n, fallback: r } = Qj(e), [i, a] = (0, L.useState)(0), o = [n, r].filter(Boolean)[i];
+function EM({ group: e, name: t }) {
+ let { src: n, fallback: r } = Ej(e), [i, a] = (0, L.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, R.jsx)("img", {
src: o,
alt: "",
@@ -39788,18 +39789,18 @@ function QM({ group: e, name: t }) {
}) : /* @__PURE__ */ (0, R.jsx)("span", {
title: "没有可用头像",
className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",
- children: Zj(t)
+ children: Tj(t)
});
}
-function $M({ source: e }) {
- let t = Gj(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, R.jsx)(ia, {
+function DM({ source: e }) {
+ let t = yj(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+ return /* @__PURE__ */ (0, R.jsx)(ca, {
variant: "caption",
color: t,
- children: ede(e)
+ children: jde(e)
});
}
-function eN({ source: e }) {
+function OM({ source: e }) {
return /* @__PURE__ */ (0, R.jsx)("a", {
href: e.url,
target: "_blank",
@@ -39811,11 +39812,11 @@ function eN({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var tN = ta(Ny, Py, "text-body-2-medium"), afe = "粘贴来源链接,或输入创作者名、id…", ofe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", sfe = "识别中…", cfe = "站内没有查到来源", nN = (e, t) => `${e}:${t.url}`;
-function lfe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var kM = aa(Ly, Ry, "text-body-2-medium"), Ife = "粘贴来源链接,或输入创作者名、id…", Lfe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Rfe = "识别中…", zfe = "站内没有查到来源", AM = (e, t) => `${e}:${t.url}`;
+function Bfe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, L.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, R.jsxs)(ig, {
+ }, [t, r]), /* @__PURE__ */ (0, R.jsxs)(cg, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -39827,17 +39828,17 @@ function lfe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: ta(My, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: aa(Py, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, R.jsx)(ya, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, R.jsx)(Ca, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, R.jsxs)(L.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, R.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
}), /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? ta(tN, "bg-background-secondary-default") : tN,
+ className: t === r ? aa(kM, "bg-background-secondary-default") : kM,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -39857,7 +39858,7 @@ function lfe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function ufe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function Vfe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, L.useRef)(null), [a, o] = (0, L.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {
let i = new Set(t);
r ? i.delete(e) : i.add(e), n(i);
@@ -39865,20 +39866,20 @@ function ufe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(V, {
ref: i,
variant: "secondary",
- leadingIcon: St,
+ leadingIcon: Et,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, R.jsx)(ig, {
+ }), /* @__PURE__ */ (0, R.jsx)(cg, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: My,
- children: /* @__PURE__ */ (0, R.jsxs)($g, {
+ className: Py,
+ children: /* @__PURE__ */ (0, R.jsxs)(a_, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
@@ -39894,16 +39895,16 @@ function ufe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, R.jsx)(qy, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, R.jsx)(tb, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)(CO, {
+ children: [/* @__PURE__ */ (0, R.jsx)(EO, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, R.jsx)(ZM, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, R.jsx)(TM, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, R.jsx)(V, {
variant: "ghost",
@@ -39919,7 +39920,7 @@ function ufe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function dfe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function Hfe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
title: e.line,
@@ -39927,7 +39928,7 @@ function dfe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
});
let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: ga({
+ className: ba({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -39938,15 +39939,15 @@ function dfe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = nN(t, e);
- return /* @__PURE__ */ (0, R.jsx)(CO, {
+ let n = AM(t, e);
+ return /* @__PURE__ */ (0, R.jsx)(EO, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, R.jsx)(ZM, { provider: e.provider }),
+ /* @__PURE__ */ (0, R.jsx)(TM, { provider: e.provider }),
/* @__PURE__ */ (0, R.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -39962,22 +39963,22 @@ function dfe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, R.jsx)(qy, { children: cfe }),
+ }) : /* @__PURE__ */ (0, R.jsx)(tb, { children: zfe }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, R.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, R.jsx)(Xy, {
+ }), /* @__PURE__ */ (0, R.jsx)(ib, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, R.jsx)(qy, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, R.jsx)(tb, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function ffe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function Ufe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, L.useState)(""), [s, c] = (0, L.useState)(""), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(!1), [p, m] = (0, L.useState)(null), [h, g] = (0, L.useState)(-1), _ = (0, L.useRef)(null), v = (0, L.useRef)(null), [y, b] = (0, L.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, L.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, L.useState)(""), [T, E] = (0, L.useState)(0);
(0, L.useEffect)(() => {
let e = a.trim();
@@ -39988,19 +39989,19 @@ function ffe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = setTimeout(() => u(e), 250);
return () => clearTimeout(t);
}, [a]);
- let D = vr({
- queryKey: Jue(l),
- queryFn: ({ signal: e }) => ode(l, e),
+ let D = Sr({
+ queryKey: Tde(l),
+ queryFn: ({ signal: e }) => Lde(l, e),
enabled: l.length > 0 && d
}), O = (0, L.useMemo)(() => (D.data?.groups || []).flatMap((e) => e.items.map((t) => ({
value: t.value,
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = yO({
- queryKey: que,
- queryFn: ({ signal: e }) => ade(e),
- start: (e) => sde([e]),
+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = SO({
+ queryKey: wde,
+ queryFn: ({ signal: e }) => Ide(e),
+ start: (e) => Rde([e]),
onStarted: () => S(/* @__PURE__ */ new Set()),
onError: (e) => w(H(e)),
onFinish: (e) => {
@@ -40034,14 +40035,14 @@ function ffe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, re = j?.results || [], ie = re.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: nN(t, e)
- })).filter((e) => !x.has(e.key))), ae = yr({
+ key: AM(t, e)
+ })).filter((e) => !x.has(e.key))), ae = Cr({
mutationFn: async (e) => {
let t = [], n = [];
E(0);
for (let r of e) {
try {
- let e = await cde(r.candidate);
+ let e = await zde(r.candidate);
n.push(e.source);
} catch (e) {
t.push(`${r.candidate.label}:${H(e)}`);
@@ -40049,7 +40050,7 @@ function ffe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
E((e) => e + 1);
}
if (n.length) try {
- await aM(n);
+ await Nj(n);
} catch (e) {
t.push(H(e));
}
@@ -40059,7 +40060,7 @@ function ffe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
};
},
onSuccess: (e) => {
- if (hM(), e.failures.length) {
+ if (Uj(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -40068,7 +40069,7 @@ function ffe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onError: (e) => w(H(e))
}), oe = e.suggestions || [], se = !s.includes("/");
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: ga({
+ className: ba({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -40088,15 +40089,15 @@ function ffe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);
},
- children: [/* @__PURE__ */ (0, R.jsx)(jy, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Ny, {
"aria-label": "来源链接、名字或 id",
- placeholder: afe,
+ placeholder: Ife,
value: a,
- leadingIcon: Ft,
+ leadingIcon: zt,
isDisabled: n,
onChange: o,
onKeyDown: ne
- }), F ? /* @__PURE__ */ (0, R.jsx)(lfe, {
+ }), F ? /* @__PURE__ */ (0, R.jsx)(Bfe, {
field: _,
menu: v,
options: O,
@@ -40106,7 +40107,7 @@ function ffe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: te
}) : null]
}),
- /* @__PURE__ */ (0, R.jsx)(ufe, {
+ /* @__PURE__ */ (0, R.jsx)(Vfe, {
credentials: t,
hidden: y,
onHidden: b,
@@ -40124,9 +40125,9 @@ function ffe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, R.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || M.isPending ? /* @__PURE__ */ (0, R.jsx)(hO, {
+ children: [A || M.isPending ? /* @__PURE__ */ (0, R.jsx)(vO, {
embedded: !0,
- label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : se ? ofe : sfe),
+ label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : se ? Lfe : Rfe),
value: k?.checked,
total: k?.total
}) : null, C ? /* @__PURE__ */ (0, R.jsx)(G, {
@@ -40138,8 +40139,8 @@ function ffe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
re.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, R.jsx)(Yy, { children: "查找结果" }),
- re.map((e, t) => /* @__PURE__ */ (0, R.jsx)(dfe, {
+ /* @__PURE__ */ (0, R.jsx)(rb, { children: "查找结果" }),
+ re.map((e, t) => /* @__PURE__ */ (0, R.jsx)(Hfe, {
row: e,
at: t,
hidden: y,
@@ -40194,16 +40195,16 @@ function ffe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var pfe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, rN = (e) => e.alias;
-function mfe(e, t, n) {
+var Wfe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, jM = (e) => e.alias;
+function MM(e, t, n) {
let r = n ? `name:${n}` : "", i = r ? e.find((e) => e.author_key === r) : e.find((e) => e.author_name === t || e.entity_name === t);
return i ? e.filter((e) => e.author_key === i.author_key) : [];
}
-function iN({ sources: e, name: t, canonicalKey: n }) {
+function NM({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)(QM, {
- group: mfe(e, t, n),
+ children: [/* @__PURE__ */ (0, R.jsx)(EM, {
+ group: MM(e, t, n),
name: t
}), /* @__PURE__ */ (0, R.jsx)("b", {
className: "text-body-medium",
@@ -40211,15 +40212,15 @@ function iN({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function hfe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
- let [a, o] = (0, L.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, L.useState)(""), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(""), p = yr({
+function PM({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+ let [a, o] = (0, L.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, L.useState)(""), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(""), p = Cr({
mutationFn: async (e) => {
let t = 0;
for (let n of e) {
try {
- await cM(n.canonical, n.alias);
+ await Ij(n.canonical, n.alias);
} catch (n) {
- throw t && hM(), Error(`${H(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && Uj(), Error(`${H(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -40229,19 +40230,19 @@ function hfe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- c(""), o(/* @__PURE__ */ new Set()), hM(), i(`已合并 ${e.done} 组创作者别名`);
+ c(""), o(/* @__PURE__ */ new Set()), Uj(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => c(H(e))
- }), m = yr({
- mutationFn: (e) => cM(e.canonical, e.alias),
+ }), m = Cr({
+ mutationFn: (e) => Ij(e.canonical, e.alias),
onSuccess: () => {
- c(""), u(""), f(""), hM(), i("已保存创作者别名");
+ c(""), u(""), f(""), Uj(), i("已保存创作者别名");
},
onError: (e) => c(H(e))
- }), h = yr({
- mutationFn: (e) => lde(e),
+ }), h = Cr({
+ mutationFn: (e) => Bde(e),
onSuccess: () => {
- c(""), hM(), i("已移除创作者别名");
+ c(""), Uj(), i("已移除创作者别名");
},
onError: (e) => c(H(e))
}), g = (e, t) => {
@@ -40251,9 +40252,9 @@ function hfe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, _ = t.filter((e) => a.has(rN(e))), v = t.length > 0 && _.length === t.length, y = K(p.isPending);
+ }, _ = t.filter((e) => a.has(jM(e))), v = t.length > 0 && _.length === t.length, y = K(p.isPending);
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: ga({
+ className: ba({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -40264,10 +40265,10 @@ function hfe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)(Yy, { children: "手动添加别名" }), /* @__PURE__ */ (0, R.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, R.jsx)(rb, { children: "手动添加别名" }), /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -40275,7 +40276,7 @@ function hfe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -40296,13 +40297,13 @@ function hfe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, R.jsx)(nb, { children: s }) : null,
t.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(Yy, { children: "待合并" }),
+ /* @__PURE__ */ (0, R.jsx)(rb, { children: "待合并" }),
/* @__PURE__ */ (0, R.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -40324,44 +40325,44 @@ function hfe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, R.jsx)(EO, { children: /* @__PURE__ */ (0, R.jsxs)(wO, {
+ }), /* @__PURE__ */ (0, R.jsx)(kO, { children: /* @__PURE__ */ (0, R.jsxs)(DO, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, R.jsxs)(ly, { children: [
- /* @__PURE__ */ (0, R.jsx)(uy, {
+ children: [/* @__PURE__ */ (0, R.jsxs)(dy, { children: [
+ /* @__PURE__ */ (0, R.jsx)(fy, {
id: "select",
- children: /* @__PURE__ */ (0, R.jsx)(CO, {
+ children: /* @__PURE__ */ (0, R.jsx)(EO, {
slot: null,
isSelected: v,
isIndeterminate: _.length > 0 && !v,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(rN)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(jM)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, R.jsx)(uy, {
+ /* @__PURE__ */ (0, R.jsx)(fy, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, R.jsx)(uy, {
+ /* @__PURE__ */ (0, R.jsx)(fy, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, R.jsx)(uy, {
+ /* @__PURE__ */ (0, R.jsx)(fy, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, R.jsx)(uy, {
+ /* @__PURE__ */ (0, R.jsx)(fy, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, R.jsx)(fy, { children: t.map((e) => {
- let t = rN(e);
- return /* @__PURE__ */ (0, R.jsxs)(hy, {
+ ] }), /* @__PURE__ */ (0, R.jsx)(my, { children: t.map((e) => {
+ let t = jM(e);
+ return /* @__PURE__ */ (0, R.jsxs)(_y, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, R.jsx)(_y, { children: /* @__PURE__ */ (0, R.jsx)(CO, {
+ /* @__PURE__ */ (0, R.jsx)(yy, { children: /* @__PURE__ */ (0, R.jsx)(EO, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -40370,16 +40371,16 @@ function hfe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, R.jsx)(_y, { children: /* @__PURE__ */ (0, R.jsx)(iN, {
+ /* @__PURE__ */ (0, R.jsx)(yy, { children: /* @__PURE__ */ (0, R.jsx)(NM, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, R.jsx)(_y, { children: e.alias }),
- /* @__PURE__ */ (0, R.jsx)(_y, { children: /* @__PURE__ */ (0, R.jsx)("span", {
+ /* @__PURE__ */ (0, R.jsx)(yy, { children: e.alias }),
+ /* @__PURE__ */ (0, R.jsx)(yy, { children: /* @__PURE__ */ (0, R.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, R.jsx)(_y, { children: /* @__PURE__ */ (0, R.jsx)(V, {
+ /* @__PURE__ */ (0, R.jsx)(yy, { children: /* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
size: "small",
disabled: r,
@@ -40396,27 +40397,27 @@ function hfe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)(Yy, { children: "已保存别名" }), /* @__PURE__ */ (0, R.jsx)("span", {
+ children: [/* @__PURE__ */ (0, R.jsx)(rb, { children: "已保存别名" }), /* @__PURE__ */ (0, R.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, R.jsx)(EO, { children: /* @__PURE__ */ (0, R.jsxs)(wO, {
+ }), e.length ? /* @__PURE__ */ (0, R.jsx)(kO, { children: /* @__PURE__ */ (0, R.jsxs)(DO, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, R.jsxs)(ly, { children: [/* @__PURE__ */ (0, R.jsx)(uy, {
+ children: [/* @__PURE__ */ (0, R.jsxs)(dy, { children: [/* @__PURE__ */ (0, R.jsx)(fy, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, R.jsx)(uy, {
+ }), /* @__PURE__ */ (0, R.jsx)(fy, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, R.jsx)(fy, { children: e.map((e) => /* @__PURE__ */ (0, R.jsxs)(hy, {
+ })] }), /* @__PURE__ */ (0, R.jsx)(my, { children: e.map((e) => /* @__PURE__ */ (0, R.jsxs)(_y, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, R.jsx)(_y, { children: /* @__PURE__ */ (0, R.jsx)(iN, {
+ children: [/* @__PURE__ */ (0, R.jsx)(yy, { children: /* @__PURE__ */ (0, R.jsx)(NM, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, R.jsx)(_y, { children: /* @__PURE__ */ (0, R.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, R.jsx)(yy, { children: /* @__PURE__ */ (0, R.jsx)("span", {
className: "flex flex-wrap items-center gap-1.5",
children: e.aliases.map((e) => /* @__PURE__ */ (0, R.jsxs)("span", {
className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",
@@ -40424,13 +40425,13 @@ function hfe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: ht,
+ leadingIcon: yt,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...K(h.isPending),
onClick: () => void b({
title: "移除创作者别名",
- body: pfe(e.name),
+ body: Wfe(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => h.mutateAsync(e.name)
})
@@ -40438,9 +40439,9 @@ function hfe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, R.jsx)(va, {
+ }) }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: Vt,
+ icon: Gt,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -40450,33 +40451,33 @@ function hfe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var gfe = "这些账号信息存在哪里", _fe = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", vfe = "将清除这个来源在本机和共享副本中的登录凭据。", yfe = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function bfe(e, t) {
+var FM = "这些账号信息存在哪里", IM = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", LM = "将清除这个来源在本机和共享副本中的登录凭据。", RM = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function zM(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function xfe({ row: e }) {
- if (vM(e)) return /* @__PURE__ */ (0, R.jsx)(ia, {
+function BM({ row: e }) {
+ if (Kj(e)) return /* @__PURE__ */ (0, R.jsx)(ca, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, R.jsx)(ia, {
+ return /* @__PURE__ */ (0, R.jsx)(ca, {
variant: "caption",
color: t,
- children: bde[e.requirement] || ""
+ children: Zde[e.requirement] || ""
});
}
-function Sfe({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, L.useState)({}), [a, o] = (0, L.useState)(""), s = vM(e), c = yr({
- mutationFn: (t) => ude(e.provider, t),
+function VM({ row: e, readOnly: t, toast: n }) {
+ let [r, i] = (0, L.useState)({}), [a, o] = (0, L.useState)(""), s = Kj(e), c = Cr({
+ mutationFn: (t) => Vde(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
o(e.note);
return;
}
o(""), i({}), Y.invalidateQueries({
- queryKey: zj,
+ queryKey: pj,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -40492,17 +40493,17 @@ function Sfe({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, R.jsxs)(qy, { children: [e.why, e.where ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [" ", /* @__PURE__ */ (0, R.jsx)(Xy, {
+ /* @__PURE__ */ (0, R.jsxs)(tb, { children: [e.why, e.where ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [" ", /* @__PURE__ */ (0, R.jsx)(ib, {
href: e.where,
children: "去取"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, R.jsx)(qy, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, R.jsx)(tb, { children: e.howto }) : null,
/* @__PURE__ */ (0, R.jsx)("div", {
className: "flex w-full flex-col gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, R.jsx)(jy, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, R.jsx)(Ny, {
type: "password",
label: n,
- placeholder: bfe(e, n),
+ placeholder: zM(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -40530,7 +40531,7 @@ function Sfe({ row: e, readOnly: t, toast: n }) {
...K(c.isPending),
onClick: () => void b({
title: "清除来源凭据",
- body: vfe,
+ body: LM,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -40538,9 +40539,9 @@ function Sfe({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, R.jsx)(qy, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, R.jsx)(mO, {
+ a ? /* @__PURE__ */ (0, R.jsx)(nb, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, R.jsx)(tb, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, R.jsx)(_O, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -40548,25 +40549,25 @@ function Sfe({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
title: "凭据文件权限过宽",
- children: yfe
+ children: RM
}) : null
]
});
}
-function Cfe({ row: e, readOnly: t, toast: n }) {
+function HM({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
children: [
/* @__PURE__ */ (0, R.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, R.jsx)(ZM, { provider: e.provider })
+ children: /* @__PURE__ */ (0, R.jsx)(TM, { provider: e.provider })
}),
/* @__PURE__ */ (0, R.jsx)("b", {
className: "text-body-medium text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, R.jsx)(xfe, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, R.jsx)(ia, {
+ /* @__PURE__ */ (0, R.jsx)(BM, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, R.jsx)(ca, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -40575,13 +40576,13 @@ function Cfe({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, R.jsx)(qy, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, R.jsx)(tb, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, /* @__PURE__ */ (0, R.jsx)($y, {
- summary: vM(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !vM(e),
- children: /* @__PURE__ */ (0, R.jsx)(Sfe, {
+ children: [r, /* @__PURE__ */ (0, R.jsx)(sb, {
+ summary: Kj(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !Kj(e),
+ children: /* @__PURE__ */ (0, R.jsx)(VM, {
row: e,
readOnly: t,
toast: n
@@ -40589,10 +40590,10 @@ function Cfe({ row: e, readOnly: t, toast: n }) {
})]
});
}
-function wfe({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !vM(e));
+function UM({ data: e, readOnly: t, toast: n }) {
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !Kj(e));
return r.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
- className: ga({
+ className: ba({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -40627,12 +40628,12 @@ function wfe({ data: e, readOnly: t, toast: n }) {
className: "text-body-medium text-text-secondary",
children: e.title
}), /* @__PURE__ */ (0, R.jsx)("div", {
- className: ga({
+ className: ba({
variant: "outlined",
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, R.jsx)(Cfe, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, R.jsx)(HM, {
row: e,
readOnly: t,
toast: n
@@ -40644,13 +40645,13 @@ function wfe({ data: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, R.jsx)("b", {
className: "text-body-medium text-text-primary",
- children: gfe
+ children: FM
}),
/* @__PURE__ */ (0, R.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: _fe
+ children: IM
}),
- /* @__PURE__ */ (0, R.jsx)(mO, {
+ /* @__PURE__ */ (0, R.jsx)(_O, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -40659,16 +40660,16 @@ function wfe({ data: e, readOnly: t, toast: n }) {
]
})
]
- }) : /* @__PURE__ */ (0, R.jsx)(va, {
+ }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: kt,
+ icon: Nt,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function aN() {
+function WM() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -40681,24 +40682,24 @@ function aN() {
group: (e) => e
};
}
-function oN(e, t) {
+function GM(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function sN(e, t) {
+function KM(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: oN(n, t[e])
+ [e]: GM(n, t[e])
}));
};
}
-function cN(e) {
+function qM(e) {
return e instanceof Function;
}
-function Tfe(e) {
+function JM(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function Efe(e, t) {
+function YM(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -40708,7 +40709,7 @@ function Efe(e, t) {
};
return r(e), n;
}
-function lN(e, t, n) {
+function XM(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -40730,21 +40731,21 @@ function lN(e, t, n) {
return i;
};
}
-function uN(e, t, n, r) {
+function ZM(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function Dfe(e, t, n, r) {
+function QM(e, t, n, r) {
let i = {
id: `${t.id}_${n.id}`,
row: t,
column: n,
getValue: () => t.getValue(r),
renderValue: () => i.getValue() ?? e.options.renderFallbackValue,
- getContext: lN(() => [
+ getContext: XM(() => [
e,
n,
t,
@@ -40756,13 +40757,13 @@ function Dfe(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), uN(e.options, "debugCells", "cell.getContext"))
+ }), ZM(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function Ofe(e, t, n, r) {
+function $M(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -40779,17 +40780,17 @@ function Ofe(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: lN(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], uN(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: lN(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: XM(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], ZM(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: XM(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, uN(e.options, "debugColumns", "column.getLeafColumns"))
+ }, ZM(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var dN = "debugHeaders";
-function fN(e, t, n) {
+var eN = "debugHeaders";
+function tN(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -40817,42 +40818,42 @@ function fN(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var kfe = { createTable: (e) => {
- e.getHeaderGroups = lN(() => [
+var nN = { createTable: (e) => {
+ e.getHeaderGroups = XM(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (t, n, r, i) => {
let a = r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], o = i?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], s = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id)));
- return pN(t, [
+ return rN(t, [
...a,
...s,
...o
], e);
- }, uN(e.options, dN, "getHeaderGroups")), e.getCenterHeaderGroups = lN(() => [
+ }, ZM(e.options, eN, "getHeaderGroups")), e.getCenterHeaderGroups = XM(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
- ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), pN(t, n, e, "center")), uN(e.options, dN, "getCenterHeaderGroups")), e.getLeftHeaderGroups = lN(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), rN(t, n, e, "center")), ZM(e.options, eN, "getCenterHeaderGroups")), e.getLeftHeaderGroups = XM(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => pN(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), uN(e.options, dN, "getLeftHeaderGroups")), e.getRightHeaderGroups = lN(() => [
+ ], (t, n, r) => rN(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), ZM(e.options, eN, "getLeftHeaderGroups")), e.getRightHeaderGroups = XM(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => pN(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), uN(e.options, dN, "getRightHeaderGroups")), e.getFooterGroups = lN(() => [e.getHeaderGroups()], (e) => [...e].reverse(), uN(e.options, dN, "getFooterGroups")), e.getLeftFooterGroups = lN(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), uN(e.options, dN, "getLeftFooterGroups")), e.getCenterFooterGroups = lN(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), uN(e.options, dN, "getCenterFooterGroups")), e.getRightFooterGroups = lN(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), uN(e.options, dN, "getRightFooterGroups")), e.getFlatHeaders = lN(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), uN(e.options, dN, "getFlatHeaders")), e.getLeftFlatHeaders = lN(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), uN(e.options, dN, "getLeftFlatHeaders")), e.getCenterFlatHeaders = lN(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), uN(e.options, dN, "getCenterFlatHeaders")), e.getRightFlatHeaders = lN(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), uN(e.options, dN, "getRightFlatHeaders")), e.getCenterLeafHeaders = lN(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => rN(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), ZM(e.options, eN, "getRightHeaderGroups")), e.getFooterGroups = XM(() => [e.getHeaderGroups()], (e) => [...e].reverse(), ZM(e.options, eN, "getFooterGroups")), e.getLeftFooterGroups = XM(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), ZM(e.options, eN, "getLeftFooterGroups")), e.getCenterFooterGroups = XM(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), ZM(e.options, eN, "getCenterFooterGroups")), e.getRightFooterGroups = XM(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), ZM(e.options, eN, "getRightFooterGroups")), e.getFlatHeaders = XM(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), ZM(e.options, eN, "getFlatHeaders")), e.getLeftFlatHeaders = XM(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), ZM(e.options, eN, "getLeftFlatHeaders")), e.getCenterFlatHeaders = XM(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), ZM(e.options, eN, "getCenterFlatHeaders")), e.getRightFlatHeaders = XM(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), ZM(e.options, eN, "getRightFlatHeaders")), e.getCenterLeafHeaders = XM(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), uN(e.options, dN, "getCenterLeafHeaders")), e.getLeftLeafHeaders = lN(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), ZM(e.options, eN, "getCenterLeafHeaders")), e.getLeftLeafHeaders = XM(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), uN(e.options, dN, "getLeftLeafHeaders")), e.getRightLeafHeaders = lN(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), ZM(e.options, eN, "getLeftLeafHeaders")), e.getRightLeafHeaders = XM(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), uN(e.options, dN, "getRightLeafHeaders")), e.getLeafHeaders = lN(() => [
+ }), ZM(e.options, eN, "getRightLeafHeaders")), e.getLeafHeaders = XM(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -40860,9 +40861,9 @@ var kfe = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), uN(e.options, dN, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), ZM(e.options, eN, "getLeafHeaders"));
} };
-function pN(e, t, n, r) {
+function rN(e, t, n, r) {
let i = 0, a = function(e, t) {
t === void 0 && (t = 1), i = Math.max(i, t), e.filter((e) => e.getIsVisible()).forEach((e) => {
var n;
@@ -40880,7 +40881,7 @@ function pN(e, t, n, r) {
let o = [...a].reverse()[0], s = e.column.depth === i.depth, c, l = !1;
if (s && e.column.parent ? c = e.column.parent : (c = e.column, l = !0), o && o?.column === c) o.subHeaders.push(e);
else {
- let i = fN(n, c, {
+ let i = tN(n, c, {
id: [
r,
t,
@@ -40897,7 +40898,7 @@ function pN(e, t, n, r) {
i.headers.push(e), e.headerGroup = i;
}), o.push(i), t > 0 && s(a, t - 1);
};
- s(t.map((e, t) => fN(n, e, {
+ s(t.map((e, t) => tN(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -40915,7 +40916,7 @@ function pN(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var Afe = (e, t, n, r, i, a, o) => {
+var iN = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -40936,7 +40937,7 @@ var Afe = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => Efe(s.subRows, (e) => e.subRows),
+ getLeafRows: () => YM(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -40947,95 +40948,95 @@ var Afe = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: lN(() => [e.getAllLeafColumns()], (t) => t.map((t) => Dfe(e, s, t, t.id)), uN(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: lN(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), uN(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: XM(() => [e.getAllLeafColumns()], (t) => t.map((t) => QM(e, s, t, t.id)), ZM(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: XM(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), ZM(e.options, "debugRows", "getAllCellsByColumnId"))
};
for (let t = 0; t < e._features.length; t++) {
let n = e._features[t];
n == null || n.createRow == null || n.createRow(s, e);
}
return s;
-}, jfe = { createColumn: (e, t) => {
+}, aN = { createColumn: (e, t) => {
e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {
if (e._getFacetedMinMaxValues) return e._getFacetedMinMaxValues();
};
-} }, mN = (e, t, n) => {
+} }, oN = (e, t, n) => {
var r, i;
let a = n == null || (r = n.toString()) == null ? void 0 : r.toLowerCase();
return !!((i = e.getValue(t)) != null && (i = i.toString()) != null && (i = i.toLowerCase()) != null && i.includes(a));
};
-mN.autoRemove = (e) => wN(e);
-var hN = (e, t, n) => {
+oN.autoRemove = (e) => gN(e);
+var sN = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-hN.autoRemove = (e) => wN(e);
-var gN = (e, t, n) => {
+sN.autoRemove = (e) => gN(e);
+var cN = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-gN.autoRemove = (e) => wN(e);
-var _N = (e, t, n) => e.getValue(t)?.includes(n);
-_N.autoRemove = (e) => wN(e);
-var vN = (e, t, n) => !n.some((n) => {
+cN.autoRemove = (e) => gN(e);
+var lN = (e, t, n) => e.getValue(t)?.includes(n);
+lN.autoRemove = (e) => gN(e);
+var uN = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-vN.autoRemove = (e) => wN(e) || !(e != null && e.length);
-var yN = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-yN.autoRemove = (e) => wN(e) || !(e != null && e.length);
-var bN = (e, t, n) => e.getValue(t) === n;
-bN.autoRemove = (e) => wN(e);
-var xN = (e, t, n) => e.getValue(t) == n;
-xN.autoRemove = (e) => wN(e);
-var SN = (e, t, n) => {
+uN.autoRemove = (e) => gN(e) || !(e != null && e.length);
+var dN = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+dN.autoRemove = (e) => gN(e) || !(e != null && e.length);
+var fN = (e, t, n) => e.getValue(t) === n;
+fN.autoRemove = (e) => gN(e);
+var pN = (e, t, n) => e.getValue(t) == n;
+pN.autoRemove = (e) => gN(e);
+var mN = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-SN.resolveFilterValue = (e) => {
+mN.resolveFilterValue = (e) => {
let [t, n] = e, r = typeof t == "number" ? t : parseFloat(t), i = typeof n == "number" ? n : parseFloat(n), a = t === null || Number.isNaN(r) ? -Infinity : r, o = n === null || Number.isNaN(i) ? Infinity : i;
if (a > o) {
let e = a;
a = o, o = e;
}
return [a, o];
-}, SN.autoRemove = (e) => wN(e) || wN(e[0]) && wN(e[1]);
-var CN = {
- includesString: mN,
- includesStringSensitive: hN,
- equalsString: gN,
- arrIncludes: _N,
- arrIncludesAll: vN,
- arrIncludesSome: yN,
- equals: bN,
- weakEquals: xN,
- inNumberRange: SN
+}, mN.autoRemove = (e) => gN(e) || gN(e[0]) && gN(e[1]);
+var hN = {
+ includesString: oN,
+ includesStringSensitive: sN,
+ equalsString: cN,
+ arrIncludes: lN,
+ arrIncludesAll: uN,
+ arrIncludesSome: dN,
+ equals: fN,
+ weakEquals: pN,
+ inNumberRange: mN
};
-function wN(e) {
+function gN(e) {
return e == null || e === "";
}
-var Mfe = {
+var _N = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: sN("columnFilters", e),
+ onColumnFiltersChange: KM("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? CN.includesString : typeof n == "number" ? CN.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? CN.equals : Array.isArray(n) ? CN.arrIncludes : CN.weakEquals;
- }, e.getFilterFn = () => cN(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? CN[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
+ return typeof n == "string" ? hN.includesString : typeof n == "number" ? hN.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? hN.equals : Array.isArray(n) ? hN.arrIncludes : hN.weakEquals;
+ }, e.getFilterFn = () => qM(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? hN[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
var n;
return (n = t.getState().columnFilters) == null || (n = n.find((t) => t.id === e.id)) == null ? void 0 : n.value;
}, e.getFilterIndex = () => t.getState().columnFilters?.findIndex((t) => t.id === e.id) ?? -1, e.setFilterValue = (n) => {
t.setColumnFilters((t) => {
- let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = oN(n, i ? i.value : void 0);
- if (TN(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = GM(n, i ? i.value : void 0);
+ if (vN(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -41050,19 +41051,19 @@ var Mfe = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => oN(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => GM(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && TN(t.getFilterFn(), e.value, t));
+ return !(t && vN(t.getFilterFn(), e.value, t));
}));
}, e.resetColumnFilters = (t) => {
e.setColumnFilters(t ? [] : e.initialState?.columnFilters ?? []);
}, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());
}
};
-function TN(e, t, n) {
+function vN(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var EN = {
+var yN = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -41098,7 +41099,7 @@ var EN = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!Tfe(n)) return;
+ if (!JM(n)) return;
if (n.length === 1) return n[0];
let r = Math.floor(n.length / 2), i = n.sort((e, t) => e - t);
return n.length % 2 == 0 ? (i[r - 1] + i[r]) / 2 : i[r];
@@ -41106,7 +41107,7 @@ var EN = {
unique: (e, t) => Array.from(new Set(t.map((t) => t.getValue(e))).values()),
uniqueCount: (e, t) => new Set(t.map((t) => t.getValue(e))).size,
count: (e, t) => t.length
-}, Nfe = {
+}, bN = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -41119,7 +41120,7 @@ var EN = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: sN("grouping", e),
+ onGroupingChange: KM("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -41132,11 +41133,11 @@ var EN = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return EN.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return EN.extent;
+ if (typeof n == "number") return yN.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return yN.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return cN(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? EN[e.columnDef.aggregationFn];
+ return qM(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? yN[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -41158,19 +41159,19 @@ var EN = {
};
}
};
-function Pfe(e, t, n) {
+function xN(e, t, n) {
if (!(t != null && t.length) || !n) return e;
let r = e.filter((e) => !t.includes(e.id));
return n === "remove" ? r : [...t.map((t) => e.find((e) => e.id === t)).filter(Boolean), ...r];
}
-var Ffe = {
+var SN = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: sN("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: KM("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = lN((e) => [MN(t, e)], (t) => t.findIndex((t) => t.id === e.id), uN(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => MN(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ e.getIndex = XM((e) => [MN(t, e)], (t) => t.findIndex((t) => t.id === e.id), ZM(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => MN(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
let r = MN(t, n);
return r[r.length - 1]?.id === e.id;
};
@@ -41178,7 +41179,7 @@ var Ffe = {
createTable: (e) => {
e.setColumnOrder = (t) => e.options.onColumnOrderChange == null ? void 0 : e.options.onColumnOrderChange(t), e.resetColumnOrder = (t) => {
e.setColumnOrder(t ? [] : e.initialState.columnOrder ?? []);
- }, e._getOrderColumnsFn = lN(() => [
+ }, e._getOrderColumnsFn = XM(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -41193,18 +41194,18 @@ var Ffe = {
}
i = [...i, ...n];
}
- return Pfe(i, t, n);
- }, uN(e.options, "debugTable", "_getOrderColumnsFn"));
+ return xN(i, t, n);
+ }, ZM(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, DN = () => ({
+}, CN = () => ({
left: [],
right: []
-}), Ife = {
+}), wN = {
getInitialState: (e) => ({
- columnPinning: DN(),
+ columnPinning: CN(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: sN("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: KM("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -41228,75 +41229,75 @@ var Ffe = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = lN(() => [
+ e.getCenterVisibleCells = XM(() => [
e._getAllVisibleCells(),
t.getState().columnPinning.left,
t.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.column.id));
- }, uN(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = lN(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, ZM(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = XM(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "left"
- })), uN(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = lN(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), ZM(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = XM(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "right"
- })), uN(t.options, "debugRows", "getRightVisibleCells"));
+ })), ZM(t.options, "debugRows", "getRightVisibleCells"));
},
createTable: (e) => {
- e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? DN() : e.initialState?.columnPinning ?? DN()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? CN() : e.initialState?.columnPinning ?? CN()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = lN(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), uN(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = lN(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), uN(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = lN(() => [
+ }, e.getLeftLeafColumns = XM(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), ZM(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = XM(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), ZM(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = XM(() => [
e.getAllLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.id));
- }, uN(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, ZM(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function Lfe(e) {
+function TN(e) {
return e || (typeof document < "u" ? document : null);
}
-var ON = {
+var EN = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, kN = () => ({
+}, DN = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), Rfe = {
- getDefaultColumnDef: () => ON,
+}), ON = {
+ getDefaultColumnDef: () => EN,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: kN(),
+ columnSizingInfo: DN(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: sN("columnSizing", e),
- onColumnSizingInfoChange: sN("columnSizingInfo", e)
+ onColumnSizingChange: KM("columnSizing", e),
+ onColumnSizingInfoChange: KM("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? ON.minSize, n ?? e.columnDef.size ?? ON.size), e.columnDef.maxSize ?? ON.maxSize);
- }, e.getStart = lN((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? EN.minSize, n ?? e.columnDef.size ?? EN.size), e.columnDef.maxSize ?? EN.maxSize);
+ }, e.getStart = XM((e) => [
e,
MN(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), uN(t.options, "debugColumns", "getStart")), e.getAfter = lN((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), ZM(t.options, "debugColumns", "getStart")), e.getAfter = XM((e) => [
e,
MN(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), uN(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), ZM(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -41344,7 +41345,7 @@ var ON = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = Lfe(n), m = {
+ }, p = TN(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -41354,7 +41355,7 @@ var ON = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = zfe() ? { passive: !1 } : !1;
+ }, g = AN() ? { passive: !1 } : !1;
jN(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
...e,
startOffset: c,
@@ -41371,12 +41372,12 @@ var ON = {
e.setColumnSizing = (t) => e.options.onColumnSizingChange == null ? void 0 : e.options.onColumnSizingChange(t), e.setColumnSizingInfo = (t) => e.options.onColumnSizingInfoChange == null ? void 0 : e.options.onColumnSizingInfoChange(t), e.resetColumnSizing = (t) => {
e.setColumnSizing(t ? {} : e.initialState.columnSizing ?? {});
}, e.resetHeaderSizeInfo = (t) => {
- e.setColumnSizingInfo(t ? kN() : e.initialState.columnSizingInfo ?? kN());
+ e.setColumnSizingInfo(t ? DN() : e.initialState.columnSizingInfo ?? DN());
}, e.getTotalSize = () => e.getHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getLeftTotalSize = () => e.getLeftHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getCenterTotalSize = () => e.getCenterHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getRightTotalSize = () => e.getRightHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0;
}
-}, AN = null;
-function zfe() {
- if (typeof AN == "boolean") return AN;
+}, kN = null;
+function AN() {
+ if (typeof kN == "boolean") return kN;
let e = !1;
try {
let t = { get passive() {
@@ -41386,17 +41387,17 @@ function zfe() {
} catch {
e = !1;
}
- return AN = e, AN;
+ return kN = e, kN;
}
function jN(e) {
return e.type === "touchstart";
}
-var Bfe = {
+var Gfe = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: sN("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: KM("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -41411,7 +41412,7 @@ var Bfe = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = lN(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), uN(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = lN(() => [
+ e._getAllVisibleCells = XM(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), ZM(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = XM(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -41419,10 +41420,10 @@ var Bfe = {
...e,
...t,
...n
- ], uN(t.options, "debugRows", "getVisibleCells"));
+ ], ZM(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => lN(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), uN(e.options, "debugColumns", t));
+ let t = (t, n) => XM(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), ZM(e.options, "debugColumns", t));
e.getVisibleFlatColumns = t("getVisibleFlatColumns", () => e.getAllFlatColumns()), e.getVisibleLeafColumns = t("getVisibleLeafColumns", () => e.getAllLeafColumns()), e.getLeftVisibleLeafColumns = t("getLeftVisibleLeafColumns", () => e.getLeftLeafColumns()), e.getRightVisibleLeafColumns = t("getRightVisibleLeafColumns", () => e.getRightLeafColumns()), e.getCenterVisibleLeafColumns = t("getCenterVisibleLeafColumns", () => e.getCenterLeafColumns()), e.setColumnVisibility = (t) => e.options.onColumnVisibilityChange == null ? void 0 : e.options.onColumnVisibilityChange(t), e.resetColumnVisibility = (t) => {
e.setColumnVisibility(t ? {} : e.initialState.columnVisibility ?? {});
}, e.toggleAllColumnsVisible = (t) => {
@@ -41438,17 +41439,17 @@ var Bfe = {
function MN(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var Vfe = { createTable: (e) => {
+var Kfe = { createTable: (e) => {
e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
if (e._getGlobalFacetedMinMaxValues) return e._getGlobalFacetedMinMaxValues();
};
-} }, Hfe = {
+} }, qfe = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: sN("globalFilter", e),
+ onGlobalFilterChange: KM("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -41460,22 +41461,22 @@ var Vfe = { createTable: (e) => {
e.getCanGlobalFilter = () => (e.columnDef.enableGlobalFilter ?? !0) && (t.options.enableGlobalFilter ?? !0) && (t.options.enableFilters ?? !0) && ((t.options.getColumnCanGlobalFilter == null ? void 0 : t.options.getColumnCanGlobalFilter(e)) ?? !0) && !!e.accessorFn;
},
createTable: (e) => {
- e.getGlobalAutoFilterFn = () => CN.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => hN.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return cN(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? CN[t];
+ return qM(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? hN[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, Ufe = {
+}, Jfe = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: sN("expanded", e),
+ onExpandedChange: KM("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -41549,7 +41550,7 @@ var Vfe = { createTable: (e) => {
}, NN = 0, PN = 10, FN = () => ({
pageIndex: NN,
pageSize: PN
-}), Wfe = {
+}), Yfe = {
getInitialState: (e) => ({
...e,
pagination: {
@@ -41557,7 +41558,7 @@ var Vfe = { createTable: (e) => {
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: sN("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: KM("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -41573,11 +41574,11 @@ var Vfe = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => oN(t, e)), e.resetPagination = (t) => {
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => GM(t, e)), e.resetPagination = (t) => {
e.setPagination(t ? FN() : e.initialState.pagination ?? FN());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = oN(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = GM(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
return r = Math.max(0, Math.min(r, i)), {
...n,
pageIndex: r
@@ -41591,7 +41592,7 @@ var Vfe = { createTable: (e) => {
e.setPageSize(t ? PN : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? PN);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, oN(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, GM(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -41599,15 +41600,15 @@ var Vfe = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = oN(t, e.options.pageCount ?? -1);
+ let r = GM(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = lN(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = XM(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, uN(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, ZM(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
let { pageIndex: t } = e.getState().pagination, n = e.getPageCount();
return n === -1 || n !== 0 && t < n - 1;
}, e.previousPage = () => e.setPageIndex((e) => e - 1), e.nextPage = () => e.setPageIndex((e) => e + 1), e.firstPage = () => e.setPageIndex(0), e.lastPage = () => e.setPageIndex(e.getPageCount() - 1), e.getPrePaginationRowModel = () => e.getExpandedRowModel(), e.getPaginationRowModel = () => (!e._getPaginationRowModel && e.options.getPaginationRowModel && (e._getPaginationRowModel = e.options.getPaginationRowModel(e)), e.options.manualPagination || !e._getPaginationRowModel ? e.getPrePaginationRowModel() : e._getPaginationRowModel()), e.getPageCount = () => e.options.pageCount ?? Math.ceil(e.getRowCount() / e.getState().pagination.pageSize), e.getRowCount = () => e.options.rowCount ?? e.getPrePaginationRowModel().rows.length;
@@ -41615,12 +41616,12 @@ var Vfe = { createTable: (e) => {
}, IN = () => ({
top: [],
bottom: []
-}), Gfe = {
+}), Xfe = {
getInitialState: (e) => ({
rowPinning: IN(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: sN("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: KM("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -41668,22 +41669,22 @@ var Vfe = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = lN(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), uN(e.options, "debugRows", "getTopRows")), e.getBottomRows = lN(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), uN(e.options, "debugRows", "getBottomRows")), e.getCenterRows = lN(() => [
+ })), e.getTopRows = XM(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), ZM(e.options, "debugRows", "getTopRows")), e.getBottomRows = XM(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), ZM(e.options, "debugRows", "getBottomRows")), e.getCenterRows = XM(() => [
e.getRowModel().rows,
e.getState().rowPinning.top,
e.getState().rowPinning.bottom
], (e, t, n) => {
let r = /* @__PURE__ */ new Set([...t ?? [], ...n ?? []]);
return e.filter((e) => !r.has(e.id));
- }, uN(e.options, "debugRows", "getCenterRows"));
+ }, ZM(e.options, "debugRows", "getCenterRows"));
}
-}, Kfe = {
+}, Zfe = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: sN("rowSelection", e),
+ onRowSelectionChange: KM("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -41704,19 +41705,19 @@ var Vfe = { createTable: (e) => {
return e.getRowModel().rows.forEach((t) => {
LN(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = lN(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? RN(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = XM(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? RN(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, uN(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = lN(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? RN(e, n) : {
+ }, ZM(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = XM(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? RN(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, uN(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = lN(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? RN(e, n) : {
+ }, ZM(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = XM(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? RN(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, uN(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, ZM(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
let t = e.getFilteredRowModel().flatRows, { rowSelection: n } = e.getState(), r = !!(t.length && Object.keys(n).length);
return r && t.some((e) => e.getCanSelect() && !n[e.id]) && (r = !1), r;
}, e.getIsAllPageRowsSelected = () => {
@@ -41794,10 +41795,10 @@ function BN(e, t, n) {
}
}), i ? "all" : a ? "some" : !1;
}
-var VN = /([0-9]+)/gm, qfe = (e, t, n) => WN(UN(e.getValue(n)).toLowerCase(), UN(t.getValue(n)).toLowerCase()), Jfe = (e, t, n) => WN(UN(e.getValue(n)), UN(t.getValue(n))), Yfe = (e, t, n) => HN(UN(e.getValue(n)).toLowerCase(), UN(t.getValue(n)).toLowerCase()), Xfe = (e, t, n) => HN(UN(e.getValue(n)), UN(t.getValue(n))), Zfe = (e, t, n) => {
+var VN = /([0-9]+)/gm, Qfe = (e, t, n) => WN(UN(e.getValue(n)).toLowerCase(), UN(t.getValue(n)).toLowerCase()), $fe = (e, t, n) => WN(UN(e.getValue(n)), UN(t.getValue(n))), epe = (e, t, n) => HN(UN(e.getValue(n)).toLowerCase(), UN(t.getValue(n)).toLowerCase()), tpe = (e, t, n) => HN(UN(e.getValue(n)), UN(t.getValue(n))), npe = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, Qfe = (e, t, n) => HN(e.getValue(n), t.getValue(n));
+}, rpe = (e, t, n) => HN(e.getValue(n), t.getValue(n));
function HN(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
@@ -41820,21 +41821,21 @@ function WN(e, t) {
return n.length - r.length;
}
var GN = {
- alphanumeric: qfe,
- alphanumericCaseSensitive: Jfe,
- text: Yfe,
- textCaseSensitive: Xfe,
- datetime: Zfe,
- basic: Qfe
-}, $fe = [
- kfe,
- Bfe,
- Ffe,
- Ife,
- jfe,
- Mfe,
- Vfe,
- Hfe,
+ alphanumeric: Qfe,
+ alphanumericCaseSensitive: $fe,
+ text: epe,
+ textCaseSensitive: tpe,
+ datetime: npe,
+ basic: rpe
+}, ipe = [
+ nN,
+ Gfe,
+ SN,
+ wN,
+ aN,
+ _N,
+ Kfe,
+ qfe,
{
getInitialState: (e) => ({
sorting: [],
@@ -41845,7 +41846,7 @@ var GN = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: sN("sorting", e),
+ onSortingChange: KM("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -41859,7 +41860,7 @@ var GN = {
return r ? GN.text : GN.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return cN(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? GN[e.columnDef.sortingFn];
+ return qM(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? GN[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -41896,15 +41897,15 @@ var GN = {
}, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
}
},
- Nfe,
- Ufe,
- Wfe,
- Gfe,
- Kfe,
- Rfe
+ bN,
+ Jfe,
+ Yfe,
+ Xfe,
+ Zfe,
+ ON
];
-function epe(e) {
- let t = [...$fe, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
+function ape(e) {
+ let t = [...ipe, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
...r,
...e
}, a = { ...e.initialState ?? {} };
@@ -41930,7 +41931,7 @@ function epe(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = oN(e, n.options);
+ let t = GM(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -41945,7 +41946,7 @@ function epe(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: lN(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: XM(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -41956,20 +41957,20 @@ function epe(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), uN(e, "debugColumns", "_getDefaultColumnDef")),
+ }), ZM(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: lN(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: XM(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = Ofe(n, e, i, r), o = e;
+ let a = $M(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, uN(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: lN(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), uN(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: lN(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), uN(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: lN(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), uN(e, "debugColumns", "getAllLeafColumns")),
+ }, ZM(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: XM(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), ZM(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: XM(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), ZM(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: XM(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), ZM(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -41980,7 +41981,7 @@ function epe(e) {
return n;
}
function KN() {
- return (e) => lN(() => [e.options.data], (t) => {
+ return (e) => XM(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -41989,7 +41990,7 @@ function KN() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = Afe(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = iN(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
if (n.flatRows.push(l), n.rowsById[l.id] = l, o.push(l), e.options.getSubRows) {
var s;
l.originalSubRows = e.options.getSubRows(t[c], c), (s = l.originalSubRows) != null && s.length && (l.subRows = r(l.originalSubRows, i + 1, l));
@@ -41998,9 +41999,9 @@ function KN() {
return o;
};
return n.rows = r(t), n;
- }, uN(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, ZM(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function tpe(e) {
+function ope(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -42012,7 +42013,7 @@ function tpe(e) {
};
}
function qN(e) {
- return (e) => lN(() => [
+ return (e) => XM(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -42025,7 +42026,7 @@ function qN(e) {
rows: a,
flatRows: o,
rowsById: s
- } : tpe({
+ } : ope({
rows: a,
flatRows: o,
rowsById: s
@@ -42034,23 +42035,23 @@ function qN(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, uN(e.options, "debugTable", "getPaginationRowModel"));
+ }, ZM(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
function JN(e, t) {
- return e ? npe(e) ? /*#__PURE__*/ L.createElement(e, t) : e : null;
+ return e ? spe(e) ? /*#__PURE__*/ L.createElement(e, t) : e : null;
}
-function npe(e) {
- return rpe(e) || typeof e == "function" || ipe(e);
+function spe(e) {
+ return cpe(e) || typeof e == "function" || lpe(e);
}
-function rpe(e) {
+function cpe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function ipe(e) {
+function lpe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
function YN(e) {
@@ -42059,7 +42060,7 @@ function YN(e) {
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = L.useState(() => ({ current: epe(t) })), [r, i] = L.useState(() => n.current.initialState);
+ }, [n] = L.useState(() => ({ current: ape(t) })), [r, i] = L.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -42074,7 +42075,7 @@ function YN(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var ape = na({
+var upe = oa({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -42136,23 +42137,23 @@ var ape = na({
}
}
});
-function ope({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = ape[t];
+function dpe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = upe[t];
return /* @__PURE__ */ (0, R.jsx)("span", {
"aria-hidden": !0,
- className: ta("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? ta("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: aa("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? aa("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, R.jsx)("span", {
- className: ta("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, R.jsx)("span", { className: ta("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: aa("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, R.jsx)("span", { className: aa("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
})
});
}
function XN({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, R.jsx)(Q_, {
+ return /* @__PURE__ */ (0, R.jsx)(Yee, {
ref: i,
...a,
- className: (t) => ta("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, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(ope, {
+ className: (t) => aa("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, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(dpe, {
state: e,
size: n,
shape: r
@@ -42184,7 +42185,7 @@ function rP(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
-function spe(...e) {
+function fpe(...e) {
return (t) => {
let n = !1, r = e.map((e) => {
let r = rP(e, t);
@@ -42198,16 +42199,16 @@ function spe(...e) {
};
};
}
-function cpe(...e) {
- return L.useCallback(spe(...e), e);
+function ppe(...e) {
+ return L.useCallback(fpe(...e), e);
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
-var lpe = class extends L.Component {
+var mpe = class extends L.Component {
getSnapshotBeforeUpdate(e) {
let t = this.props.childRef.current;
- if (YT(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
- let e = t.offsetParent, n = YT(e) && e.offsetWidth || 0, r = YT(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
+ if (QT(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
+ let e = t.offsetParent, n = QT(e) && e.offsetWidth || 0, r = QT(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction;
}
return null;
@@ -42217,7 +42218,7 @@ var lpe = class extends L.Component {
return this.props.children;
}
};
-function upe({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
+function hpe({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
let o = (0, L.useId)(), s = (0, L.useRef)(null), c = (0, L.useRef)({
width: 0,
height: 0,
@@ -42226,7 +42227,7 @@ function upe({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
right: 0,
bottom: 0,
direction: "ltr"
- }), { nonce: l } = (0, L.useContext)(nP), u = cpe(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
+ }), { nonce: l } = (0, L.useContext)(nP), u = ppe(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
return (0, L.useInsertionEffect)(() => {
let { width: e, height: u, top: d, left: f, right: p, bottom: m, direction: h } = c.current;
if (t || a === !1 || !s.current || !e || !u) return;
@@ -42246,7 +42247,7 @@ function upe({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
`), () => {
s.current?.removeAttribute("data-motion-pop-id"), b.contains(y) && b.removeChild(y);
};
- }, [t]), (0, R.jsx)(lpe, {
+ }, [t]), (0, R.jsx)(mpe, {
isPresent: t,
childRef: s,
sizeRef: c,
@@ -42256,8 +42257,8 @@ function upe({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
-var dpe = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
- let u = $N(fpe), d = (0, L.useId)(), f = (0, L.useRef)(n), p = (0, L.useRef)(r);
+var gpe = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = $N(_pe), d = (0, L.useId)(), f = (0, L.useRef)(n), p = (0, L.useRef)(r);
eP(() => {
f.current = n, p.current = r;
});
@@ -42283,7 +42284,7 @@ var dpe = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
u.forEach((e, t) => u.set(t, !1));
}, [n]), L.useEffect(() => {
!n && !u.size && r && r();
- }, [n]), e = (0, R.jsx)(upe, {
+ }, [n]), e = (0, R.jsx)(hpe, {
pop: o === "popLayout",
isPresent: n,
anchorX: s,
@@ -42295,7 +42296,7 @@ var dpe = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
children: e
});
};
-function fpe() {
+function _pe() {
return /* @__PURE__ */ new Map();
}
//#endregion
@@ -42314,10 +42315,10 @@ function iP(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
-function ppe() {
- return mpe((0, L.useContext)(tP));
+function vpe() {
+ return ype((0, L.useContext)(tP));
}
-function mpe(e) {
+function ype(e) {
return e === null || e.isPresent;
}
//#endregion
@@ -42331,7 +42332,7 @@ function oP(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
-var hpe = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
+var bpe = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
let [u, d] = iP(o), f = (0, L.useMemo)(() => oP(e), [e]), p = o && !u ? [] : f.map(aP), m = (0, L.useRef)(!0), h = (0, L.useRef)(f), g = $N(() => /* @__PURE__ */ new Map()), _ = (0, L.useRef)(/* @__PURE__ */ new Set()), [v, y] = (0, L.useState)(f), [b, x] = (0, L.useState)(f);
eP(() => {
m.current = !1, h.current = f;
@@ -42356,7 +42357,7 @@ var hpe = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenc
let { forceRender: C } = (0, L.useContext)(QN);
return (0, R.jsx)(R.Fragment, { children: b.map((e) => {
let v = aP(e), y = o && !u ? !1 : f === b || p.includes(v);
- return (0, R.jsx)(dpe, {
+ return (0, R.jsx)(gpe, {
isPresent: y,
initial: !m.current || n ? void 0 : !1,
custom: t,
@@ -42415,56 +42416,56 @@ var hpe = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenc
],
layout: ["layout", "layoutId"]
}, lP = !1;
-function gpe() {
+function xpe() {
if (lP) return;
let e = {};
for (let t in cP) e[t] = { isEnabled: (e) => cP[t].some((t) => !!e[t]) };
- NE(e), lP = !0;
+ IE(e), lP = !0;
}
function uP() {
- return gpe(), Woe();
+ return xpe(), Koe();
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function _pe(e) {
+function Spe(e) {
let t = uP();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- NE(t);
+ IE(t);
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var vpe = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
+var Cpe = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
function dP(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || vpe.has(e);
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Cpe.has(e);
}
//#endregion
//#region __vite-optional-peer-dep:@emotion/is-prop-valid:framer-motion
-var ype = /* @__PURE__ */ Ke({ default: () => fP }), fP, bpe = We((() => {
+var wpe = /* @__PURE__ */ Ze({ default: () => fP }), fP, Tpe = Ye((() => {
throw fP = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
})), pP = (e) => !dP(e);
function mP(e) {
typeof e == "function" && (pP = (t) => t.startsWith("on") ? !dP(t) : e(t));
}
try {
- mP((bpe(), Ye(ype)).default);
+ mP((Tpe(), et(wpe)).default);
} catch {}
-function xpe(e, t, n) {
+function Epe(e, t, n) {
let r = {};
- for (let i in e) (i !== "values" || typeof e.values != "object") && (AT(e[i]) || (pP(i) || n === !0 && dP(i) || !t && !dP(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
+ for (let i in e) (i !== "values" || typeof e.values != "object") && (NT(e[i]) || (pP(i) || n === !0 && dP(i) || !t && !dP(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
return r;
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function Spe({ children: e, isValidProp: t, ...n }) {
+function Dpe({ children: e, isValidProp: t, ...n }) {
t && mP(t);
let r = (0, L.useContext)(nP);
n = {
...r,
...n
- }, n.transition = xT(n.transition, r.transition), n.isStatic = $N(() => n.isStatic);
+ }, n.transition = wT(n.transition, r.transition), n.isStatic = $N(() => n.isStatic);
let i = (0, L.useMemo)(() => n, [
JSON.stringify(n.transition),
n.transformPagePoint,
@@ -42481,20 +42482,20 @@ function Spe({ children: e, isValidProp: t, ...n }) {
var hP = /* @__PURE__ */ (0, L.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function Cpe(e, t) {
- if (EE(e)) {
+function Ope(e, t) {
+ if (kE(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || CE(t) ? t : void 0,
- animate: CE(n) ? n : void 0
+ initial: t === !1 || EE(t) ? t : void 0,
+ animate: EE(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function wpe(e) {
- let { initial: t, animate: n } = Cpe(e, (0, L.useContext)(hP));
+function kpe(e) {
+ let { initial: t, animate: n } = Ope(e, (0, L.useContext)(hP));
return (0, L.useMemo)(() => ({
initial: t,
animate: n
@@ -42514,20 +42515,20 @@ var _P = () => ({
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs
function vP(e, t, n) {
- for (let r in t) !AT(t[r]) && !iD(r, n) && (e[r] = t[r]);
+ for (let r in t) !NT(t[r]) && !sD(r, n) && (e[r] = t[r]);
}
-function Tpe({ transformTemplate: e }, t) {
+function Ape({ transformTemplate: e }, t) {
return (0, L.useMemo)(() => {
let n = _P();
- return $E(n, t, e), Object.assign({}, n.vars, n.style);
+ return nD(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function Epe(e, t) {
+function jpe(e, t) {
let n = e.style || {}, r = {};
- return vP(r, n, e), Object.assign(r, Tpe(e, t)), r;
+ return vP(r, n, e), Object.assign(r, Ape(e, t)), r;
}
-function Dpe(e, t) {
- let n = {}, r = Epe(e, t);
+function Mpe(e, t) {
+ let n = {}, r = jpe(e, t);
return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
}
//#endregion
@@ -42538,10 +42539,10 @@ var yP = () => ({
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function Ope(e, t, n, r) {
+function Npe(e, t, n, r) {
let i = (0, L.useMemo)(() => {
let n = yP();
- return oD(n, t, cD(r), e.transformTemplate, e.style), {
+ return lD(n, t, dD(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
@@ -42557,7 +42558,7 @@ function Ope(e, t, n, r) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var kpe = [
+var Ppe = [
"animate",
"circle",
"defs",
@@ -42587,16 +42588,16 @@ var kpe = [
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
function bP(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(kpe.indexOf(e) > -1 || /[A-Z]/u.test(e));
+ return typeof e != "string" || e.includes("-") ? !1 : !!(Ppe.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function Ape(e, t, n, { latestValues: r }, i, a = !1, o) {
- let s = (o ?? bP(e) ? Ope : Dpe)(t, r, i, e), c = xpe(t, typeof e == "string", a), l = e === L.Fragment ? {} : {
+function Fpe(e, t, n, { latestValues: r }, i, a = !1, o) {
+ let s = (o ?? bP(e) ? Npe : Mpe)(t, r, i, e), c = Epe(t, typeof e == "string", a), l = e === L.Fragment ? {} : {
...c,
...s,
ref: n
- }, { children: u } = t, d = (0, L.useMemo)(() => AT(u) ? u.get() : u, [u]);
+ }, { children: u } = t, d = (0, L.useMemo)(() => NT(u) ? u.get() : u, [u]);
return (0, L.createElement)(e, {
...l,
children: d
@@ -42604,24 +42605,24 @@ function Ape(e, t, n, { latestValues: r }, i, a = !1, o) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function jpe({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function Ipe({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: Mpe(n, r, i, e),
+ latestValues: Lpe(n, r, i, e),
renderState: t()
};
}
-function Mpe(e, t, n, r) {
+function Lpe(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = zD(a[e]);
- let { initial: o, animate: s } = e, c = EE(e), l = DE(e);
+ for (let e in a) i[e] = HD(a[e]);
+ let { initial: o, animate: s } = e, c = kE(e), l = AE(e);
t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));
let u = n ? n.initial === !1 : !1;
u ||= o === !1;
let d = u ? s : o;
- if (d && typeof d != "boolean" && !SE(d)) {
+ if (d && typeof d != "boolean" && !TE(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
- let r = ET(e, t[n]);
+ let r = kT(e, t[n]);
if (r) {
let { transitionEnd: e, transition: t, ...n } = r;
for (let e in n) {
@@ -42639,18 +42640,18 @@ function Mpe(e, t, n, r) {
return i;
}
var xP = (e) => (t, n) => {
- let r = (0, L.useContext)(hP), i = (0, L.useContext)(tP), a = () => jpe(e, t, r, i);
+ let r = (0, L.useContext)(hP), i = (0, L.useContext)(tP), a = () => Ipe(e, t, r, i);
return n ? a() : $N(a);
-}, Npe = /*@__PURE__*/ xP({
- scrapeMotionValuesFromProps: aD,
+}, Rpe = /*@__PURE__*/ xP({
+ scrapeMotionValuesFromProps: cD,
createRenderState: _P
-}), Ppe = /*@__PURE__*/ xP({
- scrapeMotionValuesFromProps: lD,
+}), zpe = /*@__PURE__*/ xP({
+ scrapeMotionValuesFromProps: fD,
createRenderState: yP
-}), Fpe = Symbol.for("motionComponentSymbol");
+}), Bpe = Symbol.for("motionComponentSymbol");
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function Ipe(e, t, n) {
+function Vpe(e, t, n) {
let r = (0, L.useRef)(n);
(0, L.useInsertionEffect)(() => {
r.current = n;
@@ -42677,7 +42678,7 @@ function CP(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function Lpe(e, t, n, r, i, a) {
+function Hpe(e, t, n, r, i, a) {
let { visualElement: o } = (0, L.useContext)(hP), s = (0, L.useContext)(sP), c = (0, L.useContext)(tP), l = (0, L.useContext)(nP), u = l.reducedMotion, d = l.skipAnimations, f = (0, L.useRef)(null), p = (0, L.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
@@ -42690,12 +42691,12 @@ function Lpe(e, t, n, r, i, a) {
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
let m = f.current, h = (0, L.useContext)(SP);
- m && !m.projection && i && (m.type === "html" || m.type === "svg") && Rpe(f.current, n, i, h);
+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && Upe(f.current, n, i, h);
let g = (0, L.useRef)(!1);
(0, L.useInsertionEffect)(() => {
m && g.current && m.update(n, c);
});
- let _ = n[NT], v = (0, L.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
+ let _ = n[IT], v = (0, L.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
return eP(() => {
p.current = !0, m && (g.current = !0, window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), v.current && m.animationState && m.animationState.animateChanges());
}), (0, L.useEffect)(() => {
@@ -42704,7 +42705,7 @@ function Lpe(e, t, n, r, i, a) {
}), !1), m.enteringChildren = void 0);
}), m;
}
-function Rpe(e, t, n, r) {
+function Upe(e, t, n, r) {
let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t;
e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : wP(e.parent)), e.projection.setOptions({
layoutId: i,
@@ -42725,39 +42726,39 @@ function wP(e) {
//#endregion
//#region node_modules/framer-motion/dist/es/motion/index.mjs
function TP(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && _pe(r);
- let a = n ? n === "svg" : bP(e), o = a ? Ppe : Npe;
+ r && Spe(r);
+ let a = n ? n === "svg" : bP(e), o = a ? zpe : Rpe;
function s(n, s) {
let c, l = {
...(0, L.useContext)(nP),
...n,
- layoutId: zpe(n)
- }, { isStatic: u } = l, d = wpe(n), f = o(n, u);
+ layoutId: Wpe(n)
+ }, { isStatic: u } = l, d = kpe(n), f = o(n, u);
if (!u && typeof window < "u") {
- Bpe(l, r);
- let t = Vpe(l);
- c = t.MeasureLayout, d.visualElement = Lpe(e, f, l, i, t.ProjectionNode, a);
+ Gpe(l, r);
+ let t = Kpe(l);
+ c = t.MeasureLayout, d.visualElement = Hpe(e, f, l, i, t.ProjectionNode, a);
}
return (0, R.jsxs)(hP.Provider, {
value: d,
children: [c && d.visualElement ? (0, R.jsx)(c, {
visualElement: d.visualElement,
...l
- }) : null, Ape(e, n, Ipe(f, d.visualElement, s), f, u, t, a)]
+ }) : null, Fpe(e, n, Vpe(f, d.visualElement, s), f, u, t, a)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
let c = (0, L.forwardRef)(s);
- return c[Fpe] = e, c;
+ return c[Bpe] = e, c;
}
-function zpe({ layoutId: e }) {
+function Wpe({ layoutId: e }) {
let t = (0, L.useContext)(QN).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function Bpe(e, t) {
+function Gpe(e, t) {
(0, L.useContext)(sP).strict;
}
-function Vpe(e) {
+function Kpe(e) {
let { drag: t, layout: n } = uP();
if (!t && !n) return {};
let r = {
@@ -42771,20 +42772,20 @@ function Vpe(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function Hpe(e, t) {
+function qpe(e, t) {
if (typeof Proxy > "u") return TP;
let n = /* @__PURE__ */ new Map(), r = (n, r) => TP(n, r, e, t);
return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, TP(a, void 0, e, t)), n.get(a)) });
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var Upe = (e, t) => t.isSVG ?? bP(e) ? new sse(t) : new tse(t, { allowProjection: e !== L.Fragment }), Wpe = class extends FE {
+var Jpe = (e, t) => t.isSVG ?? bP(e) ? new lse(t) : new rse(t, { allowProjection: e !== L.Fragment }), Ype = class extends RE {
constructor(e) {
- super(e), e.animationState ||= fse(e);
+ super(e), e.animationState ||= mse(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- SE(e) && (this.unmountControls = e.subscribe(this.node));
+ TE(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -42796,11 +42797,11 @@ var Upe = (e, t) => t.isSVG ?? bP(e) ? new sse(t) : new tse(t, { allowProjection
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, Gpe = 0, Kpe = {
- animation: { Feature: Wpe },
- exit: { Feature: class extends FE {
+}, Xpe = 0, Zpe = {
+ animation: { Feature: Ype },
+ exit: { Feature: class extends RE {
constructor() {
- super(...arguments), this.id = Gpe++, this.isExitComplete = !1;
+ super(...arguments), this.id = Xpe++, this.isExitComplete = !1;
}
update() {
if (!this.node.presenceContext) return;
@@ -42810,7 +42811,7 @@ var Upe = (e, t) => t.isSVG ?? bP(e) ? new sse(t) : new tse(t, { allowProjection
if (this.isExitComplete) {
let { initial: e, custom: t } = this.node.getProps();
if (typeof e == "string" || typeof e == "object" && e && !Array.isArray(e)) {
- let n = DT(this.node, e, t);
+ let n = AT(this.node, e, t);
if (n) {
let { transition: e, transitionEnd: t, ...r } = n;
for (let e in r) this.node.getValue(e)?.jump(r[e]);
@@ -42841,11 +42842,11 @@ function EP(e) {
y: e.pageY
} };
}
-var qpe = (e) => (t) => tE(t) && e(t, EP(t));
+var Qpe = (e) => (t) => iE(t) && e(t, EP(t));
//#endregion
//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
function DP(e, t, n, r) {
- return RD(e, t, qpe(n), r);
+ return VD(e, t, Qpe(n), r);
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs
@@ -42858,12 +42859,12 @@ var OP = ({ current: e }) => e ? e.ownerDocument.defaultView : null, kP = /*#__P
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
this.lastRawMoveEventInfo && (this.lastMoveEventInfo = jP(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = NP(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = nce(e.offset, {
+ let e = NP(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = ice(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
if (!t && !n) return;
- let { point: r } = e, { timestamp: i } = mC;
+ let { point: r } = e, { timestamp: i } = FC;
this.history.push({
...r,
timestamp: i
@@ -42871,16 +42872,16 @@ var OP = ({ current: e }) => e ? e.ownerDocument.defaultView : null, kP = /*#__P
let { onStart: a, onMove: o } = this.handlers;
t || (a && a(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), o && o(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = jP(t, this.transformPagePoint), fC.update(this.updatePoint, !0);
+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = jP(t, this.transformPagePoint), NC.update(this.updatePoint, !0);
}, this.handlePointerUp = (e, t) => {
this.end();
let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;
if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
let a = NP(e.type === "pointercancel" ? this.lastMoveEventInfo : jP(t, this.transformPagePoint), this.history);
this.startEvent && n && n(e, a), r && r(e, a);
- }, !tE(e)) return;
+ }, !iE(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = jP(EP(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = mC;
+ let s = jP(EP(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = FC;
this.history = [{
...c,
timestamp: l
@@ -42891,7 +42892,7 @@ var OP = ({ current: e }) => e ? e.ownerDocument.defaultView : null, kP = /*#__P
passive: !0,
capture: !0
};
- this.removeListeners = US(DP(this.contextWindow, "pointermove", this.handlePointerMove, d), DP(this.contextWindow, "pointerup", this.handlePointerUp, d), DP(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
+ this.removeListeners = uC(DP(this.contextWindow, "pointermove", this.handlePointerMove, d), DP(this.contextWindow, "pointerup", this.handlePointerUp, d), DP(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
@@ -42922,13 +42923,13 @@ var OP = ({ current: e }) => e ? e.ownerDocument.defaultView : null, kP = /*#__P
x: r.x - t.x,
y: r.y - t.y
};
- (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), fC.update(this.updatePoint, !0));
+ (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), NC.update(this.updatePoint, !0));
}
updateHandlers(e) {
this.handlers = e;
}
end() {
- this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), pC(this.updatePoint);
+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), PC(this.updatePoint);
}
};
function jP(e, t) {
@@ -42944,29 +42945,29 @@ function NP({ point: e }, t) {
return {
point: e,
delta: MP(e, PP(t)),
- offset: MP(e, Jpe(t)),
- velocity: Ype(t, .1)
+ offset: MP(e, $pe(t)),
+ velocity: eme(t, .1)
};
}
-function Jpe(e) {
+function $pe(e) {
return e[0];
}
function PP(e) {
return e[e.length - 1];
}
-function Ype(e, t) {
+function eme(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
let n = e.length - 1, r = null, i = PP(e);
- for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ KS(t)));) n--;
+ for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ pC(t)));) n--;
if (!r) return {
x: 0,
y: 0
};
- r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ KS(t) * 2 && (r = e[1]);
- let a = /* @__PURE__ */ qS(i.timestamp - r.timestamp);
+ r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ pC(t) * 2 && (r = e[1]);
+ let a = /* @__PURE__ */ mC(i.timestamp - r.timestamp);
if (a === 0) return {
x: 0,
y: 0
@@ -42979,8 +42980,8 @@ function Ype(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs
-function Xpe(e, { min: t, max: n }, r) {
- return t !== void 0 && e < t ? e = r ? aw(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? aw(n, e, r.max) : Math.min(e, n)), e;
+function tme(e, { min: t, max: n }, r) {
+ return t !== void 0 && e < t ? e = r ? pw(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? pw(n, e, r.max) : Math.min(e, n)), e;
}
function FP(e, t, n) {
return {
@@ -42988,7 +42989,7 @@ function FP(e, t, n) {
max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)
};
}
-function Zpe(e, { top: t, left: n, bottom: r, right: i }) {
+function nme(e, { top: t, left: n, bottom: r, right: i }) {
return {
x: FP(e.x, n, i),
y: FP(e.y, t, r)
@@ -43001,22 +43002,22 @@ function IP(e, t) {
max: r
};
}
-function Qpe(e, t) {
+function rme(e, t) {
return {
x: IP(e.x, t.x),
y: IP(e.y, t.y)
};
}
-function $pe(e, t) {
- let n = .5, r = _D(e), i = _D(t);
- return i > r ? n = /* @__PURE__ */ WS(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ WS(e.min, e.max - i, t.min)), IS(0, 1, n);
+function ime(e, t) {
+ let n = .5, r = bD(e), i = bD(t);
+ return i > r ? n = /* @__PURE__ */ dC(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ dC(e.min, e.max - i, t.min)), rC(0, 1, n);
}
-function eme(e, t) {
+function ame(e, t) {
let n = {};
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
}
var LP = .35;
-function tme(e = LP) {
+function ome(e = LP) {
return e === !1 ? e = 0 : e === !0 && (e = LP), {
x: RP(e, "left", "right"),
y: RP(e, "top", "bottom")
@@ -43033,12 +43034,12 @@ function zP(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
-var nme = /* @__PURE__ */ new WeakMap(), rme = class {
+var sme = /* @__PURE__ */ new WeakMap(), cme = class {
constructor(e) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
y: 0
- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = xE(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = wE(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
}
start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {
let { presenceContext: r } = this.visualElement;
@@ -43047,18 +43048,18 @@ var nme = /* @__PURE__ */ new WeakMap(), rme = class {
t && this.snapToCursor(EP(e).point), this.stopAnimation();
}, a = (e, t) => {
let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();
- if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = yoe(n), !this.openDragLock)) return;
- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), ND((e) => {
+ if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = xoe(n), !this.openDragLock)) return;
+ this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), ID((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
- if (PC.test(t)) {
+ if (tw.test(t)) {
let { projection: n } = this.visualElement;
if (n && n.layout) {
let r = n.layout.layoutBox[e];
- r && (t = _D(r) * (parseFloat(t) / 100));
+ r && (t = bD(r) * (parseFloat(t) / 100));
}
}
this.originPoint[e] = t;
- }), i && fC.update(() => i(e, t), !1, !0), jT(this.visualElement, "transform");
+ }), i && NC.update(() => i(e, t), !1, !0), PT(this.visualElement, "transform");
let { animationState: a } = this.visualElement;
a && a.setActive("whileDrag", !0);
}, o = (e, t) => {
@@ -43067,10 +43068,10 @@ var nme = /* @__PURE__ */ new WeakMap(), rme = class {
if (!n && !this.openDragLock) return;
let { offset: o } = t;
if (r && this.currentDirection === null) {
- this.currentDirection = ame(o), this.currentDirection !== null && i && i(this.currentDirection);
+ this.currentDirection = ume(o), this.currentDirection !== null && i && i(this.currentDirection);
return;
}
- this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && fC.update(() => a(e, t), !1, !0);
+ this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && NC.update(() => a(e, t), !1, !0);
}, s = (e, t) => {
this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;
}, c = () => {
@@ -43100,7 +43101,7 @@ var nme = /* @__PURE__ */ new WeakMap(), rme = class {
let { velocity: a } = r;
this.startAnimation(a);
let { onDragEnd: o } = this.getProps();
- o && fC.postRender(() => o(n, r));
+ o && NC.postRender(() => o(n, r));
}
cancel() {
this.isDragging = !1;
@@ -43116,12 +43117,12 @@ var nme = /* @__PURE__ */ new WeakMap(), rme = class {
let { drag: r } = this.getProps();
if (!n || !VP(e, r, this.currentDirection)) return;
let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];
- this.constraints && this.constraints[e] && (a = Xpe(a, this.constraints[e], this.elastic[e])), i.set(a);
+ this.constraints && this.constraints[e] && (a = tme(a, this.constraints[e], this.elastic[e])), i.set(a);
}
resolveConstraints() {
let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;
- e && CP(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Zpe(n.layoutBox, e) : !1, this.elastic = tme(t), r !== this.constraints && !CP(e) && n && this.constraints && !this.hasMutatedConstraints && ND((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = eme(n.layoutBox[e], this.constraints[e]));
+ e && CP(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? nme(n.layoutBox, e) : !1, this.elastic = ome(t), r !== this.constraints && !CP(e) && n && this.constraints && !this.hasMutatedConstraints && ID((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = ame(n.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
@@ -43130,15 +43131,15 @@ var nme = /* @__PURE__ */ new WeakMap(), rme = class {
let n = e.current, { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
r.root && (r.root.scroll = void 0, r.root.updateScroll());
- let i = Yoe(n, r.root, this.visualElement.getTransformPagePoint()), a = Qpe(r.layout.layoutBox, i);
+ let i = Zoe(n, r.root, this.visualElement.getTransformPagePoint()), a = rme(r.layout.layoutBox, i);
if (t) {
- let e = t(Koe(a));
- this.hasMutatedConstraints = !!e, e && (a = IE(e));
+ let e = t(Joe(a));
+ this.hasMutatedConstraints = !!e, e && (a = zE(e));
}
return a;
}
startAnimation(e) {
- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = ND((o) => {
+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = ID((o) => {
if (!VP(o, t, this.currentDirection)) return;
let c = s && s[o] || {};
(a === !0 || a === o) && (c = {
@@ -43162,23 +43163,23 @@ var nme = /* @__PURE__ */ new WeakMap(), rme = class {
}
startAxisValueAnimation(e, t) {
let n = this.getAxisMotionValue(e);
- return jT(this.visualElement, e), n.start(CT(e, n, 0, t, this.visualElement, !1));
+ return PT(this.visualElement, e), n.start(ET(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- ND((e) => this.getAxisMotionValue(e).stop());
+ ID((e) => this.getAxisMotionValue(e).stop());
}
getAxisMotionValue(e) {
let t = `_drag${e.toUpperCase()}`;
return this.visualElement.getProps()[t] || this.visualElement.getValue(e, this.visualElement.latestValues[e] ?? 0);
}
snapToCursor(e) {
- ND((t) => {
+ ID((t) => {
let { drag: n } = this.getProps();
if (!VP(t, n, this.currentDirection)) return;
let { projection: r } = this.visualElement, i = this.getAxisMotionValue(t);
if (r && r.layout) {
let { min: n, max: a } = r.layout.layoutBox[t], o = i.get() || 0;
- i.set(e[t] - aw(n, a, .5) + o);
+ i.set(e[t] - pw(n, a, .5) + o);
}
});
}
@@ -43191,36 +43192,36 @@ var nme = /* @__PURE__ */ new WeakMap(), rme = class {
x: 0,
y: 0
};
- ND((e) => {
+ ID((e) => {
let t = this.getAxisMotionValue(e);
if (t && this.constraints !== !1) {
let n = t.get();
- r[e] = $pe({
+ r[e] = ime({
min: n,
max: n
}, this.constraints[e]);
}
});
let { transformTemplate: i } = this.visualElement.getProps();
- this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), ND((t) => {
+ this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), ID((t) => {
if (!VP(t, e, null)) return;
let n = this.getAxisMotionValue(t), { min: i, max: a } = this.constraints[t];
- n.set(aw(i, a, r[t]));
+ n.set(pw(i, a, r[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- nme.set(this.visualElement, this);
+ sme.set(this.visualElement, this);
let e = this.visualElement.current, t = DP(e, "pointerdown", (t) => {
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Toe(i);
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Doe(i);
n && r && !a && this.start(t);
}), n, r = () => {
let { dragConstraints: t } = this.getProps();
- CP(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= ime(e, t.current, () => this.scalePositionWithinConstraints()));
+ CP(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= lme(e, t.current, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
- i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), fC.read(r);
- let o = RD(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (ND((t) => {
+ i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), NC.read(r);
+ let o = VD(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && (ID((t) => {
let n = this.getAxisMotionValue(t);
n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));
}), this.visualElement.render());
@@ -43252,8 +43253,8 @@ function BP(e) {
e();
};
}
-function ime(e, t, n) {
- let r = mE(e, BP(n)), i = mE(t, BP(n));
+function lme(e, t, n) {
+ let r = _E(e, BP(n)), i = _E(t, BP(n));
return () => {
r(), i();
};
@@ -43261,19 +43262,19 @@ function ime(e, t, n) {
function VP(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function ame(e, t = 10) {
+function ume(e, t = 10) {
let n = null;
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/index.mjs
-var ome = class extends FE {
+var dme = class extends RE {
constructor(e) {
- super(e), this.removeGroupControls = HS, this.removeListeners = HS, this.controls = new rme(e);
+ super(e), this.removeGroupControls = lC, this.removeListeners = lC, this.controls = new cme(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
- e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || HS;
+ e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || lC;
}
update() {
let { dragControls: e } = this.node.getProps(), { dragControls: t } = this.node.prevProps || {};
@@ -43283,10 +43284,10 @@ var ome = class extends FE {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
}, HP = (e) => (t, n) => {
- e && fC.update(() => e(t, n), !1, !0);
-}, sme = class extends FE {
+ e && NC.update(() => e(t, n), !1, !0);
+}, fme = class extends RE {
constructor() {
- super(...arguments), this.removePointerDownListener = HS;
+ super(...arguments), this.removePointerDownListener = lC;
}
onPointerDown(e) {
this.session = new AP(e, this.createPanHandlers(), {
@@ -43301,7 +43302,7 @@ var ome = class extends FE {
onStart: HP(t),
onMove: HP(n),
onEnd: (e, t) => {
- delete this.session, r && fC.postRender(() => r(e, t));
+ delete this.session, r && NC.postRender(() => r(e, t));
}
};
}
@@ -43314,7 +43315,7 @@ var ome = class extends FE {
unmount() {
this.removePointerDownListener(), this.session && this.session.end();
}
-}, UP = !1, cme = class extends L.Component {
+}, UP = !1, pme = class extends L.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
i && (t.group && t.group.add(i), n && n.register && r && n.register(i), UP && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
@@ -43323,21 +43324,21 @@ var ome = class extends FE {
...i.options,
layoutDependency: this.props.layoutDependency,
onExitComplete: () => this.safeToRemove()
- })), BD.hasEverUpdated = !0;
+ })), UD.hasEverUpdated = !0;
}
getSnapshotBeforeUpdate(e) {
let { layoutDependency: t, visualElement: n, drag: r, isPresent: i } = this.props, { projection: a } = n;
return a ? (a.isPresent = i, e.layoutDependency !== t && a.setOptions({
...a.options,
layoutDependency: t
- }), UP = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || fC.postRender(() => {
+ }), UP = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || NC.postRender(() => {
let e = a.getStack();
(!e || !e.members.length) && this.safeToRemove();
})), null) : null;
}
componentDidUpdate() {
let { visualElement: e, layoutAnchor: t } = this.props, { projection: n } = e;
- n && (n.options.layoutAnchor = t, n.root.didUpdate(), XT.postRender(() => {
+ n && (n.options.layoutAnchor = t, n.root.didUpdate(), $T.postRender(() => {
!n.currentAnimation && n.isLead() && this.safeToRemove();
}));
}
@@ -43355,7 +43356,7 @@ var ome = class extends FE {
};
function WP(e) {
let [t, n] = iP(), r = (0, L.useContext)(QN);
- return (0, R.jsx)(cme, {
+ return (0, R.jsx)(pme, {
...e,
layoutGroup: r,
switchLayoutGroup: (0, L.useContext)(SP),
@@ -43365,11 +43366,11 @@ function WP(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var lme = {
- pan: { Feature: sme },
+var mme = {
+ pan: { Feature: fme },
drag: {
- Feature: ome,
- ProjectionNode: nO,
+ Feature: dme,
+ ProjectionNode: aO,
MeasureLayout: WP
}
};
@@ -43379,15 +43380,15 @@ function GP(e, t, n) {
let { props: r } = e;
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
let i = r["onHover" + n];
- i && fC.postRender(() => i(t, EP(t)));
+ i && NC.postRender(() => i(t, EP(t)));
}
-var ume = class extends FE {
+var hme = class extends RE {
mount() {
let { current: e } = this.node;
- e && (this.unmount = xoe(e, (e, t) => (GP(this.node, t, "Start"), (e) => GP(this.node, e, "End"))));
+ e && (this.unmount = Coe(e, (e, t) => (GP(this.node, t, "Start"), (e) => GP(this.node, e, "End"))));
}
unmount() {}
-}, dme = class extends FE {
+}, gme = class extends RE {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -43404,7 +43405,7 @@ var ume = class extends FE {
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = US(RD(this.node.current, "focus", () => this.onFocus()), RD(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = uC(VD(this.node.current, "focus", () => this.onFocus()), VD(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
@@ -43415,46 +43416,46 @@ function KP(e, t, n) {
if (e.current instanceof HTMLButtonElement && e.current.disabled) return;
e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");
let i = r["onTap" + (n === "End" ? "" : n)];
- i && fC.postRender(() => i(t, EP(t)));
+ i && NC.postRender(() => i(t, EP(t)));
}
-var fme = class extends FE {
+var _me = class extends RE {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = Doe(e, (e, t) => (KP(this.node, t, "Start"), (e, { success: t }) => KP(this.node, e, t ? "End" : "Cancel")), {
+ this.unmount = koe(e, (e, t) => (KP(this.node, t, "Start"), (e, { success: t }) => KP(this.node, e, t ? "End" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, qP = /* @__PURE__ */ new WeakMap(), JP = /* @__PURE__ */ new WeakMap(), pme = (e) => {
+}, qP = /* @__PURE__ */ new WeakMap(), JP = /* @__PURE__ */ new WeakMap(), vme = (e) => {
let t = qP.get(e.target);
t && t(e);
-}, mme = (e) => {
- e.forEach(pme);
+}, yme = (e) => {
+ e.forEach(vme);
};
-function hme({ root: e, ...t }) {
+function bme({ root: e, ...t }) {
let n = e || document;
JP.has(n) || JP.set(n, {});
let r = JP.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(mme, {
+ return r[i] || (r[i] = new IntersectionObserver(yme, {
root: e,
...t
})), r[i];
}
-function gme(e, t, n) {
- let r = hme(t);
+function xme(e, t, n) {
+ let r = bme(t);
return qP.set(e, n), r.observe(e), () => {
qP.delete(e), r.unobserve(e);
};
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var _me = {
+var Sme = {
some: 0,
all: 1
-}, vme = class extends FE {
+}, Cme = class extends RE {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -43463,7 +43464,7 @@ var _me = {
let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {
root: t ? t.current : void 0,
rootMargin: n,
- threshold: typeof r == "number" ? r : _me[r]
+ threshold: typeof r == "number" ? r : Sme[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -43471,7 +43472,7 @@ var _me = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = gme(this.node.current, a, o);
+ this.stopObserver = xme(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -43483,31 +43484,31 @@ var _me = {
"amount",
"margin",
"root"
- ].some(yme(e, t)) && this.startObserver();
+ ].some(wme(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function yme({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function wme({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs
-var bme = {
- inView: { Feature: vme },
- tap: { Feature: fme },
- focus: { Feature: dme },
- hover: { Feature: ume }
-}, xme = { layout: {
- ProjectionNode: nO,
+var Tme = {
+ inView: { Feature: Cme },
+ tap: { Feature: _me },
+ focus: { Feature: gme },
+ hover: { Feature: hme }
+}, Eme = { layout: {
+ ProjectionNode: aO,
MeasureLayout: WP
-} }, Sme = /*@__PURE__*/ Hpe({
- ...Kpe,
- ...bme,
- ...lme,
- ...xme
-}, Upe);
+} }, Dme = /*@__PURE__*/ qpe({
+ ...Zpe,
+ ...Tme,
+ ...mme,
+ ...Eme
+}, Jpe);
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs
function YP(e, t, n) {
@@ -43520,7 +43521,7 @@ function YP(e, t, n) {
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-motion-value.mjs
function XP(e) {
- let t = $N(() => bT(e)), { isStatic: n } = (0, L.useContext)(nP);
+ let t = $N(() => CT(e)), { isStatic: n } = (0, L.useContext)(nP);
if (n) {
let [, n] = (0, L.useState)(e);
(0, L.useEffect)(() => t.on("change", n), []);
@@ -43532,25 +43533,25 @@ function XP(e) {
function ZP(e, t) {
let n = XP(t()), r = () => n.set(t());
return r(), eP(() => {
- let t = () => fC.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
+ let t = () => NC.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
return () => {
- n.forEach((e) => e()), pC(r);
+ n.forEach((e) => e()), PC(r);
};
}), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-computed.mjs
-function Cme(e) {
- yT.current = [], e();
- let t = ZP(yT.current, e);
- return yT.current = void 0, t;
+function Ome(e) {
+ ST.current = [], e();
+ let t = ZP(ST.current, e);
+ return ST.current = void 0, t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-transform.mjs
function QP(e, t, n, r) {
- if (typeof e == "function") return Cme(e);
- if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return wme(e, t, n, r);
- let i = typeof t == "function" ? t : Loe(t, n, r), a = Array.isArray(e) ? $P(e, i) : $P([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
+ if (typeof e == "function") return Ome(e);
+ if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return kme(e, t, n, r);
+ let i = typeof t == "function" ? t : zoe(t, n, r), a = Array.isArray(e) ? $P(e, i) : $P([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
return o && !o.isTransformed && typeof t != "function" && Array.isArray(n) && r?.clamp !== !1 && (a.accelerate = {
...o,
times: t,
@@ -43568,42 +43569,42 @@ function $P(e, t) {
return t(n);
});
}
-function wme(e, t, n, r) {
+function kme(e, t, n, r) {
let i = $N(() => Object.keys(n)), a = $N(() => ({}));
for (let o of i) a[o] = QP(e, t, n[o], r);
return a;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-follow-value.mjs
-function Tme(e, t = {}) {
- let { isStatic: n } = (0, L.useContext)(nP), r = () => AT(e) ? e.get() : e;
+function Ame(e, t = {}) {
+ let { isStatic: n } = (0, L.useContext)(nP), r = () => NT(e) ? e.get() : e;
if (n) return QP(r);
let i = XP(r());
- return (0, L.useInsertionEffect)(() => Roe(i, e, t), [i, JSON.stringify(t)]), i;
+ return (0, L.useInsertionEffect)(() => Boe(i, e, t), [i, JSON.stringify(t)]), i;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-spring.mjs
function eF(e, t = {}) {
- return Tme(e, {
+ return Ame(e, {
type: "spring",
...t
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function Eme() {
- !kE.current && AE();
- let [e] = (0, L.useState)(OE.current);
+function jme() {
+ !ME.current && NE();
+ let [e] = (0, L.useState)(jE.current);
return e;
}
//#endregion
//#region node_modules/motion/dist/es/react.mjs
-var tF = Sme, nF = "(prefers-reduced-motion: reduce)", Dme = () => matchMedia(nF).matches, Ome = (e) => {
+var tF = Dme, nF = "(prefers-reduced-motion: reduce)", Mme = () => matchMedia(nF).matches, Nme = (e) => {
let t = matchMedia(nF);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
};
-function kme({ children: e, count: t, label: n }) {
- let r = ppe(), i = (0, L.useSyncExternalStore)(Ome, Dme, () => !1), { isFocusVisible: a } = Bs(), o = i || a, s = {
+function Pme({ children: e, count: t, label: n }) {
+ let r = vpe(), i = (0, L.useSyncExternalStore)(Nme, Mme, () => !1), { isFocusVisible: a } = Ws(), o = i || a, s = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
@@ -43640,12 +43641,12 @@ function kme({ children: e, count: t, label: n }) {
});
}
function rF({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, R.jsx)(hpe, { children: e ? /* @__PURE__ */ (0, R.jsx)(kme, { ...t }, "selection") : null });
+ return /* @__PURE__ */ (0, R.jsx)(bpe, { children: e ? /* @__PURE__ */ (0, R.jsx)(Pme, { ...t }, "selection") : null });
}
//#endregion
//#region src/react/follow-manage/add-feed.tsx
-var Ame = "输入女优名,到 JavDB 找她的演员页";
-function jme(e, t) {
+var Fme = "输入女优名,到 JavDB 找她的演员页";
+function Ime(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);
if (n.size > 1) return {
@@ -43664,10 +43665,10 @@ function jme(e, t) {
blocked: !1
};
}
-function Mme({ card: e, picked: t, onPick: n }) {
+function Lme({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)(CO, {
+ children: [/* @__PURE__ */ (0, R.jsx)(EO, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, R.jsxs)("span", {
@@ -43677,7 +43678,7 @@ function Mme({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, R.jsx)(ia, {
+ e.record ? /* @__PURE__ */ (0, R.jsx)(ca, {
variant: "caption",
color: "neutral",
children: e.record
@@ -43688,16 +43689,16 @@ function Mme({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, R.jsx)(Xy, {
+ }), /* @__PURE__ */ (0, R.jsx)(ib, {
href: e.url,
children: e.id
})]
});
}
-function Nme({ readOnly: e, toast: t, onAdded: n }) {
- let [r, i] = (0, L.useState)(""), [a, o] = (0, L.useState)(null), [s, c] = (0, L.useState)(/* @__PURE__ */ new Set()), l = wa(), u = () => {
+function Rme({ readOnly: e, toast: t, onAdded: n }) {
+ let [r, i] = (0, L.useState)(""), [a, o] = (0, L.useState)(null), [s, c] = (0, L.useState)(/* @__PURE__ */ new Set()), l = Oa(), u = () => {
let t = r.trim();
- !t || e || l.run("lookup", (e) => pde(t, e), (e) => {
+ !t || e || l.run("lookup", (e) => Wde(t, e), (e) => {
o(e), c(new Set(e.suggested));
});
}, d = (e) => {
@@ -43705,12 +43706,12 @@ function Nme({ readOnly: e, toast: t, onAdded: n }) {
}, f = () => {
o(null), c(/* @__PURE__ */ new Set()), l.setError("");
}, p = () => {
- a && l.run("follow", (e) => mde(a.q, [...s], e), (e) => {
+ a && l.run("follow", (e) => Gde(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? jme(a, s) : null;
+ }, m = a ? Ime(a, s) : null;
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: ga({
+ className: ba({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -43723,11 +43724,11 @@ function Nme({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, R.jsx)(jy, {
+ children: /* @__PURE__ */ (0, R.jsx)(Ny, {
"aria-label": "女优名",
- placeholder: Ame,
+ placeholder: Fme,
value: r,
- leadingIcon: Ft,
+ leadingIcon: zt,
isDisabled: e,
onChange: i,
onKeyDown: d
@@ -43748,16 +43749,16 @@ function Nme({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, R.jsx)(Yy, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, R.jsx)(Mme, {
+ /* @__PURE__ */ (0, R.jsx)(rb, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, R.jsx)(Lme, {
card: e,
picked: s.has(e.id),
onPick: (t) => c((n) => {
let r = new Set(n);
return t ? r.add(e.id) : r.delete(e.id), r;
})
- }, e.id)) : /* @__PURE__ */ (0, R.jsx)(qy, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, R.jsx)(qy, {
+ }, e.id)) : /* @__PURE__ */ (0, R.jsx)(tb, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, R.jsx)(tb, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -43784,8 +43785,8 @@ function Nme({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var Pme = Object.fromEntries(Object.entries(Uj).map(([e, t]) => [t, e])), iF = 740;
-function Fme() {
+var zme = Object.fromEntries(Object.entries(_j).map(([e, t]) => [t, e])), iF = 740;
+function Bme() {
let [e, t] = (0, L.useState)(!1), n = (0, L.useRef)(null), r = (0, L.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
@@ -43796,7 +43797,7 @@ function Fme() {
}, []);
return (0, L.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var Ime = {
+var Vme = {
select: "选择",
author: "创作者",
source: "来源",
@@ -43819,7 +43820,7 @@ function aF({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
}),
/* @__PURE__ */ (0, R.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: Cx(e, t).map((t, r) => /* @__PURE__ */ (0, R.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, R.jsx)("span", {
+ children: bx(e, t).map((t, r) => /* @__PURE__ */ (0, R.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, R.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -43842,22 +43843,22 @@ function aF({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
]
});
}
-function Lme({ source: e, selected: t, onToggle: n, handlers: r }) {
+function Hme({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
onClick: (e) => {
- TO(e, e.currentTarget) && n(!t);
+ OO(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, R.jsx)(CO, {
+ /* @__PURE__ */ (0, R.jsx)(EO, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, R.jsx)(eN, { source: e }), e.last_error ? /* @__PURE__ */ (0, R.jsx)("small", {
+ children: [/* @__PURE__ */ (0, R.jsx)(OM, { source: e }), e.last_error ? /* @__PURE__ */ (0, R.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
@@ -43865,15 +43866,15 @@ function Lme({ source: e, selected: t, onToggle: n, handlers: r }) {
/* @__PURE__ */ (0, R.jsx)("span", {
className: "flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary",
title: e.provider_label,
- children: /* @__PURE__ */ (0, R.jsx)(ZM, {
+ children: /* @__PURE__ */ (0, R.jsx)(TM, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, R.jsx)($M, { source: e }),
+ /* @__PURE__ */ (0, R.jsx)(DM, { source: e }),
/* @__PURE__ */ (0, R.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: gM(e)
+ children: Wj(e)
}),
/* @__PURE__ */ (0, R.jsx)(XN, {
"aria-label": `启用 ${e.label}`,
@@ -43887,7 +43888,7 @@ function Lme({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Nt,
+ leadingIcon: Lt,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...K(r.busy),
@@ -43896,7 +43897,7 @@ function Lme({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: vt,
+ leadingIcon: St,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -43905,11 +43906,11 @@ function Lme({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function Rme({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
- let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(Gj).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = tM(r, c);
+function Ume({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
+ let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(yj).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = kj(r, c);
return /* @__PURE__ */ (0, R.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: ga({
+ className: ba({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -43919,7 +43920,7 @@ function Rme({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, R.jsx)(QM, {
+ /* @__PURE__ */ (0, R.jsx)(EM, {
group: e,
name: t
}),
@@ -43931,7 +43932,7 @@ function Rme({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Nt,
+ leadingIcon: Lt,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...K(i.busy),
@@ -43940,7 +43941,7 @@ function Rme({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, R.jsx)(ZM, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, R.jsx)(Xu, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, R.jsx)(TM, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, R.jsx)(ed, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, R.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -43949,7 +43950,7 @@ function Rme({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
size: "small",
- leadingIcon: pt,
+ leadingIcon: _t,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -43960,7 +43961,7 @@ function Rme({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? ft : ct,
+ leadingIcon: n ? gt : ft,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -43970,7 +43971,7 @@ function Rme({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, R.jsx)(Lme, {
+ children: e.map((e) => /* @__PURE__ */ (0, R.jsx)(Hme, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -43979,37 +43980,37 @@ function Rme({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function zme(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: f, onPageSize: p, onSelected: m, toast: h, openFollow: g } = e, _ = t.sources, v = (0, L.useMemo)(() => t.author_aliases || [], [t.author_aliases]), y = t.counts || {}, [x, S] = (0, L.useState)(/* @__PURE__ */ new Set()), [C, w] = Fme(), [T, E] = (0, L.useState)(""), D = (0, L.useMemo)(() => tde(_, n, r, v), [
+function Wme(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: f, onPageSize: p, onSelected: m, toast: h, openFollow: g } = e, _ = t.sources, v = (0, L.useMemo)(() => t.author_aliases || [], [t.author_aliases]), y = t.counts || {}, [x, S] = (0, L.useState)(/* @__PURE__ */ new Set()), [C, w] = Bme(), [T, E] = (0, L.useState)(""), D = (0, L.useMemo)(() => Mde(_, n, r, v), [
_,
n,
r,
v
- ]), O = (0, L.useMemo)(() => nde(D, n, r, v), [
+ ]), O = (0, L.useMemo)(() => Nde(D, n, r, v), [
D,
n,
r,
v
- ]), { job: k, running: A, outcome: j, start: M } = yO({
- queryKey: Kue,
- queryFn: ({ signal: e }) => ide(e),
- start: (e) => aM(e),
+ ]), { job: k, running: A, outcome: j, start: M } = SO({
+ queryKey: Cde,
+ queryFn: ({ signal: e }) => Fde(e),
+ start: (e) => Nj(e),
onError: (e) => E(H(e)),
onFinish: (e) => {
- hM(), h(e.status === "failed" ? e.error || "检查失败" : gde(e));
+ Uj(), h(e.status === "failed" ? e.error || "检查失败" : qde(e));
}
}), N = (e) => {
A || M.isPending || (E(""), M.mutate(e));
- }, P = (e, t) => m(nM(s, [e], t)), ee = (e, t) => m(nM(s, e, t)), F = yr({
- mutationFn: (e) => sM(e),
+ }, P = (e, t) => m(Aj(s, [e], t)), ee = (e, t) => m(Aj(s, e, t)), F = Cr({
+ mutationFn: (e) => Fj(e),
onSuccess: (e, t) => {
- mM([t]), m(nM(s, [t], !1)), h("已取消关注来源");
+ Hj([t]), m(Aj(s, [t], !1)), h("已取消关注来源");
},
onError: (e) => E(H(e))
- }), te = yr({
- mutationFn: (e) => oM(e.id, e.enabled),
+ }), te = Cr({
+ mutationFn: (e) => Pj(e.id, e.enabled),
onSuccess: (e, t) => {
- pM(t.id, { enabled: t.enabled }), E("");
+ Vj(t.id, { enabled: t.enabled }), E("");
},
onError: (e) => E(H(e))
}), ne = (e) => void b({
@@ -44018,10 +44019,10 @@ function zme(e) {
confirmLabel: "取消关注来源",
danger: !0,
onConfirm: () => F.mutateAsync(e.id)
- }), re = yr({
+ }), re = Cr({
mutationFn: async (e) => {
let t = await d(e.ids, 4, async (t) => {
- e.action === "remove" ? await sM(t) : await oM(t, e.action === "enabled");
+ e.action === "remove" ? await Fj(t) : await Pj(t, e.action === "enabled");
});
return {
...e,
@@ -44030,9 +44031,9 @@ function zme(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") mM(e.done);
- else for (let t of e.done) pM(t, { enabled: e.action === "enabled" });
- m(nM(s, e.done, !1));
+ if (e.action === "remove") Hj(e.done);
+ else for (let t of e.done) Vj(t, { enabled: e.action === "enabled" });
+ m(Aj(s, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
E(`${t.length}/${e.ids.length} 个来源未更新:${H(t[0]?.error)}`);
@@ -44043,20 +44044,20 @@ function zme(e) {
h(`已${n} ${e.done.length} 个关注来源`);
},
onError: (e) => E(H(e))
- }), ie = yr({
+ }), ie = Cr({
mutationFn: async (e) => {
- let t = ((await fde()).groups || []).flatMap((e) => [
+ let t = ((await Ude()).groups || []).flatMap((e) => [
e.primary,
...e.variants,
...e.duplicates
]).filter((e) => e.status === "new").map((e) => e.id);
return {
ids: t,
- failed: (await d(t, 6, (t) => dde(t, e))).filter((e) => !e.ok)
+ failed: (await d(t, 6, (t) => Hde(t, e))).filter((e) => !e.ok)
};
},
onSuccess: (e) => {
- if (hM(), e.failed.length) {
+ if (Uj(), e.failed.length) {
E(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
@@ -44081,12 +44082,12 @@ function zme(e) {
readOnly: c
};
let se = oe.current, ce = (0, L.useMemo)(() => {
- let e = aN(), t = (e) => () => Ime[e] || e;
+ let e = WM(), t = (e) => () => Vme[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, R.jsx)(CO, {
+ cell: (e) => /* @__PURE__ */ (0, R.jsx)(EO, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -44098,7 +44099,7 @@ function zme(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)(QM, {
+ children: [/* @__PURE__ */ (0, R.jsx)(EM, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, R.jsx)("span", {
@@ -44112,7 +44113,7 @@ function zme(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, R.jsx)(eN, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, R.jsx)("small", {
+ children: [/* @__PURE__ */ (0, R.jsx)(OM, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, R.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.row.original.source.last_error
}) : null]
@@ -44123,18 +44124,18 @@ function zme(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, R.jsx)(ZM, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, R.jsx)(TM, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, R.jsx)($M, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, R.jsx)(DM, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => gM(e.row.original.source)
+ cell: (e) => Wj(e.row.original.source)
}),
e.display({
id: "actions",
@@ -44152,7 +44153,7 @@ function zme(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Nt,
+ leadingIcon: Lt,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || se.readOnly,
...K(se.busy),
@@ -44162,7 +44163,7 @@ function zme(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: vt,
+ leadingIcon: St,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: se.readOnly,
onClick: () => oe.current.remove(e.row.original.source)
@@ -44172,12 +44173,12 @@ function zme(e) {
})
];
}, [se]), le = (0, L.useMemo)(() => {
- let e = Pme[n];
+ let e = zme[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ue = (0, L.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), de = a === "table", I = eM(de ? O.length : D.length, o, i), fe = YN({
+ }, [n, r]), ue = (0, L.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), de = a === "table", I = Oj(de ? O.length : D.length, o, i), fe = YN({
data: O,
columns: ce,
getRowId: (e) => String(e.source.id),
@@ -44194,7 +44195,7 @@ function zme(e) {
onSortingChange: (e) => {
let t = (typeof e == "function" ? e(le) : e)[0];
if (!t) return;
- let n = Uj[t.id];
+ let n = _j[t.id];
n && l(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
@@ -44210,9 +44211,9 @@ function zme(e) {
},
getCoreRowModel: KN(),
getPaginationRowModel: qN()
- }), pe = fe.getRowModel().rows, me = de ? pe.map((e) => e.original.source.id) : D.slice(I.start, I.end).flatMap((e) => e.map((e) => e.id)), he = tM(s, me), ge = [...s], _e = _de(j), ve = vde(j), ye = D.length > 0 && x.size >= D.length;
+ }), pe = fe.getRowModel().rows, me = de ? pe.map((e) => e.original.source.id) : D.slice(I.start, I.end).flatMap((e) => e.map((e) => e.id)), he = kj(s, me), ge = [...s], _e = Jde(j), ve = Yde(j), ye = D.length > 0 && x.size >= D.length;
return _.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
- className: ga({
+ className: ba({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -44231,7 +44232,7 @@ function zme(e) {
}),
/* @__PURE__ */ (0, R.jsx)(V, {
variant: "primary",
- leadingIcon: Nt,
+ leadingIcon: Lt,
disabled: c,
"aria-label": "检查全部",
iconOnly: w,
@@ -44246,28 +44247,28 @@ function zme(e) {
children: [/* @__PURE__ */ (0, R.jsx)(V, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: At,
- "aria-label": Vj[0][1],
+ leadingIcon: Pt,
+ "aria-label": hj[0][1],
"aria-pressed": !de,
onClick: () => f("default")
}), /* @__PURE__ */ (0, R.jsx)(V, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Lt,
- "aria-label": Vj[1][1],
+ leadingIcon: Vt,
+ "aria-label": hj[1][1],
"aria-pressed": de,
onClick: () => f("table")
})]
}),
- /* @__PURE__ */ (0, R.jsx)(Iy, {
+ /* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- l(t, Oj[t]);
+ l(t, nj[t]);
},
- children: Dj.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Ly, {
+ children: tj.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Gy, {
id: e,
children: t
}, e))
@@ -44275,14 +44276,14 @@ function zme(e) {
/* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? dt : st,
- "aria-label": $ue(n, r),
+ leadingIcon: r === "asc" ? ht : dt,
+ "aria-label": Ade(n, r),
onClick: () => l(n, r === "asc" ? "desc" : "asc")
}),
de ? null : /* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
iconOnly: w,
- leadingIcon: ye ? ct : ft,
+ leadingIcon: ye ? ft : gt,
"aria-label": ye ? "全部展开" : "全部收起",
onClick: () => S(ye ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
children: ye ? "全部展开" : "全部收起"
@@ -44293,7 +44294,7 @@ function zme(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? /* @__PURE__ */ (0, R.jsx)(hO, {
+ A ? /* @__PURE__ */ (0, R.jsx)(vO, {
embedded: !0,
label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),
value: k?.checked,
@@ -44379,10 +44380,10 @@ function zme(e) {
})
]
}),
- de ? /* @__PURE__ */ (0, R.jsx)(EO, {
+ de ? /* @__PURE__ */ (0, R.jsx)(kO, {
follow: !0,
onRowClick: (e) => P(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, R.jsxs)(wO, {
+ children: /* @__PURE__ */ (0, R.jsxs)(DO, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: le[0] ? {
@@ -44393,9 +44394,9 @@ function zme(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, R.jsx)(ly, { children: fe.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in Uj, n = JN(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, R.jsx)(uy, {
+ children: [/* @__PURE__ */ (0, R.jsx)(dy, { children: fe.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in _j, n = JN(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, R.jsx)(fy, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -44404,20 +44405,20 @@ function zme(e) {
children: [n, /* @__PURE__ */ (0, R.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, R.jsx)(Qte, {})
+ children: /* @__PURE__ */ (0, R.jsx)(By, {})
})]
- }) : /* @__PURE__ */ (0, R.jsx)(Xu, { children: n })
+ }) : /* @__PURE__ */ (0, R.jsx)(ed, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, R.jsx)(fy, {
+ }) }), /* @__PURE__ */ (0, R.jsx)(my, {
renderEmptyState: () => "这一页没有来源",
- children: pe.map((e) => /* @__PURE__ */ (0, R.jsx)(hy, {
+ children: pe.map((e) => /* @__PURE__ */ (0, R.jsx)(_y, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, R.jsx)(_y, { children: JN(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, R.jsx)(yy, { children: JN(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(CO, {
+ }) : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(EO, {
isSelected: he.all,
isIndeterminate: he.some,
onChange: (e) => ee(me, e),
@@ -44427,9 +44428,9 @@ function zme(e) {
className: "flex flex-col gap-3",
children: D.slice(I.start, I.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, R.jsx)(Rme, {
+ return /* @__PURE__ */ (0, R.jsx)(Ume, {
group: e,
- name: Xj(e, v),
+ name: wj(e, v),
handlers: se,
selected: s,
open: !x.has(t),
@@ -44449,14 +44450,14 @@ function zme(e) {
className: "text-body-2-regular text-text-secondary",
children: `${I.start + 1}–${I.end} / ${I.total} ${de ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, R.jsx)(Iy, {
+ /* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
e !== null && fe.setPageSize(Number(e));
},
- children: Hj.map((e) => /* @__PURE__ */ (0, R.jsx)(Ly, {
+ children: gj.map((e) => /* @__PURE__ */ (0, R.jsx)(Gy, {
id: String(e),
children: `每页 ${e} ${de ? "条" : "位"}`
}, e))
@@ -44510,11 +44511,11 @@ function zme(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, R.jsx)(va, {
+ }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: Pt,
+ icon: Rt,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, R.jsx)(oa, {
+ actions: /* @__PURE__ */ (0, R.jsx)(ua, {
variant: "primary",
size: "small",
href: "/follow-manage?tab=add",
@@ -44525,7 +44526,7 @@ function zme(e) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var Bme = {
+var Gme = {
select: "选择",
name: "名称",
kind: "类型",
@@ -44535,33 +44536,33 @@ var Bme = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, Vme = /* @__PURE__ */ new Set(["select", "actions"]), oF = () => Y.invalidateQueries({
- queryKey: Bj,
+}, Kme = /* @__PURE__ */ new Set(["select", "actions"]), oF = () => Y.invalidateQueries({
+ queryKey: mj,
exact: !0
-}), sF = (e) => e.name || e.url, Hme = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
-function Ume(e) {
+}), sF = (e) => e.name || e.url, qme = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+function Jme(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function Wme({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, R.jsx)(ia, {
+function Yme({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, R.jsx)(ca, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, R.jsx)(ia, {
+ }) : e.enabled ? /* @__PURE__ */ (0, R.jsx)(ca, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, R.jsx)(ia, {
+ }) : /* @__PURE__ */ (0, R.jsx)(ca, {
variant: "caption",
color: "neutral",
children: "已暂停"
});
}
-function Gme({ source: e, avatarInner: t }) {
+function Xme({ source: e, avatarInner: t }) {
let n = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -44574,8 +44575,8 @@ function Gme({ source: e, avatarInner: t }) {
dangerouslySetInnerHTML: { __html: t(sF(e), n, null, "performer") }
});
}
-var Kme = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function qme(e) {
+var Zme = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function Qme(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
return n;
@@ -44590,11 +44591,11 @@ function cF(e, t) {
onConfirm: t
});
}
-function Jme({ readOnly: e, toast: t, avatarInner: n }) {
- let r = vr({
- queryKey: Bj,
- queryFn: ({ signal: e }) => lM(e)
- }), i = wa(), a = r.data, o = (0, L.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, L.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, L.useState)(1), [f, p] = (0, L.useState)(20), m = eM(o.length, f, l);
+function $me({ readOnly: e, toast: t, avatarInner: n }) {
+ let r = Sr({
+ queryKey: mj,
+ queryFn: ({ signal: e }) => Lj(e)
+ }), i = Oa(), a = r.data, o = (0, L.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, L.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, L.useState)(1), [f, p] = (0, L.useState)(20), m = Oj(o.length, f, l);
(0, L.useEffect)(() => {
u((e) => Math.min(e, m.pages));
}, [m.pages]), (0, L.useEffect)(() => {
@@ -44603,10 +44604,10 @@ function Jme({ readOnly: e, toast: t, avatarInner: n }) {
return n.size === e.size ? e : n;
});
}, [o]);
- let h = yr({
+ let h = Cr({
mutationFn: async (e) => {
let t = await d(e.ids, 4, async (t) => {
- e.action === "remove" ? await dM(t) : await uM(t, e.action === "enabled");
+ e.action === "remove" ? await zj(t) : await Rj(t, e.action === "enabled");
});
return {
...e,
@@ -44621,7 +44622,7 @@ function Jme({ readOnly: e, toast: t, avatarInner: n }) {
}
},
onError: (e) => i.setError(H(e))
- }), g = (0, L.useMemo)(() => qme(o), [o]), _ = (0, L.useRef)({
+ }), g = (0, L.useMemo)(() => Qme(o), [o]), _ = (0, L.useRef)({
readOnly: e,
avatarInner: n,
shared: g,
@@ -44635,19 +44636,19 @@ function Jme({ readOnly: e, toast: t, avatarInner: n }) {
avatarInner: n,
shared: g,
busy: i.busy,
- toggle: (e, t) => void i.run(`enabled-${e.id}`, (n) => uM(e.id, t, n), () => void oF()),
- fetch: (e) => void i.run(`check-${e.id}`, (t) => fM(t, [e.id]), () => void oF()),
+ toggle: (e, t) => void i.run(`enabled-${e.id}`, (n) => Rj(e.id, t, n), () => void oF()),
+ fetch: (e) => void i.run(`check-${e.id}`, (t) => Bj(t, [e.id]), () => void oF()),
remove: (e) => void cF([e], async () => {
- await dM(e.id), t(`已移除订阅源「${sF(e)}」`), oF();
+ await zj(e.id), t(`已移除订阅源「${sF(e)}」`), oF();
})
};
let v = (0, L.useMemo)(() => {
- let e = aN(), t = (e) => () => Bme[e] || e;
+ let e = WM(), t = (e) => () => Gme[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, R.jsx)(CO, {
+ cell: (e) => /* @__PURE__ */ (0, R.jsx)(EO, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -44658,11 +44659,11 @@ function Jme({ readOnly: e, toast: t, avatarInner: n }) {
id: "name",
header: t("name"),
cell: (e) => {
- let t = Kme(e.row.original, _.current.shared);
+ let t = Zme(e.row.original, _.current.shared);
return /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
- /* @__PURE__ */ (0, R.jsx)(Gme, {
+ /* @__PURE__ */ (0, R.jsx)(Xme, {
source: e.row.original,
avatarInner: _.current.avatarInner
}),
@@ -44693,15 +44694,15 @@ function Jme({ readOnly: e, toast: t, avatarInner: n }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: Ume(e.getValue())
+ children: Jme(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, R.jsx)(Wme, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, R.jsx)(Yme, { source: e.row.original })
}),
- e.accessor((e) => Hme(e.interval_minutes), {
+ e.accessor((e) => qme(e.interval_minutes), {
id: "interval",
header: t("interval"),
cell: (e) => /* @__PURE__ */ (0, R.jsx)("span", {
@@ -44709,7 +44710,7 @@ function Jme({ readOnly: e, toast: t, avatarInner: n }) {
children: e.getValue()
})
}),
- e.accessor((e) => e.last_fetched_at ? Ex(e.last_fetched_at) : "还没拉过", {
+ e.accessor((e) => e.last_fetched_at ? Cx(e.last_fetched_at) : "还没拉过", {
id: "fetched",
header: t("fetched"),
cell: (e) => /* @__PURE__ */ (0, R.jsx)("span", {
@@ -44741,7 +44742,7 @@ function Jme({ readOnly: e, toast: t, avatarInner: n }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: Nt,
+ leadingIcon: Lt,
"aria-label": `拉取 ${sF(e.row.original)}`,
disabled: _.current.readOnly,
...K(_.current.busy === `check-${e.row.original.id}`),
@@ -44751,7 +44752,7 @@ function Jme({ readOnly: e, toast: t, avatarInner: n }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: vt,
+ leadingIcon: St,
"aria-label": `移除 ${sF(e.row.original)}`,
disabled: _.current.readOnly,
onClick: () => _.current.remove(e.row.original)
@@ -44783,20 +44784,20 @@ function Jme({ readOnly: e, toast: t, avatarInner: n }) {
tone: "error",
title: "打不开订阅源",
children: H(r.error)
- }) : /* @__PURE__ */ (0, R.jsx)(qy, { children: "正在读订阅源。" });
- let x = () => void i.run("check", (e) => fM(e), () => void oF()), S = (e) => c((t) => {
+ }) : /* @__PURE__ */ (0, R.jsx)(tb, { children: "正在读订阅源。" });
+ let x = () => void i.run("check", (e) => Bj(e), () => void oF()), S = (e) => c((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), C = o.filter((e) => s.has(e.id)), w = o.filter((e) => e.last_error);
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, R.jsx)(Nme, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Rme, {
readOnly: e,
toast: t,
onAdded: () => void oF()
}), /* @__PURE__ */ (0, R.jsxs)("section", {
"aria-label": "JAV 订阅列表",
- className: ga({
+ className: ba({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -44826,7 +44827,7 @@ function Jme({ readOnly: e, toast: t, avatarInner: n }) {
tone: "error",
title: `${sF(e)} 拉取失败`,
children: e.last_error
- }, e.id)), i.error ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: i.error }) : null]
+ }, e.id)), i.error ? /* @__PURE__ */ (0, R.jsx)(nb, { children: i.error }) : null]
}) : null,
/* @__PURE__ */ (0, R.jsxs)(rF, {
visible: C.length > 0,
@@ -44874,26 +44875,26 @@ function Jme({ readOnly: e, toast: t, avatarInner: n }) {
})
]
}),
- o.length ? /* @__PURE__ */ (0, R.jsx)(EO, {
+ o.length ? /* @__PURE__ */ (0, R.jsx)(kO, {
onRowClick: (e) => S(Number(e)),
- children: /* @__PURE__ */ (0, R.jsxs)(wO, {
+ children: /* @__PURE__ */ (0, R.jsxs)(DO, {
"aria-label": "JAV 订阅源",
size: "sm",
- children: [/* @__PURE__ */ (0, R.jsx)(ly, { children: b.getHeaderGroups()[0].headers.map((e) => {
+ children: [/* @__PURE__ */ (0, R.jsx)(dy, { children: b.getHeaderGroups()[0].headers.map((e) => {
let t = JN(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, R.jsx)(uy, {
+ return /* @__PURE__ */ (0, R.jsx)(fy, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: Vme.has(e.column.id) ? /* @__PURE__ */ (0, R.jsx)(Xu, { children: t }) : t
+ children: Kme.has(e.column.id) ? /* @__PURE__ */ (0, R.jsx)(ed, { children: t }) : t
}, e.id);
- }) }), /* @__PURE__ */ (0, R.jsx)(fy, { children: b.getRowModel().rows.map((e) => /* @__PURE__ */ (0, R.jsx)(hy, {
+ }) }), /* @__PURE__ */ (0, R.jsx)(my, { children: b.getRowModel().rows.map((e) => /* @__PURE__ */ (0, R.jsx)(_y, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, R.jsx)(_y, { children: JN(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, R.jsx)(yy, { children: JN(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, R.jsx)(va, {
- icon: Pt,
+ }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
+ icon: Rt,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
@@ -44905,14 +44906,14 @@ function Jme({ readOnly: e, toast: t, avatarInner: n }) {
className: "text-body-2-regular text-text-secondary",
children: `${m.start + 1}–${m.end} / ${m.total} 个订阅源`
}),
- /* @__PURE__ */ (0, R.jsx)(Iy, {
+ /* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(f),
onSelectionChange: (e) => {
e !== null && (p(Number(e)), u(1));
},
- children: Hj.map((e) => /* @__PURE__ */ (0, R.jsx)(Ly, {
+ children: gj.map((e) => /* @__PURE__ */ (0, R.jsx)(Gy, {
id: String(e),
children: `每页 ${e} 条`
}, e))
@@ -44939,31 +44940,31 @@ function Jme({ readOnly: e, toast: t, avatarInner: n }) {
}
//#endregion
//#region src/react/wants/wants.ts
-var lF = "/api/wants", uF = ["wants"], Yme = (e) => [
+var lF = "/api/wants", uF = ["wants"], ehe = (e) => [
"wants",
"follow",
e
-], Xme = [
+], the = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], Zme = (e) => U(lF, e), Qme = (e, t) => U(`${lF}?follow=${encodeURIComponent(e)}`, t), dF = (e, t) => W(lF, {
+], nhe = (e) => U(lF, e), rhe = (e, t) => U(`${lF}?follow=${encodeURIComponent(e)}`, t), dF = (e, t) => W(lF, {
action: "add",
...e
}, "POST", t), fF = (e, t) => W(lF, {
action: "remove",
ids: e
-}, "POST", t), $me = (e, t) => W(lF, {
+}, "POST", t), ihe = (e, t) => W(lF, {
action: "reset",
ids: e
}, "POST", t), pF = () => Y.invalidateQueries({ queryKey: uF }), mF = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function ehe(e) {
+function ahe(e) {
return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";
}
//#endregion
//#region src/react/wants/want-list.tsx
-var the = {
+var ohe = {
code: "手动添加",
feed: "Feed 新作",
follow: "关注"
@@ -44971,9 +44972,9 @@ var the = {
e.release_date,
e.studio,
e.performers,
- the[e.origin]
+ ohe[e.origin]
].filter(Boolean).join(" · ");
-function nhe({ want: e }) {
+function she({ want: e }) {
return /* @__PURE__ */ (0, R.jsxs)("span", {
className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default max-sm:w-24",
children: [/* @__PURE__ */ (0, R.jsx)("span", {
@@ -44989,11 +44990,11 @@ function nhe({ want: e }) {
}) : null]
});
}
-function rhe({ want: e, first: t, readOnly: n, busy: r, onReset: i, onRemove: a, onCloudDownload: o }) {
+function che({ want: e, first: t, readOnly: n, busy: r, onReset: i, onRemove: a, onCloudDownload: o }) {
return /* @__PURE__ */ (0, R.jsxs)("li", {
"data-want-id": e.id,
className: `flex min-w-0 items-start gap-4 py-4 max-sm:gap-3 ${t ? "" : "border-t border-separator-border"}`,
- children: [/* @__PURE__ */ (0, R.jsx)(nhe, { want: e }), /* @__PURE__ */ (0, R.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, R.jsx)(she, { want: e }), /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-1",
children: [
/* @__PURE__ */ (0, R.jsxs)("p", {
@@ -45013,12 +45014,12 @@ function rhe({ want: e, first: t, readOnly: n, busy: r, onReset: i, onRemove: a,
/* @__PURE__ */ (0, R.jsxs)("p", {
"data-want-note": "",
className: "text-caption-1-regular text-text-secondary",
- children: [ehe(e), e.scrape_error ? `;资料没取到:${e.scrape_error}` : ""]
+ children: [ahe(e), e.scrape_error ? `;资料没取到:${e.scrape_error}` : ""]
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "mt-1 flex flex-wrap items-center gap-2",
children: [
- e.link ? /* @__PURE__ */ (0, R.jsx)(Xy, {
+ e.link ? /* @__PURE__ */ (0, R.jsx)(ib, {
href: e.link,
children: "来源页"
}) : null,
@@ -45051,10 +45052,10 @@ function rhe({ want: e, first: t, readOnly: n, busy: r, onReset: i, onRemove: a,
})]
});
}
-function ihe({ readOnly: e, toast: t, cloudDownload: n }) {
- let [r, i] = (0, L.useState)(""), a = wa(), o = vr({
+function lhe({ readOnly: e, toast: t, cloudDownload: n }) {
+ let [r, i] = (0, L.useState)(""), a = Oa(), o = Sr({
queryKey: uF,
- queryFn: ({ signal: e }) => Zme(e),
+ queryFn: ({ signal: e }) => nhe(e),
refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1
}), s = () => {
let n = r.trim();
@@ -45068,7 +45069,7 @@ function ihe({ readOnly: e, toast: t, cloudDownload: n }) {
t(`已移除:${mF(e)}`), pF();
});
}, u = (e) => {
- a.run(`reset:${e.id}`, (t) => $me([e.id], t), () => {
+ a.run(`reset:${e.id}`, (t) => ihe([e.id], t), () => {
t(`${mF(e)} 回到待找`), pF();
});
}, d = o.data, f = d?.items || [];
@@ -45076,7 +45077,7 @@ function ihe({ readOnly: e, toast: t, cloudDownload: n }) {
className: "flex flex-col gap-8",
children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
- className: ga({
+ className: ba({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -45089,7 +45090,7 @@ function ihe({ readOnly: e, toast: t, cloudDownload: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-64 grow max-sm:min-w-0",
- children: /* @__PURE__ */ (0, R.jsx)(jy, {
+ children: /* @__PURE__ */ (0, R.jsx)(Ny, {
"aria-label": "番号",
placeholder: "输入番号,例如 SSIS-950",
value: r,
@@ -45105,7 +45106,7 @@ function ihe({ readOnly: e, toast: t, cloudDownload: n }) {
children: "添加"
})]
}),
- /* @__PURE__ */ (0, R.jsx)(qy, { children: "Feed 新作卡和关注详情上点「想要」也会加到这里。文件扫进库后自动挪到「已入库」。" }),
+ /* @__PURE__ */ (0, R.jsx)(tb, { children: "Feed 新作卡和关注详情上点「想要」也会加到这里。文件扫进库后自动挪到「已入库」。" }),
a.error ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
title: "这一次没有完成",
@@ -45118,17 +45119,17 @@ function ihe({ readOnly: e, toast: t, cloudDownload: n }) {
title: "想要清单读取失败",
children: H(o.error)
}) : null,
- d?.scraping ? /* @__PURE__ */ (0, R.jsx)(qy, {
+ d?.scraping ? /* @__PURE__ */ (0, R.jsx)(tb, {
role: "status",
children: "正在给刚加入的番号取资料与封面。"
}) : null,
- d && !f.length ? /* @__PURE__ */ (0, R.jsx)(va, {
+ d && !f.length ? /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: It,
+ icon: Bt,
title: "还没有想要的作品",
children: "在上面输入番号,或在 Feed 新作卡、关注详情上点「想要」。"
}) : null,
- Xme.map(([t, r]) => {
+ the.map(([t, r]) => {
let i = f.filter((e) => e.phase === t);
return i.length ? /* @__PURE__ */ (0, R.jsxs)("section", {
"aria-label": r,
@@ -45142,7 +45143,7 @@ function ihe({ readOnly: e, toast: t, cloudDownload: n }) {
})]
}), /* @__PURE__ */ (0, R.jsx)("ul", {
className: "flex flex-col",
- children: i.map((t, r) => /* @__PURE__ */ (0, R.jsx)(rhe, {
+ children: i.map((t, r) => /* @__PURE__ */ (0, R.jsx)(che, {
want: t,
first: r === 0,
readOnly: e,
@@ -45172,7 +45173,7 @@ var gF = [
], _F = (e) => gF.some(([t]) => t === e);
function vF({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: ga({
+ className: ba({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -45188,23 +45189,23 @@ function vF({ term: e, figure: t, unit: n }) {
})]
});
}
-function ahe(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, cloudDownload: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, L.useState)(_F(e.tab) ? e.tab : "list"), [d, f] = (0, L.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, L.useState)(() => kj(e.sort, e.dir).sort), [h, g] = (0, L.useState)(() => kj(e.sort, e.dir).dir), [_, v] = (0, L.useState)(Xue(e.layout) ? e.layout : "default"), [y, b] = (0, L.useState)(Zue(e.pageSize)), [x, S] = (0, L.useState)(/* @__PURE__ */ new Set()), C = vr({
- queryKey: Rj,
- queryFn: ({ signal: e }) => rM(e)
- }), w = vr({
- queryKey: zj,
- queryFn: ({ signal: e }) => iM(e)
- }), T = vr({
- queryKey: Bj,
- queryFn: ({ signal: e }) => lM(e)
+function uhe(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, cloudDownload: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, L.useState)(_F(e.tab) ? e.tab : "list"), [d, f] = (0, L.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, L.useState)(() => rj(e.sort, e.dir).sort), [h, g] = (0, L.useState)(() => rj(e.sort, e.dir).dir), [_, v] = (0, L.useState)(Dde(e.layout) ? e.layout : "default"), [y, b] = (0, L.useState)(Ode(e.pageSize)), [x, S] = (0, L.useState)(/* @__PURE__ */ new Set()), C = Sr({
+ queryKey: fj,
+ queryFn: ({ signal: e }) => jj(e)
+ }), w = Sr({
+ queryKey: pj,
+ queryFn: ({ signal: e }) => Mj(e)
+ }), T = Sr({
+ queryKey: mj,
+ queryFn: ({ signal: e }) => Lj(e)
}), E = C.data || { sources: [] }, D = w.data || {
root: "",
providers: []
}, O = E.sources;
(0, L.useEffect)(() => {
S((e) => {
- let t = rde(e, O);
+ let t = Pde(e, O);
return t.size === e.size ? e : t;
});
}, [O]);
@@ -45214,10 +45215,10 @@ function ahe(e) {
tab: e.tab ?? l,
page: e.page ?? d,
sort: n === "checked" ? "" : n,
- dir: r === Oj[n] ? "" : r
+ dir: r === nj[n] ? "" : r
});
- }, A = $j(O), j = O.filter(Gj).length, M = O.filter((e) => e.enabled).length, N = (D.providers || []).filter((e) => e.requirement === "required" && !vM(e)).length, P = new Set((T.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, R.jsxs)(ba, { children: [
+ }, A = Dj(O), j = O.filter(yj).length, M = O.filter((e) => e.enabled).length, N = (D.providers || []).filter((e) => e.requirement === "required" && !Kj(e)).length, P = new Set((T.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
+ return /* @__PURE__ */ (0, R.jsxs)(wa, { children: [
o ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "warning",
title: "本机只能浏览",
@@ -45232,7 +45233,7 @@ function ahe(e) {
children: s
}) : null,
/* @__PURE__ */ (0, R.jsxs)("div", {
- className: Mie,
+ className: gie,
"aria-label": "关注概览",
children: [
/* @__PURE__ */ (0, R.jsx)(vF, {
@@ -45267,7 +45268,7 @@ function ahe(e) {
})
]
}),
- /* @__PURE__ */ (0, R.jsxs)(Cy, {
+ /* @__PURE__ */ (0, R.jsxs)(Ty, {
selectedKey: l,
onSelectionChange: (e) => {
let t = String(e);
@@ -45275,21 +45276,21 @@ function ahe(e) {
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, R.jsx)(wy, {
+ /* @__PURE__ */ (0, R.jsx)(Ey, {
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: gF.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Ty, {
+ children: gF.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Dy, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: e === "source" && N ? `${t}(${N})` : t
}, e))
}),
- /* @__PURE__ */ (0, R.jsx)(Ey, {
+ /* @__PURE__ */ (0, R.jsx)(Oy, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, R.jsx)(zme, {
+ children: /* @__PURE__ */ (0, R.jsx)(Wme, {
data: E,
sort: p,
dir: h,
@@ -45319,10 +45320,10 @@ function ahe(e) {
}
})
}),
- /* @__PURE__ */ (0, R.jsxs)(Ey, {
+ /* @__PURE__ */ (0, R.jsxs)(Oy, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, R.jsx)(ffe, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Ufe, {
data: E,
credentials: D,
readOnly: o,
@@ -45330,7 +45331,7 @@ function ahe(e) {
openCredentials: () => {
u("source"), k({ tab: "source" });
}
- }), /* @__PURE__ */ (0, R.jsx)(hfe, {
+ }), /* @__PURE__ */ (0, R.jsx)(PM, {
groups: E.author_aliases || [],
readOnly: o,
toast: r,
@@ -45338,28 +45339,28 @@ function ahe(e) {
sources: E.sources
})]
}),
- /* @__PURE__ */ (0, R.jsx)(Ey, {
+ /* @__PURE__ */ (0, R.jsx)(Oy, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, R.jsx)(Jme, {
+ children: /* @__PURE__ */ (0, R.jsx)($me, {
readOnly: o,
toast: r,
avatarInner: e.avatarInner
})
}),
- /* @__PURE__ */ (0, R.jsx)(Ey, {
+ /* @__PURE__ */ (0, R.jsx)(Oy, {
id: "wants",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, R.jsx)(ihe, {
+ children: /* @__PURE__ */ (0, R.jsx)(lhe, {
readOnly: o,
toast: r,
cloudDownload: a
})
}),
- /* @__PURE__ */ (0, R.jsx)(Ey, {
+ /* @__PURE__ */ (0, R.jsx)(Oy, {
id: "source",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, R.jsx)(wfe, {
+ children: /* @__PURE__ */ (0, R.jsx)(UM, {
data: D,
readOnly: o,
toast: r
@@ -45376,13 +45377,13 @@ var yF = () => /* @__PURE__ */ (0, R.jsx)("span", {
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function ohe({ tag: e, actions: t }) {
+function dhe({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": xA(t.online, e.cat),
+ "data-tag-cat": Qk(t.online, e.cat),
"aria-pressed": n,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
@@ -45399,23 +45400,23 @@ function ohe({ tag: e, actions: t }) {
]
});
}
-function she({ groups: e, actions: t }) {
+function fhe({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, R.jsxs)("section", {
"data-alpha-group": r,
- className: ga({
+ className: ba({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, R.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, R.jsx)(uk, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, R.jsx)(_k, { value: n.length })]
}), /* @__PURE__ */ (0, R.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, R.jsx)(ohe, {
+ children: n.map((e) => /* @__PURE__ */ (0, R.jsx)(dhe, {
tag: e,
actions: t
}, e.k))
@@ -45423,8 +45424,8 @@ function she({ groups: e, actions: t }) {
}, e))
});
}
-var che = "\xA0";
-function lhe({ tags: e, actions: t }) {
+var phe = "\xA0";
+function mhe({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -45432,11 +45433,11 @@ function lhe({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": xA(t.online, e.cat),
+ "data-tag-cat": Qk(t.online, e.cat),
"aria-pressed": t.picked.has(e.k),
onClick: () => t.press(e.k),
className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [e.label + che, /* @__PURE__ */ (0, R.jsx)("span", {
+ children: [e.label + phe, /* @__PURE__ */ (0, R.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -45444,7 +45445,7 @@ function lhe({ tags: e, actions: t }) {
}, e.k))
});
}
-var uhe = [[
+var hhe = [[
"cloud",
"标签云",
"tags"
@@ -45453,13 +45454,13 @@ var uhe = [[
"字母表",
"text-aa"
]];
-function dhe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, R.jsx)(HO, {
+function ghe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, R.jsx)(qO, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, R.jsxs)(UO, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, R.jsxs)(JO, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : xA(n, e),
+ "data-tag-cat": e === "all" ? "all" : Qk(n, e),
pressed: t === e,
onPress: () => o(e),
children: [/* @__PURE__ */ (0, R.jsx)(yF, {}), r]
@@ -45481,19 +45482,19 @@ function dhe({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, R.jsx)(W_, {
+ /* @__PURE__ */ (0, R.jsx)(X_, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${ek}`,
- children: uhe.map(([e, t, n]) => {
- let r = Wb(n);
- return /* @__PURE__ */ (0, R.jsx)(G_, {
+ className: `ml-auto ${sk}`,
+ children: hhe.map(([e, t, n]) => {
+ let r = Vb(n);
+ return /* @__PURE__ */ (0, R.jsx)(Z_, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: tk,
+ className: ck,
children: /* @__PURE__ */ (0, R.jsx)("span", {
title: t,
className: "contents",
@@ -45505,13 +45506,13 @@ function dhe({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function fhe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+function _he({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
return /* @__PURE__ */ (0, R.jsxs)(rF, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
- /* @__PURE__ */ (0, R.jsx)(CO, {
+ /* @__PURE__ */ (0, R.jsx)(EO, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, R.jsxs)("span", {
@@ -45543,7 +45544,7 @@ function fhe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var phe = [{
+var vhe = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -45559,7 +45560,7 @@ var phe = [{
value: "online",
label: "在线",
symbol: "rss"
-}], mhe = {
+}], yhe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -45579,20 +45580,20 @@ var phe = [{
"layout-grid"
]]
};
-function hhe({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, R.jsx)(ZO, {
- "aria-label": `${oA[e]}索引版式`,
+function bhe({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, R.jsx)(ik, {
+ "aria-label": `${Bk[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${QO}`,
- children: mhe[fA(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = Wb(n);
- return /* @__PURE__ */ (0, R.jsx)(G_, {
+ className: `flex-none max-board-narrow:order-3 ${ak}`,
+ children: yhe[Gk(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = Vb(n);
+ return /* @__PURE__ */ (0, R.jsx)(Z_, {
value: e,
"aria-label": t,
- className: _le,
+ className: hle,
children: /* @__PURE__ */ (0, R.jsx)("span", {
title: t,
className: "contents",
@@ -45602,8 +45603,8 @@ function hhe({ kind: e, layout: t, onChange: n }) {
})
});
}
-var ghe = Wb("search");
-function _he({ label: e, value: t, onQuery: n }) {
+var xhe = Vb("search");
+function She({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, L.useState)(t), a = (0, L.useRef)(!1), o = (0, L.useRef)(void 0);
(0, L.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -45618,15 +45619,15 @@ function _he({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, R.jsx)(Oy, {
+ children: /* @__PURE__ */ (0, R.jsx)(Ay, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, R.jsx)(Ay, {
+ children: /* @__PURE__ */ (0, R.jsx)(My, {
type: "search",
- leadingIcon: ghe,
+ leadingIcon: xhe,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -45636,14 +45637,14 @@ function _he({ label: e, value: t, onQuery: n }) {
})
});
}
-function vhe(e) {
- let [t, n] = (0, L.useState)(() => pA({
+function Che(e) {
+ let [t, n] = (0, L.useState)(() => Kk({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, L.useState)(e.layout), [a, o] = (0, L.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, L.useState)("any"), l = (0, L.useRef)(null), { kind: u, q: d, scope: f, view: p, category: h } = t, g = oA[u], _ = u === "tags" && f === "online", v = u === "performers" && f === "online";
+ })), [r, i] = (0, L.useState)(e.layout), [a, o] = (0, L.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, L.useState)("any"), l = (0, L.useRef)(null), { kind: u, q: d, scope: f, view: p, category: h } = t, g = Bk[u], _ = u === "tags" && f === "online", v = u === "performers" && f === "online";
(0, L.useEffect)(() => {
e.selectMode || o(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -45653,7 +45654,7 @@ function vhe(e) {
...r
};
b(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, S = _A(mA(t)), C = br({
+ }, S = Xk(qk(t)), C = wr({
queryKey: S.queryKey,
queryFn: ({ pageParam: e, signal: t }) => S.queryFn({
pageParam: e,
@@ -45661,21 +45662,21 @@ function vhe(e) {
}),
initialPageParam: 0,
getNextPageParam: S.getNextPageParam,
- placeholderData: y ? _n : void 0
- }), w = yA(C.data), T = !!C.hasNextPage && !C.isPlaceholderData, E = bA(w.length, !!C.hasNextPage);
+ placeholderData: y ? xn : void 0
+ }), w = sue(C.data), T = !!C.hasNextPage && !C.isPlaceholderData, E = Zk(w.length, !!C.hasNextPage);
(0, L.useLayoutEffect)(() => {
l.current && e.refitImages(l.current);
}, [r]);
let D = (0, L.useMemo)(() => u === "tags" ? w.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [w, u]), k = (0, L.useMemo)(() => u === "tags" && p === "alphabet" ? wA(D, (t) => e.tagLabel(t)) : [], [
+ })) : [], [w, u]), k = (0, L.useMemo)(() => u === "tags" && p === "alphabet" ? tA(D, (t) => e.tagLabel(t)) : [], [
D,
p,
u
]), A = (t) => {
i(t), e.savePreference({ layout: t });
- }, j = u === "tags" ? /* @__PURE__ */ (0, R.jsx)(dk, {
+ }, j = u === "tags" ? /* @__PURE__ */ (0, R.jsx)(vk, {
tabs: bF,
value: f,
label: "词表",
@@ -45686,15 +45687,15 @@ function vhe(e) {
view: e === "online" ? "alphabet" : p
});
}
- }) : u === "performers" ? /* @__PURE__ */ (0, R.jsx)(dk, {
+ }) : u === "performers" ? /* @__PURE__ */ (0, R.jsx)(vk, {
tabs: bF,
value: f,
label: "名册",
onChange: (t) => {
t === "online" && e.exitSelectMode(), x({ scope: t });
}
- }) : fA(u) ? /* @__PURE__ */ (0, R.jsx)(dk, {
- tabs: phe,
+ }) : Gk(u) ? /* @__PURE__ */ (0, R.jsx)(vk, {
+ tabs: vhe,
value: u,
label: "公司类型",
onChange: (e) => x({ kind: e })
@@ -45711,7 +45712,7 @@ function vhe(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, N = (_ ? lA : cA).filter(([e]) => e === "all" || Number(C.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, N = (_ ? Hk : Vk).filter(([e]) => e === "all" || Number(C.data?.pages[0]?.categories?.[e] || 0) > 0);
return /* @__PURE__ */ (0, R.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -45726,12 +45727,12 @@ function vhe(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: g
}),
- dA(u) ? /* @__PURE__ */ (0, R.jsx)("span", {
+ Wk(u) ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: C.isPending ? "" : E
}) : null,
- dA(u) ? /* @__PURE__ */ (0, R.jsx)(hhe, {
+ Wk(u) ? /* @__PURE__ */ (0, R.jsx)(bhe, {
kind: u,
layout: r,
onChange: A
@@ -45740,7 +45741,7 @@ function vhe(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, R.jsx)(_he, {
+ /* @__PURE__ */ (0, R.jsx)(She, {
label: `过滤${g}`,
value: d,
onQuery: (e) => {
@@ -45750,7 +45751,7 @@ function vhe(e) {
]
}),
j,
- u === "tags" ? /* @__PURE__ */ (0, R.jsx)(dhe, {
+ u === "tags" ? /* @__PURE__ */ (0, R.jsx)(ghe, {
categories: N,
category: h,
online: _,
@@ -45775,8 +45776,8 @@ function vhe(e) {
mode: p
}) }
});
- if (C.isError) return /* @__PURE__ */ (0, R.jsx)(va, {
- icon: Wb("search"),
+ if (C.isError) return /* @__PURE__ */ (0, R.jsx)(Sa, {
+ icon: Vb("search"),
title: `没能读取${g}`,
actions: /* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
@@ -45785,18 +45786,18 @@ function vhe(e) {
}),
children: m(C.error)
});
- if (!w.length) return /* @__PURE__ */ (0, R.jsx)(bhe, {
+ if (!w.length) return /* @__PURE__ */ (0, R.jsx)(The, {
kind: u,
filtered: !!d || u === "tags" && h !== "all",
online: _ || v,
configurable: e.configurable
});
- if (v) return /* @__PURE__ */ (0, R.jsx)(kA, {
+ if (v) return /* @__PURE__ */ (0, R.jsx)(oA, {
items: w,
layout: r,
props: e
});
- if (dA(u)) return /* @__PURE__ */ (0, R.jsx)(OA, {
+ if (Wk(u)) return /* @__PURE__ */ (0, R.jsx)(aA, {
kind: u,
items: w,
layout: r,
@@ -45807,10 +45808,10 @@ function vhe(e) {
picked: a,
press: M
};
- return p === "alphabet" ? /* @__PURE__ */ (0, R.jsx)(she, {
+ return p === "alphabet" ? /* @__PURE__ */ (0, R.jsx)(fhe, {
groups: k,
actions: t
- }) : /* @__PURE__ */ (0, R.jsx)(lhe, {
+ }) : /* @__PURE__ */ (0, R.jsx)(mhe, {
tags: D,
actions: t
});
@@ -45825,13 +45826,13 @@ function vhe(e) {
disabled: C.isFetchingNextPage,
"aria-busy": C.isFetchingNextPage || void 0,
onClick: () => void C.fetchNextPage(),
- children: C.isFetchingNextPage ? /* @__PURE__ */ (0, R.jsx)(ya, {
+ children: C.isFetchingNextPage ? /* @__PURE__ */ (0, R.jsx)(Ca, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, R.jsx)(fhe, {
+ u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, R.jsx)(_he, {
count: a.size,
match: s,
onMatch: c,
@@ -45844,31 +45845,31 @@ function vhe(e) {
]
});
}
-var yhe = {
+var whe = {
tags: "标签",
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所"
};
-function bhe({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, R.jsx)(va, {
- icon: Wb("search"),
+function The({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, R.jsx)(Sa, {
+ icon: Vb("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, R.jsx)(oa, {
+ actions: /* @__PURE__ */ (0, R.jsx)(ua, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : yhe[e], a = /* @__PURE__ */ (0, R.jsx)(oa, {
+ let i = n && e === "performers" ? "创作者" : whe[e], a = /* @__PURE__ */ (0, R.jsx)(ua, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, R.jsx)(va, {
- icon: Wb(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, R.jsx)(Sa, {
+ icon: Vb(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [r ? /* @__PURE__ */ (0, R.jsx)(V, {
variant: "primary",
@@ -45885,8 +45886,8 @@ var xF = {
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, xhe = (e) => xF[e.junk_kind || "other"] || xF.other;
-function She(e) {
+}, Ehe = (e) => xF[e.junk_kind || "other"] || xF.other;
+function Dhe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -45897,21 +45898,21 @@ function She(e) {
glyph: "check"
};
}
-var SF = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Che = (e, t) => [
+var SF = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Ohe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function whe({ kind: e, view: t }) {
+function khe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function The(e, t) {
- let n = await U(`/api/ads?${whe(e)}`, t);
+async function Ahe(e, t) {
+ let n = await U(`/api/ads?${khe(e)}`, t);
return {
...n,
items: n.items || []
@@ -45927,8 +45928,8 @@ function CF({ name: e }) {
});
}
var wF = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function Ehe({ item: e, view: t, selected: n, selectMode: r, helpers: a, actions: o }) {
- let c = (0, L.useRef)(null), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(""), p = e.junk_kind || "other", [m, h] = xhe(e), g = String(e.name || ""), _ = She(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
+function jhe({ item: e, view: t, selected: n, selectMode: r, helpers: a, actions: o }) {
+ let c = (0, L.useRef)(null), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(""), p = e.junk_kind || "other", [m, h] = Ehe(e), g = String(e.name || ""), _ = Dhe(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
t.target.closest("[data-junk-actions]") || wF(r, t) && (t.preventDefault(), o.toggleSelection(e.id, t.shiftKey));
}, x = (t) => {
if (t.stopPropagation(), wF(r, t)) {
@@ -46061,7 +46062,7 @@ function Ehe({ item: e, view: t, selected: n, selectMode: r, helpers: a, actions
]
});
}
-var Dhe = (0, L.memo)(Ehe), TF = [
+var Mhe = (0, L.memo)(jhe), TF = [
[
"",
"全部",
@@ -46104,7 +46105,7 @@ function EF(e = "", t = "pending") {
let r = n.toString();
return `/junk-files${r ? `?${r}` : ""}`;
}
-function Ohe(e) {
+function Nhe(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
@@ -46117,7 +46118,7 @@ function Ohe(e) {
href: EF("", "dismissed")
};
}
-var khe = (e) => e === "dismissed" ? "已排除" : "待判断";
+var Phe = (e) => e === "dismissed" ? "已排除" : "待判断";
//#endregion
//#region src/react/junk-queue/junk-count.tsx
function DF({ name: e }) {
@@ -46133,8 +46134,8 @@ function OF({ scope: e, count: t }) {
children: t.toLocaleString()
})] }) : null;
}
-function Ahe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = dO(), a = (0, L.useRef)(null), { kind: o, view: s } = e, c = YO(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? TF.map(([e]) => SF(t, e)).join(",") : ""}`), l = Ohe(s), u = (e) => {
+function Fhe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = mO(), a = (0, L.useRef)(null), { kind: o, view: s } = e, c = nk(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? TF.map(([e]) => SF(t, e)).join(",") : ""}`), l = Nhe(s), u = (e) => {
let t = e.target.closest("a");
!t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || EF()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
@@ -46143,8 +46144,8 @@ function Ahe({ route: e, page: t, failed: n, onNavigate: r }) {
children: [/* @__PURE__ */ (0, R.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, R.jsx)(BO, {
- label: khe(s),
+ children: /* @__PURE__ */ (0, R.jsx)(GO, {
+ label: Phe(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -46203,38 +46204,38 @@ function Ahe({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var jhe = Wb("check"), Mhe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function Nhe(e) {
+var Ihe = Vb("check"), Lhe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function Rhe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = (0, L.useRef)(e.cache);
n.current = e.cache;
- let r = vr({
- queryKey: Che(t, e.revision),
+ let r = Sr({
+ queryKey: Ohe(t, e.revision),
queryFn: async ({ signal: e }) => {
- let r = await The(t, e);
+ let r = await Ahe(t, e);
return n.current(r.items), r;
},
- placeholderData: (e, n) => n && Mhe(n.queryKey, t) ? e : void 0
+ placeholderData: (e, n) => n && Lhe(n.queryKey, t) ? e : void 0
});
(0, L.useEffect)(() => {
r.isFetching || e.settled?.(e.revision);
}, [r.isFetching, e.revision]);
- let i = Phe(e.countRow), a = r.isPending;
+ let i = zhe(e.countRow), a = r.isPending;
(0, L.useLayoutEffect)(() => {
let t = e.countRow;
t && (a ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, a]), (0, L.useLayoutEffect)(() => {
i && r.data && M(i, "junk");
}, [i, r.data]);
- let { navigate: o } = e.actions, s = i ? (0, it.createPortal)(/* @__PURE__ */ (0, R.jsx)(Ahe, {
+ let { navigate: o } = e.actions, s = i ? (0, ct.createPortal)(/* @__PURE__ */ (0, R.jsx)(Fhe, {
route: t,
page: r.data,
failed: r.isError && !r.data,
onNavigate: o
}), i) : null;
- return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [s, /* @__PURE__ */ (0, R.jsx)(Fhe, {
+ return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [s, /* @__PURE__ */ (0, R.jsx)(Bhe, {
props: e,
data: r.data,
pending: a,
@@ -46242,7 +46243,7 @@ function Nhe(e) {
retry: () => void r.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function Phe(e) {
+function zhe(e) {
let [t, n] = (0, L.useState)(null);
return (0, L.useLayoutEffect)(() => {
if (!e) return;
@@ -46252,8 +46253,8 @@ function Phe(e) {
};
}, [e]), t;
}
-function Fhe({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = Eb(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, L.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, L.useCallback)(() => {
+function Bhe({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = Nb(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, L.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, L.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, R.jsxs)("div", {
@@ -46261,14 +46262,14 @@ function Fhe({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-grid-reveal": a.fading ? "" : void 0,
children: [a.layer, (() => {
if (n) return null;
- if (!t) return /* @__PURE__ */ (0, R.jsx)(Db, {
+ if (!t) return /* @__PURE__ */ (0, R.jsx)(Pb, {
message: m(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, R.jsx)(va, {
- icon: jhe,
+ return /* @__PURE__ */ (0, R.jsx)(Sa, {
+ icon: Ihe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -46277,7 +46278,7 @@ function Fhe({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-media-grid": "",
"data-junk-grid": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: u.map((t) => /* @__PURE__ */ (0, R.jsx)(Dhe, {
+ children: u.map((t) => /* @__PURE__ */ (0, R.jsx)(Mhe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -46285,11 +46286,11 @@ function Fhe({ props: e, data: t, pending: n, error: r, retry: i }) {
helpers: e.helpers,
actions: e.actions
}, t.id))
- }), u.length < l.length ? /* @__PURE__ */ (0, R.jsx)(Ihe, { onMore: f }, s) : null] });
+ }), u.length < l.length ? /* @__PURE__ */ (0, R.jsx)(Vhe, { onMore: f }, s) : null] });
})()]
});
}
-function Ihe({ onMore: e }) {
+function Vhe({ onMore: e }) {
let t = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
let n = t.current;
@@ -46307,12 +46308,12 @@ function Ihe({ onMore: e }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var kF = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", Lhe = {
+var kF = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", Hhe = {
gray: `${kF} border-separator-border bg-background-secondary-default text-text-secondary`,
warning: `${kF} border-current/35 bg-status-yellow-background text-status-yellow-text`,
error: `${kF} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function Rhe({ value: e, max: t }) {
+function Uhe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, R.jsxs)("svg", {
role: "progressbar",
@@ -46340,16 +46341,16 @@ function Rhe({ value: e, max: t }) {
})]
});
}
-function zhe(e) {
- let { job: t } = gO(e), n = t.data, r = t.isError ? n ? dx : H(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function Whe(e) {
+ let { job: t } = yO(e), n = t.data, r = t.isError ? n ? cx : H(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 ? "扫描与资料采集未完成" : px(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? Ot : yt;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : ux(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? Mt : Ct;
return /* @__PURE__ */ (0, R.jsxs)("aside", {
role: a ? "alert" : "status",
- className: Lhe[s],
+ className: Hhe[s],
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, R.jsx)(Rhe, {
+ children: [o && l ? /* @__PURE__ */ (0, R.jsx)(Uhe, {
value: c,
max: l
}) : /* @__PURE__ */ (0, R.jsx)(d, {
@@ -46359,18 +46360,18 @@ function zhe(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, R.jsx)(Hy, {
+ }), /* @__PURE__ */ (0, R.jsx)(Xy, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: lt,
+ trailingIcon: pt,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var Bhe = "/api/playlists", AF = "/api/playlist", jF = ["playlists"], MF = (e) => U(Bhe, e);
-async function Vhe(e) {
+var Ghe = "/api/playlists", AF = "/api/playlist", jF = ["playlists"], MF = (e) => U(Ghe, e);
+async function Khe(e) {
await Y.fetchQuery({
queryKey: jF,
queryFn: () => MF(e),
@@ -46380,7 +46381,7 @@ async function Vhe(e) {
var NF = () => Y.invalidateQueries({
queryKey: jF,
exact: !0
-}), Hhe = (e) => e.current_asset_id || e.preview_asset_id || null, PF = (e) => `/poster?id=${e}&c=4`, Uhe = (e) => W(AF, {
+}), qhe = (e) => e.current_asset_id || e.preview_asset_id || null, PF = (e) => `/poster?id=${e}&c=4`, Jhe = (e) => W(AF, {
action: "create",
name: e,
asset_ids: []
@@ -46391,8 +46392,8 @@ var NF = () => Y.invalidateQueries({
}), IF = (e) => W(AF, {
action: "delete",
id: e
-}), Whe = (e) => U(`${AF}?id=${e}`).catch(() => null);
-function Ghe(e) {
+}), Yhe = (e) => U(`${AF}?id=${e}`).catch(() => null);
+function Xhe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
return W(AF, {
action: "create",
@@ -46404,16 +46405,16 @@ function Ghe(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var Khe = Wb("ellipsis"), qhe = Wb("pencil"), Jhe = Wb("trash"), Yhe = Wb("playlist"), LF = ta(Ny, Py, "text-body-2-medium"), RF = "播放列表名称不能为空", zF = (e) => async () => {
+var Zhe = Vb("ellipsis"), Qhe = Vb("pencil"), $he = Vb("trash"), ege = Vb("playlist"), LF = aa(Ly, Ry, "text-body-2-medium"), RF = "播放列表名称不能为空", zF = (e) => async () => {
try {
await e();
} finally {
NF();
}
};
-function Xhe({ toast: e }) {
- let [t, n] = (0, L.useState)(""), [r, i] = (0, L.useState)(""), a = yr({
- mutationFn: (e) => Uhe(e),
+function tge({ toast: e }) {
+ let [t, n] = (0, L.useState)(""), [r, i] = (0, L.useState)(""), a = Cr({
+ mutationFn: (e) => Jhe(e),
onSuccess: (t) => {
n(""), i(""), NF(), e("已新建播放列表", { undo: zF(() => IF(t.playlist.id)) });
},
@@ -46434,7 +46435,7 @@ function Xhe({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",
- children: /* @__PURE__ */ (0, R.jsx)(jy, {
+ children: /* @__PURE__ */ (0, R.jsx)(Ny, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -46453,7 +46454,7 @@ function Xhe({ toast: e }) {
})]
});
}
-function Zhe({ target: e, close: t, toast: n }) {
+function nge({ target: e, close: t, toast: n }) {
let [r, i] = (0, L.useState)(""), [a, o] = (0, L.useState)(""), s = (0, L.useRef)(null);
(0, L.useEffect)(() => {
if (!e) return;
@@ -46463,14 +46464,14 @@ function Zhe({ target: e, close: t, toast: n }) {
});
return () => cancelAnimationFrame(t);
}, [e]);
- let c = yr({
+ let c = Cr({
mutationFn: ({ row: e, value: t }) => FF(e.id, t),
onSuccess: (e, { row: r }) => {
t(), NF(), n("已重命名播放列表", { undo: zF(() => FF(r.id, r.name)) });
},
onError: (e) => o(H(e))
});
- return /* @__PURE__ */ (0, R.jsx)(ij, {
+ return /* @__PURE__ */ (0, R.jsx)(MA, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -46493,11 +46494,11 @@ function Zhe({ target: e, close: t, toast: n }) {
className: "flex min-h-0 flex-col",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-4 p-5",
- children: [/* @__PURE__ */ (0, R.jsx)(Fu, {
+ children: [/* @__PURE__ */ (0, R.jsx)(zu, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, R.jsx)(jy, {
+ }), /* @__PURE__ */ (0, R.jsx)(Ny, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -46525,7 +46526,7 @@ function Zhe({ target: e, close: t, toast: n }) {
})
});
}
-function Qhe({ name: e, onRename: t, onDelete: n }) {
+function rge({ name: e, onRename: t, onDelete: n }) {
let r = (0, L.useRef)(null), [i, a] = (0, L.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -46539,25 +46540,25 @@ function Qhe({ name: e, onRename: t, onDelete: n }) {
"data-playlist-menu": "",
onClick: () => a(!0),
className: "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-2lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary aria-expanded:bg-background-primary-hover aria-expanded:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, R.jsx)(Khe, {
+ children: /* @__PURE__ */ (0, R.jsx)(Zhe, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, R.jsx)(ig, {
+ }), /* @__PURE__ */ (0, R.jsx)(cg, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: My,
- children: /* @__PURE__ */ (0, R.jsxs)(aO, {
+ className: Py,
+ children: /* @__PURE__ */ (0, R.jsxs)(cO, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
className: LF,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, R.jsx)(qhe, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Qhe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
@@ -46565,7 +46566,7 @@ function Qhe({ name: e, onRename: t, onDelete: n }) {
type: "button",
className: LF,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, R.jsx)(Jhe, {
+ children: [/* @__PURE__ */ (0, R.jsx)($he, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -46573,8 +46574,8 @@ function Qhe({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function $he({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
- let a = vr({
+function ige({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
+ let a = Sr({
queryKey: jF,
queryFn: ({ signal: e }) => MF(e)
}), [o, s] = (0, L.useState)(null), c = (0, L.useRef)(i);
@@ -46597,8 +46598,8 @@ function $he({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await Whe(e.id);
- await IF(e.id), NF(), r("已删除播放列表", t ? { undo: zF(() => Ghe(t)) } : void 0);
+ let t = await Yhe(e.id);
+ await IF(e.id), NF(), r("已删除播放列表", t ? { undo: zF(() => Xhe(t)) } : void 0);
}
});
};
@@ -46613,14 +46614,14 @@ function $he({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}), /* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, R.jsx)(Xhe, { toast: r })]
+ })] }), /* @__PURE__ */ (0, R.jsx)(tge, { toast: r })]
}),
u.length ? /* @__PURE__ */ (0, R.jsx)("div", {
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: u.map((r) => {
- let i = Hhe(r);
- return /* @__PURE__ */ (0, R.jsx)(Jb, {
+ let i = qhe(r);
+ return /* @__PURE__ */ (0, R.jsx)(Gb, {
"data-playlist-card": String(r.id),
name: r.name,
caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
@@ -46632,19 +46633,19 @@ function $he({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
onOpenEntity: t,
...i ? { onOpen: () => e(r.id, i) } : {},
openLabel: `打开播放列表 ${r.name}`,
- menu: /* @__PURE__ */ (0, R.jsx)(Qhe, {
+ menu: /* @__PURE__ */ (0, R.jsx)(rge, {
name: r.name,
onRename: () => s(r),
onDelete: () => d(r)
})
}, r.id);
})
- }) : /* @__PURE__ */ (0, R.jsx)(va, {
- icon: Yhe,
+ }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
+ icon: ege,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, R.jsx)(Zhe, {
+ /* @__PURE__ */ (0, R.jsx)(nge, {
target: o,
close: () => s(null),
toast: r
@@ -46654,11 +46655,11 @@ function $he({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function ege({ item: t, openItem: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
+function age({ item: t, openItem: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
let c = () => n(t.id);
return /* @__PURE__ */ (0, R.jsxs)("li", {
"data-goal-id": t.id,
- className: ga({
+ className: ba({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -46674,7 +46675,7 @@ function ege({ item: t, openItem: n, javTitleHtml: r, javDisplayName: i, srcBadg
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, R.jsx)("img", {
- src: Sre(t),
+ src: Are(t),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -46722,30 +46723,30 @@ function ege({ item: t, openItem: n, javTitleHtml: r, javDisplayName: i, srcBadg
})]
});
}
-function tge(e) {
- let t = vr({
- queryKey: xx,
- queryFn: ({ signal: e }) => Sx(e)
+function oge(e) {
+ let t = Sr({
+ queryKey: vx,
+ queryFn: ({ signal: e }) => yx(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, R.jsx)(ba, { children: /* @__PURE__ */ (0, R.jsx)(G, {
+ if (!n) return /* @__PURE__ */ (0, R.jsx)(wa, { children: /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
title: "高清版目标读取失败",
children: t.error ? H(t.error) : "未取得高清版目标,请刷新页面重试。"
}) });
let r = n.items || [];
- return r.length ? /* @__PURE__ */ (0, R.jsxs)(ba, { children: [/* @__PURE__ */ (0, R.jsx)(BO, {
+ return r.length ? /* @__PURE__ */ (0, R.jsxs)(wa, { children: [/* @__PURE__ */ (0, R.jsx)(GO, {
label: "待升级",
figure: `${n.total} 部作品`,
flush: !0
}), /* @__PURE__ */ (0, R.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, R.jsx)(ege, {
+ children: r.map((t) => /* @__PURE__ */ (0, R.jsx)(age, {
item: t,
...e
}, t.id))
- })] }) : /* @__PURE__ */ (0, R.jsx)(ba, { children: /* @__PURE__ */ (0, R.jsx)(va, {
+ })] }) : /* @__PURE__ */ (0, R.jsx)(wa, { children: /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: Ut,
+ icon: qt,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
@@ -46753,16 +46754,16 @@ function tge(e) {
//#endregion
//#region src/react/providers.tsx
var BF = null;
-function nge() {
+function sge() {
return BF?.isConnected || (BF = document.createElement("div"), BF.className = "peach-react", BF.dataset.reactOverlays = "", document.body.append(BF)), BF;
}
function VF({ children: e }) {
- return /* @__PURE__ */ (0, R.jsx)(qt, {
+ return /* @__PURE__ */ (0, R.jsx)(Zt, {
client: Y,
- children: /* @__PURE__ */ (0, R.jsx)(Spe, {
+ children: /* @__PURE__ */ (0, R.jsx)(Dpe, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, R.jsx)(qh, {
- getContainer: nge,
+ children: /* @__PURE__ */ (0, R.jsx)(Zh, {
+ getContainer: sge,
children: e
})
})
@@ -46770,8 +46771,8 @@ function VF({ children: e }) {
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function rge(e) {
- let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = Nre(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+function cge(e) {
+ let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = Vre(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -46779,29 +46780,29 @@ function rge(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, R.jsx)(Iy, {
+ /* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Ly, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Gy, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, R.jsxs)(Iy, {
+ i.length > 1 ? /* @__PURE__ */ (0, R.jsxs)(Wy, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, R.jsx)(Ly, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Gy, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, R.jsx)(Ly, {
+ }), i.map((e) => /* @__PURE__ */ (0, R.jsx)(Gy, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -46809,7 +46810,7 @@ function rge(e) {
/* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
size: "small",
- leadingIcon: pt,
+ leadingIcon: _t,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -46825,7 +46826,7 @@ function rge(e) {
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, R.jsxs)(Iy, {
+ b ? /* @__PURE__ */ (0, R.jsxs)(Wy, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -46833,10 +46834,10 @@ function rge(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, R.jsx)(Ly, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Gy, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, R.jsx)(Ly, {
+ }), y.map((e) => /* @__PURE__ */ (0, R.jsx)(Gy, {
id: e,
children: e
}, e))]
@@ -46872,7 +46873,7 @@ function rge(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var ige = {
+var lge = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -46883,7 +46884,7 @@ var ige = {
screenshot_urls: "截图",
trailer_url: "预告片"
}, HF = "reviewgenretags";
-function age({ tags: e }) {
+function uge({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, R.jsx)("datalist", {
id: HF,
children: e.map((e) => /* @__PURE__ */ (0, R.jsx)("option", { value: e }, e))
@@ -46926,7 +46927,7 @@ function UF({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, R.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: ige[e] || e
+ children: lge[e] || e
}),
/* @__PURE__ */ (0, R.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -46941,18 +46942,18 @@ function UF({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function oge({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function dge({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
children: /* @__PURE__ */ (0, R.jsx)(UF, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, R.jsx)(W_, {
+ }) : /* @__PURE__ */ (0, R.jsx)(X_, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, R.jsx)(G_, {
+ children: a.map((e) => /* @__PURE__ */ (0, R.jsx)(Z_, {
value: e.candidate_key,
className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",
children: /* @__PURE__ */ (0, R.jsx)(UF, {
@@ -46962,15 +46963,15 @@ function oge({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
}, e.candidate_key))
}) : null;
}
-function sge({ genre: e, tags: t, locked: n, toast: r }) {
- let [i, a] = (0, L.useState)(""), [o, s] = (0, L.useState)(""), c = yr({
- mutationFn: (t) => Vre(e, t),
+function fge({ genre: e, tags: t, locked: n, toast: r }) {
+ let [i, a] = (0, L.useState)(""), [o, s] = (0, L.useState)(""), c = Cr({
+ mutationFn: (t) => Px(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Ure();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Lx();
},
onError: (e) => s(H(e))
}), l = () => {
@@ -46989,14 +46990,14 @@ function sge({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, R.jsx)(Oy, {
+ /* @__PURE__ */ (0, R.jsx)(Ay, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, R.jsx)(Ay, {
+ children: /* @__PURE__ */ (0, R.jsx)(My, {
size: "small",
list: t.length ? HF : void 0,
autoComplete: "off",
@@ -47030,8 +47031,8 @@ function sge({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function cge({ row: e, tags: t, locked: n, toast: r }) {
- let i = Rre(e);
+function pge({ row: e, tags: t, locked: n, toast: r }) {
+ let i = Kre(e);
return i.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -47039,7 +47040,7 @@ function cge({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, R.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, R.jsx)(sge, {
+ }), i.map((e) => /* @__PURE__ */ (0, R.jsx)(fge, {
genre: e,
tags: t,
locked: n,
@@ -47049,9 +47050,9 @@ function cge({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var WF = (e = "") => /^https?:\/\//i.test(e) ? e : "", lge = (e = "") => WF(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+var WF = (e = "") => /^https?:\/\//i.test(e) ? e : "", mge = (e = "") => WF(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
function GF({ url: e }) {
- let t = lge(e || ""), [n, r] = (0, L.useState)(!1);
+ let t = mge(e || ""), [n, r] = (0, L.useState)(!1);
return /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
children: t && !n ? /* @__PURE__ */ (0, R.jsx)("img", {
@@ -47082,7 +47083,7 @@ function KF({ asset: e, openItem: t }) {
}) : /* @__PURE__ */ (0, R.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, R.jsx)(Xu, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, R.jsx)(ed, { children: `打开原视频 ${n}` })]
}), /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
children: [/* @__PURE__ */ (0, R.jsx)("b", {
@@ -47092,14 +47093,14 @@ function KF({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
size: "small",
- leadingIcon: jt,
+ leadingIcon: Ft,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function uge({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function hge({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, R.jsx)("button", {
@@ -47122,7 +47123,7 @@ function uge({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function dge({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+function gge({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
let o = WF(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, R.jsxs)("section", {
className: "flex flex-col gap-3",
@@ -47133,10 +47134,10 @@ function dge({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, R.jsx)(oa, {
+ children: [o ? /* @__PURE__ */ (0, R.jsx)(ua, {
variant: "secondary",
size: "small",
- trailingIcon: bt,
+ trailingIcon: wt,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -47191,7 +47192,7 @@ function dge({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function fge({ assets: e, picked: t, onPicked: n, locked: r }) {
+function _ge({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, L.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -47247,7 +47248,7 @@ function fge({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, R.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, R.jsx)(SO, {
+ children: /* @__PURE__ */ (0, R.jsx)(TO, {
size: "sm",
state: {
isSelected: n,
@@ -47258,7 +47259,7 @@ function fge({ assets: e, picked: t, onPicked: n, locked: r }) {
}
})
}),
- /* @__PURE__ */ (0, R.jsx)(Xu, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, R.jsx)(ed, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -47267,19 +47268,19 @@ function fge({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var pge = ga({
+var vge = ba({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), qF = "flex min-h-6 min-w-0 items-center", mge = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function hge(e) {
- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, L.useRef)(!1), m = dO(), h = dO(), g = t === "metadata_fields", _ = kre[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = Fre(t, n), x = Nx(t, n), S = Mx(t, n), C = Ire(n), w = Lre(n), T = jx(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, R.jsx)("div", {
+}), qF = "flex min-h-6 min-w-0 items-center", yge = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function bge(e) {
+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, L.useRef)(!1), m = mO(), h = mO(), g = t === "metadata_fields", _ = Lre[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = Ure(t, n), x = Ax(t, n), S = kx(t, n), C = Wre(n), w = Gre(n), T = Ox(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex flex-col gap-3",
children: E.map((e) => /* @__PURE__ */ (0, R.jsx)(KF, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, R.jsx)(uge, {
+ }) : y ? /* @__PURE__ */ (0, R.jsx)(hge, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -47297,7 +47298,7 @@ function hge(e) {
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, A = g ? /* @__PURE__ */ (0, R.jsx)(oge, {
+ }) : null, A = g ? /* @__PURE__ */ (0, R.jsx)(dge, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -47306,7 +47307,7 @@ function hge(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, R.jsx)(fge, {
+ }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, R.jsx)(_ge, {
assets: D,
picked: r.assets,
locked: s,
@@ -47314,12 +47315,12 @@ function hge(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, R.jsx)(va, {
+ }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "inset",
- icon: Et,
+ icon: At,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, R.jsx)(dge, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, R.jsx)(gge, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
@@ -47328,7 +47329,7 @@ function hge(e) {
note: f.revealNote
}) : /* @__PURE__ */ (0, R.jsx)(GF, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, R.jsxs)("h4", {
className: `${qF} flex-wrap gap-2`,
- children: [/* @__PURE__ */ (0, R.jsx)(ia, {
+ children: [/* @__PURE__ */ (0, R.jsx)(ca, {
variant: "caption",
color: "blue",
children: x
@@ -47348,7 +47349,7 @@ function hge(e) {
return /* @__PURE__ */ (0, R.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${pge} ${mge(t)} overflow-hidden`,
+ className: `${vge} ${yge(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, R.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
@@ -47361,7 +47362,7 @@ function hge(e) {
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, R.jsx)(CO, {
+ children: /* @__PURE__ */ (0, R.jsx)(EO, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -47371,7 +47372,7 @@ function hge(e) {
className: "min-w-0 flex-1",
children: j
}),
- O ? /* @__PURE__ */ (0, R.jsx)(ia, {
+ O ? /* @__PURE__ */ (0, R.jsx)(ca, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -47395,7 +47396,7 @@ function hge(e) {
!y && k ? k : null,
w.length || t === "creator_tags" ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: w.length ? w.map((e) => /* @__PURE__ */ (0, R.jsx)(ia, {
+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, R.jsx)(ca, {
variant: "caption",
color: "soft",
children: e
@@ -47405,7 +47406,7 @@ function hge(e) {
})
}) : null,
A,
- /* @__PURE__ */ (0, R.jsx)(cge, {
+ /* @__PURE__ */ (0, R.jsx)(pge, {
row: n,
tags: u,
locked: s,
@@ -47467,8 +47468,8 @@ function hge(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var gge = "flex cursor-pointer items-center justify-between gap-2";
-function _ge({ page: e, pages: t, onPage: n }) {
+var xge = "flex cursor-pointer items-center justify-between gap-2";
+function Sge({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, R.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -47482,7 +47483,7 @@ function _ge({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, R.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: Cx(e, t).map((t, r) => /* @__PURE__ */ (0, R.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, R.jsx)("span", {
+ children: bx(e, t).map((t, r) => /* @__PURE__ */ (0, R.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, R.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -47505,48 +47506,48 @@ function _ge({ page: e, pages: t, onPage: n }) {
]
});
}
-function vge(e) {
+function Cge(e) {
let [t, n] = (0, L.useState)(() => matchMedia("(max-width:900px)").matches);
(0, L.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let { route: r, openItem: i, openEntity: a, revealSource: o, avatarInner: s, toast: c, readOnly: l, readOnlyMessage: u, writerUrl: d } = e, [f, p] = (0, L.useState)(kx(e.category) ? e.category : Ore), [m, h] = (0, L.useState)("candidates"), [g, _] = (0, L.useState)(""), [v, y] = (0, L.useState)(1), [b, x] = (0, L.useState)(/* @__PURE__ */ new Set()), [S, C] = (0, L.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, L.useState)(/* @__PURE__ */ new Map()), [E, D] = (0, L.useState)(""), O = (0, L.useRef)(null), [k, A] = (0, L.useState)(0), [j, M] = (0, L.useState)(""), N = (0, L.useRef)(!0);
+ let { route: r, openItem: i, openEntity: a, revealSource: o, avatarInner: s, toast: c, readOnly: l, readOnlyMessage: u, writerUrl: d } = e, [f, p] = (0, L.useState)(Ex(e.category) ? e.category : Ire), [m, h] = (0, L.useState)("candidates"), [g, _] = (0, L.useState)(""), [v, y] = (0, L.useState)(1), [b, x] = (0, L.useState)(/* @__PURE__ */ new Set()), [S, C] = (0, L.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, L.useState)(/* @__PURE__ */ new Map()), [E, D] = (0, L.useState)(""), O = (0, L.useRef)(null), [k, A] = (0, L.useState)(0), [j, M] = (0, L.useState)(""), N = (0, L.useRef)(!0);
(0, L.useEffect)(() => () => {
N.current = !1;
}, []);
- let P = vr({
- queryKey: Dx,
- queryFn: ({ signal: e }) => Fx(e)
+ let P = Sr({
+ queryKey: wx,
+ queryFn: ({ signal: e }) => Mx(e)
}).data || {
sections: {},
counts: {}
- }, ee = P.sections[f] || [], F = f === "metadata_fields", te = l, ne = Are(ee, F), re = ne.some(([e]) => e === m) ? m : "candidates", ie = Ax(ee, re), ae = ie.some((e) => e.key === g) ? g : "", oe = Mre(jre(ee, re, ae), v), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({
+ }, ee = P.sections[f] || [], F = f === "metadata_fields", te = l, ne = Rre(ee, F), re = ne.some(([e]) => e === m) ? m : "candidates", ie = Dx(ee, re), ae = ie.some((e) => e.key === g) ? g : "", oe = Bre(zre(ee, re, ae), v), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({
...e,
rows: e.rows.filter((e) => ce.has(e.item_key))
- })).filter((e) => e.rows.length), ue = (e) => S.get(e.item_key) || zre(e), de = ee.filter((e) => b.has(e.item_key)), I = (e) => {
+ })).filter((e) => e.rows.length), ue = (e) => S.get(e.item_key) || qre(e), de = ee.filter((e) => b.has(e.item_key)), I = (e) => {
let t = new Set(e);
x((e) => new Set([...e].filter((e) => !t.has(e)))), C((e) => new Map([...e].filter(([e]) => !t.has(e)))), T((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, fe = (e, t) => T((n) => new Map(n).set(e, t)), pe = (e) => {
p(e), h("candidates"), _(""), y(1), x(/* @__PURE__ */ new Set()), C(/* @__PURE__ */ new Map()), T(/* @__PURE__ */ new Map()), D(""), O.current = null, r({ category: e === "metadata_fields" ? "" : e });
- }, me = yr({
- mutationFn: ({ row: e, status: t }) => Ix(Px(f, e, t, ue(e))),
+ }, me = Cr({
+ mutationFn: ({ row: e, status: t }) => Nx(jx(f, e, t, ue(e))),
onSuccess: (e, { row: t, status: n }) => {
if (!e.ok) {
fe(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- Lx(f, [t.item_key]), I([t.item_key]), c(Bre(n));
+ Ix(f, [t.item_key]), I([t.item_key]), c(Jre(n));
},
onError: (e, { row: t }) => fe(t.item_key, H(e))
- }), he = yr({
+ }), he = Cr({
mutationFn: async (e) => {
let t = de, n = [], r = [];
for (let [i, a] of t.entries()) {
if (!N.current) break;
D(`正在处理 ${i} / ${t.length}`);
try {
- let t = await Ix(Px(f, a, e, ue(a)));
+ let t = await Nx(jx(f, a, e, ue(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -47560,7 +47561,7 @@ function vge(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- Lx(f, t), I(t), n.forEach(([e, t]) => fe(e, t)), D(""), c(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ Ix(f, t), I(t), n.forEach(([e, t]) => fe(e, t)), D(""), c(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
D(H(e));
@@ -47590,7 +47591,7 @@ function vge(e) {
A(e), M("");
let t = await o(e);
N.current && (A(0), M(t));
- }, ye = Wre(P.mirror, u), be = P.genre_tags || [], xe = {
+ }, ye = Rx(P.mirror, u), be = P.genre_tags || [], xe = {
openItem: i,
openEntity: a,
onReveal: ve,
@@ -47599,7 +47600,7 @@ function vge(e) {
avatarInner: s,
toast: c
};
- return /* @__PURE__ */ (0, R.jsx)(ba, { children: /* @__PURE__ */ (0, R.jsxs)("div", {
+ return /* @__PURE__ */ (0, R.jsx)(wa, { children: /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
te ? /* @__PURE__ */ (0, R.jsx)(G, {
@@ -47615,13 +47616,13 @@ function vge(e) {
}) : void 0,
children: ye
}) : null,
- /* @__PURE__ */ (0, R.jsx)(age, { tags: be }),
- /* @__PURE__ */ (0, R.jsxs)(Cy, {
+ /* @__PURE__ */ (0, R.jsx)(uge, { tags: be }),
+ /* @__PURE__ */ (0, R.jsxs)(Ty, {
orientation: t ? "horizontal" : "vertical",
selectedKey: f,
onSelectionChange: (e) => {
let t = String(e);
- kx(t) && pe(t);
+ Ex(t) && pe(t);
},
className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
@@ -47630,27 +47631,27 @@ function vge(e) {
children: [/* @__PURE__ */ (0, R.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, R.jsx)(wy, {
+ }), /* @__PURE__ */ (0, R.jsx)(Ey, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: Dre.map((e) => {
+ children: Fre.map((e) => {
let t = Number(P.counts[e] || 0);
- return /* @__PURE__ */ (0, R.jsxs)(Ty, {
+ return /* @__PURE__ */ (0, R.jsxs)(Dy, {
id: e,
- className: gge,
- children: [Ox[e], t ? /* @__PURE__ */ (0, R.jsx)("span", {
+ className: xge,
+ children: [Tx[e], t ? /* @__PURE__ */ (0, R.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, R.jsxs)(Ey, {
+ }), /* @__PURE__ */ (0, R.jsxs)(Oy, {
id: f,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- ee.length && !te ? /* @__PURE__ */ (0, R.jsx)(rge, {
+ ee.length && !te ? /* @__PURE__ */ (0, R.jsx)(cge, {
groupOptions: ne,
groupBy: re,
onGroupBy: (e) => {
@@ -47666,7 +47667,7 @@ function vge(e) {
onSelected: x,
selectedRows: de,
metadata: F,
- approvable: de.every((e) => jx(f, e)),
+ approvable: de.every((e) => Ox(f, e)),
busy: he.isPending,
feedback: E,
onUnifySource: _e,
@@ -47691,7 +47692,7 @@ function vge(e) {
})]
}) : null, /* @__PURE__ */ (0, R.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, R.jsx)(hge, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, R.jsx)(bge, {
category: f,
row: e,
choice: ue(e),
@@ -47699,7 +47700,7 @@ function vge(e) {
selected: b.has(e.item_key),
onSelect: (t, n) => x((r) => {
let i = new Set(r);
- return O.current = Pre(i, se, O.current, e.item_key, t, n), i;
+ return O.current = Hre(i, se, O.current, e.item_key, t, n), i;
}),
locked: te,
busy: me.isPending && me.variables?.row.item_key === e.item_key,
@@ -47714,12 +47715,12 @@ function vge(e) {
handlers: xe
}, e.item_key))
})]
- }, e.key)) : /* @__PURE__ */ (0, R.jsx)(va, {
- icon: mt,
+ }, e.key)) : /* @__PURE__ */ (0, R.jsx)(Sa, {
+ icon: vt,
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, R.jsx)(_ge, {
+ /* @__PURE__ */ (0, R.jsx)(Sge, {
page: oe.page,
pages: oe.pages,
onPage: y
@@ -47732,8 +47733,8 @@ function vge(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var yge = "/api/scraping", bge = "/api/scraping/settings", xge = "/api/scraping/check", JF = "/api/scraping/cover", Sge = "/api/scraping/amane-bridge", Cge = "/api/scraping/amane-bridge/check", wge = "/api/scraping/amane-bridge/rebuild", YF = ["scraping"], XF = ["scraping", "cover"], ZF = ["scraping", "amane-bridge"], QF = (e) => U(yge, e), $F = (e) => U(JF, e), eI = (e) => U(Sge, e);
-async function Tge(e) {
+var wge = "/api/scraping", Tge = "/api/scraping/settings", Ege = "/api/scraping/check", JF = "/api/scraping/cover", Dge = "/api/scraping/amane-bridge", Oge = "/api/scraping/amane-bridge/check", kge = "/api/scraping/amane-bridge/rebuild", YF = ["scraping"], XF = ["scraping", "cover"], ZF = ["scraping", "amane-bridge"], QF = (e) => U(wge, e), $F = (e) => U(JF, e), eI = (e) => U(Dge, e);
+async function Age(e) {
await Promise.all([
Y.fetchQuery({
queryKey: YF,
@@ -47749,12 +47750,12 @@ async function Tge(e) {
})
]);
}
-function Ege(e, t) {
+function jge(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.message ? `。${e.message}` : "");
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var Dge = [["peach", "Peach 代理"], ["direct", "直接连接"]], tI = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+var Mge = [["peach", "Peach 代理"], ["direct", "直接连接"]], tI = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
function nI({ source: e }) {
let t = [
"javten",
@@ -47773,16 +47774,16 @@ function nI({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function Oge() {
+function Nge() {
return /* @__PURE__ */ (0, R.jsx)(nI, { source: "github" });
}
-function kge({ source: e, toast: t }) {
+function Pge({ source: e, toast: t }) {
let [n, r] = (0, L.useState)(e.network), [i, a] = (0, L.useState)(""), [o, s] = (0, L.useState)(""), [c, l] = (0, L.useState)(tI[0][0]), [u, d] = (0, L.useState)(""), [f, p] = (0, L.useState)(""), m = (0, L.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
- let g = yr({
- mutationFn: (t) => W(bge, {
+ let g = Cr({
+ mutationFn: (t) => W(Tge, {
source: e.source,
network: n,
cookie: i,
@@ -47795,7 +47796,7 @@ function kge({ source: e, toast: t }) {
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = yr({ mutationFn: () => W(xge, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = Cr({ mutationFn: () => W(Ege, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -47820,40 +47821,40 @@ function kge({ source: e, toast: t }) {
}
}
let C = f || (g.error ? H(g.error) : "") || (_.error ? H(_.error) : ""), w = _.data?.results ?? [], T = n === "peach" || e.accepts_cookie || e.browser || !!C || w.length > 0;
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
title: e.label,
onSubmit: y,
aside: /* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, R.jsx)(nI, { source: e.source }), /* @__PURE__ */ (0, R.jsx)(Xy, {
+ children: [/* @__PURE__ */ (0, R.jsx)(nI, { source: e.source }), /* @__PURE__ */ (0, R.jsx)(ib, {
href: e.login,
children: e.login
})]
}),
children: [
- /* @__PURE__ */ (0, R.jsx)(Wy, { children: /* @__PURE__ */ (0, R.jsx)(By, {
+ /* @__PURE__ */ (0, R.jsx)(Qy, { children: /* @__PURE__ */ (0, R.jsx)(Jy, {
label: "连接方式",
- children: /* @__PURE__ */ (0, R.jsx)(Iy, {
+ children: /* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": "连接方式",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: Dge.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Ly, {
+ children: Mge.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Gy, {
id: e,
children: t
}, e))
})
}) }),
- T ? /* @__PURE__ */ (0, R.jsxs)(Gy, {
+ T ? /* @__PURE__ */ (0, R.jsxs)($y, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, R.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, R.jsx)(Hy, {
+ children: /* @__PURE__ */ (0, R.jsx)(Xy, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: lt,
+ trailingIcon: pt,
children: "配置 Peach 代理"
})
}) : null,
@@ -47866,20 +47867,20 @@ function kge({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, R.jsx)(ZO, {
+ /* @__PURE__ */ (0, R.jsx)(ik, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: QO,
- children: tI.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(G_, {
+ className: ak,
+ children: tI.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Z_, {
value: e,
- className: $O,
+ className: ok,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, R.jsx)(jy, {
+ c === "paste" ? /* @__PURE__ */ (0, R.jsx)(Ny, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -47888,7 +47889,7 @@ function kge({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(Yy, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, R.jsx)(rb, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, R.jsx)(V, {
@@ -47914,14 +47915,14 @@ function kge({ source: e, toast: t }) {
]
})
] }) : null,
- C ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: C }) : null,
+ C ? /* @__PURE__ */ (0, R.jsx)(nb, { children: C }) : null,
w.map((t) => /* @__PURE__ */ (0, R.jsx)(G, {
tone: t.ok ? "success" : "error",
- children: Ege(t, e.label)
+ children: jge(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, R.jsxs)(Ky, { children: [
+ /* @__PURE__ */ (0, R.jsxs)(eb, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
onClick: b,
@@ -47943,8 +47944,8 @@ function kge({ source: e, toast: t }) {
]
});
}
-function Age({ toast: e }) {
- let [t, n] = (0, L.useState)(""), { running: r, outcome: i, start: a } = yO({
+function Fge({ toast: e }) {
+ let [t, n] = (0, L.useState)(""), { running: r, outcome: i, start: a } = SO({
queryKey: XF,
queryFn: ({ signal: e }) => $F(e),
start: () => W(JF, { code: t }),
@@ -47954,15 +47955,15 @@ function Age({ toast: e }) {
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? H(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, R.jsx)(Uy, {
+ return /* @__PURE__ */ (0, R.jsx)(Zy, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, R.jsxs)(Gy, { children: [
+ children: /* @__PURE__ */ (0, R.jsxs)($y, { children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, R.jsx)(jy, {
+ children: /* @__PURE__ */ (0, R.jsx)(Ny, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -47977,7 +47978,7 @@ function Age({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, R.jsx)(ya, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, R.jsx)(Ca, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
children: s
@@ -47989,11 +47990,11 @@ function Age({ toast: e }) {
] })
});
}
-function jge({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = yO({
+function Ige({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = SO({
queryKey: ZF,
queryFn: ({ signal: e }) => eI(e),
- start: () => W(wge, {}),
+ start: () => W(kge, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -48002,45 +48003,45 @@ function jge({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = yr({ mutationFn: () => W(Cge, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, R.jsx)(Uy, {
+ }), a = Cr({ mutationFn: () => W(Oge, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, R.jsx)(Zy, {
title: "amane",
- children: /* @__PURE__ */ (0, R.jsx)(Gy, { children: /* @__PURE__ */ (0, R.jsx)(G, {
+ children: /* @__PURE__ */ (0, R.jsx)($y, { children: /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
children: H(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? H(i.error) : a.error ? H(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
title: "amane",
- aside: /* @__PURE__ */ (0, R.jsx)(Xy, {
+ aside: /* @__PURE__ */ (0, R.jsx)(ib, {
href: o.repository,
- leadingIcon: Oge,
+ leadingIcon: Nge,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, R.jsxs)(Zy, { children: [
- /* @__PURE__ */ (0, R.jsx)(Qy, {
+ /* @__PURE__ */ (0, R.jsxs)(ab, { children: [
+ /* @__PURE__ */ (0, R.jsx)(ob, {
term: "已安装版本",
children: o.installed_version || "未安装"
}),
- /* @__PURE__ */ (0, R.jsx)(Qy, {
+ /* @__PURE__ */ (0, R.jsx)(ob, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, R.jsx)(Qy, {
+ /* @__PURE__ */ (0, R.jsx)(ob, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, R.jsx)(Qy, {
+ /* @__PURE__ */ (0, R.jsx)(ob, {
term: "内置站点",
children: o.sites.map((e) => e.label).join("、")
})
] }),
- /* @__PURE__ */ (0, R.jsxs)(Gy, {
+ /* @__PURE__ */ (0, R.jsxs)($y, {
divided: !0,
children: [
- /* @__PURE__ */ (0, R.jsxs)(qy, { children: [
+ /* @__PURE__ */ (0, R.jsxs)(tb, { children: [
"已安装版本:",
o.installed_version || "未安装",
"。amane(",
@@ -48049,7 +48050,7 @@ function jge({ toast: e }) {
o.version,
" 版本,不随上游自动升级。"
] }),
- n ? /* @__PURE__ */ (0, R.jsx)(ya, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, R.jsx)(Ca, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
children: c
@@ -48060,7 +48061,7 @@ function jge({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, R.jsxs)(Ky, { children: [/* @__PURE__ */ (0, R.jsx)(V, {
+ /* @__PURE__ */ (0, R.jsxs)(eb, { children: [/* @__PURE__ */ (0, R.jsx)(V, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -48077,23 +48078,23 @@ function jge({ toast: e }) {
]
});
}
-function Mge({ toast: e }) {
- let t = vr({
+function Lge({ toast: e }) {
+ let t = Sr({
queryKey: YF,
queryFn: ({ signal: e }) => QF(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, R.jsxs)(ba, { children: [
+ return n ? /* @__PURE__ */ (0, R.jsxs)(wa, { children: [
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, R.jsx)(Age, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, R.jsx)(kge, {
+ /* @__PURE__ */ (0, R.jsx)(Fge, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, R.jsx)(Pge, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, R.jsx)(jge, { toast: e })
- ] }) : /* @__PURE__ */ (0, R.jsx)(ba, { children: /* @__PURE__ */ (0, R.jsx)(G, {
+ /* @__PURE__ */ (0, R.jsx)(Ige, { toast: e })
+ ] }) : /* @__PURE__ */ (0, R.jsx)(wa, { children: /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
title: "采集来源读取失败",
children: t.error ? H(t.error) : "读取采集来源失败"
@@ -48101,7 +48102,7 @@ function Mge({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var rI = "/api/configuration", Nge = "/api/pick-folder", iI = ["configuration"], aI = (e) => U(rI, e);
+var rI = "/api/configuration", Rge = "/api/pick-folder", iI = ["configuration"], aI = (e) => U(rI, e);
async function oI(e) {
await Y.fetchQuery({
queryKey: iI,
@@ -48110,15 +48111,15 @@ async function oI(e) {
}
//#endregion
//#region src/configuration-copy.ts
-var Pge = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", Fge = "仅填域名;留空使用默认地址";
+var zge = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", Bge = "仅填域名;留空使用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function Ige({ initial: e, receipt: t }) {
- let [n, r] = (0, L.useState)(e.sites), i = wa(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function Vge({ initial: e, receipt: t }) {
+ let [n, r] = (0, L.useState)(e.sites), i = Oa(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
title: "外部入口",
onSubmit: (e) => {
e.preventDefault();
@@ -48127,9 +48128,9 @@ function Ige({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, R.jsxs)(Gy, { children: [
- /* @__PURE__ */ (0, R.jsx)(qy, { children: Pge }),
- n.map((e) => /* @__PURE__ */ (0, R.jsx)(jy, {
+ children: [/* @__PURE__ */ (0, R.jsxs)($y, { children: [
+ /* @__PURE__ */ (0, R.jsx)(tb, { children: zge }),
+ n.map((e) => /* @__PURE__ */ (0, R.jsx)(Ny, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -48138,10 +48139,10 @@ function Ige({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: Fge
+ hint: Bge
}, e.key)),
- i.error ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, R.jsx)(Ky, { children: /* @__PURE__ */ (0, R.jsx)(V, {
+ i.error ? /* @__PURE__ */ (0, R.jsx)(nb, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, R.jsx)(eb, { children: /* @__PURE__ */ (0, R.jsx)(V, {
type: "submit",
...K(i.busy === "save"),
children: "保存配置"
@@ -48150,21 +48151,21 @@ function Ige({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function Lge({ data: e, receipt: t }) {
+function Hge({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, R.jsx)(Rge, {
+ children: [e.startup ? /* @__PURE__ */ (0, R.jsx)(Uge, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, R.jsx)(Ige, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, R.jsx)(Vge, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function Rge({ startup: e, receipt: t }) {
- let [n, r] = (0, L.useState)(e.enabled), [i, a] = (0, L.useState)(e.silent), [o, s] = (0, L.useState)(e.desktop), c = wa(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+function Uge({ startup: e, receipt: t }) {
+ let [n, r] = (0, L.useState)(e.enabled), [i, a] = (0, L.useState)(e.silent), [o, s] = (0, L.useState)(e.desktop), c = Oa(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => W("/api/configuration/startup", {
@@ -48174,8 +48175,8 @@ function Rge({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, R.jsxs)(Wy, { children: [
- /* @__PURE__ */ (0, R.jsx)(By, {
+ /* @__PURE__ */ (0, R.jsxs)(Qy, { children: [
+ /* @__PURE__ */ (0, R.jsx)(Jy, {
label: "开机后启动 Peach",
children: /* @__PURE__ */ (0, R.jsx)(XN, {
"aria-label": "开机后启动 Peach",
@@ -48184,7 +48185,7 @@ function Rge({ startup: e, receipt: t }) {
onChange: r
})
}),
- /* @__PURE__ */ (0, R.jsx)(By, {
+ /* @__PURE__ */ (0, R.jsx)(Jy, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
children: /* @__PURE__ */ (0, R.jsx)(XN, {
@@ -48194,7 +48195,7 @@ function Rge({ startup: e, receipt: t }) {
onChange: a
})
}),
- /* @__PURE__ */ (0, R.jsx)(By, {
+ /* @__PURE__ */ (0, R.jsx)(Jy, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
children: /* @__PURE__ */ (0, R.jsx)(XN, {
@@ -48205,11 +48206,11 @@ function Rge({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, R.jsxs)(Gy, {
+ e.message || c.error ? /* @__PURE__ */ (0, R.jsxs)($y, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, R.jsx)(qy, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, R.jsx)(tb, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, R.jsx)(nb, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, R.jsx)(Ky, { children: /* @__PURE__ */ (0, R.jsx)(V, {
+ /* @__PURE__ */ (0, R.jsx)(eb, { children: /* @__PURE__ */ (0, R.jsx)(V, {
type: "submit",
disabled: !e.available,
...K(c.busy === "save"),
@@ -48227,16 +48228,16 @@ var sI = /* @__PURE__ */ new Set([
"preparing",
"restarting",
"installing"
-]), zge = [
+]), Wge = [
65,
67,
90
], cI = 120;
-function Bge({ initial: e, initialJob: t }) {
+function Gge({ initial: e, initialJob: t }) {
let [n, r] = (0, L.useState)(e), [i, a] = (0, L.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, L.useState)(""), c = wa(), l = (0, L.useRef)(!1), u = (0, L.useRef)(!0), d = sI.has(i.state);
+ }), [o, s] = (0, L.useState)(""), c = Oa(), l = (0, L.useRef)(!1), u = (0, L.useRef)(!0), d = sI.has(i.state);
(0, L.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -48282,57 +48283,57 @@ function Bge({ initial: e, initialJob: t }) {
state: "error"
}), c.setError(H(t));
}), g = c.error || o, _ = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, R.jsxs)(Zy, { children: [
- /* @__PURE__ */ (0, R.jsx)(Qy, {
+ /* @__PURE__ */ (0, R.jsxs)(ab, { children: [
+ /* @__PURE__ */ (0, R.jsx)(ob, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, R.jsx)(Qy, {
+ /* @__PURE__ */ (0, R.jsx)(ob, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, R.jsx)(Qy, {
+ /* @__PURE__ */ (0, R.jsx)(ob, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, R.jsx)(Qy, {
+ /* @__PURE__ */ (0, R.jsx)(ob, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, R.jsxs)(Gy, {
+ /* @__PURE__ */ (0, R.jsxs)($y, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, R.jsxs)(qy, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, R.jsxs)(tb, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !g ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : g || n.state === "error" ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: g || n.message }) : /* @__PURE__ */ (0, R.jsx)(qy, {
+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, R.jsx)(nb, { children: g || n.message }) : /* @__PURE__ */ (0, R.jsx)(tb, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, R.jsx)(nb, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, R.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(Ca, {
+ /* @__PURE__ */ (0, R.jsx)(Da, {
label: "更新准备进度",
value: i.progress,
- stops: zge
+ stops: Wge
}),
- /* @__PURE__ */ (0, R.jsxs)(qy, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, R.jsx)(qy, { children: _ })
+ /* @__PURE__ */ (0, R.jsxs)(tb, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, R.jsx)(tb, { children: _ })
]
}) : null
]
}),
- /* @__PURE__ */ (0, R.jsxs)(Ky, {
- status: /* @__PURE__ */ (0, R.jsx)(Xy, {
+ /* @__PURE__ */ (0, R.jsxs)(eb, {
+ status: /* @__PURE__ */ (0, R.jsx)(ib, {
href: n.release_url,
children: "查看发布页"
}),
@@ -48359,59 +48360,59 @@ function Bge({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var Vge = [
+var Kge = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function Hge({ data: e, receipt: t, reopenTutorial: n }) {
+function qge({ data: e, receipt: t, reopenTutorial: n }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.automatic_updates ? /* @__PURE__ */ (0, R.jsx)(Wge, {
+ e.automatic_updates ? /* @__PURE__ */ (0, R.jsx)(Yge, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, R.jsx)(Bge, {
+ e.updates ? /* @__PURE__ */ (0, R.jsx)(Gge, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, R.jsx)(Gge, { facts: e.facts }),
- /* @__PURE__ */ (0, R.jsx)(Uge, {
+ /* @__PURE__ */ (0, R.jsx)(Xge, { facts: e.facts }),
+ /* @__PURE__ */ (0, R.jsx)(Jge, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, R.jsx)(Kge, {
+ e.uninstall ? /* @__PURE__ */ (0, R.jsx)(Zge, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function Uge({ receipt: e, reopenTutorial: t }) {
- let n = wa();
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+function Jge({ receipt: e, reopenTutorial: t }) {
+ let n = Oa();
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
title: "安装教程",
- children: [/* @__PURE__ */ (0, R.jsxs)(Gy, { children: [/* @__PURE__ */ (0, R.jsx)(qy, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: n.error }) : null] }), /* @__PURE__ */ (0, R.jsx)(Ky, { children: /* @__PURE__ */ (0, R.jsx)(V, {
+ children: [/* @__PURE__ */ (0, R.jsxs)($y, { children: [/* @__PURE__ */ (0, R.jsx)(tb, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, R.jsx)(nb, { children: n.error }) : null] }), /* @__PURE__ */ (0, R.jsx)(eb, { children: /* @__PURE__ */ (0, R.jsx)(V, {
onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),
...K(n.busy === "reopen"),
children: "重新打开教程"
}) })]
});
}
-function Wge({ initial: e, receipt: t }) {
- let [n, r] = (0, L.useState)(e.mode), [i, a] = (0, L.useState)(e.interval_hours), o = wa(e.error), s = (r) => {
+function Yge({ initial: e, receipt: t }) {
+ let [n, r] = (0, L.useState)(e.mode), [i, a] = (0, L.useState)(e.interval_hours), o = Oa(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => W("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, R.jsxs)(Wy, { children: [
- /* @__PURE__ */ (0, R.jsx)(By, {
+ /* @__PURE__ */ (0, R.jsxs)(Qy, { children: [
+ /* @__PURE__ */ (0, R.jsx)(Jy, {
label: "自动检查新版本",
children: /* @__PURE__ */ (0, R.jsx)(XN, {
"aria-label": "自动检查新版本",
@@ -48420,7 +48421,7 @@ function Wge({ initial: e, receipt: t }) {
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, R.jsx)(By, {
+ /* @__PURE__ */ (0, R.jsx)(Jy, {
label: "自动下载更新",
children: /* @__PURE__ */ (0, R.jsx)(XN, {
"aria-label": "自动下载更新",
@@ -48429,28 +48430,28 @@ function Wge({ initial: e, receipt: t }) {
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, R.jsx)(By, {
+ /* @__PURE__ */ (0, R.jsx)(Jy, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, R.jsx)(Iy, {
+ children: /* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: Vge.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Ly, {
+ children: Kge.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Gy, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, R.jsx)(Gy, {
+ o.error ? /* @__PURE__ */ (0, R.jsx)($y, {
divided: !0,
- children: /* @__PURE__ */ (0, R.jsx)(Jy, { children: o.error })
+ children: /* @__PURE__ */ (0, R.jsx)(nb, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, R.jsx)(Ky, { children: /* @__PURE__ */ (0, R.jsx)(V, {
+ /* @__PURE__ */ (0, R.jsx)(eb, { children: /* @__PURE__ */ (0, R.jsx)(V, {
type: "submit",
disabled: !e.available,
...K(o.busy === "save"),
@@ -48459,19 +48460,19 @@ function Wge({ initial: e, receipt: t }) {
]
});
}
-function Gge({ facts: e }) {
- return /* @__PURE__ */ (0, R.jsx)(Uy, {
+function Xge({ facts: e }) {
+ return /* @__PURE__ */ (0, R.jsx)(Zy, {
title: "运行信息",
- children: /* @__PURE__ */ (0, R.jsx)(Zy, { children: e.map((e) => /* @__PURE__ */ (0, R.jsxs)(Qy, {
+ children: /* @__PURE__ */ (0, R.jsx)(ab, { children: e.map((e) => /* @__PURE__ */ (0, R.jsxs)(ob, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, R.jsx)(Xy, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, R.jsx)(ib, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function Kge({ uninstall: e, receipt: t }) {
+function Zge({ uninstall: e, receipt: t }) {
let [n, r] = (0, L.useState)(!1), [i, a] = (0, L.useState)(""), o = () => void b({
title: "卸载 Peach",
danger: !0,
@@ -48485,26 +48486,26 @@ function Kge({ uninstall: e, receipt: t }) {
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, R.jsxs)(Gy, { children: [
- e.available ? /* @__PURE__ */ (0, R.jsx)(qy, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, R.jsx)(CO, {
+ children: [/* @__PURE__ */ (0, R.jsxs)($y, { children: [
+ e.available ? /* @__PURE__ */ (0, R.jsx)(tb, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, R.jsx)(EO, {
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, R.jsx)($y, {
+ /* @__PURE__ */ (0, R.jsx)(sb, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, R.jsx)(mO, {
+ children: c.map((e) => /* @__PURE__ */ (0, R.jsx)(_O, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, R.jsx)(Ky, {
+ ] }), /* @__PURE__ */ (0, R.jsx)(eb, {
status: s ? /* @__PURE__ */ (0, R.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -48520,7 +48521,7 @@ function Kge({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/clouddrive-guide.tsx
-var qge = [
+var Qge = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -48539,32 +48540,32 @@ var qge = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], Jge = [
+], $ge = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function Yge() {
+function e_e() {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, R.jsxs)(qy, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, R.jsx)(Xy, {
+ children: [/* @__PURE__ */ (0, R.jsxs)(tb, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, R.jsx)(ib, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, R.jsxs)($y, {
+ })] }), /* @__PURE__ */ (0, R.jsxs)(sb, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, R.jsx)(qy, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, R.jsx)(tb, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, R.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: qge.map((e) => /* @__PURE__ */ (0, R.jsxs)("li", {
+ children: Qge.map((e) => /* @__PURE__ */ (0, R.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, R.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: Jge.map(([t, n]) => /* @__PURE__ */ (0, R.jsxs)("div", {
+ children: $ge.map(([t, n]) => /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, R.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -48585,9 +48586,9 @@ function Yge() {
/* @__PURE__ */ (0, R.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, R.jsxs)(qy, { children: [
+ /* @__PURE__ */ (0, R.jsxs)(tb, { children: [
"三处缓存的分工、往上调的方法和这些起步值的来源在",
- /* @__PURE__ */ (0, R.jsx)(Xy, {
+ /* @__PURE__ */ (0, R.jsx)(ib, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -48599,15 +48600,15 @@ function Yge() {
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var Xge = "/api/configuration/downloads", Zge = "/api/configuration/downloads/check", Qge = "/api/configuration/downloads/folder", $ge = "/api/configuration/downloads/pikpak/login", e_e = "/api/configuration/downloads/pikpak/logout";
-function t_e({ initial: e, receipt: t }) {
+var t_e = "/api/configuration/downloads", n_e = "/api/configuration/downloads/check", r_e = "/api/configuration/downloads/folder", i_e = "/api/configuration/downloads/pikpak/login", a_e = "/api/configuration/downloads/pikpak/logout";
+function o_e({ initial: e, receipt: t }) {
let [n, r] = (0, L.useState)(e), [i, a] = (0, L.useState)(""), o = n.pikpak.logged_in || !!i.trim();
- return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(n_e, {
+ return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(s_e, {
state: n,
settle: r,
receipt: t,
pikpakAccount: o
- }), /* @__PURE__ */ (0, R.jsx)(i_e, {
+ }), /* @__PURE__ */ (0, R.jsx)(l_e, {
state: n,
settle: r,
receipt: t,
@@ -48615,18 +48616,18 @@ function t_e({ initial: e, receipt: t }) {
setUsername: a
})] });
}
-function n_e({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
+function s_e({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
let [i, a] = (0, L.useState)(e.config), [o, s] = (0, L.useState)(""), [c, l] = (0, L.useState)(String(e.config.wait_hours)), [u, d] = (0, L.useState)(null), [f, p] = (0, L.useState)(""), [m, h] = (0, L.useState)({
target: null,
root: ""
- }), [g, _] = (0, L.useState)(""), [v, y] = (0, L.useState)(!1), b = wa(), x = (e) => i.targets[e] ?? "", S = (e, t) => a({
+ }), [g, _] = (0, L.useState)(""), [v, y] = (0, L.useState)(!1), b = Oa(), x = (e) => i.targets[e] ?? "", S = (e, t) => a({
...i,
targets: {
...i.targets,
[e]: t
}
}), C = !!(m.target && !m.target.exists && x("115") === m.target.path);
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
title: "云下载",
onSubmit: (e) => {
if (e.preventDefault(), C) {
@@ -48638,14 +48639,14 @@ function n_e({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
wait_hours: c,
token: o
};
- b.run("save", (e) => W(Xge, r, "POST", e), (e) => {
+ b.run("save", (e) => W(t_e, r, "POST", e), (e) => {
t(e), a(e.config), l(String(e.config.wait_hours)), s(""), _(""), n("已保存配置");
}, (e) => _(H(e)));
},
children: [
- /* @__PURE__ */ (0, R.jsxs)(Gy, { children: [
- /* @__PURE__ */ (0, R.jsx)(qy, { children: "把磁力交给 115 或 PikPak 离线下载,文件落在已挂载的网盘目录,再由推送发现登记入库,不经过这台电脑。 115 每个任务扣一条离线配额(年费会员每月 1500 条、月费 200 条),被判违规的资源不重试。" }),
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsxs)($y, { children: [
+ /* @__PURE__ */ (0, R.jsx)(tb, { children: "把磁力交给 115 或 PikPak 离线下载,文件落在已挂载的网盘目录,再由推送发现登记入库,不经过这台电脑。 115 每个任务扣一条离线配额(年费会员每月 1500 条、月费 200 条),被判违规的资源不重试。" }),
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
label: "CloudDrive2 地址",
placeholder: "留空自动探测本机 19798 / 29798",
autoComplete: "off",
@@ -48657,7 +48658,7 @@ function n_e({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
clouddrive_address: e
})
}),
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
label: "CloudDrive2 API 令牌",
type: "password",
autoComplete: "off",
@@ -48668,7 +48669,7 @@ function n_e({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
label: "115 目标目录",
placeholder: "检查时按推送发现自动填写",
autoComplete: "off",
@@ -48680,7 +48681,7 @@ function n_e({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: (e) => S("115", e)
}),
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
label: "PikPak 目标目录",
placeholder: "以 / 开头的网盘路径",
autoComplete: "off",
@@ -48692,7 +48693,7 @@ function n_e({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, R.jsx)(Yy, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, R.jsx)(Iy, {
+ children: [/* @__PURE__ */ (0, R.jsx)(rb, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": "PikPak 根目录对应的媒体文件夹",
selectedKey: i.pikpak_root || null,
isDisabled: !e.available,
@@ -48701,13 +48702,13 @@ function n_e({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
...i,
pikpak_root: e === null ? "" : String(e)
}),
- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, R.jsx)(Ly, {
+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, R.jsx)(Gy, {
id: e,
children: e
}, e))
- }) : /* @__PURE__ */ (0, R.jsx)(qy, { children: "媒体文件夹里还没有「CloudDrive · PikPak」来源。在上方添加 PikPak 的挂载目录后,这里才能选。" })]
+ }) : /* @__PURE__ */ (0, R.jsx)(tb, { children: "媒体文件夹里还没有「CloudDrive · PikPak」来源。在上方添加 PikPak 的挂载目录后,这里才能选。" })]
}),
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
label: "等待上限(小时)",
type: "number",
inputMode: "numeric",
@@ -48718,7 +48719,7 @@ function n_e({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onChange: l
})
] }),
- u ? /* @__PURE__ */ (0, R.jsx)(r_e, {
+ u ? /* @__PURE__ */ (0, R.jsx)(c_e, {
report: u,
detected: f,
suggested: m,
@@ -48730,7 +48731,7 @@ function n_e({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("folder", (e) => W(Qge, t, "POST", e), (t) => {
+ b.run("folder", (e) => W(r_e, t, "POST", e), (t) => {
d(t), h((t) => ({
...t,
target: {
@@ -48742,11 +48743,11 @@ function n_e({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
} : void 0,
creating: b.busy === "folder"
}) : null,
- g || b.error ? /* @__PURE__ */ (0, R.jsx)(Gy, {
+ g || b.error ? /* @__PURE__ */ (0, R.jsx)($y, {
divided: !0,
- children: /* @__PURE__ */ (0, R.jsx)(Jy, { children: g || b.error })
+ children: /* @__PURE__ */ (0, R.jsx)(nb, { children: g || b.error })
}) : null,
- /* @__PURE__ */ (0, R.jsxs)(Ky, {
+ /* @__PURE__ */ (0, R.jsxs)(eb, {
status: e.available ? void 0 : "云下载只在账本写入端可用。",
children: [/* @__PURE__ */ (0, R.jsx)(V, {
onClick: () => {
@@ -48757,7 +48758,7 @@ function n_e({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("check", (e) => W(Zge, s, "POST", e), (r) => {
+ b.run("check", (e) => W(n_e, s, "POST", e), (r) => {
let i = t ? r.suggested_target : null, o = n ? r.suggested_pikpak_root : "";
a((t) => ({
...t,
@@ -48786,20 +48787,20 @@ function n_e({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-function r_e({ report: e, detected: t, suggested: n, create: r, creating: i }) {
+function c_e({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target;
- return /* @__PURE__ */ (0, R.jsxs)(Gy, {
+ return /* @__PURE__ */ (0, R.jsxs)($y, {
divided: !0,
- children: [/* @__PURE__ */ (0, R.jsxs)(Zy, { children: [
- t ? /* @__PURE__ */ (0, R.jsx)(Qy, {
+ children: [/* @__PURE__ */ (0, R.jsxs)(ab, { children: [
+ t ? /* @__PURE__ */ (0, R.jsx)(ob, {
term: "CloudDrive2 地址",
children: `探测到 ${t},保存配置后生效`
}) : null,
- a?.exists ? /* @__PURE__ */ (0, R.jsx)(Qy, {
+ a?.exists ? /* @__PURE__ */ (0, R.jsx)(ob, {
term: "115 目标目录",
children: `按推送发现填入 ${a.path},保存配置后生效`
}) : null,
- a && !a.exists ? /* @__PURE__ */ (0, R.jsxs)(Qy, {
+ a && !a.exists ? /* @__PURE__ */ (0, R.jsxs)(ob, {
term: "115 目标目录",
children: [`${a.path} 不存在`, r ? /* @__PURE__ */ (0, R.jsx)(V, {
size: "small",
@@ -48808,28 +48809,28 @@ function r_e({ report: e, detected: t, suggested: n, create: r, creating: i }) {
children: "新建这个目录"
}) : null]
}) : null,
- n.root ? /* @__PURE__ */ (0, R.jsx)(Qy, {
+ n.root ? /* @__PURE__ */ (0, R.jsx)(ob, {
term: "PikPak 根目录",
children: `按推送发现填入 ${n.root},保存配置后生效`
}) : null,
- e.permissions.length ? /* @__PURE__ */ (0, R.jsx)(Qy, {
+ e.permissions.length ? /* @__PURE__ */ (0, R.jsx)(ob, {
term: "离线权限",
children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"
}) : null,
- e.folder ? /* @__PURE__ */ (0, R.jsx)(Qy, {
+ e.folder ? /* @__PURE__ */ (0, R.jsx)(ob, {
term: "目标目录",
children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`
}) : null,
- e.quota ? /* @__PURE__ */ (0, R.jsx)(Qy, {
+ e.quota ? /* @__PURE__ */ (0, R.jsx)(ob, {
term: "115 离线配额",
children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`
}) : null
- ] }), e.problems.map((e) => /* @__PURE__ */ (0, R.jsx)(Jy, { children: e }, e))]
+ ] }), e.problems.map((e) => /* @__PURE__ */ (0, R.jsx)(nb, { children: e }, e))]
});
}
-function i_e({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
- let [a, o] = (0, L.useState)(""), [s, c] = (0, L.useState)(!1), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(""), p = wa(), m = e.pikpak;
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+function l_e({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
+ let [a, o] = (0, L.useState)(""), [s, c] = (0, L.useState)(!1), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(""), p = Oa(), m = e.pikpak;
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
title: "PikPak 账号",
onSubmit: (e) => {
if (e.preventDefault(), m.logged_in) return;
@@ -48838,7 +48839,7 @@ function i_e({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
password: a,
remember: s
};
- p.run("login", (e) => W($ge, i, "POST", e), (e) => {
+ p.run("login", (e) => W(i_e, i, "POST", e), (e) => {
if (t(e.settings), f(""), !e.ok) {
u(e.captcha_url ?? "");
return;
@@ -48847,15 +48848,15 @@ function i_e({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
}, (e) => f(H(e)));
},
children: [
- m.logged_in ? /* @__PURE__ */ (0, R.jsxs)(Zy, { children: [/* @__PURE__ */ (0, R.jsx)(Qy, {
+ m.logged_in ? /* @__PURE__ */ (0, R.jsxs)(ab, { children: [/* @__PURE__ */ (0, R.jsx)(ob, {
term: "账号",
children: m.username || "已登录"
- }), /* @__PURE__ */ (0, R.jsx)(Qy, {
+ }), /* @__PURE__ */ (0, R.jsx)(ob, {
term: "密码",
children: m.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"
- })] }) : /* @__PURE__ */ (0, R.jsxs)(Gy, { children: [
- /* @__PURE__ */ (0, R.jsx)(qy, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。 账号密码只用来换登录令牌,令牌存在这台电脑上。" }),
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ })] }) : /* @__PURE__ */ (0, R.jsxs)($y, { children: [
+ /* @__PURE__ */ (0, R.jsx)(tb, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。 账号密码只用来换登录令牌,令牌存在这台电脑上。" }),
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
label: "账号",
placeholder: "邮箱或手机号",
autoComplete: "username",
@@ -48864,7 +48865,7 @@ function i_e({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: i
}),
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
label: "密码",
type: "password",
autoComplete: "current-password",
@@ -48873,7 +48874,7 @@ function i_e({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: o
}),
- /* @__PURE__ */ (0, R.jsx)(CO, {
+ /* @__PURE__ */ (0, R.jsx)(EO, {
isSelected: s,
isDisabled: !e.available,
onChange: c,
@@ -48884,7 +48885,7 @@ function i_e({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
title: "需要人机验证",
extra: /* @__PURE__ */ (0, R.jsx)("div", {
className: "pt-2",
- children: /* @__PURE__ */ (0, R.jsx)(Xy, {
+ children: /* @__PURE__ */ (0, R.jsx)(ib, {
href: l,
children: "打开 PikPak 验证页"
})
@@ -48892,13 +48893,13 @@ function i_e({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
children: "在浏览器里完成验证后,回到这里再点一次「登录」。"
}) : null
] }),
- d || p.error ? /* @__PURE__ */ (0, R.jsx)(Gy, {
+ d || p.error ? /* @__PURE__ */ (0, R.jsx)($y, {
divided: !0,
- children: /* @__PURE__ */ (0, R.jsx)(Jy, { children: d || p.error })
+ children: /* @__PURE__ */ (0, R.jsx)(nb, { children: d || p.error })
}) : null,
- /* @__PURE__ */ (0, R.jsx)(Ky, { children: m.logged_in ? /* @__PURE__ */ (0, R.jsx)(V, {
+ /* @__PURE__ */ (0, R.jsx)(eb, { children: m.logged_in ? /* @__PURE__ */ (0, R.jsx)(V, {
onClick: () => {
- p.run("logout", (e) => W(e_e, {}, "POST", e), (e) => {
+ p.run("logout", (e) => W(a_e, {}, "POST", e), (e) => {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(H(e)));
},
@@ -48960,13 +48961,13 @@ var lI = [
["star", "收藏"],
["tags", "主题"]
];
-function a_e(e) {
+function u_e(e) {
let t = e === "local" ? "" : _[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
var uI = "auto";
-function o_e({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, L.useRef)(null), [a, o] = (0, L.useState)(!1), [s, c] = (0, L.useState)(e), [l, u] = a_e(n);
+function d_e({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, L.useRef)(null), [a, o] = (0, L.useState)(!1), [s, c] = (0, L.useState)(e), [l, u] = u_e(n);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(V, {
ref: i,
variant: "secondary",
@@ -48980,34 +48981,34 @@ function o_e({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, R.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, R.jsx)(eb, { mark: e || l }), ((e) => e && lI.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, R.jsx)(cb, { mark: e || l }), ((e) => e && lI.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, R.jsx)(ig, {
+ }), /* @__PURE__ */ (0, R.jsx)(cg, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: My,
- children: /* @__PURE__ */ (0, R.jsxs)($g, {
+ className: Py,
+ children: /* @__PURE__ */ (0, R.jsxs)(a_, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, R.jsx)(Fu, {
+ /* @__PURE__ */ (0, R.jsx)(zu, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, R.jsx)(W_, {
+ /* @__PURE__ */ (0, R.jsx)(X_, {
"aria-label": "候选图标",
value: s || uI,
onChange: (e) => c(e === uI ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: lI.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(G_, {
+ children: lI.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Z_, {
value: e || uI,
"aria-label": e ? t : u,
className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",
- children: /* @__PURE__ */ (0, R.jsx)(eb, { mark: e || l })
+ children: /* @__PURE__ */ (0, R.jsx)(cb, { mark: e || l })
}, e || uI))
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
@@ -49030,15 +49031,15 @@ function o_e({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var s_e = "/api/configuration/push-discovery", c_e = "/api/configuration/push-discovery/secret";
-function l_e({ initial: e, receipt: t }) {
- let [n, r] = (0, L.useState)(e), [i, a] = (0, L.useState)(e.prefixes), [o, s] = (0, L.useState)(""), c = wa(), l = dO(), u = n.media_roots, [d, f] = (0, L.useState)(e), p = (e, n) => {
+var f_e = "/api/configuration/push-discovery", p_e = "/api/configuration/push-discovery/secret";
+function m_e({ initial: e, receipt: t }) {
+ let [n, r] = (0, L.useState)(e), [i, a] = (0, L.useState)(e.prefixes), [o, s] = (0, L.useState)(""), c = Oa(), l = mO(), u = n.media_roots, [d, f] = (0, L.useState)(e), p = (e, n) => {
r(e), f(e), a(e.prefixes), s(""), t(n);
}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
title: "推送发现",
onSubmit: (e) => {
e.preventDefault();
@@ -49048,11 +49049,11 @@ function l_e({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => W(s_e, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(H(e)));
+ c.run("save", (e) => W(f_e, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(H(e)));
},
children: [
- /* @__PURE__ */ (0, R.jsxs)(Wy, { children: [
- /* @__PURE__ */ (0, R.jsx)(By, {
+ /* @__PURE__ */ (0, R.jsxs)(Qy, { children: [
+ /* @__PURE__ */ (0, R.jsx)(Jy, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
children: /* @__PURE__ */ (0, R.jsx)(XN, {
@@ -49065,7 +49066,7 @@ function l_e({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, R.jsx)(By, {
+ /* @__PURE__ */ (0, R.jsx)(Jy, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
children: /* @__PURE__ */ (0, R.jsx)(XN, {
@@ -49078,7 +49079,7 @@ function l_e({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, R.jsx)(By, {
+ /* @__PURE__ */ (0, R.jsx)(Jy, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
children: /* @__PURE__ */ (0, R.jsx)(XN, {
@@ -49092,30 +49093,30 @@ function l_e({ initial: e, receipt: t }) {
})
})
] }),
- d.enabled ? /* @__PURE__ */ (0, R.jsx)(Gy, {
+ d.enabled ? /* @__PURE__ */ (0, R.jsx)($y, {
divided: !0,
- children: /* @__PURE__ */ (0, R.jsxs)(Zy, { children: [d.watch_local ? /* @__PURE__ */ (0, R.jsx)(Qy, {
+ children: /* @__PURE__ */ (0, R.jsxs)(ab, { children: [d.watch_local ? /* @__PURE__ */ (0, R.jsx)(ob, {
term: "本机文件夹监视",
children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"
- }) : null, /* @__PURE__ */ (0, R.jsx)(Qy, {
+ }) : null, /* @__PURE__ */ (0, R.jsx)(ob, {
term: "已入库",
children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`
})] })
}) : null,
- d.enabled && d.cloud ? /* @__PURE__ */ (0, R.jsx)(Gy, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, R.jsx)($y, {
divided: !0,
children: /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, R.jsx)(Yy, { children: "CloudDrive2 配置内容" }),
- /* @__PURE__ */ (0, R.jsx)(qy, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
+ /* @__PURE__ */ (0, R.jsx)(rb, { children: "CloudDrive2 配置内容" }),
+ /* @__PURE__ */ (0, R.jsx)(tb, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
d.config_toml ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("div", { children: /* @__PURE__ */ (0, R.jsx)(V, {
size: "small",
onClick: () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));
},
children: "复制配置"
- }) }), /* @__PURE__ */ (0, R.jsx)($y, {
+ }) }), /* @__PURE__ */ (0, R.jsx)(sb, {
summary: "查看这段配置",
children: /* @__PURE__ */ (0, R.jsx)("div", {
className: "relative",
@@ -49126,17 +49127,17 @@ function l_e({ initial: e, receipt: t }) {
children: d.config_toml
})
})
- })] }) : /* @__PURE__ */ (0, R.jsx)(qy, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
+ })] }) : /* @__PURE__ */ (0, R.jsx)(tb, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
]
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, R.jsx)(Gy, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, R.jsx)($y, {
divided: !0,
children: /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, R.jsx)(Yy, { children: "云端路径前缀" }),
- /* @__PURE__ */ (0, R.jsx)(qy, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
+ /* @__PURE__ */ (0, R.jsx)(rb, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, R.jsx)(tb, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
/* @__PURE__ */ (0, R.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -49144,7 +49145,7 @@ function l_e({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -49153,19 +49154,19 @@ function l_e({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, R.jsx)(Iy, {
+ /* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, R.jsx)(Ly, {
+ children: u.map((e) => /* @__PURE__ */ (0, R.jsx)(Gy, {
id: e,
children: e
}, e))
}),
- /* @__PURE__ */ (0, R.jsx)(pO, {
- icon: ht,
+ /* @__PURE__ */ (0, R.jsx)(gO, {
+ icon: yt,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -49183,15 +49184,15 @@ function l_e({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, R.jsx)(Gy, {
+ o || c.error ? /* @__PURE__ */ (0, R.jsx)($y, {
divided: !0,
- children: /* @__PURE__ */ (0, R.jsx)(Jy, { children: o || c.error })
+ children: /* @__PURE__ */ (0, R.jsx)(nb, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, R.jsxs)(Ky, {
+ /* @__PURE__ */ (0, R.jsxs)(eb, {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, R.jsx)(V, {
onClick: () => {
- c.run("secret", (e) => W(c_e, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(H(e)));
+ c.run("secret", (e) => W(p_e, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(H(e)));
},
disabled: !n.available,
...K(c.busy === "secret"),
@@ -49208,8 +49209,8 @@ function l_e({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var u_e = 8e3;
-function d_e({ className: e }) {
+var h_e = 8e3;
+function g_e({ className: e }) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -49226,14 +49227,14 @@ var dI = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], f_e = (e) => dI.find(([t]) => t === e)?.[1] ?? e, fI = (e) => _[e] || "database", pI = (e = "") => ({
+], __e = (e) => dI.find(([t]) => t === e)?.[1] ?? e, fI = (e) => _[e] || "database", pI = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function p_e(e) {
+function v_e(e) {
let t = e.media_sources?.filter((e) => dI.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
path: e.path,
@@ -49243,12 +49244,12 @@ function p_e(e) {
library_icon: e.library_icon || ""
})) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => pI(e));
}
-var m_e = (e) => !(e instanceof sa) || e.status !== 400 ? null : e.body?.errors ?? null;
-function h_e({ data: e, receipt: t }) {
+var y_e = (e) => !(e instanceof da) || e.status !== 400 ? null : e.body?.errors ?? null;
+function b_e({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, R.jsx)(g_e, {
+ e.editable ? /* @__PURE__ */ (0, R.jsx)(x_e, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, R.jsx)(G, {
@@ -49256,25 +49257,25 @@ function h_e({ data: e, receipt: t }) {
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, R.jsx)(v_e, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, R.jsx)(l_e, {
+ /* @__PURE__ */ (0, R.jsx)(C_e, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, R.jsx)(m_e, {
initial: e.push_discovery,
receipt: t
}) : null,
- e.downloads ? /* @__PURE__ */ (0, R.jsx)(t_e, {
+ e.downloads ? /* @__PURE__ */ (0, R.jsx)(o_e, {
initial: e.downloads,
receipt: t
}) : null
]
});
}
-function g_e({ data: e, receipt: t }) {
- let [n, r] = (0, L.useState)(() => p_e(e)), [i, a] = (0, L.useState)(String(e.port)), [o, s] = (0, L.useState)(!1), [c, l] = (0, L.useState)([]), [u, d] = (0, L.useState)(""), [f, p] = (0, L.useState)(""), [m, h] = (0, L.useState)(null), [g, _] = (0, L.useState)(null), [v, y] = (0, L.useState)(null), b = (0, L.useRef)(!1), x = (0, L.useRef)(e.revision), S = (0, L.useRef)([]), C = wa();
+function x_e({ data: e, receipt: t }) {
+ let [n, r] = (0, L.useState)(() => v_e(e)), [i, a] = (0, L.useState)(String(e.port)), [o, s] = (0, L.useState)(!1), [c, l] = (0, L.useState)([]), [u, d] = (0, L.useState)(""), [f, p] = (0, L.useState)(""), [m, h] = (0, L.useState)(null), [g, _] = (0, L.useState)(null), [v, y] = (0, L.useState)(null), b = (0, L.useRef)(!1), x = (0, L.useRef)(e.revision), S = (0, L.useRef)([]), C = Oa();
(0, L.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
}, [g]), (0, L.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), u_e);
+ let e = setTimeout(() => location.assign(m.url), h_e);
return () => clearTimeout(e);
}, [m]);
let w = (e, t) => r((n) => n.map((n, r) => r === e ? {
@@ -49292,7 +49293,7 @@ function g_e({ data: e, receipt: t }) {
if (!b.current) {
b.current = !0, y(e);
try {
- let { path: t } = await W(Nge, { initial: n[e]?.path ?? "" });
+ let { path: t } = await W(Rge, { initial: n[e]?.path ?? "" });
t && (w(e, { path: t }), T(e, ""));
} catch (t) {
T(e, H(t));
@@ -49310,18 +49311,18 @@ function g_e({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = m_e(e);
+ let t = y_e(e);
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(H(e));
});
};
- if (m) return /* @__PURE__ */ (0, R.jsx)(Uy, {
+ if (m) return /* @__PURE__ */ (0, R.jsx)(Zy, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, R.jsx)(Gy, { children: /* @__PURE__ */ (0, R.jsxs)(G, {
+ children: /* @__PURE__ */ (0, R.jsx)($y, { children: /* @__PURE__ */ (0, R.jsxs)(G, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, R.jsx)(Hy, {
+ /* @__PURE__ */ (0, R.jsx)(Xy, {
href: m.url,
size: "small",
children: "进入馆藏"
@@ -49331,14 +49332,14 @@ function g_e({ data: e, receipt: t }) {
}) })
});
let A = n.some((e) => e.location === "115" || e.location === "pikpak"), j = A ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
title: "这台电脑",
onSubmit: k,
- children: [/* @__PURE__ */ (0, R.jsxs)(Gy, { children: [
+ children: [/* @__PURE__ */ (0, R.jsxs)($y, { children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, R.jsx)(Yy, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, R.jsx)(rb, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, R.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
@@ -49349,7 +49350,7 @@ function g_e({ data: e, receipt: t }) {
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
className: "min-w-0 flex-1",
"aria-label": `媒体文件夹 ${r + 1}`,
placeholder: "本机文件夹路径",
@@ -49362,14 +49363,14 @@ function g_e({ data: e, receipt: t }) {
isInvalid: !!c[r],
hint: c[r] || void 0
}),
- /* @__PURE__ */ (0, R.jsx)(pO, {
- icon: d_e,
+ /* @__PURE__ */ (0, R.jsx)(gO, {
+ icon: g_e,
"aria-label": "选择文件夹",
onClick: () => void O(r),
...K(v === r)
}),
- n.length > 1 ? /* @__PURE__ */ (0, R.jsx)(pO, {
- icon: ht,
+ n.length > 1 ? /* @__PURE__ */ (0, R.jsx)(gO, {
+ icon: yt,
"aria-label": "移除这个文件夹",
onClick: () => D(r)
}) : null
@@ -49377,7 +49378,7 @@ function g_e({ data: e, receipt: t }) {
}), /* @__PURE__ */ (0, R.jsxs)("div", {
className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(Ny, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
@@ -49386,7 +49387,7 @@ function g_e({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, R.jsx)(Yy, { children: "媒体库图标" }), /* @__PURE__ */ (0, R.jsx)(o_e, {
+ children: [/* @__PURE__ */ (0, R.jsx)(rb, { children: "媒体库图标" }), /* @__PURE__ */ (0, R.jsx)(d_e, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
@@ -49395,20 +49396,20 @@ function g_e({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, R.jsx)(Yy, { children: "媒体来源" }), /* @__PURE__ */ (0, R.jsx)(Iy, {
+ children: [/* @__PURE__ */ (0, R.jsx)(rb, { children: "媒体来源" }), /* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": `媒体来源 ${r + 1}`,
selectedKey: t.location,
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: dI.map(([e, t]) => /* @__PURE__ */ (0, R.jsxs)(Ly, {
+ children: dI.map(([e, t]) => /* @__PURE__ */ (0, R.jsxs)(Gy, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, R.jsx)(eb, { mark: fI(e) }), t]
+ children: [/* @__PURE__ */ (0, R.jsx)(cb, { mark: fI(e) }), t]
}, e))
})]
}),
- e.windows === !1 ? /* @__PURE__ */ (0, R.jsx)(jy, {
+ e.windows === !1 ? /* @__PURE__ */ (0, R.jsx)(Ny, {
label: "Windows 中的对应路径",
placeholder: "例如 B:\\",
value: t.root,
@@ -49425,18 +49426,18 @@ function g_e({ data: e, receipt: t }) {
})
]
}),
- A ? /* @__PURE__ */ (0, R.jsx)(Yge, {}) : null,
- j.map((e) => /* @__PURE__ */ (0, R.jsxs)(qy, { children: [
+ A ? /* @__PURE__ */ (0, R.jsx)(e_e, {}) : null,
+ j.map((e) => /* @__PURE__ */ (0, R.jsxs)(tb, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, R.jsxs)(Xy, {
+ /* @__PURE__ */ (0, R.jsxs)(ib, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, R.jsx)(qy, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, R.jsx)(jy, {
+ e.windows === !1 ? /* @__PURE__ */ (0, R.jsx)(tb, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, R.jsx)(Ny, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -49446,7 +49447,7 @@ function g_e({ data: e, receipt: t }) {
isInvalid: !!u,
hint: u || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, R.jsx)(CO, {
+ /* @__PURE__ */ (0, R.jsx)(EO, {
isSelected: o,
onChange: s,
children: "保存后扫描并补全资料"
@@ -49456,7 +49457,7 @@ function g_e({ data: e, receipt: t }) {
title: "没有保存",
children: f
}) : null
- ] }), /* @__PURE__ */ (0, R.jsx)(Ky, {
+ ] }), /* @__PURE__ */ (0, R.jsx)(eb, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
children: /* @__PURE__ */ (0, R.jsx)(V, {
type: "submit",
@@ -49466,7 +49467,7 @@ function g_e({ data: e, receipt: t }) {
})]
});
}
-function __e({ online: e }) {
+function S_e({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, R.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -49490,20 +49491,20 @@ function __e({ online: e }) {
}), "未检测"]
});
}
-function v_e({ data: e }) {
- let t = e.media_sources, n = wa();
- return t ? /* @__PURE__ */ (0, R.jsxs)(Uy, {
+function C_e({ data: e }) {
+ let t = e.media_sources, n = Oa();
+ return t ? /* @__PURE__ */ (0, R.jsxs)(Zy, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, R.jsx)(Zy, { children: t.map((e, t) => /* @__PURE__ */ (0, R.jsxs)(Qy, {
- term: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(eb, { mark: fI(e.location) }), f_e(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, R.jsx)(__e, { online: e.online })]
+ /* @__PURE__ */ (0, R.jsx)(ab, { children: t.map((e, t) => /* @__PURE__ */ (0, R.jsxs)(ob, {
+ term: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(cb, { mark: fI(e.location) }), __e(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, R.jsx)(S_e, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, R.jsx)(Gy, {
+ n.error ? /* @__PURE__ */ (0, R.jsx)($y, {
divided: !0,
- children: /* @__PURE__ */ (0, R.jsx)(Jy, { children: n.error })
+ children: /* @__PURE__ */ (0, R.jsx)(nb, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, R.jsx)(Ky, { children: /* @__PURE__ */ (0, R.jsx)(V, {
+ /* @__PURE__ */ (0, R.jsx)(eb, { children: /* @__PURE__ */ (0, R.jsx)(V, {
onClick: () => void n.run("refresh", (e) => aI(e), (e) => Y.setQueryData(iI, e)),
...K(n.busy === "refresh"),
children: "刷新挂载状态"
@@ -49513,13 +49514,13 @@ function v_e({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var y_e = {
+var w_e = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function b_e({ initial: e, receipt: t }) {
- let [n, r] = (0, L.useState)(e), [i, a] = (0, L.useState)(""), [o, s] = (0, L.useState)(""), [c, l] = (0, L.useState)(""), [u, d] = (0, L.useState)(!1), [f, p] = (0, L.useState)({}), m = (0, L.useRef)(null), h = wa(), g = (e) => {
+function T_e({ initial: e, receipt: t }) {
+ let [n, r] = (0, L.useState)(e), [i, a] = (0, L.useState)(""), [o, s] = (0, L.useState)(""), [c, l] = (0, L.useState)(""), [u, d] = (0, L.useState)(!1), [f, p] = (0, L.useState)({}), m = (0, L.useRef)(null), h = Oa(), g = (e) => {
e.preventDefault();
let f = {};
if (n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length) {
@@ -49536,28 +49537,28 @@ function b_e({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof sa ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof da ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(H(e));
});
- }, _ = y_e[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+ }, _ = w_e[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, R.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, R.jsxs)(Gy, { children: [
- _ ? /* @__PURE__ */ (0, R.jsx)(qy, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, R.jsxs)($y, { children: [
+ _ ? /* @__PURE__ */ (0, R.jsx)(tb, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, R.jsx)(CO, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, R.jsx)(EO, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, R.jsx)(jy, {
+ n.mode === "password" ? /* @__PURE__ */ (0, R.jsx)(Ny, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -49570,7 +49571,7 @@ function b_e({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(jy, {
+ v ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(Ny, {
id: "access-password",
type: "password",
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
@@ -49583,7 +49584,7 @@ function b_e({ initial: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !u && !!f.password,
hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"
- }), /* @__PURE__ */ (0, R.jsx)(jy, {
+ }), /* @__PURE__ */ (0, R.jsx)(Ny, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -49602,9 +49603,9 @@ function b_e({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, R.jsx)(nb, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, R.jsx)(Ky, {
+ }), v ? /* @__PURE__ */ (0, R.jsx)(eb, {
status: "保存后立即生效。",
children: /* @__PURE__ */ (0, R.jsx)(V, {
type: "submit",
@@ -49616,19 +49617,19 @@ function b_e({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var x_e = 2e3, S_e = [["quick", "临时链接"], ["named", "命名隧道"]], C_e = {
+var E_e = 2e3, D_e = [["quick", "临时链接"], ["named", "命名隧道"]], O_e = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function w_e({ revision: e, initial: t, receipt: n }) {
- let [r, i] = (0, L.useState)(t), [a, o] = (0, L.useState)(e), [s, c] = (0, L.useState)(t.mode), [l, u] = (0, L.useState)(t.hostname), [d, f] = (0, L.useState)(""), [p, m] = (0, L.useState)({}), h = wa(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function k_e({ revision: e, initial: t, receipt: n }) {
+ let [r, i] = (0, L.useState)(t), [a, o] = (0, L.useState)(e), [s, c] = (0, L.useState)(t.mode), [l, u] = (0, L.useState)(t.hostname), [d, f] = (0, L.useState)(""), [p, m] = (0, L.useState)({}), h = Oa(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, L.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
aI(e.signal).then((t) => {
e.signal.aborted || !t.tunnel || (Y.setQueryData(iI, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, x_e);
+ }, E_e);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -49643,30 +49644,30 @@ function w_e({ revision: e, initial: t, receipt: n }) {
}, "POST", e), (e) => {
i(e), o(e.revision), c(e.mode), u(e.hostname), f(""), n(e);
}, (e) => {
- let t = e instanceof sa ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof da ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? m(n) : h.setError(H(e));
});
};
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, R.jsxs)(Gy, { children: [
- r.named_available ? /* @__PURE__ */ (0, R.jsx)(ZO, {
+ children: [/* @__PURE__ */ (0, R.jsxs)($y, { children: [
+ r.named_available ? /* @__PURE__ */ (0, R.jsx)(ik, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: QO,
- children: S_e.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(G_, {
+ className: ak,
+ children: D_e.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Z_, {
value: e,
- className: $O,
+ className: ok,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, R.jsx)(qy, { children: C_e[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(jy, {
+ /* @__PURE__ */ (0, R.jsx)(tb, { children: O_e[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(Ny, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -49677,7 +49678,7 @@ function w_e({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"
- }), /* @__PURE__ */ (0, R.jsx)(jy, {
+ }), /* @__PURE__ */ (0, R.jsx)(Ny, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -49697,7 +49698,7 @@ function w_e({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, R.jsx)(Xy, {
+ children: /* @__PURE__ */ (0, R.jsx)(ib, {
href: r.url,
children: r.url
})
@@ -49707,9 +49708,9 @@ function w_e({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, R.jsxs)(Ky, {
+ r.error ? /* @__PURE__ */ (0, R.jsx)(nb, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, R.jsx)(nb, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, R.jsxs)(eb, {
status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",
children: [/* @__PURE__ */ (0, R.jsx)(V, {
onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
@@ -49725,24 +49726,24 @@ function w_e({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var T_e = [
+var A_e = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function E_e({ data: e, receipt: t }) {
+function j_e({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, R.jsx)(D_e, {
+ e.peach_proxy ? /* @__PURE__ */ (0, R.jsx)(M_e, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, R.jsx)(b_e, {
+ e.access ? /* @__PURE__ */ (0, R.jsx)(T_e, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, R.jsx)(w_e, {
+ e.tunnel ? /* @__PURE__ */ (0, R.jsx)(k_e, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -49750,9 +49751,9 @@ function E_e({ data: e, receipt: t }) {
]
});
}
-function D_e({ initial: e, receipt: t }) {
- let [n, r] = (0, L.useState)(e), [i, a] = (0, L.useState)(e.mode), [o, s] = (0, L.useState)(""), c = wa();
- return /* @__PURE__ */ (0, R.jsxs)(Uy, {
+function M_e({ initial: e, receipt: t }) {
+ let [n, r] = (0, L.useState)(e), [i, a] = (0, L.useState)(e.mode), [o, s] = (0, L.useState)(""), c = Oa();
+ return /* @__PURE__ */ (0, R.jsxs)(Zy, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -49764,25 +49765,25 @@ function D_e({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, R.jsx)(Wy, { children: /* @__PURE__ */ (0, R.jsx)(By, {
+ /* @__PURE__ */ (0, R.jsx)(Qy, { children: /* @__PURE__ */ (0, R.jsx)(Jy, {
label: "连接方式",
description: "采集来源选「Peach 代理」时共用这里的连接方式。",
- children: /* @__PURE__ */ (0, R.jsx)(Iy, {
+ children: /* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: T_e.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Ly, {
+ children: A_e.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Gy, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, R.jsxs)(Gy, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, R.jsxs)($y, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, R.jsx)(jy, {
+ i === "proxy" ? /* @__PURE__ */ (0, R.jsx)(Ny, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -49796,10 +49797,10 @@ function D_e({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, R.jsx)(Jy, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, R.jsx)(nb, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, R.jsx)(Ky, { children: /* @__PURE__ */ (0, R.jsx)(V, {
+ /* @__PURE__ */ (0, R.jsx)(eb, { children: /* @__PURE__ */ (0, R.jsx)(V, {
type: "submit",
...K(c.busy === "save"),
children: "保存配置"
@@ -49809,8 +49810,8 @@ function D_e({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function O_e({ receipt: e, reopenTutorial: t }) {
- let n = vr({
+function N_e({ receipt: e, reopenTutorial: t }) {
+ let n = Sr({
queryKey: iI,
queryFn: ({ signal: e }) => aI(e)
}), r = n.data;
@@ -49833,22 +49834,22 @@ function O_e({ receipt: e, reopenTutorial: t }) {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, R.jsx)(Lge, { ...i }) : null,
+ a ? /* @__PURE__ */ (0, R.jsx)(Hge, { ...i }) : null,
/* @__PURE__ */ (0, R.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, R.jsx)(h_e, { ...i }),
+ /* @__PURE__ */ (0, R.jsx)(b_e, { ...i }),
o ? /* @__PURE__ */ (0, R.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, R.jsx)(E_e, { ...i }) : null,
+ o ? /* @__PURE__ */ (0, R.jsx)(j_e, { ...i }) : null,
/* @__PURE__ */ (0, R.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, R.jsx)(Hge, {
+ /* @__PURE__ */ (0, R.jsx)(qge, {
...i,
reopenTutorial: t
})
@@ -49857,14 +49858,14 @@ function O_e({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var k_e = "/api/stats", mI = ["stats"], hI = (e) => U(k_e, e);
-async function A_e(e) {
+var P_e = "/api/stats", mI = ["stats"], hI = (e) => U(P_e, e);
+async function F_e(e) {
await Y.fetchQuery({
queryKey: mI,
queryFn: () => hI(e)
});
}
-var gI = (e, t) => t ? Math.round(e / t * 100) : 0, j_e = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, _I = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, vI = (e) => (e.max_reached || 0) * 100, M_e = (e) => e.kind === "online" ? "在线直接观看" : _I(e) < vI(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", N_e = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, P_e = (e) => Math.max(1, ...e) * 1.1, F_e = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), I_e = {
+var gI = (e, t) => t ? Math.round(e / t * 100) : 0, I_e = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, _I = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, vI = (e) => (e.max_reached || 0) * 100, L_e = (e) => e.kind === "online" ? "在线直接观看" : _I(e) < vI(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", R_e = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, z_e = (e) => Math.max(1, ...e) * 1.1, B_e = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), V_e = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -49872,10 +49873,10 @@ var gI = (e, t) => t ? Math.round(e / t * 100) : 0, j_e = (e) => e >= 3600 ? `${
audio: "音频",
account: "账号",
other: "其它文件"
-}, L_e = (e) => e.map((e) => ({
- name: I_e[e.k] ?? e.k,
+}, H_e = (e) => e.map((e) => ({
+ name: V_e[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), R_e = {
+})).sort((e, t) => t.value - e.value), U_e = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
@@ -49883,7 +49884,7 @@ var gI = (e, t) => t ? Math.round(e / t * 100) : 0, j_e = (e) => e >= 3600 ? `${
}, yI = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), z_e = (e) => yI(e, R_e), B_e = [
+})), W_e = (e) => yI(e, U_e), G_e = [
[
1,
1,
@@ -49919,18 +49920,18 @@ var gI = (e, t) => t ? Math.round(e / t * 100) : 0, j_e = (e) => e >= 3600 ? `${
Infinity,
"≥10 次"
]
-], V_e = (e) => B_e.map(([t, n, r]) => ({
+], K_e = (e) => G_e.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), H_e = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
+})), q_e = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
function bI(e) {
- return typeof e == "string" && H_e.includes(e);
+ return typeof e == "string" && q_e.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var U_e = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
+var J_e = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
function xI(e) {
- return typeof e == "string" && U_e.has(e);
+ return typeof e == "string" && J_e.has(e);
}
function SI(e) {
return typeof e == "string" && e.startsWith("data-");
@@ -49956,12 +49957,12 @@ function TI(e) {
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (xI(n) || SI(n) || bI(n)) && (t[n] = e[n]);
return t;
}
-function W_e(e) {
+function Y_e(e) {
return e == null ? null : /*#__PURE__*/ (0, L.isValidElement)(e) ? TI(e.props) : typeof e == "object" && !Array.isArray(e) ? TI(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var G_e = [
+var X_e = [
"children",
"width",
"height",
@@ -49980,16 +49981,16 @@ function EI() {
return e;
}, EI.apply(null, arguments);
}
-function K_e(e, t) {
+function Z_e(e, t) {
if (e == null) return {};
- var n, r, i = q_e(e, t);
+ var n, r, i = Q_e(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function q_e(e, t) {
+function Q_e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -49999,12 +50000,12 @@ function q_e(e, t) {
return n;
}
var DI = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = K_e(e, G_e), d = a || {
+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Z_e(e, X_e), d = a || {
width: r,
height: i,
x: 0,
y: 0
- }, f = Xa("recharts-surface", o);
+ }, f = eo("recharts-surface", o);
return /*#__PURE__*/ L.createElement("svg", EI({}, TI(u), {
className: f,
width: r,
@@ -50013,7 +50014,7 @@ var DI = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ L.createElement("title", null, c), /*#__PURE__*/ L.createElement("desc", null, l), n);
-}), J_e = ["children", "className"];
+}), $_e = ["children", "className"];
function OI() {
return OI = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -50023,16 +50024,16 @@ function OI() {
return e;
}, OI.apply(null, arguments);
}
-function Y_e(e, t) {
+function eve(e, t) {
if (e == null) return {};
- var n, r, i = X_e(e, t);
+ var n, r, i = tve(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function X_e(e, t) {
+function tve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -50042,9 +50043,9 @@ function X_e(e, t) {
return n;
}
var kI = /*#__PURE__*/ L.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = Y_e(e, J_e), a = Xa("recharts-layer", r);
+ var { children: n, className: r } = e, i = eve(e, $_e), a = eo("recharts-layer", r);
return /*#__PURE__*/ L.createElement("g", OI({ className: a }, TI(i), { ref: t }), n);
-}), AI = /*#__PURE__*/ (0, L.createContext)(null), Z_e = () => (0, L.useContext)(AI);
+}), AI = /*#__PURE__*/ (0, L.createContext)(null), nve = () => (0, L.useContext)(AI);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
function jI(e) {
@@ -50056,12 +50057,12 @@ function jI(e) {
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
var MI = Math.cos, NI = Math.sin, PI = Math.sqrt, FI = Math.PI;
FI / 2;
-var II = 2 * FI, LI = Math.PI, RI = 2 * LI, zI = 1e-6, Q_e = RI - zI;
+var II = 2 * FI, LI = Math.PI, RI = 2 * LI, zI = 1e-6, rve = RI - zI;
function BI(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function $_e(e) {
+function ive(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
if (t > 15) return BI;
@@ -50073,7 +50074,7 @@ function $_e(e) {
}
var VI = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? BI : $_e(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? BI : ive(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -50105,7 +50106,7 @@ var VI = class {
arc(e, t, n, r, i, a) {
if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > zI || Math.abs(this._y1 - l) > zI) && this._append`L${c},${l}`, n && (d < 0 && (d = d % RI + RI), d > Q_e ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > zI && this._append`A${n},${n},0,${+(d >= LI)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > zI || Math.abs(this._y1 - l) > zI) && this._append`L${c},${l}`, n && (d < 0 && (d = d % RI + RI), d > rve ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > zI && this._append`A${n},${n},0,${+(d >= LI)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
}
rect(e, t, n, r) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;
@@ -50272,10 +50273,10 @@ var XI = class {
this._x0 = e, this._y0 = t;
}
};
-function eve(e) {
+function ave(e) {
return new XI(e, !0);
}
-function tve(e) {
+function ove(e) {
return new XI(e, !1);
}
//#endregion
@@ -50283,33 +50284,33 @@ function tve(e) {
var ZI = { draw(e, t) {
let n = PI(t / FI);
e.moveTo(n, 0), e.arc(0, 0, n, 0, II);
-} }, nve = { draw(e, t) {
+} }, sve = { draw(e, t) {
let n = PI(t / 5) / 2;
e.moveTo(-3 * n, -n), e.lineTo(-n, -n), e.lineTo(-n, -3 * n), e.lineTo(n, -3 * n), e.lineTo(n, -n), e.lineTo(3 * n, -n), e.lineTo(3 * n, n), e.lineTo(n, n), e.lineTo(n, 3 * n), e.lineTo(-n, 3 * n), e.lineTo(-n, n), e.lineTo(-3 * n, n), e.closePath();
-} }, QI = PI(1 / 3), rve = QI * 2, ive = { draw(e, t) {
- let n = PI(t / rve), r = n * QI;
+} }, QI = PI(1 / 3), cve = QI * 2, lve = { draw(e, t) {
+ let n = PI(t / cve), r = n * QI;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, ave = { draw(e, t) {
+} }, uve = { draw(e, t) {
let n = PI(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, ove = .8908130915292852, $I = NI(FI / 10) / NI(7 * FI / 10), sve = NI(II / 10) * $I, cve = -MI(II / 10) * $I, lve = { draw(e, t) {
- let n = PI(t * ove), r = sve * n, i = cve * n;
+} }, dve = .8908130915292852, $I = NI(FI / 10) / NI(7 * FI / 10), fve = NI(II / 10) * $I, pve = -MI(II / 10) * $I, mve = { draw(e, t) {
+ let n = PI(t * dve), r = fve * n, i = pve * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
let a = II * t / 5, o = MI(a), s = NI(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, eL = PI(3), uve = { draw(e, t) {
+} }, eL = PI(3), hve = { draw(e, t) {
let n = -PI(t / (eL * 3));
e.moveTo(0, n * 2), e.lineTo(-eL * n, -n), e.lineTo(eL * n, -n), e.closePath();
-} }, tL = -.5, nL = PI(3) / 2, rL = 1 / PI(12), dve = (rL / 2 + 1) * 3, fve = { draw(e, t) {
- let n = PI(t / dve), r = n / 2, i = n * rL, a = r, o = n * rL + n, s = -a, c = o;
+} }, tL = -.5, nL = PI(3) / 2, rL = 1 / PI(12), gve = (rL / 2 + 1) * 3, _ve = { draw(e, t) {
+ let n = PI(t / gve), r = n / 2, i = n * rL, a = r, o = n * rL + n, s = -a, c = o;
e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(tL * r - nL * i, nL * r + tL * i), e.lineTo(tL * a - nL * o, nL * a + tL * o), e.lineTo(tL * s - nL * c, nL * s + tL * c), e.lineTo(tL * r + nL * i, tL * i - nL * r), e.lineTo(tL * a + nL * o, tL * o - nL * a), e.lineTo(tL * s + nL * c, tL * c - nL * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function pve(e, t) {
+function vve(e, t) {
let n = null, r = HI(i);
e = typeof e == "function" ? e : jI(e || ZI), t = typeof t == "function" ? t : jI(t === void 0 ? 64 : +t);
function i() {
@@ -50366,7 +50367,7 @@ oL.prototype = {
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function mve(e) {
+function yve(e) {
return new oL(e);
}
//#endregion
@@ -50407,7 +50408,7 @@ sL.prototype = {
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function hve(e) {
+function bve(e) {
return new sL(e);
}
//#endregion
@@ -50447,7 +50448,7 @@ cL.prototype = {
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function gve(e) {
+function xve(e) {
return new cL(e);
}
//#endregion
@@ -50468,7 +50469,7 @@ lL.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function _ve(e) {
+function Sve(e) {
return new lL(e);
}
//#endregion
@@ -50552,10 +50553,10 @@ gL.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function vve(e) {
+function Cve(e) {
return new mL(e);
}
-function yve(e) {
+function wve(e) {
return new hL(e);
}
//#endregion
@@ -50593,7 +50594,7 @@ function vL(e) {
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
return [i, a];
}
-function bve(e) {
+function Tve(e) {
return new _L(e);
}
//#endregion
@@ -50629,13 +50630,13 @@ yL.prototype = {
this._x = e, this._y = t;
}
};
-function xve(e) {
+function Eve(e) {
return new yL(e, .5);
}
-function Sve(e) {
+function Dve(e) {
return new yL(e, 0);
}
-function Cve(e) {
+function Ove(e) {
return new yL(e, 1);
}
//#endregion
@@ -50651,17 +50652,17 @@ function xL(e) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function wve(e, t) {
+function kve(e, t) {
return e[t];
}
-function Tve(e) {
+function Ave(e) {
let t = [];
return t.key = e, t;
}
-function Eve() {
- var e = jI([]), t = xL, n = bL, r = wve;
+function jve() {
+ var e = jI([]), t = xL, n = bL, r = kve;
function i(i) {
- var a = Array.from(e.apply(this, arguments), Tve), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), Ave), o, s = a.length, c = -1, l;
for (let e of i) for (o = 0, ++c; o < s; ++o) (a[o][c] = [0, +r(e, a[o].key, c, i)]).data = e;
for (o = 0, l = UI(t(a)); o < s; ++o) a[l[o]].index = o;
return n(a, l), a;
@@ -50678,7 +50679,7 @@ function Eve() {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function Dve(e, t) {
+function Mve(e, t) {
if ((r = e.length) > 0) {
for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {
for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;
@@ -50689,7 +50690,7 @@ function Dve(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function Ove(e, t) {
+function Nve(e, t) {
if ((i = e.length) > 0) {
for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
@@ -50700,7 +50701,7 @@ function Ove(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function kve(e, t) {
+function Pve(e, t) {
if (!(!((o = e.length) > 0) || !((a = (i = e[t[0]]).length) > 0))) {
for (var n = 0, r = 1, i, a, o; r < a; ++r) {
for (var s = 0, c = 0, l = 0; s < o; ++s) {
@@ -50722,12 +50723,12 @@ function SL(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var Ave = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+var Fve = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
function CL(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : Ave.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : Fve.test(e);
default: return !1;
}
}
@@ -50743,7 +50744,7 @@ function TL(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function jve(e) {
+function Ive(e) {
return e == null ? "" : EL(e);
}
function EL(e) {
@@ -50758,7 +50759,7 @@ function EL(e) {
function DL(e) {
if (Array.isArray(e)) return e.map(wL);
if (typeof e == "symbol") return [e];
- e = jve(e);
+ e = Ive(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -50801,14 +50802,14 @@ function OL(e, t, n) {
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return Mve(e, t, n);
+ if (Array.isArray(t)) return Lve(e, t, n);
if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), SL(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function Mve(e, t, n) {
+function Lve(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
@@ -50819,9 +50820,9 @@ function Mve(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var Nve = 4;
+var Rve = 4;
function kL(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Nve), n = Math.round(e * t) / t;
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Rve), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
function AL(e) {
@@ -50833,8 +50834,8 @@ function AL(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var jL = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, ML = (e) => typeof e == "number" && e != +e, NL = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !ML(e), PL = (e) => Z(e) || typeof e == "string", Pve = 0, FL = (e) => {
- var t = ++Pve;
+var jL = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, ML = (e) => typeof e == "number" && e != +e, NL = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !ML(e), PL = (e) => Z(e) || typeof e == "string", zve = 0, FL = (e) => {
+ var t = ++zve;
return `${e || ""}${t}`;
}, IL = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
@@ -50865,7 +50866,7 @@ function HL(e) {
function UL() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var Fve = [
+var Bve = [
"type",
"size",
"sizeType"
@@ -50893,26 +50894,26 @@ function KL(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? GL(Object(n), !0).forEach(function(t) {
- Ive(e, t, n[t]);
+ Vve(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GL(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ive(e, t, n) {
- return (t = Lve(t)) in e ? Object.defineProperty(e, t, {
+function Vve(e, t, n) {
+ return (t = Hve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Lve(e) {
- var t = Rve(e, "string");
+function Hve(e) {
+ var t = Uve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Rve(e, t) {
+function Uve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -50922,16 +50923,16 @@ function Rve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function zve(e, t) {
+function Wve(e, t) {
if (e == null) return {};
- var n, r, i = Bve(e, t);
+ var n, r, i = Gve(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Bve(e, t) {
+function Gve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -50942,45 +50943,45 @@ function Bve(e, t) {
}
var qL = {
symbolCircle: ZI,
- symbolCross: nve,
- symbolDiamond: ive,
- symbolSquare: ave,
- symbolStar: lve,
- symbolTriangle: uve,
- symbolWye: fve
-}, Vve = Math.PI / 180, Hve = (e) => qL[`symbol${VL(e)}`] || ZI, Uve = (e, t, n) => {
+ symbolCross: sve,
+ symbolDiamond: lve,
+ symbolSquare: uve,
+ symbolStar: mve,
+ symbolTriangle: hve,
+ symbolWye: _ve
+}, Kve = Math.PI / 180, qve = (e) => qL[`symbol${VL(e)}`] || ZI, Jve = (e, t, n) => {
if (t === "area") return e;
switch (n) {
case "cross": return 5 * e * e / 9;
case "diamond": return .5 * e * e / Math.sqrt(3);
case "square": return e * e;
case "star":
- var r = 18 * Vve;
+ var r = 18 * Kve;
return 1.25 * e * e * (Math.tan(r) - Math.tan(r * 2) * Math.tan(r) ** 2);
case "triangle": return Math.sqrt(3) * e * e / 4;
case "wye": return (21 - 10 * Math.sqrt(3)) * e * e / 8;
default: return Math.PI * e * e / 4;
}
-}, Wve = (e, t) => {
+}, Yve = (e, t) => {
qL[`symbol${VL(e)}`] = t;
}, JL = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = KL(KL({}, zve(e, Fve)), {}, {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = KL(KL({}, Wve(e, Bve)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = Hve(a), t = pve().type(e).size(Uve(n, r, a))();
+ var e = qve(a), t = vve().type(e).size(Jve(n, r, a))();
if (t !== null) return t;
}, { className: s, cx: c, cy: l } = i, u = TI(i);
return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ L.createElement("path", WL({}, u, {
- className: Xa("recharts-symbols", s),
+ className: eo("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-JL.registerSymbol = Wve;
+JL.registerSymbol = Yve;
//#endregion
//#region node_modules/recharts/es6/util/types.js
var YL = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, XL = (e, t) => {
@@ -50991,12 +50992,12 @@ var YL = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, XL = (e,
return Object.keys(n).forEach((e) => {
bI(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, Gve = (e, t, n) => (r) => (e(t, n, r), null), ZL = (e, t, n) => {
+}, Xve = (e, t, n) => (r) => (e(t, n, r), null), ZL = (e, t, n) => {
if (e === null || typeof e != "object" && typeof e != "function") return null;
var r = null;
return Object.keys(e).forEach((i) => {
var a = e[i];
- bI(i) && typeof a == "function" && (r ||= {}, r[i] = Gve(a, t, n));
+ bI(i) && typeof a == "function" && (r ||= {}, r[i] = Xve(a, t, n));
}), r;
};
//#endregion
@@ -51011,30 +51012,30 @@ function QL(e, t) {
}
return n;
}
-function Kve(e) {
+function Zve(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? QL(Object(n), !0).forEach(function(t) {
- qve(e, t, n[t]);
+ Qve(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QL(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qve(e, t, n) {
- return (t = Jve(t)) in e ? Object.defineProperty(e, t, {
+function Qve(e, t, n) {
+ return (t = $ve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Jve(e) {
- var t = Yve(e, "string");
+function $ve(e) {
+ var t = eye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Yve(e, t) {
+function eye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -51045,7 +51046,7 @@ function Yve(e, t) {
return (t === "string" ? String : Number)(e);
}
function $L(e, t) {
- var n = Kve({}, e), r = t;
+ var n = Zve({}, e), r = t;
return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);
}
//#endregion
@@ -51073,26 +51074,26 @@ function nR(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? tR(Object(n), !0).forEach(function(t) {
- Xve(e, t, n[t]);
+ tye(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tR(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Xve(e, t, n) {
- return (t = Zve(t)) in e ? Object.defineProperty(e, t, {
+function tye(e, t, n) {
+ return (t = nye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Zve(e) {
- var t = Qve(e, "string");
+function nye(e) {
+ var t = rye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Qve(e, t) {
+function rye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -51102,7 +51103,7 @@ function Qve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var rR = 32, $ve = {
+var rR = 32, iye = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -51110,17 +51111,17 @@ var rR = 32, $ve = {
verticalAlign: "middle",
labelStyle: {}
};
-function eye(e) {
+function aye(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function tye(e) {
+function oye(e) {
var { data: t, iconType: n, inactiveColor: r } = e, i = rR / 2, a = rR / 6, o = rR / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ L.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: eye(t.payload),
+ strokeDasharray: aye(t.payload),
x1: 0,
y1: i,
x2: rR,
@@ -51156,7 +51157,7 @@ function tye(e) {
type: c
});
}
-function nye(e) {
+function sye(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
@@ -51171,7 +51172,7 @@ function nye(e) {
marginRight: 4
};
return t.map((t, r) => {
- var d = t.formatter || i, f = Xa({
+ var d = t.formatter || i, f = eo({
"recharts-legend-item": !0,
[`legend-item-${r}`]: !0,
inactive: t.inactive
@@ -51190,7 +51191,7 @@ function nye(e) {
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ L.createElement(tye, {
+ }, /*#__PURE__*/ L.createElement(oye, {
data: t,
iconType: o,
inactiveColor: a
@@ -51200,8 +51201,8 @@ function nye(e) {
}, m));
});
}
-var rye = (e) => {
- var t = $L(e, $ve), { payload: n, layout: r, align: i } = t;
+var cye = (e) => {
+ var t = $L(e, iye), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -51211,11 +51212,11 @@ var rye = (e) => {
return /*#__PURE__*/ L.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ L.createElement(nye, eR({}, t, { payload: n })));
+ }, /*#__PURE__*/ L.createElement(sye, eR({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function iye(e, t) {
+function lye(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -51225,7 +51226,7 @@ function iye(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function aye(e, t) {
+function uye(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
@@ -51237,17 +51238,17 @@ function iR(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function oye(e) {
+function dye(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
function aR(e) {
- return e != null && typeof e != "function" && oye(e.length);
+ return e != null && typeof e != "function" && dye(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function sye(e) {
+function fye(e) {
return function(t) {
return OL(t, e);
};
@@ -51259,12 +51260,12 @@ function oR(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function cye(e) {
+function pye(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function lye(e) {
+function mye(e) {
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
//#endregion
@@ -51274,17 +51275,17 @@ function sR(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
-var uye = "[object RegExp]", cR = "[object String]", lR = "[object Number]", uR = "[object Boolean]", dR = "[object Arguments]", dye = "[object Symbol]", fye = "[object Date]", pye = "[object Map]", mye = "[object Set]", hye = "[object Array]", gye = "[object ArrayBuffer]", _ye = "[object Object]", vye = "[object DataView]", yye = "[object Uint8Array]", bye = "[object Uint8ClampedArray]", xye = "[object Uint16Array]", Sye = "[object Uint32Array]", Cye = "[object Int8Array]", wye = "[object Int16Array]", Tye = "[object Int32Array]", Eye = "[object Float32Array]", Dye = "[object Float64Array]", fR = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var hye = "[object RegExp]", cR = "[object String]", lR = "[object Number]", uR = "[object Boolean]", dR = "[object Arguments]", gye = "[object Symbol]", _ye = "[object Date]", vye = "[object Map]", yye = "[object Set]", bye = "[object Array]", xye = "[object ArrayBuffer]", Sye = "[object Object]", Cye = "[object DataView]", wye = "[object Uint8Array]", Tye = "[object Uint8ClampedArray]", Eye = "[object Uint16Array]", Dye = "[object Uint32Array]", Oye = "[object Int8Array]", kye = "[object Int16Array]", Aye = "[object Int32Array]", jye = "[object Float32Array]", Mye = "[object Float64Array]", fR = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
return this;
})();
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isBuffer.mjs
-function Oye(e) {
+function Nye(e) {
return fR.Buffer !== void 0 && fR.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function kye(e, t) {
+function Pye(e, t) {
return pR(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
function pR(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
@@ -51315,8 +51316,8 @@ function pR(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
for (let a of e) t.add(pR(a, void 0, n, r, i));
return t;
}
- if (Oye(e)) return e.subarray();
- if (cye(e)) {
+ if (Nye(e)) return e.subarray();
+ if (pye(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
for (let a = 0; a < e.length; a++) t[a] = pR(e[a], a, n, r, i);
@@ -51351,49 +51352,49 @@ function pR(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let t = new String(e.valueOf());
return r.set(e, t), mR(t, e, n, r, i), t;
}
- if (typeof e == "object" && Aye(e)) {
+ if (typeof e == "object" && Fye(e)) {
let t = Object.create(Object.getPrototypeOf(e));
return r.set(e, t), mR(t, e, n, r, i), t;
}
return e;
}
function mR(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...lye(t)];
+ let a = [...Object.keys(t), ...mye(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
(c == null || c.writable) && (e[s] = pR(t[s], s, n, r, i));
}
}
-function Aye(e) {
+function Fye(e) {
switch (sR(e)) {
case dR:
+ case bye:
+ case xye:
+ case Cye:
+ case uR:
+ case _ye:
+ case jye:
+ case Mye:
+ case Oye:
+ case kye:
+ case Aye:
+ case vye:
+ case lR:
+ case Sye:
case hye:
+ case yye:
+ case cR:
case gye:
- case vye:
- case uR:
- case fye:
- case Eye:
- case Dye:
- case Cye:
case wye:
case Tye:
- case pye:
- case lR:
- case _ye:
- case uye:
- case mye:
- case cR:
- case dye:
- case yye:
- case bye:
- case xye:
- case Sye: return !0;
+ case Eye:
+ case Dye: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function jye(e) {
+function Iye(e) {
return pR(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
@@ -51417,16 +51418,16 @@ function _R(e, t, n) {
function vR(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return Mye(e, t, n, r, i);
+ case "object": return Lye(e, t, n, r, i);
case "function": return Object.keys(t).length > 0 ? vR(e, { ...t }, n, r, i) : hR(e, t);
default: return gR(e) && i ? typeof t != "string" || t === "" : hR(e, t);
}
}
-function Mye(e, t, n, r, i = !1) {
+function Lye(e, t, n, r, i = !1) {
if (t == null) return !0;
if (Array.isArray(t)) return yR(e, t, n, r);
- if (t instanceof Map) return Nye(e, t, n, r);
- if (t instanceof Set) return Pye(e, t, n, r);
+ if (t instanceof Map) return Rye(e, t, n, r);
+ if (t instanceof Set) return zye(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
if (i) oR(e) && (e = Object(e));
@@ -51447,7 +51448,7 @@ function Mye(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function Nye(e, t, n, r) {
+function Rye(e, t, n, r) {
if (t.size === 0) return !0;
if (!(e instanceof Map)) return !1;
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
@@ -51471,7 +51472,7 @@ function yR(e, t, n, r) {
}
return !0;
}
-function Pye(e, t, n, r) {
+function zye(e, t, n, r) {
return t.size === 0 || e instanceof Set && yR([...e], [...t], n, r);
}
//#endregion
@@ -51481,13 +51482,13 @@ function bR(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function Fye(e) {
- return e = jye(e), (t) => bR(t, e);
+function Bye(e) {
+ return e = Iye(e), (t) => bR(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function Iye(e, t) {
- return kye(e, (n, r, i, a) => {
+function Vye(e, t) {
+ return Pye(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
@@ -51513,49 +51514,49 @@ function Iye(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function Lye(e) {
- return Iye(e);
+function Hye(e) {
+ return Vye(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var Rye = /^(?:0|[1-9]\d*)$/;
+var Uye = /^(?:0|[1-9]\d*)$/;
function xR(e, t = 2 ** 53 - 1) {
switch (typeof e) {
case "number": return Number.isInteger(e) && e >= 0 && e < t;
case "symbol": return !1;
- case "string": return Rye.test(e);
+ case "string": return Uye.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function zye(e) {
+function Wye(e) {
return typeof e == "object" && !!e && sR(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function Bye(e, t) {
+function Gye(e, t) {
let n;
if (n = Array.isArray(t) ? t : typeof t == "string" && CL(t) && !(t in Object(e)) ? DL(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
let t = wL(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || zye(r)) && xR(t) && Number(t) < r.length)) return !1;
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Wye(r)) && xR(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function Vye(e, t) {
+function Kye(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
case "number": e = wL(e);
}
- return t = Lye(t), function(n) {
+ return t = Hye(t), function(n) {
let r = OL(n, e);
- return r === void 0 ? Bye(n, e) : t === void 0 ? r === void 0 : bR(r, t);
+ return r === void 0 ? Gye(n, e) : t === void 0 ? r === void 0 : bR(r, t);
};
}
//#endregion
@@ -51564,19 +51565,19 @@ function SR(e) {
if (e == null) return iR;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? Vye(e[0], e[1]) : Fye(e);
- default: return sye(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? Kye(e[0], e[1]) : Bye(e);
+ default: return fye(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function Hye(e) {
+function qye(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
function CR(e, t = iR) {
- return aR(e) ? iye(Array.from(e), aye(SR(t), 1)).map(Hye) : [];
+ return aR(e) ? lye(Array.from(e), uye(SR(t), 1)).map(qye) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
@@ -51585,8 +51586,8 @@ function wR(e, t, n) {
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var Uye = /* @__PURE__ */ Ge(((e) => {
- var t = $e(), n = fl();
+var Jye = /* @__PURE__ */ Xe(((e) => {
+ var t = rt(), n = gl();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -51630,53 +51631,53 @@ var Uye = /* @__PURE__ */ Ge(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), Wye = /* @__PURE__ */ Ge(((e, t) => {
- t.exports = Uye();
-})), TR = /*#__PURE__*/ (0, L.createContext)(null), Gye = Wye(), Kye = (e) => e, ER = () => {
+})), Yye = /* @__PURE__ */ Xe(((e, t) => {
+ t.exports = Jye();
+})), TR = /*#__PURE__*/ (0, L.createContext)(null), Xye = Yye(), Zye = (e) => e, ER = () => {
var e = (0, L.useContext)(TR);
- return e ? e.store.dispatch : Kye;
-}, DR = () => {}, qye = () => DR, Jye = (e, t) => e === t;
+ return e ? e.store.dispatch : Zye;
+}, DR = () => {}, Qye = () => DR, $ye = (e, t) => e === t;
function Q(e) {
var t = (0, L.useContext)(TR), n = (0, L.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
} : DR, [t, e]);
- return (0, Gye.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : qye, t ? t.store.getState : DR, t ? t.store.getState : DR, n, Jye);
+ return (0, Xye.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Qye, t ? t.store.getState : DR, t ? t.store.getState : DR, n, $ye);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function Yye(e, t = `expected a function, instead received ${typeof e}`) {
+function ebe(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function Xye(e, t = `expected an object, instead received ${typeof e}`) {
+function tbe(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function Zye(e, t = "expected all items to be functions, instead received the following types: ") {
+function nbe(e, t = "expected all items to be functions, instead received the following types: ") {
if (!e.every((e) => typeof e == "function")) {
let n = e.map((e) => typeof e == "function" ? `function ${e.name || "unnamed"}()` : typeof e).join(", ");
throw TypeError(`${t}[${n}]`);
}
}
var OR = (e) => Array.isArray(e) ? e : [e];
-function Qye(e) {
+function rbe(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return Zye(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return nbe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function $ye(e, t) {
+function ibe(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var ebe = class {
+var abe = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, tbe = typeof WeakRef < "u" ? WeakRef : ebe, nbe = 0, kR = 1;
+}, obe = typeof WeakRef < "u" ? WeakRef : abe, sbe = 0, kR = 1;
function AR() {
return {
- s: nbe,
+ s: sbe,
v: void 0,
o: null,
p: null
@@ -51704,7 +51705,7 @@ function jR(e, t = {}) {
if (t.s === kR) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
let e = i?.deref?.() ?? i;
- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new tbe(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new obe(c) : c;
}
return s.s = kR, s.v = c, c;
}
@@ -51714,21 +51715,21 @@ function jR(e, t = {}) {
a = 0;
}, o;
}
-function rbe(e, ...t) {
+function cbe(e, ...t) {
let n = typeof e == "function" ? {
memoize: e,
memoizeOptions: t
} : e, r = (...e) => {
let t = 0, r = 0, i, a = {}, o = e.pop();
- typeof o == "object" && (a = o, o = e.pop()), Yye(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ typeof o == "object" && (a = o, o = e.pop()), ebe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
let { memoize: s, memoizeOptions: c = [], argsMemoize: l = jR, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = OR(c), p = OR(u), m = Qye(e), h = s(function() {
+ }, f = OR(c), p = OR(u), m = rbe(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = $ye(m, arguments);
+ let e = ibe(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -51750,14 +51751,14 @@ function rbe(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ rbe(jR), ibe = Object.assign((e, t = $) => {
- Xye(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ cbe(jR), lbe = Object.assign((e, t = $) => {
+ tbe(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
let n = Object.keys(e);
return t(n.map((t) => e[t]), (...e) => e.reduce((e, t, r) => (e[n[r]] = t, e), {}));
-}, { withTypes: () => ibe });
+}, { withTypes: () => lbe });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function abe(e, t = 1) {
+function ube(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -51776,7 +51777,7 @@ function MR(e, t, n) {
function NR(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var obe = (e, t, n) => {
+var dbe = (e, t, n) => {
if (e !== t) {
let r = NR(e), i = NR(t);
if (r === i && r === 0) {
@@ -51786,13 +51787,13 @@ var obe = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, sbe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, cbe = /^\w*$/;
-function lbe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || TL(e) ? !0 : typeof e == "string" && (cbe.test(e) || !sbe.test(e)) || t != null && Object.hasOwn(t, e);
+}, fbe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, pbe = /^\w*$/;
+function mbe(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || TL(e) ? !0 : typeof e == "string" && (pbe.test(e) || !fbe.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function ube(e, t, n, r) {
+function hbe(e, t, n, r) {
if (e == null) return [];
n = r ? void 0 : n, Array.isArray(e) || (e = aR(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
let i = (e, t) => {
@@ -51802,7 +51803,7 @@ function ube(e, t, n, r) {
}, a = (e, t) => {
if (e == null) return t;
if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];
- }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || lbe(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || mbe(e) ? e : {
key: e,
path: DL(e)
}));
@@ -51811,7 +51812,7 @@ function ube(e, t, n, r) {
criteria: o.map((t) => a(t, e))
})).slice().sort((e, t) => {
for (let r = 0; r < o.length; r++) {
- let i = obe(e.criteria[r], t.criteria[r], n[r]);
+ let i = dbe(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -51821,18 +51822,18 @@ function ube(e, t, n, r) {
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
function PR(e, ...t) {
let n = t.length;
- return n > 1 && MR(e, t[0], t[1]) ? t = [] : n > 2 && MR(t[0], t[1], t[2]) && (t = [t[0]]), ube(e, abe(t), ["asc"]);
+ return n > 1 && MR(e, t[0], t[1]) ? t = [] : n > 2 && MR(t[0], t[1], t[2]) && (t = [t[0]]), hbe(e, ube(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var FR = (e) => e.legend.settings, dbe = (e) => e.legend.size, fbe = $([(e) => e.legend.payload, FR], (e, t) => {
+var FR = (e) => e.legend.settings, gbe = (e) => e.legend.size, _be = $([(e) => e.legend.payload, FR], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
return n ? PR(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function pbe() {
- return Q(fbe);
+function vbe() {
+ return Q(_be);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
@@ -51955,7 +51956,7 @@ function UR(e, t, n) {
[zR]: m
};
}
-function mbe(e) {
+function ybe(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
if (n(void 0, { type: VR.INIT }) === void 0) throw Error(RR(12));
@@ -51970,7 +51971,7 @@ function WR(e) {
}
let r = Object.keys(n), i;
try {
- mbe(n);
+ ybe(n);
} catch (e) {
i = e;
}
@@ -51988,7 +51989,7 @@ function WR(e) {
function GR(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function hbe(...e) {
+function bbe(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
throw Error(RR(15));
@@ -52015,7 +52016,7 @@ var ZR = Object, QR = ZR.getPrototypeOf, $R = "constructor", ez = "prototype", t
function oz(e) {
return e ? cz(e) || mz(e) || !!e[JR] || !!e[$R]?.[JR] || hz(e) || gz(e) : !1;
}
-var gbe = ZR[ez][$R].toString(), sz = /* @__PURE__ */ new WeakMap();
+var xbe = ZR[ez][$R].toString(), sz = /* @__PURE__ */ new WeakMap();
function cz(e) {
if (!e || !_z(e)) return !1;
let t = QR(e);
@@ -52024,7 +52025,7 @@ function cz(e) {
if (n === Object) return !0;
if (!vz(n)) return !1;
let r = sz.get(n);
- return r === void 0 && (r = Function.toString.call(n), sz.set(n, r)), r === gbe;
+ return r === void 0 && (r = Function.toString.call(n), sz.set(n, r)), r === xbe;
}
function lz(e, t, n = !0) {
uz(e) === 0 ? (n ? Reflect.ownKeys(e) : ZR.keys(e)).forEach((n) => {
@@ -52038,11 +52039,11 @@ function uz(e) {
var dz = (e, t, n = uz(e)) => n === 2 ? e.has(t) : ZR[ez].hasOwnProperty.call(e, t), fz = (e, t, n = uz(e)) => n === 2 ? e.get(t) : e[t], pz = (e, t, n, r = uz(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function _be(e, t) {
+function Sbe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
var mz = Array.isArray, hz = (e) => e instanceof Map, gz = (e) => e instanceof Set, _z = (e) => typeof e == "object", vz = (e) => typeof e == "function", yz = (e) => typeof e == "boolean";
-function vbe(e) {
+function Cbe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
@@ -52084,10 +52085,10 @@ function Cz(e, t = !1) {
Cz(t, !0);
}, !1), e);
}
-function ybe() {
+function wbe() {
XR(2);
}
-var wz = { [iz]: ybe };
+var wz = { [iz]: wbe };
function Tz(e) {
return e === null || !_z(e) || ZR.isFrozen(e);
}
@@ -52096,7 +52097,7 @@ function Az(e) {
let t = kz[e];
return t || XR(0, e), t;
}
-var jz = (e) => !!kz[e], Mz, Nz = () => Mz, bbe = (e, t) => ({
+var jz = (e) => !!kz[e], Mz, Nz = () => Mz, Tbe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -52111,13 +52112,13 @@ function Pz(e, t) {
t && (e.patchPlugin_ = Az(Dz), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function Fz(e) {
- Iz(e), e.drafts_.forEach(xbe), e.drafts_ = null;
+ Iz(e), e.drafts_.forEach(Ebe), e.drafts_ = null;
}
function Iz(e) {
e === Mz && (Mz = e.parent_);
}
-var Lz = (e) => Mz = bbe(Mz, e);
-function xbe(e) {
+var Lz = (e) => Mz = Tbe(Mz, e);
+function Ebe(e) {
let t = e[YR];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
@@ -52129,7 +52130,7 @@ function Rz(e, t) {
let { patchPlugin_: r } = t;
r && r.generateReplacementPatches_(n[YR].base_, e, t);
} else e = zz(t, n);
- return Sbe(t, e, !0), Fz(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === qR ? void 0 : e;
+ return Dbe(t, e, !0), Fz(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === qR ? void 0 : e;
}
function zz(e, t) {
if (Tz(t)) return t;
@@ -52144,13 +52145,13 @@ function zz(e, t) {
}
return n.copy_;
}
-function Sbe(e, t, n = !1) {
+function Dbe(e, t, n = !1) {
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Cz(t, n);
}
function Bz(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var Vz = (e, t) => e.scope_ === t, Cbe = [];
+var Vz = (e, t) => e.scope_ === t, Obe = [];
function Hz(e, t, n, r) {
let i = bz(e), a = e.type_;
if (r !== void 0 && fz(i, r, a) === t) {
@@ -52166,10 +52167,10 @@ function Hz(e, t, n, r) {
}
});
}
- let o = e.draftLocations_.get(t) ?? Cbe;
+ let o = e.draftLocations_.get(t) ?? Obe;
for (let e of o) pz(i, e, n, a);
}
-function wbe(e, t, n) {
+function kbe(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
if (!i || !Vz(i, r)) return;
@@ -52188,7 +52189,7 @@ function Uz(e, t) {
Bz(e);
}
}
-function Tbe(e, t, n) {
+function Abe(e, t, n) {
let { scope_: r } = e;
if (az(n)) {
let i = n[YR];
@@ -52208,7 +52209,7 @@ function Wz(e, t, n) {
} else oz(i) && Wz(i, t, n);
}), e);
}
-function Ebe(e, t) {
+function jbe(e, t) {
let n = mz(e), r = {
type_: +!!n,
scope_: t ? t.scope_ : Nz(),
@@ -52233,10 +52234,10 @@ var Gz = {
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
let i = bz(e);
- if (!dz(i, t, e.type_)) return Obe(e, i, t);
+ if (!dz(i, t, e.type_)) return Nbe(e, i, t);
let a = i[t];
- if (e.finalized_ || !oz(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && vbe(t)) return a;
- if (a === qz(e.base_, t) || Dbe(e, t, a)) {
+ if (e.finalized_ || !oz(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && Cbe(t)) return a;
+ if (a === qz(e.base_, t) || Mbe(e, t, a)) {
Xz(e);
let n = e.type_ === 1 ? +t : t, r = Zz(e.scope_, a, e, n);
return e.copy_[n] = r;
@@ -52255,10 +52256,10 @@ var Gz = {
if (!e.modified_) {
let r = qz(bz(e), t), i = r?.[YR];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (_be(n, r) && (n !== void 0 || dz(e.base_, t, e.type_))) return !0;
+ if (Sbe(n, r) && (n !== void 0 || dz(e.base_, t, e.type_))) return !0;
Xz(e), Yz(e);
}
- return e.copy_[t] === n && (n !== void 0 || dz(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), Tbe(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || dz(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), Abe(e, t, n), !0);
},
deleteProperty(e, t) {
return Xz(e), qz(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), Yz(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
@@ -52298,10 +52299,10 @@ function qz(e, t) {
let n = e[YR];
return (n ? bz(n) : e)[t];
}
-function Dbe(e, t, n) {
+function Mbe(e, t, n) {
return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !oz(n) || n[YR] ? !1 : e.baseRefs_.has(n);
}
-function Obe(e, t, n) {
+function Nbe(e, t, n) {
let r = Jz(t, n);
return r ? iz in r ? r[iz] : r.get?.call(e.draft_) : void 0;
}
@@ -52320,7 +52321,7 @@ function Yz(e) {
function Xz(e) {
e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), Sz(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var kbe = class {
+var Pbe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
if (vz(e) && !vz(t)) {
@@ -52403,8 +52404,8 @@ var kbe = class {
}
};
function Zz(e, t, n, r) {
- let [i, a] = hz(t) ? Az(Ez).proxyMap_(t, n) : gz(t) ? Az(Ez).proxySet_(t, n) : Ebe(t, n);
- return (n?.scope_ ?? Nz()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? wbe(n, a, r) : a.callbacks_.push(function(e) {
+ let [i, a] = hz(t) ? Az(Ez).proxyMap_(t, n) : gz(t) ? Az(Ez).proxySet_(t, n) : jbe(t, n);
+ return (n?.scope_ ?? Nz()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? kbe(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
@@ -52425,13 +52426,13 @@ function $z(e) {
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var eB = new kbe().produce;
+var eB = new Pbe().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
function tB(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var Abe = tB(), jbe = tB, Mbe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+var Fbe = tB(), Ibe = tB, Lbe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
if (arguments.length !== 0) return typeof arguments[0] == "object" ? GR : GR.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
@@ -52474,23 +52475,23 @@ function iB(e) {
function aB(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function Nbe(e) {
+function Rbe(e) {
return typeof e == "boolean";
}
-var Pbe = () => function(e) {
+var zbe = () => function(e) {
let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new rB();
- return t && (Nbe(t) ? a.push(Abe) : a.push(jbe(t.extraArgument))), a;
+ return t && (Rbe(t) ? a.push(Fbe) : a.push(Ibe(t.extraArgument))), a;
}, oB = "RTK_autoBatch", sB = () => (e) => ({
payload: e,
meta: { [oB]: !0 }
}), cB = (e) => (t) => {
setTimeout(t, e);
-}, Fbe = (e, t) => (n) => {
+}, Bbe = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
}, lB = (e = { type: "raf" }) => (t) => (...n) => {
- let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? Fbe(window.requestAnimationFrame, 100) : cB(10) : e.type === "callback" ? e.queueNotification : cB(e.timeout), l = () => {
+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? Bbe(window.requestAnimationFrame, 100) : cB(10) : e.type === "callback" ? e.queueNotification : cB(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -52508,23 +52509,23 @@ var Pbe = () => function(e) {
}
}
});
-}, Ibe = (e) => function(t) {
+}, Vbe = (e) => function(t) {
let { autoBatch: n = !0 } = t ?? {}, r = new rB(e);
return n && r.push(lB(typeof n == "object" ? n : void 0)), r;
};
-function Lbe(e) {
- let t = Pbe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function Hbe(e) {
+ let t = zbe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
if (typeof n == "function") c = n;
else if (HR(n)) c = WR(n);
else throw Error(UB(1));
let l;
l = typeof r == "function" ? r(t) : t();
let u = GR;
- i && (u = Mbe({
+ i && (u = Lbe({
trace: !1,
...typeof i == "object" && i
}));
- let d = Ibe(hbe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ let d = Vbe(bbe(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
return UR(c, o, p);
}
function uB(e) {
@@ -52557,12 +52558,12 @@ function uB(e) {
r
];
}
-function Rbe(e) {
+function Ube(e) {
return typeof e == "function";
}
-function zbe(e, t) {
+function Wbe(e, t) {
let [n, r, i] = uB(t), a;
- if (Rbe(e)) a = () => iB(e());
+ if (Ube(e)) a = () => iB(e());
else {
let t = iB(e);
a = () => t;
@@ -52590,20 +52591,20 @@ function zbe(e, t) {
}
return o.getInitialState = a, o;
}
-var Bbe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Vbe = (e = 21) => {
+var Gbe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Kbe = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += Bbe[Math.random() * 64 | 0];
+ for (; n--;) t += Gbe[Math.random() * 64 | 0];
return t;
-}, Hbe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function Ube(e, t) {
+}, qbe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function Jbe(e, t) {
return `${e}/${t}`;
}
-function Wbe({ creators: e } = {}) {
- let t = e?.asyncThunk?.[Hbe];
+function Ybe({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[qbe];
return function(e) {
let { name: n, reducerPath: r = n } = e;
if (!n) throw Error(UB(11));
- let i = (typeof e.reducers == "function" ? e.reducers(Kbe()) : e.reducers) || {}, a = Object.keys(i), o = {
+ let i = (typeof e.reducers == "function" ? e.reducers(Zbe()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -52631,17 +52632,17 @@ function Wbe({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: Ube(n, r),
+ type: Jbe(n, r),
createNotation: typeof e.reducers == "function"
};
- Jbe(a) ? Xbe(o, a, s, t) : qbe(o, a, s);
+ $be(a) ? txe(o, a, s, t) : Qbe(o, a, s);
});
function c() {
let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? uB(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return zbe(e.initialState, (e) => {
+ return Wbe(e.initialState, (e) => {
for (let t in i) e.addCase(t, i[t]);
for (let t of o.sliceMatchers) e.addMatcher(t.matcher, t.reducer);
for (let t of n) e.addMatcher(t.matcher, t.reducer);
@@ -52663,7 +52664,7 @@ function Wbe({ creators: e } = {}) {
function i(t = l) {
return aB(aB(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = Gbe(a, t, () => aB(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = Xbe(a, t, () => aB(d, t, m), n);
return r;
});
}
@@ -52697,15 +52698,15 @@ function Wbe({ creators: e } = {}) {
return g;
};
}
-function Gbe(e, t, n, r) {
+function Xbe(e, t, n, r) {
function i(i, ...a) {
let o = t(i);
return o === void 0 && r && (o = n()), e(o, ...a);
}
return i.unwrapped = e, i;
}
-var dB = /* @__PURE__ */ Wbe();
-function Kbe() {
+var dB = /* @__PURE__ */ Ybe();
+function Zbe() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -52729,21 +52730,21 @@ function Kbe() {
asyncThunk: e
};
}
-function qbe({ type: e, reducerName: t, createNotation: n }, r, i) {
+function Qbe({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !Ybe(r)) throw Error(UB(17));
+ if (n && !exe(r)) throw Error(UB(17));
a = r.reducer, o = r.prepare;
} else a = r;
i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? nB(e, o) : nB(e));
}
-function Jbe(e) {
+function $be(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function Ybe(e) {
+function exe(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function Xbe({ type: e, reducerName: t }, n, r, i) {
+function txe({ type: e, reducerName: t }, n, r, i) {
if (!i) throw Error(UB(18));
let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);
r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {
@@ -52754,9 +52755,9 @@ function Xbe({ type: e, reducerName: t }, n, r, i) {
});
}
function fB() {}
-var Zbe = "task", pB = "listener", mB = "completed", hB = "cancelled", Qbe = `task-${hB}`, $be = `task-${mB}`, gB = `${pB}-${hB}`, exe = `${pB}-${mB}`, _B = class {
+var nxe = "task", pB = "listener", mB = "completed", hB = "cancelled", rxe = `task-${hB}`, ixe = `task-${mB}`, gB = `${pB}-${hB}`, axe = `${pB}-${mB}`, _B = class {
constructor(e) {
- this.code = e, this.message = `${Zbe} ${hB} (reason: ${e})`;
+ this.code = e, this.message = `${nxe} ${hB} (reason: ${e})`;
}
code;
name = "TaskAbortError";
@@ -52810,11 +52811,11 @@ var wB = async (e, t) => {
signal: a.signal
});
return SB(a.signal), t;
- }, () => a.abort($be));
+ }, () => a.abort(ixe));
return i?.autoJoin && t.push(o.catch(yB)), {
result: TB(e)(o),
cancel() {
- a.abort(Qbe);
+ a.abort(rxe);
}
};
};
@@ -52859,7 +52860,7 @@ var wB = async (e, t) => {
}, NB = /* @__PURE__ */ DB((e) => {
let { type: t, predicate: n, effect: r } = MB(e);
return {
- id: Vbe(),
+ id: Kbe(),
effect: r,
type: t,
predicate: n,
@@ -52940,7 +52941,7 @@ var wB = async (e, t) => {
} catch (e) {
e instanceof _B || LB(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(exe), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(axe), i(e), e.pending.delete(u);
}
}, d = IB(t, n);
return {
@@ -53141,10 +53142,10 @@ var aV = (e, t, n) => {
}
}
},
- expand: Dve,
+ expand: Mve,
none: bL,
- silhouette: Ove,
- wiggle: kve,
+ silhouette: Nve,
+ wiggle: Pve,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -53159,7 +53160,7 @@ var aV = (e, t, n) => {
}
}
}, dV = (e, t, n) => {
- var r = uV[n] ?? bL, i = Eve().keys(t).value((e, t) => Number(iV(e, t, 0))).order(xL).offset(r)(e);
+ var r = uV[n] ?? bL, i = jve().keys(t).value((e, t) => Number(iV(e, t, 0))).order(xL).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
var a = iV(e[i], t[r], 0);
@@ -53308,7 +53309,7 @@ var UV = $([
VV,
HV,
FR,
- dbe
+ gbe
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
@@ -53546,7 +53547,7 @@ var _H = () => (0, L.useContext)(mH), vH = /*#__PURE__*/ (0, L.forwardRef)((e, t
});
return $V(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ L.createElement("div", {
id: d ? `${d}` : void 0,
- className: Xa("recharts-responsive-container", f),
+ className: eo("recharts-responsive-container", f),
style: uH(uH({}, m), {}, {
width: i,
height: a,
@@ -53716,23 +53717,23 @@ function $H(e, t = !1) {
delete: eU
}), Object.freeze(e), t && Object.values(e).forEach((e) => $H(e, !0)), e);
}
-function txe() {
+function oxe() {
LH(2);
}
-var eU = { value: txe };
+var eU = { value: oxe };
function tU(e) {
return typeof e != "object" || !e || Object.isFrozen(e);
}
-var nxe = {};
+var sxe = {};
function nU(e) {
- let t = nxe[e];
+ let t = sxe[e];
return t || LH(0, e), t;
}
var rU;
function iU() {
return rU;
}
-function rxe(e, t) {
+function cxe(e, t) {
return {
drafts_: [],
parent_: e,
@@ -53745,15 +53746,15 @@ function aU(e, t) {
t && (nU("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function oU(e) {
- sU(e), e.drafts_.forEach(ixe), e.drafts_ = null;
+ sU(e), e.drafts_.forEach(lxe), e.drafts_ = null;
}
function sU(e) {
e === rU && (rU = e.parent_);
}
function cU(e) {
- return rU = rxe(rU, e);
+ return rU = cxe(rU, e);
}
-function ixe(e) {
+function lxe(e) {
let t = e[IH];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
@@ -53793,7 +53794,7 @@ function dU(e, t, n, r, i, a, o) {
function fU(e, t, n = !1) {
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && $H(t, n);
}
-function axe(e, t) {
+function uxe(e, t) {
let n = Array.isArray(e), r = {
type_: +!!n,
scope_: t ? t.scope_ : iU(),
@@ -53815,7 +53816,7 @@ var pU = {
get(e, t) {
if (t === IH) return e;
let n = ZH(e);
- if (!KH(n, t)) return oxe(e, n, t);
+ if (!KH(n, t)) return dxe(e, n, t);
let r = n[t];
return e.finalized_ || !BH(r) ? r : r === hU(e.base_, t) ? (vU(e), e.copy_[t] = yU(r, e)) : r;
},
@@ -53871,7 +53872,7 @@ function hU(e, t) {
let n = e[IH];
return (n ? ZH(n) : e)[t];
}
-function oxe(e, t, n) {
+function dxe(e, t, n) {
let r = gU(t, n);
return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;
}
@@ -53890,7 +53891,7 @@ function _U(e) {
function vU(e) {
e.copy_ ||= QH(e.base_, e.scope_.immer_.useStrictShallowCopy_);
}
-var sxe = class {
+var fxe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {
if (typeof e == "function" && typeof t != "function") {
@@ -53933,7 +53934,7 @@ var sxe = class {
}, typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof e?.useStrictShallowCopy == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy), typeof e?.useStrictIteration == "boolean" && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- BH(e) || LH(8), zH(e) && (e = cxe(e));
+ BH(e) || LH(8), zH(e) && (e = pxe(e));
let t = cU(this), n = yU(e, void 0);
return n[IH].isManual_ = !0, sU(t), n;
}
@@ -53970,10 +53971,10 @@ var sxe = class {
}
};
function yU(e, t) {
- let n = YH(e) ? nU("MapSet").proxyMap_(e, t) : XH(e) ? nU("MapSet").proxySet_(e, t) : axe(e, t);
+ let n = YH(e) ? nU("MapSet").proxyMap_(e, t) : XH(e) ? nU("MapSet").proxySet_(e, t) : uxe(e, t);
return (t ? t.scope_ : iU()).drafts_.push(n), n;
}
-function cxe(e) {
+function pxe(e) {
return zH(e) || LH(10, e), bU(e);
}
function bU(e) {
@@ -53987,7 +53988,7 @@ function bU(e) {
qH(n, e, bU(t));
}, r), t && (t.finalized_ = !1), n;
}
-new sxe().produce;
+new fxe().produce;
function xU(e) {
return e;
}
@@ -54036,24 +54037,24 @@ var SU = dB({
prepare: sB()
}
}
-}), { setLegendSize: CU, setLegendSettings: lxe, addLegendPayload: wU, replaceLegendPayload: TU, removeLegendPayload: EU } = SU.actions, uxe = SU.reducer, dxe = /* @__PURE__ */ Ge(((e) => {
- var t = $e();
+}), { setLegendSize: CU, setLegendSettings: mxe, addLegendPayload: wU, replaceLegendPayload: TU, removeLegendPayload: EU } = SU.actions, hxe = SU.reducer, gxe = /* @__PURE__ */ Xe(((e) => {
+ var t = rt();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
-(/* @__PURE__ */ Ge(((e, t) => {
- t.exports = dxe();
+(/* @__PURE__ */ Xe(((e, t) => {
+ t.exports = gxe();
})))();
-function fxe(e) {
+function _xe(e) {
e();
}
-function pxe() {
+function vxe() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- fxe(() => {
+ _xe(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -54079,7 +54080,7 @@ var DU = {
notify() {},
get: () => []
};
-function mxe(e, t) {
+function yxe(e, t) {
let n, r = DU, i = 0, a = !1;
function o(e) {
u();
@@ -54098,7 +54099,7 @@ function mxe(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = pxe());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = vxe());
}
function d() {
i--, n && i === 0 && (n(), n = void 0, r.clear(), r = DU);
@@ -54120,11 +54121,11 @@ function mxe(e, t) {
};
return m;
}
-var hxe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, gxe = typeof navigator < "u" && navigator.product === "ReactNative", _xe = hxe || gxe ? L.useLayoutEffect : L.useEffect;
+var bxe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, xxe = typeof navigator < "u" && navigator.product === "ReactNative", Sxe = bxe || xxe ? L.useLayoutEffect : L.useEffect;
function OU(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function vxe(e, t) {
+function Cxe(e, t) {
if (OU(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
@@ -54132,32 +54133,32 @@ function vxe(e, t) {
for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !OU(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var yxe = /* @__PURE__ */ Symbol.for("react-redux-context"), bxe = typeof globalThis < "u" ? globalThis : {};
-function xxe() {
+var wxe = /* @__PURE__ */ Symbol.for("react-redux-context"), Txe = typeof globalThis < "u" ? globalThis : {};
+function Exe() {
if (!L.createContext) return {};
- let e = bxe[yxe] ??= /* @__PURE__ */ new Map(), t = e.get(L.createContext);
+ let e = Txe[wxe] ??= /* @__PURE__ */ new Map(), t = e.get(L.createContext);
return t || (t = L.createContext(null), e.set(L.createContext, t)), t;
}
-var Sxe = /* @__PURE__ */ xxe();
-function Cxe(e) {
+var Dxe = /* @__PURE__ */ Exe();
+function Oxe(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = L.useMemo(() => {
- let e = mxe(i);
+ let e = yxe(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = L.useMemo(() => i.getState(), [i]);
- _xe(() => {
+ Sxe(() => {
let { subscription: e } = a;
return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {
e.tryUnsubscribe(), e.onStateChange = void 0;
};
}, [a, o]);
- let s = n || Sxe;
+ let s = n || Dxe;
return /* @__PURE__ */ L.createElement(s.Provider, { value: a }, t);
}
-var wxe = Cxe, Txe = /* @__PURE__ */ new Set([
+var kxe = Oxe, Axe = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -54180,19 +54181,19 @@ var wxe = Cxe, Txe = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function Exe(e, t) {
+function jxe(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
function kU(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (Txe.has(n)) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (Axe.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!vxe(e[n], t[n])) return !1;
- } else if (!Exe(e[n], t[n])) return !1;
+ if (!Cxe(e[n], t[n])) return !1;
+ } else if (!jxe(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var Dxe = ["contextPayload"];
+var Mxe = ["contextPayload"];
function AU() {
return AU = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -54216,26 +54217,26 @@ function MU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? jU(Object(n), !0).forEach(function(t) {
- Oxe(e, t, n[t]);
+ Nxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Oxe(e, t, n) {
- return (t = kxe(t)) in e ? Object.defineProperty(e, t, {
+function Nxe(e, t, n) {
+ return (t = Pxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kxe(e) {
- var t = Axe(e, "string");
+function Pxe(e) {
+ var t = Fxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Axe(e, t) {
+function Fxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54245,16 +54246,16 @@ function Axe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function jxe(e, t) {
+function Ixe(e, t) {
if (e == null) return {};
- var n, r, i = Mxe(e, t);
+ var n, r, i = Lxe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Mxe(e, t) {
+function Lxe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -54263,24 +54264,24 @@ function Mxe(e, t) {
}
return n;
}
-function Nxe(e) {
+function Rxe(e) {
return e.value;
}
-function Pxe(e) {
- var { contextPayload: t } = e, n = jxe(e, Dxe), r = wR(t, e.payloadUniqBy, Nxe), i = MU(MU({}, n), {}, { payload: r });
- return /*#__PURE__*/ L.isValidElement(e.content) ? /*#__PURE__*/ L.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ L.createElement(e.content, i) : /*#__PURE__*/ L.createElement(rye, i);
+function zxe(e) {
+ var { contextPayload: t } = e, n = Ixe(e, Mxe), r = wR(t, e.payloadUniqBy, Rxe), i = MU(MU({}, n), {}, { payload: r });
+ return /*#__PURE__*/ L.isValidElement(e.content) ? /*#__PURE__*/ L.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ L.createElement(e.content, i) : /*#__PURE__*/ L.createElement(cye, i);
}
-function Fxe(e, t, n, r, i, a) {
+function Bxe(e, t, n, r, i, a) {
var { layout: o, align: s, verticalAlign: c } = t, l, u;
return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), MU(MU({}, l), u);
}
-function Ixe(e) {
+function Vxe(e) {
var t = ER();
return (0, L.useEffect)(() => {
- t(lxe(e));
+ t(mxe(e));
}, [t, e]), null;
}
-function Lxe(e) {
+function Hxe(e) {
var t = ER();
return (0, L.useEffect)(() => (t(CU(e)), () => {
t(CU({
@@ -54289,10 +54290,10 @@ function Lxe(e) {
}));
}), [t, e]), null;
}
-function Rxe(e, t, n, r) {
+function Uxe(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var zxe = {
+var Wxe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -54300,36 +54301,36 @@ var zxe = {
layout: "horizontal",
verticalAlign: "bottom"
};
-function Bxe(e) {
- var t = $L(e, zxe), n = pbe(), r = Z_e(), i = EH(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = LR([n]), d = wH(), f = TH();
+function Gxe(e) {
+ var t = $L(e, Wxe), n = vbe(), r = nve(), i = EH(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = LR([n]), d = wH(), f = TH();
if (d == null || f == null) return null;
- var p = d - (i?.left || 0) - (i?.right || 0), m = Rxe(t.layout, o, a, p), h = c ? s : MU(MU({
+ var p = d - (i?.left || 0) - (i?.right || 0), m = Uxe(t.layout, o, a, p), h = c ? s : MU(MU({
position: "absolute",
width: m?.width || a || "auto",
height: m?.height || o || "auto"
- }, Fxe(s, t, i, d, f, l)), s), g = c ?? r;
+ }, Bxe(s, t, i, d, f, l)), s), g = c ?? r;
if (g == null || n == null) return null;
var _ = /*#__PURE__*/ L.createElement("div", {
className: "recharts-legend-wrapper",
style: h,
ref: u
- }, /*#__PURE__*/ L.createElement(Ixe, {
+ }, /*#__PURE__*/ L.createElement(Vxe, {
layout: t.layout,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter
- }), !c && /*#__PURE__*/ L.createElement(Lxe, {
+ }), !c && /*#__PURE__*/ L.createElement(Hxe, {
width: l.width,
height: l.height
- }), /*#__PURE__*/ L.createElement(Pxe, AU({}, t, m, {
+ }), /*#__PURE__*/ L.createElement(zxe, AU({}, t, m, {
margin: i,
chartWidth: d,
chartHeight: f,
contextPayload: n
})));
- return /*#__PURE__*/ (0, it.createPortal)(_, g);
+ return /*#__PURE__*/ (0, ct.createPortal)(_, g);
}
-var NU = /*#__PURE__*/ L.memo(Bxe, kU);
+var NU = /*#__PURE__*/ L.memo(Gxe, kU);
NU.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
@@ -54356,26 +54357,26 @@ function IU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? FU(Object(n), !0).forEach(function(t) {
- Vxe(e, t, n[t]);
+ Kxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Vxe(e, t, n) {
- return (t = Hxe(t)) in e ? Object.defineProperty(e, t, {
+function Kxe(e, t, n) {
+ return (t = qxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Hxe(e) {
- var t = Uxe(e, "string");
+function qxe(e) {
+ var t = Jxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Uxe(e, t) {
+function Jxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54385,7 +54386,7 @@ function Uxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Wxe(e) {
+function Yxe(e) {
return Array.isArray(e) && PL(e[0]) && PL(e[1]) ? e.join(" ~ ") : e;
}
var LU = {
@@ -54406,18 +54407,18 @@ var LU = {
labelStyle: {},
accessibilityLayer: !1
};
-function Gxe(e, t) {
+function Xxe(e, t) {
return t == null ? e : PR(e, t);
}
-var Kxe = (e) => {
+var Zxe = (e) => {
var { separator: t = LU.separator, contentStyle: n, itemStyle: r, labelStyle: i = LU.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = LU.accessibilityLayer } = e, p = () => {
if (a && a.length) {
var e = {
padding: 0,
margin: 0
- }, n = Gxe(a, s).map((e, n) => {
+ }, n = Xxe(a, s).map((e, n) => {
if (e.type === "none") return null;
- var i = e.formatter || o || Wxe, { value: s, name: c } = e, l = s, u = c;
+ var i = e.formatter || o || Yxe, { value: s, name: c } = e, l = s, u = c;
if (i) {
var d = i(s, c, e, n, a);
if (Array.isArray(d)) [l, u] = d;
@@ -54437,7 +54438,7 @@ var Kxe = (e) => {
}, n);
}
return null;
- }, m = IU(IU({}, LU.contentStyle), n), h = IU({ margin: 0 }, i), g = !BL(u), _ = g ? u : "", v = Xa("recharts-default-tooltip", c), y = Xa("recharts-tooltip-label", l);
+ }, m = IU(IU({}, LU.contentStyle), n), h = IU({ margin: 0 }, i), g = !BL(u), _ = g ? u : "", v = eo("recharts-default-tooltip", c), y = eo("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
@@ -54450,10 +54451,10 @@ var Kxe = (e) => {
className: y,
style: h
}, /*#__PURE__*/ L.isValidElement(_) ? _ : `${_}`), p());
-}, RU = "recharts-tooltip-wrapper", qxe = { visibility: "hidden" };
-function Jxe(e) {
+}, RU = "recharts-tooltip-wrapper", Qxe = { visibility: "hidden" };
+function $xe(e) {
var { coordinate: t, translateX: n, translateY: r } = e;
- return Xa(RU, {
+ return eo(RU, {
[`${RU}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
[`${RU}-left`]: Z(n) && t && Z(t.x) && n < t.x,
[`${RU}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
@@ -54468,11 +54469,11 @@ function zU(e) {
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function Yxe(e) {
+function eSe(e) {
var { translateX: t, translateY: n, useTranslate3d: r } = e;
return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function Xxe(e) {
+function tSe(e) {
var { allowEscapeViewBox: t, coordinate: n, offsetTop: r, offsetLeft: i, position: a, reverseDirection: o, tooltipBox: s, useTranslate3d: c, viewBox: l } = e, u, d, f;
return s.height > 0 && s.width > 0 && n ? (d = zU({
allowEscapeViewBox: t,
@@ -54494,13 +54495,13 @@ function Xxe(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = Yxe({
+ }), u = eSe({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = qxe, {
+ })) : u = Qxe, {
cssProperties: u,
- cssClasses: Jxe({
+ cssClasses: $xe({
translateX: d,
translateY: f,
coordinate: n
@@ -54542,26 +54543,26 @@ function UU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? HU(Object(n), !0).forEach(function(t) {
- Zxe(e, t, n[t]);
+ nSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Zxe(e, t, n) {
- return (t = Qxe(t)) in e ? Object.defineProperty(e, t, {
+function nSe(e, t, n) {
+ return (t = rSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Qxe(e) {
- var t = $xe(e, "string");
+function rSe(e) {
+ var t = iSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $xe(e, t) {
+function iSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54571,10 +54572,10 @@ function $xe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function eSe(e) {
+function aSe(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;
}
-function tSe(e) {
+function oSe(e) {
var t = VU(), [n, r] = L.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
@@ -54596,7 +54597,7 @@ function tSe(e) {
document.removeEventListener("keydown", t);
};
}, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(UU(UU({}, n), {}, { dismissed: !1 }));
- var { cssClasses: i, cssProperties: a } = Xxe({
+ var { cssClasses: i, cssProperties: a } = tSe({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -54609,7 +54610,7 @@ function tSe(e) {
},
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = UU(UU({}, e.hasPortalFromProps ? {} : UU(UU({ transition: eSe({
+ }), o = UU(UU({}, e.hasPortalFromProps ? {} : UU(UU({ transition: aSe({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -54629,7 +54630,7 @@ function tSe(e) {
ref: e.innerRef
}, e.children);
}
-var nSe = /*#__PURE__*/ L.memo(tSe), WU = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
+var sSe = /*#__PURE__*/ L.memo(oSe), WU = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
function GU() {
@@ -54655,26 +54656,26 @@ function qU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? KU(Object(n), !0).forEach(function(t) {
- rSe(e, t, n[t]);
+ cSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rSe(e, t, n) {
- return (t = iSe(t)) in e ? Object.defineProperty(e, t, {
+function cSe(e, t, n) {
+ return (t = lSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iSe(e) {
- var t = aSe(e, "string");
+function lSe(e) {
+ var t = uSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aSe(e, t) {
+function uSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54685,20 +54686,20 @@ function aSe(e, t) {
return (t === "string" ? String : Number)(e);
}
var JU = {
- curveBasisClosed: hve,
- curveBasisOpen: gve,
- curveBasis: mve,
- curveBumpX: eve,
- curveBumpY: tve,
- curveLinearClosed: _ve,
+ curveBasisClosed: bve,
+ curveBasisOpen: xve,
+ curveBasis: yve,
+ curveBumpX: ave,
+ curveBumpY: ove,
+ curveLinearClosed: Sve,
curveLinear: GI,
- curveMonotoneX: vve,
- curveMonotoneY: yve,
- curveNatural: bve,
- curveStep: xve,
- curveStepAfter: Cve,
- curveStepBefore: Sve
-}, YU = (e) => ZB(e.x) && ZB(e.y), XU = (e) => e.base != null && YU(e.base) && YU(e), ZU = (e) => e.x, QU = (e) => e.y, oSe = (e, t) => {
+ curveMonotoneX: Cve,
+ curveMonotoneY: wve,
+ curveNatural: Tve,
+ curveStep: Eve,
+ curveStepAfter: Ove,
+ curveStepBefore: Dve
+}, YU = (e) => ZB(e.x) && ZB(e.y), XU = (e) => e.base != null && YU(e.base) && YU(e), ZU = (e) => e.x, QU = (e) => e.y, dSe = (e, t) => {
if (typeof e == "function") return e;
var n = `curve${VL(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
@@ -54709,8 +54710,8 @@ var JU = {
}, $U = {
connectNulls: !1,
type: "linear"
-}, sSe = (e) => {
- var { type: t = $U.type, points: n = [], baseLine: r, layout: i, connectNulls: a = $U.connectNulls } = e, o = oSe(t, i), s = a ? n.filter(YU) : n;
+}, fSe = (e) => {
+ var { type: t = $U.type, points: n = [], baseLine: r, layout: i, connectNulls: a = $U.connectNulls } = e, o = dSe(t, i), s = a ? n.filter(YU) : n;
if (Array.isArray(r)) {
var c, l = n.map((e, t) => qU(qU({}, e), {}, { base: r[t] }));
return c = i === "vertical" ? YI().y(QU).x1(ZU).x0((e) => e.base.x) : YI().x(ZU).y1(QU).y0((e) => e.base.y), c.defined(XU).curve(o)(a ? l.filter(XU) : l);
@@ -54725,13 +54726,13 @@ var JU = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? sSe(o) : r;
+ }, s = n && n.length ? fSe(o) : r;
return /*#__PURE__*/ L.createElement("path", GU({}, CI(e), XL(e), {
- className: Xa("recharts-curve", t),
+ className: eo("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, cSe = [
+}, pSe = [
"x",
"y",
"top",
@@ -54759,30 +54760,30 @@ function nW(e, t) {
}
return n;
}
-function lSe(e) {
+function mSe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? nW(Object(n), !0).forEach(function(t) {
- uSe(e, t, n[t]);
+ hSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nW(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uSe(e, t, n) {
- return (t = dSe(t)) in e ? Object.defineProperty(e, t, {
+function hSe(e, t, n) {
+ return (t = gSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dSe(e) {
- var t = fSe(e, "string");
+function gSe(e) {
+ var t = _Se(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fSe(e, t) {
+function _Se(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54792,16 +54793,16 @@ function fSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function pSe(e, t) {
+function vSe(e, t) {
if (e == null) return {};
- var n, r, i = mSe(e, t);
+ var n, r, i = ySe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function mSe(e, t) {
+function ySe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -54810,8 +54811,8 @@ function mSe(e, t) {
}
return n;
}
-var hSe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, gSe = (e) => {
- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = pSe(e, cSe), l = lSe({
+var bSe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, xSe = (e) => {
+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = vSe(e, pSe), l = mSe({
x: t,
y: n,
top: r,
@@ -54820,13 +54821,13 @@ var hSe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, gSe = (e) => {
height: o
}, c);
return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ L.createElement("path", tW({}, TI(l), {
- className: Xa("recharts-cross", s),
- d: hSe(t, n, a, o, r, i)
+ className: eo("recharts-cross", s),
+ d: bSe(t, n, a, o, r, i)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function _Se(e, t, n, r) {
+function SSe(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -54853,26 +54854,26 @@ function iW(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? rW(Object(n), !0).forEach(function(t) {
- vSe(e, t, n[t]);
+ CSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rW(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vSe(e, t, n) {
- return (t = ySe(t)) in e ? Object.defineProperty(e, t, {
+function CSe(e, t, n) {
+ return (t = wSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ySe(e) {
- var t = bSe(e, "string");
+function wSe(e) {
+ var t = TSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bSe(e, t) {
+function TSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54882,7 +54883,7 @@ function bSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var xSe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), aW = (e, t, n) => e.map((e) => `${xSe(e)} ${t}ms ${n}`).join(","), SSe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), oW = (e, t) => Object.keys(t).reduce((n, r) => iW(iW({}, n), {}, { [r]: e(r, t[r]) }), {});
+var ESe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), aW = (e, t, n) => e.map((e) => `${ESe(e)} ${t}ms ${n}`).join(","), DSe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), oW = (e, t) => Object.keys(t).reduce((n, r) => iW(iW({}, n), {}, { [r]: e(r, t[r]) }), {});
//#endregion
//#region node_modules/recharts/es6/animation/configUpdate.js
function sW(e, t) {
@@ -54899,26 +54900,26 @@ function cW(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? sW(Object(n), !0).forEach(function(t) {
- CSe(e, t, n[t]);
+ OSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sW(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function CSe(e, t, n) {
- return (t = wSe(t)) in e ? Object.defineProperty(e, t, {
+function OSe(e, t, n) {
+ return (t = kSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wSe(e) {
- var t = TSe(e, "string");
+function kSe(e) {
+ var t = ASe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function TSe(e, t) {
+function ASe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54947,7 +54948,7 @@ var lW = (e, t, n) => e + (t - e) * n, uW = (e) => {
from: lW(t.from, r[e].from, n)
}) : t, t) : dW(e, r, n - 1);
};
-function ESe(e, t, n, r, i, a) {
+function jSe(e, t, n, r, i, a) {
var o, s = r.reduce((n, r) => cW(cW({}, n), {}, { [r]: {
from: e[r],
velocity: 0,
@@ -54962,7 +54963,7 @@ function ESe(e, t, n, r, i, a) {
(e = u) == null || e();
});
}
-function DSe(e, t, n, r, i, a, o) {
+function MSe(e, t, n, r, i, a, o) {
var s = null, c = i.reduce((n, r) => {
var i = e[r], a = t[r];
return i == null || a == null ? n : cW(cW({}, n), {}, { [r]: [i, a] });
@@ -54980,15 +54981,15 @@ function DSe(e, t, n, r, i, a, o) {
(e = s) == null || e();
});
}
-var OSe = (e, t, n, r, i, a) => {
- var o = SSe(e, t);
- return n == null ? () => (i(cW(cW({}, e), t)), () => {}) : n.isStepper === !0 ? ESe(e, t, n, o, i, a) : DSe(e, t, n, r, o, i, a);
+var NSe = (e, t, n, r, i, a) => {
+ var o = DSe(e, t);
+ return n == null ? () => (i(cW(cW({}, e), t)), () => {}) : n.isStepper === !0 ? jSe(e, t, n, o, i, a) : MSe(e, t, n, r, o, i, a);
}, fW = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], pW = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), mW = (e, t) => (n) => pW(fW(e, t), n), kSe = (e, t) => (n) => pW([...fW(e, t).map((e, t) => e * t).slice(1), 0], n), ASe = (e) => {
+], pW = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), mW = (e, t) => (n) => pW(fW(e, t), n), PSe = (e, t) => (n) => pW([...fW(e, t).map((e, t) => e * t).slice(1), 0], n), FSe = (e) => {
var t, n = e.split("(");
if (n.length !== 2 || n[0] !== "cubic-bezier") return null;
var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");
@@ -55000,7 +55001,7 @@ var OSe = (e, t, n, r, i, a) => {
i[2],
i[3]
];
-}, jSe = function() {
+}, ISe = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -55034,7 +55035,7 @@ var OSe = (e, t, n, r, i, a) => {
1
];
default:
- var t = ASe(e[0]);
+ var t = FSe(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -55043,8 +55044,8 @@ var OSe = (e, t, n, r, i, a) => {
1,
1
];
-}, MSe = (e, t, n, r) => {
- var i = mW(e, n), a = mW(t, r), o = kSe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, LSe = (e, t, n, r) => {
+ var i = mW(e, n), a = mW(t, r), o = PSe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {
var c = i(n) - t, l = o(n);
if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);
@@ -55054,28 +55055,28 @@ var OSe = (e, t, n, r, i, a) => {
};
return c.isStepper = !1, c;
}, hW = function() {
- return MSe(...jSe(...arguments));
-}, NSe = function() {
+ return LSe(...ISe(...arguments));
+}, RSe = function() {
var { stiff: e = 100, damping: t = 8, dt: n = 17 } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = (r, i, a) => {
var o = a + (-(r - i) * e - a * t) * n / 1e3, s = a * n / 1e3 + r;
return Math.abs(s - i) < 1e-4 && Math.abs(o) < 1e-4 ? [i, 0] : [s, o];
};
return r.isStepper = !0, r.dt = n, r;
-}, PSe = (e) => {
+}, zSe = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
case "linear": return hW(e);
- case "spring": return NSe();
+ case "spring": return RSe();
default: if (e.split("(")[0] === "cubic-bezier") return hW(e);
}
return typeof e == "function" ? e : null;
};
//#endregion
//#region node_modules/recharts/es6/animation/AnimationManager.js
-function FSe(e) {
+function BSe(e) {
var t, n = () => null, r = !1, i = null, a = (o) => {
if (!r) {
if (Array.isArray(o)) {
@@ -55106,7 +55107,7 @@ function FSe(e) {
}
//#endregion
//#region node_modules/recharts/es6/animation/timeoutController.js
-var ISe = class {
+var VSe = class {
setTimeout(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {
a - n >= t ? e(a) : typeof requestAnimationFrame == "function" && (r = requestAnimationFrame(i));
@@ -55118,14 +55119,14 @@ var ISe = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js
-function LSe() {
- return FSe(new ISe());
+function HSe() {
+ return BSe(new VSe());
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationManager.js
-var RSe = /*#__PURE__*/ (0, L.createContext)(LSe);
-function zSe(e, t) {
- var n = (0, L.useContext)(RSe);
+var USe = /*#__PURE__*/ (0, L.createContext)(HSe);
+function WSe(e, t) {
+ var n = (0, L.useContext)(USe);
return (0, L.useMemo)(() => t ?? n(e), [
e,
t,
@@ -55134,7 +55135,7 @@ function zSe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-var BSe = {
+var GSe = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -55144,12 +55145,12 @@ var BSe = {
onAnimationStart: () => {}
}, gW = { t: 0 }, _W = { t: 1 };
function vW(e) {
- var t = $L(e, BSe), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = VU(), d = n === "auto" ? !BU.isSsr && !u : n, f = zSe(t.animationId, t.animationManager), [p, m] = (0, L.useState)(d ? gW : _W), h = (0, L.useRef)(null);
+ var t = $L(e, GSe), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = VU(), d = n === "auto" ? !BU.isSsr && !u : n, f = WSe(t.animationId, t.animationManager), [p, m] = (0, L.useState)(d ? gW : _W), h = (0, L.useRef)(null);
return (0, L.useEffect)(() => {
d || m(_W);
}, [d]), (0, L.useEffect)(() => {
if (!d || !r) return UL;
- var e = OSe(gW, _W, PSe(a), i, m, f.getTimeoutController());
+ var e = NSe(gW, _W, zSe(a), i, m, f.getTimeoutController());
return f.start([
c,
o,
@@ -55180,7 +55181,7 @@ function yW(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
-var VSe = ["radius"], HSe = ["radius"], USe, WSe, GSe, KSe, qSe, JSe, YSe, XSe, ZSe, QSe;
+var KSe = ["radius"], qSe = ["radius"], JSe, YSe, XSe, ZSe, QSe, $Se, eCe, tCe, nCe, rCe;
function bW(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -55195,26 +55196,26 @@ function xW(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? bW(Object(n), !0).forEach(function(t) {
- $Se(e, t, n[t]);
+ iCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bW(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function $Se(e, t, n) {
- return (t = eCe(t)) in e ? Object.defineProperty(e, t, {
+function iCe(e, t, n) {
+ return (t = aCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function eCe(e) {
- var t = tCe(e, "string");
+function aCe(e) {
+ var t = oCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function tCe(e, t) {
+function oCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55235,14 +55236,14 @@ function SW() {
}
function CW(e, t) {
if (e == null) return {};
- var n, r, i = nCe(e, t);
+ var n, r, i = sCe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function nCe(e, t) {
+function sCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55266,44 +55267,44 @@ var TW = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = AL(USe ||= wW([
+ d = AL(JSe ||= wW([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += AL(WSe ||= wW([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += AL(YSe ||= wW([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += AL(GSe ||= wW([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += AL(XSe ||= wW([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += AL(KSe ||= wW([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += AL(ZSe ||= wW([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += AL(qSe ||= wW([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += AL(QSe ||= wW([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += AL(JSe ||= wW([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += AL($Se ||= wW([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += AL(YSe ||= wW([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += AL(eCe ||= wW([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += AL(XSe ||= wW([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += AL(tCe ||= wW([
"A ",
",",
",0,0,",
@@ -55313,8 +55314,8 @@ var TW = (e, t, n, r, i) => {
]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";
} else if (s > 0 && i === +i && i > 0) {
var g = Math.min(s, i);
- d = AL(ZSe ||= wW(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
- } else d = AL(QSe ||= wW([
+ d = AL(nCe ||= wW(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
+ } else d = AL(rCe ||= wW([
"M ",
",",
" h ",
@@ -55356,9 +55357,9 @@ var TW = (e, t, n, r, i) => {
l
]), "rectangle-");
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
- var x = Xa("recharts-rectangle", u);
+ var x = eo("recharts-rectangle", u);
if (!h) {
- var S = TI(t), { radius: C } = S, w = CW(S, VSe);
+ var S = TI(t), { radius: C } = S, w = CW(S, KSe);
return /*#__PURE__*/ L.createElement("path", SW({}, w, {
x: kL(a),
y: kL(o),
@@ -55384,7 +55385,7 @@ var TW = (e, t, n, r, i) => {
var f = m ? e > 0 ? {
transition: j,
strokeDasharray: A
- } : { strokeDasharray: k } : { strokeDasharray: A }, p = TI(t), { radius: h } = p, b = CW(p, HSe);
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = TI(t), { radius: h } = p, b = CW(p, qSe);
return /*#__PURE__*/ L.createElement("path", SW({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
@@ -55410,26 +55411,26 @@ function kW(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? OW(Object(n), !0).forEach(function(t) {
- rCe(e, t, n[t]);
+ cCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OW(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rCe(e, t, n) {
- return (t = iCe(t)) in e ? Object.defineProperty(e, t, {
+function cCe(e, t, n) {
+ return (t = lCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iCe(e) {
- var t = aCe(e, "string");
+function lCe(e) {
+ var t = uCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aCe(e, t) {
+function uCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55439,10 +55440,10 @@ function aCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var AW = Math.PI / 180, jW = (e) => e * Math.PI / 180, oCe = (e) => e * 180 / Math.PI, MW = (e, t, n, r) => ({
+var AW = Math.PI / 180, jW = (e) => e * Math.PI / 180, dCe = (e) => e * 180 / Math.PI, MW = (e, t, n, r) => ({
x: e + Math.cos(-AW * r) * n,
y: t + Math.sin(-AW * r) * n
-}), sCe = function(e, t) {
+}), fCe = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -55453,11 +55454,11 @@ var AW = Math.PI / 180, jW = (e) => e * Math.PI / 180, oCe = (e) => e * 180 / Ma
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, cCe = (e, t) => {
+}, pCe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, lCe = (e, t) => {
- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = cCe({
+}, mCe = (e, t) => {
+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = pCe({
x: n,
y: r
}, {
@@ -55471,25 +55472,25 @@ var AW = Math.PI / 180, jW = (e) => e * Math.PI / 180, oCe = (e) => e * 180 / Ma
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: oCe(c),
+ angle: dCe(c),
angleInRadian: c
};
-}, uCe = (e) => {
+}, hCe = (e) => {
var { startAngle: t, endAngle: n } = e, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);
return {
startAngle: t - a * 360,
endAngle: n - a * 360
};
-}, dCe = (e, t) => {
+}, gCe = (e, t) => {
var { startAngle: n, endAngle: r } = t, i = Math.floor(n / 360), a = Math.floor(r / 360);
return e + Math.min(i, a) * 360;
-}, fCe = (e, t) => {
- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = lCe({
+}, _Ce = (e, t) => {
+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = mCe({
x: n,
y: r
}, t), { innerRadius: o, outerRadius: s } = t;
if (i < o || i > s || i === 0) return null;
- var { startAngle: c, endAngle: l } = uCe(t), u = a, d;
+ var { startAngle: c, endAngle: l } = hCe(t), u = a, d;
if (c <= l) {
for (; u > l;) u -= 360;
for (; u < c;) u += 360;
@@ -55501,7 +55502,7 @@ var AW = Math.PI / 180, jW = (e) => e * Math.PI / 180, oCe = (e) => e * 180 / Ma
}
return d ? kW(kW({}, t), {}, {
radius: i,
- angle: dCe(u, t)
+ angle: gCe(u, t)
}) : null;
};
//#endregion
@@ -55519,7 +55520,7 @@ function NW(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var pCe, mCe, hCe, gCe, _Ce, vCe, yCe;
+var vCe, yCe, bCe, xCe, SCe, CCe, wCe;
function PW() {
return PW = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -55532,7 +55533,7 @@ function PW() {
function FW(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var bCe = (e, t) => jL(t - e) * Math.min(Math.abs(t - e), 359.999), IW = (e) => {
+var TCe = (e, t) => jL(t - e) * Math.min(Math.abs(t - e), 359.999), IW = (e) => {
var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / AW, d = c ? i : i + a * u, f = MW(t, n, l, d), p = MW(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
@@ -55541,7 +55542,7 @@ var bCe = (e, t) => jL(t - e) * Math.min(Math.abs(t - e), 359.999), IW = (e) =>
theta: u
};
}, LW = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = bCe(a, o), c = a + s, l = MW(t, n, i, a), u = MW(t, n, i, c), d = AL(pCe ||= FW([
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = TCe(a, o), c = a + s, l = MW(t, n, i, a), u = MW(t, n, i, c), d = AL(vCe ||= FW([
"M ",
",",
"\n A ",
@@ -55554,7 +55555,7 @@ var bCe = (e, t) => jL(t - e) * Math.min(Math.abs(t - e), 359.999), IW = (e) =>
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
var f = MW(t, n, r, a), p = MW(t, n, r, c);
- d += AL(mCe ||= FW([
+ d += AL(yCe ||= FW([
"L ",
",",
"\n A ",
@@ -55565,13 +55566,13 @@ var bCe = (e, t) => jL(t - e) * Math.min(Math.abs(t - e), 359.999), IW = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += AL(hCe ||= FW([
+ } else d += AL(bCe ||= FW([
"L ",
",",
" Z"
]), t, n);
return d;
-}, xCe = (e) => {
+}, ECe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = jL(l - c), { circleTangency: d, lineTangency: f, theta: p } = IW({
cx: t,
cy: n,
@@ -55589,7 +55590,7 @@ var bCe = (e, t) => jL(t - e) * Math.min(Math.abs(t - e), 359.999), IW = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? AL(gCe ||= FW([
+ if (_ < 0) return o ? AL(xCe ||= FW([
"M ",
",",
"\n a",
@@ -55607,7 +55608,7 @@ var bCe = (e, t) => jL(t - e) * Math.min(Math.abs(t - e), 359.999), IW = (e) =>
startAngle: c,
endAngle: l
});
- var v = AL(_Ce ||= FW([
+ var v = AL(SCe ||= FW([
"M ",
",",
"\n A",
@@ -55649,7 +55650,7 @@ var bCe = (e, t) => jL(t - e) * Math.min(Math.abs(t - e), 359.999), IW = (e) =>
cornerIsExternal: s
}), T = s ? Math.abs(c - l) : Math.abs(c - l) - x - w;
if (T < 0 && a === 0) return `${v}L${t},${n}Z`;
- v += AL(vCe ||= FW([
+ v += AL(CCe ||= FW([
"L",
",",
"\n A",
@@ -55670,13 +55671,13 @@ var bCe = (e, t) => jL(t - e) * Math.min(Math.abs(t - e), 359.999), IW = (e) =>
",",
"Z"
]), C.x, C.y, a, a, +(u < 0), S.x, S.y, r, r, +(T > 180), +(u > 0), y.x, y.y, a, a, +(u < 0), b.x, b.y);
- } else v += AL(yCe ||= FW([
+ } else v += AL(wCe ||= FW([
"L",
",",
"Z"
]), t, n);
return v;
-}, SCe = {
+}, DCe = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -55687,9 +55688,9 @@ var bCe = (e, t) => jL(t - e) * Math.min(Math.abs(t - e), 359.999), IW = (e) =>
forceCornerRadius: !1,
cornerIsExternal: !1
}, RW = (e) => {
- var t = $L(e, SCe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+ var t = $L(e, DCe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
if (a < i || l === u) return null;
- var f = Xa("recharts-sector", d), p = a - i, m = IL(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? xCe({
+ var f = eo("recharts-sector", d), p = a - i, m = IL(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? ECe({
cx: n,
cy: r,
innerRadius: i,
@@ -55714,7 +55715,7 @@ var bCe = (e, t) => jL(t - e) * Math.min(Math.abs(t - e), 359.999), IW = (e) =>
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function CCe(e, t, n) {
+function OCe(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -55745,13 +55746,13 @@ function CCe(e, t, n) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function wCe(e) {
+function kCe(e) {
return TL(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
function zW(e) {
- return e ? (e = wCe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+ return e ? (e = kCe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
@@ -55795,7 +55796,7 @@ function qW(e, t) {
if (GW(o)) return o;
}
}
-function TCe(e, t, n) {
+function ACe(e, t, n) {
if (!(!n && t == null)) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
@@ -55836,7 +55837,7 @@ function TCe(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/util/scale/util/arithmetic.js
-var JW = /* @__PURE__ */ Je((/* @__PURE__ */ Ge(((e, t) => {
+var JW = /* @__PURE__ */ $e((/* @__PURE__ */ Xe(((e, t) => {
(function(e) {
var n = 1e9, r = {
precision: 20,
@@ -56242,7 +56243,7 @@ var ZW = (e) => {
}
var u = r[c] ?? 1, d = new JW.default(u).mul(o);
return t ? d : new JW.default(Math.ceil(d.toNumber()));
-}, ECe = (e, t, n) => {
+}, jCe = (e, t, n) => {
var r = new JW.default(1), i = new JW.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
@@ -56271,7 +56272,7 @@ var ZW = (e) => {
var l = c === Infinity ? [s, ...Array(r - 1).fill(Infinity)] : [...Array(r - 1).fill(-Infinity), c];
return t > n ? l.reverse() : l;
}
- if (s === c) return ECe(s, r, i);
+ if (s === c) return jCe(s, r, i);
var { step: u, tickMin: d, tickMax: f } = eG(s, c, o, i, 0, a === "snap125" ? $W : QW), p = XW(d, f.add(new JW.default(.1).mul(u)), u);
return t > n ? p.reverse() : p;
}, nG = function(e, t) {
@@ -56280,7 +56281,7 @@ var ZW = (e) => {
if (o === s) return [o];
var c = a === "snap125" ? $W : QW, l = Math.max(t, 2), u = c(new JW.default(s).sub(o).div(l - 1), i, 0), d = [...XW(new JW.default(o), new JW.default(s), u), s];
return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;
-}, rG = (e) => e.rootProps.maxBarSize, iG = (e) => e.rootProps.barGap, aG = (e) => e.rootProps.barCategoryGap, oG = (e) => e.rootProps.barSize, sG = (e) => e.rootProps.stackOffset, cG = (e) => e.rootProps.reverseStackOrder, lG = (e) => e.options.chartName, uG = (e) => e.rootProps.syncId, dG = (e) => e.rootProps.syncMethod, fG = (e) => e.options.eventEmitter, DCe = (e) => e.rootProps.baseValue, pG = {
+}, rG = (e) => e.rootProps.maxBarSize, iG = (e) => e.rootProps.barGap, aG = (e) => e.rootProps.barCategoryGap, oG = (e) => e.rootProps.barSize, sG = (e) => e.rootProps.stackOffset, cG = (e) => e.rootProps.reverseStackOrder, lG = (e) => e.options.chartName, uG = (e) => e.rootProps.syncId, dG = (e) => e.rootProps.syncMethod, fG = (e) => e.options.eventEmitter, MCe = (e) => e.rootProps.baseValue, pG = {
grid: -100,
barBackground: -50,
area: 100,
@@ -56360,26 +56361,26 @@ function yG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? vG(Object(n), !0).forEach(function(t) {
- OCe(e, t, n[t]);
+ NCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function OCe(e, t, n) {
- return (t = kCe(t)) in e ? Object.defineProperty(e, t, {
+function NCe(e, t, n) {
+ return (t = PCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kCe(e) {
- var t = ACe(e, "string");
+function PCe(e) {
+ var t = FCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ACe(e, t) {
+function FCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56437,7 +56438,7 @@ var bG = {
EV,
DV,
UV
-], sCe), EG = $([wG, TG], (e, t) => {
+], fCe), EG = $([wG, TG], (e, t) => {
if (e != null) return IL(e.innerRadius, t, 0);
}), DG = $([wG, TG], (e, t) => {
if (e != null) return IL(e.outerRadius, t, t * .8);
@@ -56445,13 +56446,13 @@ var bG = {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
return [t, n];
-}), jCe = $([SG, OG], gG), kG = $([
+}), ICe = $([SG, OG], gG), kG = $([
TG,
EG,
DG
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), MCe = $([CG, kG], gG), AG = $([
+}), LCe = $([CG, kG], gG), AG = $([
DH,
wG,
EG,
@@ -56505,7 +56506,7 @@ var IG = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] &&
function LG(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function NCe(e, t) {
+function RCe(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -56584,7 +56585,7 @@ function HG(e, t) {
//#region node_modules/d3-array/src/bisector.js
function UG(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = PCe(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = zCe(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -56610,7 +56611,7 @@ function UG(e) {
right: i
};
}
-function PCe(e) {
+function zCe(e) {
return (t, n) => HG(e(t), n);
}
//#endregion
@@ -56618,7 +56619,7 @@ function PCe(e) {
function WG(e) {
return e === null ? NaN : +e;
}
-function* FCe(e, t) {
+function* BCe(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -56632,7 +56633,7 @@ GG.left, UG(WG).center;
//#endregion
//#region node_modules/internmap/src/index.js
var qG = class extends Map {
- constructor(e, t = RCe) {
+ constructor(e, t = UCe) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
@@ -56645,25 +56646,25 @@ var qG = class extends Map {
return super.has(JG(this, e));
}
set(e, t) {
- return super.set(ICe(this, e), t);
+ return super.set(VCe(this, e), t);
}
delete(e) {
- return super.delete(LCe(this, e));
+ return super.delete(HCe(this, e));
}
};
function JG({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function ICe({ _intern: e, _key: t }, n) {
+function VCe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function LCe({ _intern: e, _key: t }, n) {
+function HCe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function RCe(e) {
+function UCe(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
@@ -56736,15 +56737,15 @@ function iK(e, t, n) {
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function zCe(e, t, n) {
- if (e = Float64Array.from(FCe(e, n)), r = e.length) {
+function WCe(e, t, n) {
+ if (e = Float64Array.from(BCe(e, n)), r = e.length) {
if ((t = +t) <= 0 || r < 2) return nK(e);
if (t >= 1) return tK(e);
var r, i = (r - 1) * t, a = Math.floor(i), o = tK(rK(e, a).subarray(0, a + 1));
return o + (nK(e.subarray(a + 1)) - o) * (i - a);
}
}
-function BCe(e, t, n = WG) {
+function GCe(e, t, n = WG) {
if (r = e.length) {
if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e);
if (t >= 1) return +n(e[r - 1], r - 1, e);
@@ -56754,7 +56755,7 @@ function BCe(e, t, n = WG) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function VCe(e, t, n) {
+function KCe(e, t, n) {
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
return a;
@@ -56826,7 +56827,7 @@ function uK() {
function d() {
var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
- var m = VCe(e).map(function(e) {
+ var m = KCe(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -56861,7 +56862,7 @@ function dK(e) {
return dK(t());
}, e;
}
-function HCe() {
+function qCe() {
return dK(uK.apply(null, arguments).paddingInner(1));
}
//#endregion
@@ -56877,7 +56878,7 @@ function pK(e, t) {
//#endregion
//#region node_modules/d3-color/src/color.js
function mK() {}
-var hK = .7, gK = 1 / hK, _K = "\\s*([+-]?\\d+)\\s*", vK = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", yK = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", UCe = /^#([0-9a-f]{3,8})$/, WCe = RegExp(`^rgb\\(${_K},${_K},${_K}\\)$`), GCe = RegExp(`^rgb\\(${yK},${yK},${yK}\\)$`), KCe = RegExp(`^rgba\\(${_K},${_K},${_K},${vK}\\)$`), qCe = RegExp(`^rgba\\(${yK},${yK},${yK},${vK}\\)$`), JCe = RegExp(`^hsl\\(${vK},${yK},${yK}\\)$`), YCe = RegExp(`^hsla\\(${vK},${yK},${yK},${vK}\\)$`), bK = {
+var hK = .7, gK = 1 / hK, _K = "\\s*([+-]?\\d+)\\s*", vK = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", yK = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", JCe = /^#([0-9a-f]{3,8})$/, YCe = RegExp(`^rgb\\(${_K},${_K},${_K}\\)$`), XCe = RegExp(`^rgb\\(${yK},${yK},${yK}\\)$`), ZCe = RegExp(`^rgba\\(${_K},${_K},${_K},${vK}\\)$`), QCe = RegExp(`^rgba\\(${yK},${yK},${yK},${vK}\\)$`), $Ce = RegExp(`^hsl\\(${vK},${yK},${yK}\\)$`), ewe = RegExp(`^hsla\\(${vK},${yK},${yK},${vK}\\)$`), bK = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -57036,18 +57037,18 @@ fK(mK, CK, {
},
hex: xK,
formatHex: xK,
- formatHex8: XCe,
- formatHsl: ZCe,
+ formatHex8: twe,
+ formatHsl: nwe,
formatRgb: SK,
toString: SK
});
function xK() {
return this.rgb().formatHex();
}
-function XCe() {
+function twe() {
return this.rgb().formatHex8();
}
-function ZCe() {
+function nwe() {
return PK(this).formatHsl();
}
function SK() {
@@ -57055,7 +57056,7 @@ function SK() {
}
function CK(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = UCe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? wK(t) : n === 3 ? new DK(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? TK(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? TK(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = WCe.exec(e)) ? new DK(t[1], t[2], t[3], 1) : (t = GCe.exec(e)) ? new DK(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = KCe.exec(e)) ? TK(t[1], t[2], t[3], t[4]) : (t = qCe.exec(e)) ? TK(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = JCe.exec(e)) ? NK(t[1], t[2] / 100, t[3] / 100, 1) : (t = YCe.exec(e)) ? NK(t[1], t[2] / 100, t[3] / 100, t[4]) : bK.hasOwnProperty(e) ? wK(bK[e]) : e === "transparent" ? new DK(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = JCe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? wK(t) : n === 3 ? new DK(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? TK(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? TK(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = YCe.exec(e)) ? new DK(t[1], t[2], t[3], 1) : (t = XCe.exec(e)) ? new DK(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = ZCe.exec(e)) ? TK(t[1], t[2], t[3], t[4]) : (t = QCe.exec(e)) ? TK(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = $Ce.exec(e)) ? NK(t[1], t[2] / 100, t[3] / 100, 1) : (t = ewe.exec(e)) ? NK(t[1], t[2] / 100, t[3] / 100, t[4]) : bK.hasOwnProperty(e) ? wK(bK[e]) : e === "transparent" ? new DK(NaN, NaN, NaN, 0) : null;
}
function wK(e) {
return new DK(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
@@ -57063,11 +57064,11 @@ function wK(e) {
function TK(e, t, n, r) {
return r <= 0 && (e = t = n = NaN), new DK(e, t, n, r);
}
-function QCe(e) {
+function rwe(e) {
return e instanceof mK || (e = CK(e)), e ? (e = e.rgb(), new DK(e.r, e.g, e.b, e.opacity)) : new DK();
}
function EK(e, t, n, r) {
- return arguments.length === 1 ? QCe(e) : new DK(e, t, n, r ?? 1);
+ return arguments.length === 1 ? rwe(e) : new DK(e, t, n, r ?? 1);
}
function DK(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
@@ -57090,14 +57091,14 @@ fK(DK, EK, pK(mK, {
},
hex: OK,
formatHex: OK,
- formatHex8: $Ce,
+ formatHex8: iwe,
formatRgb: kK,
toString: kK
}));
function OK() {
return `#${MK(this.r)}${MK(this.g)}${MK(this.b)}`;
}
-function $Ce() {
+function iwe() {
return `#${MK(this.r)}${MK(this.g)}${MK(this.b)}${MK((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
function kK() {
@@ -57124,13 +57125,13 @@ function PK(e) {
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new FK(o, s, c, e.opacity);
}
-function ewe(e, t, n, r) {
+function awe(e, t, n, r) {
return arguments.length === 1 ? PK(e) : new FK(e, t, n, r ?? 1);
}
function FK(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-fK(FK, ewe, pK(mK, {
+fK(FK, awe, pK(mK, {
brighter(e) {
return e = e == null ? gK : gK ** +e, new FK(this.h, this.s, this.l * e, this.opacity);
},
@@ -57166,29 +57167,29 @@ function RK(e, t, n) {
var zK = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function twe(e, t) {
+function owe(e, t) {
return function(n) {
return e + n * t;
};
}
-function nwe(e, t, n) {
+function swe(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function rwe(e) {
+function cwe(e) {
return (e = +e) == 1 ? BK : function(t, n) {
- return n - t ? nwe(t, n, e) : zK(isNaN(t) ? n : t);
+ return n - t ? swe(t, n, e) : zK(isNaN(t) ? n : t);
};
}
function BK(e, t) {
var n = t - e;
- return n ? twe(e, n) : zK(isNaN(e) ? t : e);
+ return n ? owe(e, n) : zK(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
var VK = (function e(t) {
- var n = rwe(t);
+ var n = cwe(t);
function r(e, t) {
var r = n((e = EK(e)).r, (t = EK(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = BK(e.opacity, t.opacity);
return function(t) {
@@ -57199,7 +57200,7 @@ var VK = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function iwe(e, t) {
+function lwe(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -57207,12 +57208,12 @@ function iwe(e, t) {
return r;
};
}
-function awe(e) {
+function uwe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function owe(e, t) {
+function dwe(e, t) {
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
for (o = 0; o < r; ++o) i[o] = GK(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
@@ -57223,7 +57224,7 @@ function owe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function swe(e, t) {
+function fwe(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -57238,7 +57239,7 @@ function HK(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function cwe(e, t) {
+function pwe(e, t) {
var n = {}, r = {}, i;
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = GK(e[i], t[i]) : r[i] = t[i];
return function(e) {
@@ -57249,23 +57250,23 @@ function cwe(e, t) {
//#endregion
//#region node_modules/d3-interpolate/src/string.js
var UK = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, WK = new RegExp(UK.source, "g");
-function lwe(e) {
+function mwe(e) {
return function() {
return e;
};
}
-function uwe(e) {
+function hwe(e) {
return function(t) {
return e(t) + "";
};
}
-function dwe(e, t) {
+function gwe(e, t) {
var n = UK.lastIndex = WK.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
for (e += "", t += ""; (r = UK.exec(e)) && (i = WK.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
i: o,
x: HK(r, i)
})), n = WK.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? uwe(c[0].x) : lwe(t) : (t = c.length, function(e) {
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? hwe(c[0].x) : mwe(t) : (t = c.length, function(e) {
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
return s.join("");
});
@@ -57274,7 +57275,7 @@ function dwe(e, t) {
//#region node_modules/d3-interpolate/src/value.js
function GK(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? zK(t) : (n === "number" ? HK : n === "string" ? (r = CK(t)) ? (t = r, VK) : dwe : t instanceof CK ? VK : t instanceof Date ? swe : awe(t) ? iwe : Array.isArray(t) ? owe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? cwe : HK)(e, t);
+ return t == null || n === "boolean" ? zK(t) : (n === "number" ? HK : n === "string" ? (r = CK(t)) ? (t = r, VK) : gwe : t instanceof CK ? VK : t instanceof Date ? fwe : uwe(t) ? lwe : Array.isArray(t) ? dwe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? pwe : HK)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
@@ -57285,7 +57286,7 @@ function KK(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function fwe(e, t) {
+function _we(e, t) {
t === void 0 && (t = e, e = GK);
for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);
return function(e) {
@@ -57295,7 +57296,7 @@ function fwe(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function pwe(e) {
+function vwe(e) {
return function() {
return e;
};
@@ -57314,21 +57315,21 @@ function YK(e) {
function XK(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : pwe(isNaN(t) ? NaN : .5);
+ } : vwe(isNaN(t) ? NaN : .5);
}
-function mwe(e, t) {
+function ywe(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function hwe(e, t, n) {
+function bwe(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
return i < r ? (r = XK(i, r), a = n(o, a)) : (r = XK(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function gwe(e, t, n) {
+function xwe(e, t, n) {
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = XK(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
@@ -57343,7 +57344,7 @@ function QK() {
var e = JK, t = JK, n = GK, r, i, a, o = YK, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== YK && (o = mwe(e[0], e[n - 1])), s = n > 2 ? gwe : hwe, c = l = null, d;
+ return o !== YK && (o = ywe(e[0], e[n - 1])), s = n > 2 ? xwe : bwe, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
@@ -57371,7 +57372,7 @@ function $K() {
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function _we(e) {
+function Swe(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
function eq(e, t) {
@@ -57386,7 +57387,7 @@ function tq(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function vwe(e, t) {
+function Cwe(e, t) {
return function(n, r) {
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
return a.reverse().join(t);
@@ -57394,7 +57395,7 @@ function vwe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function ywe(e) {
+function wwe(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -57403,9 +57404,9 @@ function ywe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var bwe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+var Twe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
function nq(e) {
- if (!(t = bwe.exec(e))) throw Error("invalid format: " + e);
+ if (!(t = Twe.exec(e))) throw Error("invalid format: " + e);
var t;
return new rq({
fill: t[1],
@@ -57429,7 +57430,7 @@ rq.prototype.toString = function() {
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function xwe(e) {
+function Ewe(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -57446,7 +57447,7 @@ function xwe(e) {
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
var iq;
-function Swe(e, t) {
+function Dwe(e, t) {
var n = eq(e, t);
if (!n) return iq = void 0, e.toPrecision(t);
var r = n[0], i = n[1], a = i - (iq = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
@@ -57466,14 +57467,14 @@ var oq = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: _we,
+ d: Swe,
e: (e, t) => e.toExponential(t),
f: (e, t) => e.toFixed(t),
g: (e, t) => e.toPrecision(t),
o: (e) => Math.round(e).toString(8),
p: (e, t) => aq(e * 100, t),
r: aq,
- s: Swe,
+ s: Dwe,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
@@ -57503,8 +57504,8 @@ var cq = Array.prototype.map, lq = [
"Z",
"Y"
];
-function Cwe(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? sq : vwe(cq.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? sq : ywe(cq.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
+function Owe(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? sq : Cwe(cq.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? sq : wwe(cq.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
function l(e, l) {
e = nq(e);
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
@@ -57517,7 +57518,7 @@ function Cwe(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = xwe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && iq !== void 0 ? lq[8 + iq / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = Ewe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && iq !== void 0 ? lq[8 + iq / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
break;
@@ -57558,27 +57559,27 @@ function Cwe(e) {
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
var uq, dq, fq;
-wwe({
+kwe({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function wwe(e) {
- return uq = Cwe(e), dq = uq.format, fq = uq.formatPrefix, uq;
+function kwe(e) {
+ return uq = Owe(e), dq = uq.format, fq = uq.formatPrefix, uq;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function Twe(e) {
+function Awe(e) {
return Math.max(0, -tq(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function Ewe(e, t) {
+function jwe(e, t) {
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(tq(t) / 3))) * 3 - tq(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function Dwe(e, t) {
+function Mwe(e, t) {
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, tq(t) - tq(e)) + 1;
}
//#endregion
@@ -57588,16 +57589,16 @@ function pq(e, t, n, r) {
switch (r = nq(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = Ewe(i, o)) && (r.precision = a), fq(r, o);
+ return r.precision == null && !isNaN(a = jwe(i, o)) && (r.precision = a), fq(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = Dwe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = Mwe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = Twe(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = Awe(i)) && (r.precision = a - (r.type === "%") * 2);
}
return dq(r);
}
@@ -57660,19 +57661,19 @@ function vq(e) {
function yq(e) {
return Math.exp(e);
}
-function Owe(e) {
+function Nwe(e) {
return -Math.log(-e);
}
-function kwe(e) {
+function Pwe(e) {
return -Math.exp(-e);
}
-function Awe(e) {
+function Fwe(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function jwe(e) {
- return e === 10 ? Awe : e === Math.E ? Math.exp : (t) => e ** +t;
+function Iwe(e) {
+ return e === 10 ? Fwe : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function Mwe(e) {
+function Lwe(e) {
return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);
}
function bq(e) {
@@ -57681,7 +57682,7 @@ function bq(e) {
function xq(e) {
let t = e(vq, yq), n = t.domain, r = 10, i, a;
function o() {
- return i = Mwe(r), a = jwe(r), n()[0] < 0 ? (i = bq(i), a = bq(a), e(Owe, kwe)) : e(vq, yq), t;
+ return i = Lwe(r), a = Iwe(r), n()[0] < 0 ? (i = bq(i), a = bq(a), e(Nwe, Pwe)) : e(vq, yq), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -57751,16 +57752,16 @@ function Dq(e) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function Nwe(e) {
+function Rwe(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function Pwe(e) {
+function zwe(e) {
return e < 0 ? -e * e : e * e;
}
function Oq(e) {
var t = e(YK, YK), n = 1;
function r() {
- return n === 1 ? e(YK, YK) : n === .5 ? e(Nwe, Pwe) : e(Dq(n), Dq(1 / n));
+ return n === 1 ? e(YK, YK) : n === .5 ? e(Rwe, zwe) : e(Dq(n), Dq(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
@@ -57772,7 +57773,7 @@ function kq() {
return ZK(e, kq()).exponent(e.exponent());
}, oK.apply(e, arguments), e;
}
-function Fwe() {
+function Bwe() {
return kq.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -57780,13 +57781,13 @@ function Fwe() {
function Aq(e) {
return Math.sign(e) * e * e;
}
-function Iwe(e) {
+function Vwe(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
function jq() {
var e = $K(), t = [0, 1], n = !1, r;
function i(t) {
- var i = Iwe(e(t));
+ var i = Vwe(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
@@ -57813,7 +57814,7 @@ function Mq() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
- for (n = Array(i - 1); ++r < i;) n[r - 1] = BCe(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = GCe(e, r / i);
return a;
}
function a(e) {
@@ -57982,8 +57983,8 @@ function eJ(e) {
e.setDate(e.getDate() + t * 7);
}, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * Bq) / Uq);
}
-var tJ = eJ(0), nJ = eJ(1), Lwe = eJ(2), Rwe = eJ(3), rJ = eJ(4), zwe = eJ(5), Bwe = eJ(6);
-tJ.range, nJ.range, Lwe.range, Rwe.range, rJ.range, zwe.range, Bwe.range;
+var tJ = eJ(0), nJ = eJ(1), Hwe = eJ(2), Uwe = eJ(3), rJ = eJ(4), Wwe = eJ(5), Gwe = eJ(6);
+tJ.range, nJ.range, Hwe.range, Uwe.range, rJ.range, Wwe.range, Gwe.range;
function iJ(e) {
return Lq((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -57991,8 +57992,8 @@ function iJ(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / Uq);
}
-var aJ = iJ(0), oJ = iJ(1), Vwe = iJ(2), Hwe = iJ(3), sJ = iJ(4), Uwe = iJ(5), Wwe = iJ(6);
-aJ.range, oJ.range, Vwe.range, Hwe.range, sJ.range, Uwe.range, Wwe.range;
+var aJ = iJ(0), oJ = iJ(1), Kwe = iJ(2), qwe = iJ(3), sJ = iJ(4), Jwe = iJ(5), Ywe = iJ(6);
+aJ.range, oJ.range, Kwe.range, qwe.range, sJ.range, Jwe.range, Ywe.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var cJ = Lq((e) => {
@@ -58139,7 +58140,7 @@ function fJ(e, t, n, r, i, a) {
}
return [s, c];
}
-var [Gwe, Kwe] = fJ(dJ, lJ, aJ, $q, Xq, Jq), [qwe, Jwe] = fJ(uJ, cJ, tJ, Zq, Yq, qq);
+var [Xwe, Zwe] = fJ(dJ, lJ, aJ, $q, Xq, Jq), [Qwe, $we] = fJ(uJ, cJ, tJ, Zq, Yq, qq);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function pJ(e) {
@@ -58167,7 +58168,7 @@ function hJ(e, t, n) {
L: 0
};
}
-function Ywe(e) {
+function eTe(e) {
var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = yJ(i), u = bJ(i), d = yJ(a), f = bJ(a), p = yJ(o), m = bJ(o), h = yJ(s), g = bJ(s), _ = yJ(c), v = bJ(c), y = {
a: N,
A: P,
@@ -58176,30 +58177,30 @@ function Ywe(e) {
c: null,
d: TJ,
e: TJ,
- f: vTe,
- g: OTe,
- G: ATe,
- H: hTe,
- I: gTe,
- j: _Te,
+ f: CTe,
+ g: NTe,
+ G: FTe,
+ H: bTe,
+ I: xTe,
+ j: STe,
L: EJ,
- m: yTe,
- M: bTe,
+ m: wTe,
+ M: TTe,
p: te,
q: ne,
Q: MJ,
s: NJ,
- S: xTe,
- u: STe,
- U: CTe,
- V: wTe,
- w: TTe,
- W: ETe,
+ S: ETe,
+ u: DTe,
+ U: OTe,
+ V: kTe,
+ w: ATe,
+ W: jTe,
x: null,
X: null,
- y: DTe,
- Y: kTe,
- Z: jTe,
+ y: MTe,
+ Y: PTe,
+ Z: ITe,
"%": jJ
}, b = {
a: re,
@@ -58209,30 +58210,30 @@ function Ywe(e) {
c: null,
d: OJ,
e: OJ,
- f: FTe,
- g: GTe,
- G: qTe,
- H: MTe,
- I: NTe,
- j: PTe,
+ f: BTe,
+ g: XTe,
+ G: QTe,
+ H: LTe,
+ I: RTe,
+ j: zTe,
L: kJ,
- m: ITe,
- M: LTe,
+ m: VTe,
+ M: HTe,
p: se,
q: ce,
Q: MJ,
s: NJ,
- S: RTe,
- u: zTe,
- U: BTe,
- V: VTe,
- w: HTe,
- W: UTe,
+ S: UTe,
+ u: WTe,
+ U: GTe,
+ V: KTe,
+ w: qTe,
+ W: JTe,
x: null,
X: null,
- y: WTe,
- Y: KTe,
- Z: JTe,
+ y: YTe,
+ Y: ZTe,
+ Z: $Te,
"%": jJ
}, x = {
a: E,
@@ -58242,31 +58243,31 @@ function Ywe(e) {
c: A,
d: CJ,
e: CJ,
- f: dTe,
+ f: gTe,
g: SJ,
G: xJ,
H: wJ,
I: wJ,
- j: sTe,
- L: uTe,
- m: oTe,
- M: cTe,
+ j: fTe,
+ L: hTe,
+ m: dTe,
+ M: pTe,
p: T,
- q: aTe,
- Q: pTe,
- s: mTe,
- S: lTe,
- u: eTe,
- U: tTe,
- V: nTe,
- w: $we,
- W: rTe,
+ q: uTe,
+ Q: vTe,
+ s: yTe,
+ S: mTe,
+ u: aTe,
+ U: oTe,
+ V: sTe,
+ w: iTe,
+ W: cTe,
x: j,
X: M,
y: SJ,
Y: xJ,
- Z: iTe,
- "%": fTe
+ Z: lTe,
+ "%": _Te
};
y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);
function S(e, t) {
@@ -58394,37 +58395,37 @@ var gJ = {
"-": "",
_: " ",
0: "0"
-}, _J = /^\s*\d+/, Xwe = /^%/, Zwe = /[\\^$*+?|[\]().{}]/g;
+}, _J = /^\s*\d+/, tTe = /^%/, nTe = /[\\^$*+?|[\]().{}]/g;
function vJ(e, t, n) {
var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;
return r + (a < n ? Array(n - a + 1).join(t) + i : i);
}
-function Qwe(e) {
- return e.replace(Zwe, "\\$&");
+function rTe(e) {
+ return e.replace(nTe, "\\$&");
}
function yJ(e) {
- return RegExp("^(?:" + e.map(Qwe).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(rTe).join("|") + ")", "i");
}
function bJ(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function $we(e, t, n) {
+function iTe(e, t, n) {
var r = _J.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function eTe(e, t, n) {
+function aTe(e, t, n) {
var r = _J.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function tTe(e, t, n) {
+function oTe(e, t, n) {
var r = _J.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function nTe(e, t, n) {
+function sTe(e, t, n) {
var r = _J.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function rTe(e, t, n) {
+function cTe(e, t, n) {
var r = _J.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
@@ -58436,15 +58437,15 @@ function SJ(e, t, n) {
var r = _J.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function iTe(e, t, n) {
+function lTe(e, t, n) {
var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));
return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
}
-function aTe(e, t, n) {
+function uTe(e, t, n) {
var r = _J.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function oTe(e, t, n) {
+function dTe(e, t, n) {
var r = _J.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
@@ -58452,7 +58453,7 @@ function CJ(e, t, n) {
var r = _J.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function sTe(e, t, n) {
+function fTe(e, t, n) {
var r = _J.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
@@ -58460,159 +58461,159 @@ function wJ(e, t, n) {
var r = _J.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function cTe(e, t, n) {
+function pTe(e, t, n) {
var r = _J.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function lTe(e, t, n) {
+function mTe(e, t, n) {
var r = _J.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function uTe(e, t, n) {
+function hTe(e, t, n) {
var r = _J.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function dTe(e, t, n) {
+function gTe(e, t, n) {
var r = _J.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function fTe(e, t, n) {
- var r = Xwe.exec(t.slice(n, n + 1));
+function _Te(e, t, n) {
+ var r = tTe.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function pTe(e, t, n) {
+function vTe(e, t, n) {
var r = _J.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function mTe(e, t, n) {
+function yTe(e, t, n) {
var r = _J.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
function TJ(e, t) {
return vJ(e.getDate(), t, 2);
}
-function hTe(e, t) {
+function bTe(e, t) {
return vJ(e.getHours(), t, 2);
}
-function gTe(e, t) {
+function xTe(e, t) {
return vJ(e.getHours() % 12 || 12, t, 2);
}
-function _Te(e, t) {
+function STe(e, t) {
return vJ(1 + Zq.count(uJ(e), e), t, 3);
}
function EJ(e, t) {
return vJ(e.getMilliseconds(), t, 3);
}
-function vTe(e, t) {
+function CTe(e, t) {
return EJ(e, t) + "000";
}
-function yTe(e, t) {
+function wTe(e, t) {
return vJ(e.getMonth() + 1, t, 2);
}
-function bTe(e, t) {
+function TTe(e, t) {
return vJ(e.getMinutes(), t, 2);
}
-function xTe(e, t) {
+function ETe(e, t) {
return vJ(e.getSeconds(), t, 2);
}
-function STe(e) {
+function DTe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function CTe(e, t) {
+function OTe(e, t) {
return vJ(tJ.count(uJ(e) - 1, e), t, 2);
}
function DJ(e) {
var t = e.getDay();
return t >= 4 || t === 0 ? rJ(e) : rJ.ceil(e);
}
-function wTe(e, t) {
+function kTe(e, t) {
return e = DJ(e), vJ(rJ.count(uJ(e), e) + (uJ(e).getDay() === 4), t, 2);
}
-function TTe(e) {
+function ATe(e) {
return e.getDay();
}
-function ETe(e, t) {
+function jTe(e, t) {
return vJ(nJ.count(uJ(e) - 1, e), t, 2);
}
-function DTe(e, t) {
+function MTe(e, t) {
return vJ(e.getFullYear() % 100, t, 2);
}
-function OTe(e, t) {
+function NTe(e, t) {
return e = DJ(e), vJ(e.getFullYear() % 100, t, 2);
}
-function kTe(e, t) {
+function PTe(e, t) {
return vJ(e.getFullYear() % 1e4, t, 4);
}
-function ATe(e, t) {
+function FTe(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? rJ(e) : rJ.ceil(e), vJ(e.getFullYear() % 1e4, t, 4);
}
-function jTe(e) {
+function ITe(e) {
var t = e.getTimezoneOffset();
return (t > 0 ? "-" : (t *= -1, "+")) + vJ(t / 60 | 0, "0", 2) + vJ(t % 60, "0", 2);
}
function OJ(e, t) {
return vJ(e.getUTCDate(), t, 2);
}
-function MTe(e, t) {
+function LTe(e, t) {
return vJ(e.getUTCHours(), t, 2);
}
-function NTe(e, t) {
+function RTe(e, t) {
return vJ(e.getUTCHours() % 12 || 12, t, 2);
}
-function PTe(e, t) {
+function zTe(e, t) {
return vJ(1 + Qq.count(dJ(e), e), t, 3);
}
function kJ(e, t) {
return vJ(e.getUTCMilliseconds(), t, 3);
}
-function FTe(e, t) {
+function BTe(e, t) {
return kJ(e, t) + "000";
}
-function ITe(e, t) {
+function VTe(e, t) {
return vJ(e.getUTCMonth() + 1, t, 2);
}
-function LTe(e, t) {
+function HTe(e, t) {
return vJ(e.getUTCMinutes(), t, 2);
}
-function RTe(e, t) {
+function UTe(e, t) {
return vJ(e.getUTCSeconds(), t, 2);
}
-function zTe(e) {
+function WTe(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function BTe(e, t) {
+function GTe(e, t) {
return vJ(aJ.count(dJ(e) - 1, e), t, 2);
}
function AJ(e) {
var t = e.getUTCDay();
return t >= 4 || t === 0 ? sJ(e) : sJ.ceil(e);
}
-function VTe(e, t) {
+function KTe(e, t) {
return e = AJ(e), vJ(sJ.count(dJ(e), e) + (dJ(e).getUTCDay() === 4), t, 2);
}
-function HTe(e) {
+function qTe(e) {
return e.getUTCDay();
}
-function UTe(e, t) {
+function JTe(e, t) {
return vJ(oJ.count(dJ(e) - 1, e), t, 2);
}
-function WTe(e, t) {
+function YTe(e, t) {
return vJ(e.getUTCFullYear() % 100, t, 2);
}
-function GTe(e, t) {
+function XTe(e, t) {
return e = AJ(e), vJ(e.getUTCFullYear() % 100, t, 2);
}
-function KTe(e, t) {
+function ZTe(e, t) {
return vJ(e.getUTCFullYear() % 1e4, t, 4);
}
-function qTe(e, t) {
+function QTe(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? sJ(e) : sJ.ceil(e), vJ(e.getUTCFullYear() % 1e4, t, 4);
}
-function JTe() {
+function $Te() {
return "+0000";
}
function jJ() {
@@ -58627,7 +58628,7 @@ function NJ(e) {
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
var PJ, FJ, IJ;
-YTe({
+eEe({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -58679,15 +58680,15 @@ YTe({
"Dec"
]
});
-function YTe(e) {
- return PJ = Ywe(e), FJ = PJ.format, PJ.parse, IJ = PJ.utcFormat, PJ.utcParse, PJ;
+function eEe(e) {
+ return PJ = eTe(e), FJ = PJ.format, PJ.parse, IJ = PJ.utcFormat, PJ.utcParse, PJ;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function XTe(e) {
+function tEe(e) {
return new Date(e);
}
-function ZTe(e) {
+function nEe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function LJ(e, t, n, r, i, a, o, s, c, l) {
@@ -58698,7 +58699,7 @@ function LJ(e, t, n, r, i, a, o, s, c, l) {
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, ZTe)) : f().map(XTe);
+ return arguments.length ? f(Array.from(e, nEe)) : f().map(tEe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -58711,13 +58712,13 @@ function LJ(e, t, n, r, i, a, o, s, c, l) {
return ZK(u, LJ(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function QTe() {
- return oK.apply(LJ(qwe, Jwe, uJ, cJ, tJ, Zq, Yq, qq, Kq, FJ).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function rEe() {
+ return oK.apply(LJ(Qwe, $we, uJ, cJ, tJ, Zq, Yq, qq, Kq, FJ).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function $Te() {
- return oK.apply(LJ(Gwe, Kwe, dJ, lJ, aJ, Qq, Xq, Jq, Kq, IJ).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function iEe() {
+ return oK.apply(LJ(Xwe, Zwe, dJ, lJ, aJ, Qq, Xq, Jq, Kq, IJ).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
@@ -58772,7 +58773,7 @@ function UJ() {
return zJ(e, UJ()).exponent(e.exponent());
}, sK.apply(e, arguments);
}
-function eEe() {
+function aEe() {
return UJ.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -58792,7 +58793,7 @@ function WJ() {
}, n.range = function() {
return e.map((n, r) => t(r / (e.length - 1)));
}, n.quantiles = function(t) {
- return Array.from({ length: t + 1 }, (n, r) => zCe(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => WCe(e, r / t));
}, n.copy = function() {
return WJ(t).domain(e);
}, sK.apply(n, arguments);
@@ -58818,7 +58819,7 @@ function GJ() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = fwe(e, [
+ return arguments.length ? ([n, r, i] = t, l = _we(e, [
n,
r,
i
@@ -58863,24 +58864,24 @@ function YJ() {
return zJ(e, YJ()).exponent(e.exponent());
}, sK.apply(e, arguments);
}
-function tEe() {
+function oEe() {
return YJ.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/victory-vendor/es/d3-scale.js
-var XJ = /* @__PURE__ */ Ke({
+var XJ = /* @__PURE__ */ Ze({
scaleBand: () => uK,
scaleDiverging: () => KJ,
scaleDivergingLog: () => qJ,
scaleDivergingPow: () => YJ,
- scaleDivergingSqrt: () => tEe,
+ scaleDivergingSqrt: () => oEe,
scaleDivergingSymlog: () => JJ,
scaleIdentity: () => gq,
scaleImplicit: () => cK,
scaleLinear: () => hq,
scaleLog: () => Sq,
scaleOrdinal: () => lK,
- scalePoint: () => HCe,
+ scalePoint: () => qCe,
scalePow: () => kq,
scaleQuantile: () => Mq,
scaleQuantize: () => Nq,
@@ -58889,18 +58890,18 @@ var XJ = /* @__PURE__ */ Ke({
scaleSequentialLog: () => VJ,
scaleSequentialPow: () => UJ,
scaleSequentialQuantile: () => WJ,
- scaleSequentialSqrt: () => eEe,
+ scaleSequentialSqrt: () => aEe,
scaleSequentialSymlog: () => HJ,
- scaleSqrt: () => Fwe,
+ scaleSqrt: () => Bwe,
scaleSymlog: () => Eq,
scaleThreshold: () => Pq,
- scaleTime: () => QTe,
- scaleUtc: () => $Te,
+ scaleTime: () => rEe,
+ scaleUtc: () => iEe,
tickFormat: () => pq
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function nEe(e) {
+function sEe(e) {
if (e in XJ) return XJ[e]();
var t = `scale${VL(e)}`;
if (t in XJ) return XJ[t]();
@@ -58908,7 +58909,7 @@ function nEe(e) {
function ZJ(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = nEe(e);
+ var r = sEe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
@@ -58917,22 +58918,22 @@ function QJ(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function rEe(e) {
+function cEe(e) {
return `scale${VL(e)}`;
}
-function iEe(e) {
- return rEe(e) in XJ;
+function lEe(e) {
+ return cEe(e) in XJ;
}
var $J = (e, t, n) => {
if (e != null) {
var { scale: r, type: i } = e;
if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";
- if (typeof r == "string") return iEe(r) ? r : "point";
+ if (typeof r == "string") return lEe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function aEe(e, t) {
+function uEe(e, t) {
for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {
var a = Math.floor((n + r) / 2);
(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;
@@ -58943,7 +58944,7 @@ function eY(e, t) {
if (e) {
var n = t ?? e.domain(), r = n.map((t) => e(t) ?? 0), i = e.range();
if (!(n.length === 0 || i.length < 2)) return (e) => {
- var t = aEe(r, e);
+ var t = uEe(r, e);
if (t <= 0) return n[0];
if (t >= n.length) return n[n.length - 1];
var i = r[t - 1] ?? 0, a = r[t] ?? 0;
@@ -58953,7 +58954,7 @@ function eY(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function oEe(e) {
+function dEe(e) {
if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : eY(e, void 0);
}
//#endregion
@@ -58972,26 +58973,26 @@ function nY(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? tY(Object(n), !0).forEach(function(t) {
- sEe(e, t, n[t]);
+ fEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tY(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function sEe(e, t, n) {
- return (t = cEe(t)) in e ? Object.defineProperty(e, t, {
+function fEe(e, t, n) {
+ return (t = pEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function cEe(e) {
- var t = lEe(e, "string");
+function pEe(e) {
+ var t = mEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function lEe(e, t) {
+function mEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59059,7 +59060,7 @@ var rY = [0, "auto"], iY = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, cY = (e, t) => e.cartesianAxis.yAxis[t], lY = (e, t) => cY(e, t) ?? sY, uEe = {
+}, cY = (e, t) => e.cartesianAxis.yAxis[t], lY = (e, t) => cY(e, t) ?? sY, hEe = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -59072,7 +59073,7 @@ var rY = [0, "auto"], iY = {
scale: "auto",
type: "number",
unit: ""
-}, uY = (e, t) => e.cartesianAxis.zAxis[t] ?? uEe, dY = (e, t, n) => {
+}, uY = (e, t) => e.cartesianAxis.zAxis[t] ?? hEe, dY = (e, t, n) => {
switch (t) {
case "xAxis": return oY(e, n);
case "yAxis": return lY(e, n);
@@ -59081,7 +59082,7 @@ var rY = [0, "auto"], iY = {
case "radiusAxis": return CG(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, dEe = (e, t, n) => {
+}, gEe = (e, t, n) => {
switch (t) {
case "xAxis": return oY(e, n);
case "yAxis": return lY(e, n);
@@ -59108,14 +59109,14 @@ function mY(e, t) {
}
};
}
-var hY = (e) => e.graphicalItems.cartesianItems, fEe = $([jG, MG], mY), gY = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), _Y = $([
+var hY = (e) => e.graphicalItems.cartesianItems, _Ee = $([jG, MG], mY), gY = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), _Y = $([
hY,
dY,
- fEe
-], gY, { memoizeOptions: { resultEqualityCheck: LG } }), vY = $([_Y], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(FG)), yY = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), pEe = $([_Y], yY), bY = (e) => e.map((e) => e.data).filter(Boolean).flat(1), mEe = $([_Y], bY, { memoizeOptions: { resultEqualityCheck: LG } }), xY = (e, t) => {
+ _Ee
+], gY, { memoizeOptions: { resultEqualityCheck: LG } }), vY = $([_Y], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(FG)), yY = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), vEe = $([_Y], yY), bY = (e) => e.map((e) => e.data).filter(Boolean).flat(1), yEe = $([_Y], bY, { memoizeOptions: { resultEqualityCheck: LG } }), xY = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, SY = $([mEe, UW], xY), CY = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: iV(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: iV(e, t.dataKey) })), wY = $([
+}, SY = $([yEe, UW], xY), CY = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: iV(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: iV(e, t.dataKey) })), wY = $([
SY,
dY,
_Y
@@ -59137,11 +59138,11 @@ function EY(e) {
function DY(e) {
return e.map(TY).filter(HL);
}
-function hEe(e, t) {
+function bEe(e, t) {
var n = TY(e), r = TY(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var gEe = $([wY], (e) => e?.map((e) => e.value).sort(hEe));
+var xEe = $([wY], (e) => e?.map((e) => e.value).sort(bEe));
function OY(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
@@ -59149,13 +59150,13 @@ function OY(e, t) {
default: return !1;
}
}
-function _Ee(e, t, n) {
+function SEe(e, t, n) {
return !n || typeof t != "number" || ML(t) || !n.length ? [] : DY(n.flatMap((n) => {
var r = iV(e, n.dataKey), i, a;
if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!ZB(i) || !ZB(a))) return [t - i, t + a];
}));
}
-var kY = (e) => fY(e, RG(e), zG(e)), AY = $([kY], (e) => e?.dataKey), vEe = $([
+var kY = (e) => fY(e, RG(e), zG(e)), AY = $([kY], (e) => e?.dataKey), CEe = $([
vY,
UW,
kY
@@ -59173,7 +59174,7 @@ var kY = (e) => fY(e, RG(e), zG(e)), AY = $([kY], (e) => e?.dataKey), vEe = $([
}];
}));
}, MY = $([
- vEe,
+ CEe,
vY,
sG,
cG
@@ -59183,7 +59184,7 @@ var kY = (e) => fY(e, RG(e), zG(e)), AY = $([kY], (e) => e?.dataKey), vEe = $([
var o = vV(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, yEe = $([dY], (e) => e.allowDataOverflow), PY = (e) => {
+}, wEe = $([dY], (e) => e.allowDataOverflow), PY = (e) => {
if (e == null || !("domain" in e)) return rY;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
@@ -59194,12 +59195,12 @@ var kY = (e) => fY(e, RG(e), zG(e)), AY = $([kY], (e) => e?.dataKey), vEe = $([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? rY;
-}, FY = $([dY], PY), IY = $([FY, yEe], qW), bEe = $([
+}, FY = $([dY], PY), IY = $([FY, wEe], qW), TEe = $([
MY,
VW,
jG,
IY
-], NY, { memoizeOptions: { resultEqualityCheck: IG } }), LY = (e) => e.errorBars, xEe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => OY(n, e)), RY = function() {
+], NY, { memoizeOptions: { resultEqualityCheck: IG } }), LY = (e) => e.errorBars, EEe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => OY(n, e)), RY = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
@@ -59209,7 +59210,7 @@ var kY = (e) => fY(e, RG(e), zG(e)), AY = $([kY], (e) => e?.dataKey), vEe = $([
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => OY(i, e)), c = iV(e, t.dataKey ?? n.dataKey), l = _Ee(e, c, s);
+ var s = r[n.id]?.filter((e) => OY(i, e)), c = iV(e, t.dataKey ?? n.dataKey), l = SEe(e, c, s);
if (l.length >= 2) {
var u = Math.min(...l), d = Math.max(...l);
(a == null || u < a) && (a = u), (o == null || d > o) && (o = d);
@@ -59221,29 +59222,29 @@ var kY = (e) => fY(e, RG(e), zG(e)), AY = $([kY], (e) => e?.dataKey), vEe = $([
var n = EY(iV(e, t.dataKey));
n != null && (a = a == null ? n[0] : Math.min(a, n[0]), o = o == null ? n[1] : Math.max(o, n[1]));
}), ZB(a) && ZB(o)) return [a, o];
-}, SEe = $([
+}, DEe = $([
SY,
dY,
- pEe,
+ vEe,
LY,
jG
], zY, { memoizeOptions: { resultEqualityCheck: IG } });
-function CEe(e) {
+function OEe(e) {
var { value: t } = e;
if (PL(t) || t instanceof Date) return t;
}
-var wEe = (e, t, n) => {
- var r = e.map(CEe).filter((e) => e != null);
+var kEe = (e, t, n) => {
+ var r = e.map(OEe).filter((e) => e != null);
return n && (t.dataKey == null || t.allowDuplicatedCategory && LL(r)) ? BW(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, BY = (e) => e.referenceElements.dots, VY = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), TEe = $([
+}, BY = (e) => e.referenceElements.dots, VY = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), AEe = $([
BY,
jG,
MG
-], VY), HY = (e) => e.referenceElements.areas, EEe = $([
+], VY), HY = (e) => e.referenceElements.areas, jEe = $([
HY,
jG,
MG
-], VY), UY = (e) => e.referenceElements.lines, DEe = $([
+], VY), UY = (e) => e.referenceElements.lines, MEe = $([
UY,
jG,
MG
@@ -59252,40 +59253,40 @@ var wEe = (e, t, n) => {
var n = DY(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, OEe = $(TEe, jG, WY), GY = (e, t) => {
+}, NEe = $(AEe, jG, WY), GY = (e, t) => {
if (e != null) {
var n = DY(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, kEe = $([EEe, jG], GY);
-function AEe(e) {
+}, PEe = $([jEe, jG], GY);
+function FEe(e) {
if (e.x != null) return DY([e.x]);
var t = e.segment?.map((e) => e.x);
return t == null || t.length === 0 ? [] : DY(t);
}
-function jEe(e) {
+function IEe(e) {
if (e.y != null) return DY([e.y]);
var t = e.segment?.map((e) => e.y);
return t == null || t.length === 0 ? [] : DY(t);
}
var KY = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? AEe(e) : jEe(e));
+ var n = e.flatMap((e) => t === "xAxis" ? FEe(e) : IEe(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, MEe = $(OEe, $([DEe, jG], KY), kEe, (e, t, n) => RY(e, n, t)), qY = (e, t, n, r, i, a, o, s) => n ?? TCe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? RY(r, a, i) : RY(a, i), e.allowDataOverflow), NEe = $([
+}, LEe = $(NEe, $([MEe, jG], KY), PEe, (e, t, n) => RY(e, n, t)), qY = (e, t, n, r, i, a, o, s) => n ?? ACe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? RY(r, a, i) : RY(a, i), e.allowDataOverflow), REe = $([
dY,
FY,
IY,
- bEe,
- SEe,
- MEe,
+ TEe,
+ DEe,
+ LEe,
DH,
jG
-], qY, { memoizeOptions: { resultEqualityCheck: IG } }), PEe = [0, 1], JY = (e, t, n, r, i, a, o) => {
+], qY, { memoizeOptions: { resultEqualityCheck: IG } }), zEe = [0, 1], JY = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
var { dataKey: s, type: c } = e, l = oV(t, a);
- return l && s == null ? BW(0, n?.length ?? 0) : c === "category" ? wEe(r, e, l) : i === "expand" ? PEe : o;
+ return l && s == null ? BW(0, n?.length ?? 0) : c === "category" ? kEe(r, e, l) : i === "expand" ? zEe : o;
}
}, YY = $([
dY,
@@ -59294,7 +59295,7 @@ var KY = (e, t) => {
wY,
sG,
jG,
- NEe
+ REe
], JY), XY = $([
dY,
pY,
@@ -59322,7 +59323,7 @@ var KY = (e, t) => {
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, FEe = $([
+}, BEe = $([
dY,
YY,
QY,
@@ -59351,13 +59352,13 @@ var KY = (e, t) => {
return s - o - (s - o) / a * o;
}
return 0;
-}), IEe = (e, t, n) => {
+}), VEe = (e, t, n) => {
var r = oY(e, t);
return r == null || typeof r.padding != "string" ? 0 : eX(e, "xAxis", t, n, r.padding);
-}, LEe = (e, t, n) => {
+}, HEe = (e, t, n) => {
var r = lY(e, t);
return r == null || typeof r.padding != "string" ? 0 : eX(e, "yAxis", t, n, r.padding);
-}, REe = $(oY, IEe, (e, t) => {
+}, UEe = $(oY, VEe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -59370,7 +59371,7 @@ var KY = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), zEe = $(lY, LEe, (e, t) => {
+}), WEe = $(lY, HEe, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -59383,19 +59384,19 @@ var KY = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), BEe = $([
+}), GEe = $([
UV,
- REe,
+ UEe,
YV,
JV,
(e, t, n) => n
], (e, t, n, r, i) => {
var { padding: a } = r;
return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];
-}), VEe = $([
+}), KEe = $([
UV,
DH,
- zEe,
+ WEe,
YV,
JV,
(e, t, n) => n
@@ -59404,8 +59405,8 @@ var KY = (e, t) => {
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
}), tX = (e, t, n, r) => {
switch (t) {
- case "xAxis": return BEe(e, n, r);
- case "yAxis": return VEe(e, n, r);
+ case "xAxis": return GEe(e, n, r);
+ case "yAxis": return KEe(e, n, r);
case "zAxis": return uY(e, n)?.range;
case "angleAxis": return OG(e);
case "radiusAxis": return kG(e, n);
@@ -59414,7 +59415,7 @@ var KY = (e, t) => {
}, nX = $([dY, tX], gG), rX = $([
dY,
XY,
- $([XY, FEe], VG),
+ $([XY, BEe], VG),
nX
], QJ), iX = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
@@ -59427,54 +59428,54 @@ var KY = (e, t) => {
fY,
jG
], iX), oX = $([rX], BG);
-$([rX], oEe), $([rX, gEe], eY), $([
+$([rX], dEe), $([rX, xEe], eY), $([
_Y,
LY,
jG
-], xEe);
+], EEe);
function sX(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var cX = (e, t) => t, lX = (e, t, n) => n, HEe = $(AV, cX, lX, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(sX)), UEe = $(jV, cX, lX, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(sX)), uX = (e, t) => ({
+var cX = (e, t) => t, lX = (e, t, n) => n, qEe = $(AV, cX, lX, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(sX)), JEe = $(jV, cX, lX, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(sX)), uX = (e, t) => ({
width: e.width,
height: t.height
-}), WEe = (e, t) => ({
+}), YEe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), dX = $(UV, oY, uX), GEe = (e, t, n) => {
+}), dX = $(UV, oY, uX), XEe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, KEe = (e, t, n) => {
+}, ZEe = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, qEe = $(DV, UV, HEe, cX, lX, (e, t, n, r, i) => {
+}, QEe = $(DV, UV, qEe, cX, lX, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = uX(t, n);
- o ??= GEe(t, r, e);
+ o ??= XEe(t, r, e);
var c = r === "top" && !i || r === "bottom" && i;
a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;
}), a;
-}), JEe = $(EV, UV, UEe, cX, lX, (e, t, n, r, i) => {
+}), $Ee = $(EV, UV, JEe, cX, lX, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = WEe(t, n);
- o ??= KEe(t, r, e);
+ var s = YEe(t, n);
+ o ??= ZEe(t, r, e);
var c = r === "left" && !i || r === "right" && i;
a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;
}), a;
-}), YEe = $([
+}), eDe = $([
UV,
oY,
(e, t) => {
var n = oY(e, t);
- if (n != null) return qEe(e, n.orientation, n.mirror);
+ if (n != null) return QEe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -59488,12 +59489,12 @@ var cX = (e, t) => t, lX = (e, t, n) => n, HEe = $(AV, cX, lX, (e, t, n) => e.fi
y: i
};
}
-}), XEe = $([
+}), tDe = $([
UV,
lY,
(e, t) => {
var n = lY(e, t);
- if (n != null) return JEe(e, n.orientation, n.mirror);
+ if (n != null) return $Ee(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -59528,7 +59529,7 @@ var cX = (e, t) => t, lX = (e, t, n) => n, HEe = $(AV, cX, lX, (e, t, n) => e.fi
jG
], mX), gX = $([
DH,
- dEe,
+ gEe,
XY,
oX,
hX,
@@ -59657,7 +59658,7 @@ $((e, t, n) => uY(e, n), $([$([
], QJ)], BG), (e, t) => {
if (e != null && t != null) return nY(nY({}, e), {}, { scale: t });
});
-var ZEe = $([
+var nDe = $([
DH,
AV,
jV
@@ -59691,7 +59692,7 @@ function wX(e, t, n) {
function TX(e, t) {
return wX(t, SX(e), CX(e));
}
-function QEe(e) {
+function rDe(e) {
return Q((t) => TX(t, e));
}
//#endregion
@@ -59699,7 +59700,7 @@ function QEe(e) {
var EX = (e, t) => {
var n, r = Number(t);
if (!(ML(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, $Ee = (e) => e.tooltip.settings, DX = {
+}, iDe = (e) => e.tooltip.settings, DX = {
active: !1,
index: null,
dataKey: void 0,
@@ -59784,7 +59785,7 @@ var EX = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: eDe, replaceTooltipEntrySettings: tDe, removeTooltipEntrySettings: nDe, setTooltipSettingsState: rDe, setActiveMouseOverItemIndex: kX, mouseLeaveItem: iDe, mouseLeaveChart: AX, setActiveClickItemIndex: aDe, setMouseOverAxisIndex: jX, setMouseClickAxisIndex: oDe, setSyncInteraction: MX, setKeyboardInteraction: NX } = OX.actions, sDe = OX.reducer;
+}), { addTooltipEntrySettings: aDe, replaceTooltipEntrySettings: oDe, removeTooltipEntrySettings: sDe, setTooltipSettingsState: cDe, setActiveMouseOverItemIndex: kX, mouseLeaveItem: lDe, mouseLeaveChart: AX, setActiveClickItemIndex: uDe, setMouseOverAxisIndex: jX, setMouseClickAxisIndex: dDe, setSyncInteraction: MX, setKeyboardInteraction: NX } = OX.actions, fDe = OX.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
function PX(e, t) {
@@ -59801,26 +59802,26 @@ function FX(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? PX(Object(n), !0).forEach(function(t) {
- cDe(e, t, n[t]);
+ pDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PX(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function cDe(e, t, n) {
- return (t = lDe(t)) in e ? Object.defineProperty(e, t, {
+function pDe(e, t, n) {
+ return (t = mDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function lDe(e) {
- var t = uDe(e, "string");
+function mDe(e) {
+ var t = hDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function uDe(e, t) {
+function hDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59830,21 +59831,21 @@ function uDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function dDe(e, t, n) {
+function gDe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function fDe(e) {
+function _De(e) {
return e.index != null;
}
var IX = (e, t, n, r) => {
if (t == null) return DX;
- var i = dDe(e, t, n);
+ var i = gDe(e, t, n);
if (i == null) return DX;
if (i.active) return i;
if (e.keyboardInteraction.active) return e.keyboardInteraction;
if (e.syncInteraction.active && e.syncInteraction.index != null) return e.syncInteraction;
var a = e.settings.active === !0;
- if (fDe(i)) {
+ if (_De(i)) {
if (a) return FX(FX({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
@@ -59857,7 +59858,7 @@ var IX = (e, t, n, r) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function pDe(e) {
+function vDe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -59866,14 +59867,14 @@ function pDe(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function mDe(e, t) {
- var n = pDe(e), r = t[0], i = t[1];
+function yDe(e, t) {
+ var n = vDe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function hDe(e, t, n) {
+function bDe(e, t, n) {
if (n == null || t == null) return !0;
var r = iV(e, t);
- return r == null || !GW(n) || mDe(r, n);
+ return r == null || !GW(n) || yDe(r, n);
}
var LX = (e, t, n, r) => {
var i = e?.index;
@@ -59883,7 +59884,7 @@ var LX = (e, t, n, r) => {
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
- return l == null || hDe(l, n, r) ? String(c) : null;
+ return l == null || bDe(l, n, r) ? String(c) : null;
}, RX = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
@@ -59927,26 +59928,26 @@ function UX(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? HX(Object(n), !0).forEach(function(t) {
- gDe(e, t, n[t]);
+ xDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HX(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function gDe(e, t, n) {
- return (t = _De(t)) in e ? Object.defineProperty(e, t, {
+function xDe(e, t, n) {
+ return (t = SDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _De(e) {
- var t = vDe(e, "string");
+function SDe(e) {
+ var t = CDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vDe(e, t) {
+function CDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59956,39 +59957,39 @@ function vDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function yDe(e) {
+function wDe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function bDe(e) {
+function TDe(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function xDe(e) {
+function EDe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
function WX(e) {
if (typeof e == "string") return e;
}
-function SDe(e) {
+function DDe(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? yDe(e.name) : void 0,
- unit: "unit" in e ? bDe(e.unit) : void 0,
- dataKey: "dataKey" in e ? xDe(e.dataKey) : void 0,
+ name: "name" in e ? wDe(e.name) : void 0,
+ unit: "unit" in e ? TDe(e.unit) : void 0,
+ dataKey: "dataKey" in e ? EDe(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
color: "color" in e ? WX(e.color) : void 0,
fill: "fill" in e ? WX(e.fill) : void 0
};
}
-function CDe(e, t) {
+function ODe(e, t) {
return e ?? t;
}
var GX = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var { chartData: s, computedData: c, dataStartIndex: l, dataEndIndex: u } = n;
return e.reduce((e, n) => {
- var { dataDefinedOnItem: d, settings: f } = n, p = CDe(d, s), m = Array.isArray(p) ? XB(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? zL(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = ODe(d, s), m = Array.isArray(p) ? XB(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? zL(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = SDe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = UX(UX({}, f), {}, {
+ var n = DDe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = UX(UX({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
@@ -60018,17 +60019,17 @@ var GX = (e, t, n, r, i, a, o) => {
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
kY,
$([RG, zG], mY)
-], gY, { memoizeOptions: { resultEqualityCheck: LG } }), wDe = $([qX], (e) => e.filter(FG)), JX = $([$([qX], bY, { memoizeOptions: { resultEqualityCheck: LG } }), VW], xY), TDe = $([
- wDe,
+], gY, { memoizeOptions: { resultEqualityCheck: LG } }), kDe = $([qX], (e) => e.filter(FG)), JX = $([$([qX], bY, { memoizeOptions: { resultEqualityCheck: LG } }), VW], xY), ADe = $([
+ kDe,
VW,
kY
], PG), YX = $([
JX,
kY,
qX
-], CY), XX = $([kY], PY), ZX = $([XX, $([kY], (e) => e.allowDataOverflow)], qW), EDe = $([
+], CY), XX = $([kY], PY), ZX = $([XX, $([kY], (e) => e.allowDataOverflow)], qW), jDe = $([
$([
- TDe,
+ ADe,
$([qX], (e) => e.filter(FG)),
sG,
cG
@@ -60036,17 +60037,17 @@ var GX = (e, t, n, r, i, a, o) => {
VW,
RG,
ZX
-], NY), DDe = $([
+], NY), MDe = $([
JX,
kY,
$([qX], yY),
LY,
RG
-], zY, { memoizeOptions: { resultEqualityCheck: IG } }), ODe = $([$([
+], zY, { memoizeOptions: { resultEqualityCheck: IG } }), NDe = $([$([
BY,
RG,
zG
-], VY), RG], WY), kDe = $([$([
+], VY), RG], WY), PDe = $([$([
HY,
RG,
zG
@@ -60061,21 +60062,21 @@ var GX = (e, t, n, r, i, a, o) => {
kY,
XX,
ZX,
- EDe,
- DDe,
+ jDe,
+ MDe,
$([
- ODe,
+ NDe,
$([$([
UY,
RG,
zG
], VY), RG], KY),
- kDe
+ PDe
], RY),
DH,
RG
], qY)
-], JY), ADe = $([
+], JY), FDe = $([
kY,
QX,
$([
@@ -60087,7 +60088,7 @@ var GX = (e, t, n, r, i, a, o) => {
], $Y), $X = (e) => tX(e, RG(e), zG(e), !1), eZ = $([kY, $X], gG), tZ = $([$([
kY,
KX,
- ADe,
+ FDe,
eZ
], QJ)], BG), nZ = $([
DH,
@@ -60135,7 +60136,7 @@ var GX = (e, t, n, r, i, a, o) => {
}), rZ = $([
SX,
CX,
- $Ee
+ iDe
], (e, t, n) => wX(n.shared, e, t)), iZ = (e) => e.tooltip.settings.trigger, aZ = (e) => e.tooltip.settings.defaultIndex, oZ = $([
VX,
rZ,
@@ -60148,14 +60149,14 @@ var GX = (e, t, n, r, i, a, o) => {
QX
], LX), cZ = $([nZ, sZ], EX), lZ = $([oZ], (e) => {
if (e) return e.dataKey;
-}), jDe = $([oZ], (e) => {
+}), IDe = $([oZ], (e) => {
if (e) return e.graphicalItemId;
}), uZ = $([
VX,
rZ,
iZ,
aZ
-], zX), MDe = $([oZ, $([
+], zX), LDe = $([oZ, $([
EV,
DV,
DH,
@@ -60163,7 +60164,7 @@ var GX = (e, t, n, r, i, a, o) => {
nZ,
aZ,
uZ
-], RX)], (e, t) => e != null && e.coordinate ? e.coordinate : t), NDe = $([oZ], (e) => e?.active ?? !1), PDe = $([$([
+], RX)], (e, t) => e != null && e.coordinate ? e.coordinate : t), RDe = $([oZ], (e) => e?.active ?? !1), zDe = $([$([
uZ,
sZ,
VW,
@@ -60193,26 +60194,26 @@ function fZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? dZ(Object(n), !0).forEach(function(t) {
- FDe(e, t, n[t]);
+ BDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function FDe(e, t, n) {
- return (t = IDe(t)) in e ? Object.defineProperty(e, t, {
+function BDe(e, t, n) {
+ return (t = VDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function IDe(e) {
- var t = LDe(e, "string");
+function VDe(e) {
+ var t = HDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function LDe(e, t) {
+function HDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60222,8 +60223,8 @@ function LDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var RDe = () => Q(kY), zDe = () => {
- var e = RDe(), t = Q(nZ), n = Q(tZ);
+var UDe = () => Q(kY), WDe = () => {
+ var e = UDe(), t = Q(nZ), n = Q(tZ);
return xV(!e || !n ? void 0 : fZ(fZ({}, e), {}, { scale: n }), t);
};
//#endregion
@@ -60242,26 +60243,26 @@ function mZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? pZ(Object(n), !0).forEach(function(t) {
- BDe(e, t, n[t]);
+ GDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function BDe(e, t, n) {
- return (t = VDe(t)) in e ? Object.defineProperty(e, t, {
+function GDe(e, t, n) {
+ return (t = KDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function VDe(e) {
- var t = HDe(e, "string");
+function KDe(e) {
+ var t = qDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function HDe(e, t) {
+function qDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60271,7 +60272,7 @@ function HDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var UDe = (e, t, n, r) => {
+var JDe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -60287,7 +60288,7 @@ var UDe = (e, t, n, r) => {
x: 0,
y: 0
};
-}, WDe = (e, t, n, r) => {
+}, YDe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
@@ -60317,7 +60318,7 @@ var UDe = (e, t, n, r) => {
y: 0
};
};
-function GDe(e, t) {
+function XDe(e, t) {
var { relativeX: n, relativeY: r } = e;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
@@ -60354,7 +60355,7 @@ var hZ = (e, t, n, r, i) => {
}
}
return -1;
-}, gZ = () => Q(lG), _Z = (e, t) => t, vZ = (e, t, n) => n, yZ = (e, t, n, r) => r, KDe = $(nZ, (e) => PR(e, (e) => e.coordinate)), bZ = $([
+}, gZ = () => Q(lG), _Z = (e, t) => t, vZ = (e, t, n) => n, yZ = (e, t, n, r) => r, ZDe = $(nZ, (e) => PR(e, (e) => e.coordinate)), bZ = $([
VX,
_Z,
vZ,
@@ -60364,7 +60365,7 @@ var hZ = (e, t, n, r, i) => {
JX,
AY,
QX
-], LX), qDe = (e, t, n) => {
+], LX), QDe = (e, t, n) => {
if (t != null) {
var r = VX(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
@@ -60382,7 +60383,7 @@ var hZ = (e, t, n, r, i) => {
nZ,
yZ,
SZ
-], RX), JDe = $([bZ, CZ], (e, t) => e.coordinate ?? t), wZ = $([nZ, xZ], EX), YDe = $([
+], RX), $De = $([bZ, CZ], (e, t) => e.coordinate ?? t), wZ = $([nZ, xZ], EX), eOe = $([
SZ,
xZ,
VW,
@@ -60390,39 +60391,39 @@ var hZ = (e, t, n, r, i) => {
wZ,
BX,
_Z
-], GX), XDe = $([bZ, xZ], (e, t) => ({
+], GX), tOe = $([bZ, xZ], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), ZDe = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && GDe(e, o)) {
- var s = hZ(wV(e, t), a, i, n, r), c = UDe(t, i, s, e);
+})), nOe = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && XDe(e, o)) {
+ var s = hZ(wV(e, t), a, i, n, r), c = JDe(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, QDe = (e, t, n, r, i, a, o) => {
+}, rOe = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
- var s = fCe(e, n);
+ var s = _Ce(e, n);
if (s) {
- var c = hZ(TV(s, t), o, a, r, i), l = WDe(t, a, c, s);
+ var c = hZ(TV(s, t), o, a, r, i), l = YDe(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, $De = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? ZDe(e, t, r, i, a, o, s) : QDe(e, t, n, r, i, a, o);
-}, eOe = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, iOe = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? nOe(e, t, r, i, a, o, s) : rOe(e, t, n, r, i, a, o);
+}, aOe = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
if (t != null) {
var r = e[t];
if (r != null) return n ? r.panoramaElement : r.element;
}
-}), tOe = $((e) => e.zIndex.zIndexMap, (e) => {
+}), oOe = $((e) => e.zIndex.zIndexMap, (e) => {
var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(pG));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: NCe } });
+}, { memoizeOptions: { resultEqualityCheck: RCe } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
function TZ(e, t) {
@@ -60439,26 +60440,26 @@ function EZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? TZ(Object(n), !0).forEach(function(t) {
- nOe(e, t, n[t]);
+ sOe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function nOe(e, t, n) {
- return (t = rOe(t)) in e ? Object.defineProperty(e, t, {
+function sOe(e, t, n) {
+ return (t = cOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function rOe(e) {
- var t = iOe(e, "string");
+function cOe(e) {
+ var t = lOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function iOe(e, t) {
+function lOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60468,17 +60469,17 @@ function iOe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var aOe = { zIndexMap: Object.values(pG).reduce((e, t) => EZ(EZ({}, e), {}, { [t]: {
+var uOe = { zIndexMap: Object.values(pG).reduce((e, t) => EZ(EZ({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, oOe = new Set(Object.values(pG));
-function sOe(e) {
- return oOe.has(e);
+} }), {}) }, dOe = new Set(Object.values(pG));
+function fOe(e) {
+ return dOe.has(e);
}
var DZ = dB({
name: "zIndex",
- initialState: aOe,
+ initialState: uOe,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -60494,7 +60495,7 @@ var DZ = dB({
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !sOe(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !fOe(n) && delete e.zIndexMap[n]);
},
prepare: sB()
},
@@ -60517,20 +60518,20 @@ var DZ = dB({
prepare: sB()
}
}
-}), { registerZIndexPortal: cOe, unregisterZIndexPortal: lOe, registerZIndexPortalElement: uOe, unregisterZIndexPortalElement: dOe } = DZ.actions, fOe = DZ.reducer;
+}), { registerZIndexPortal: pOe, unregisterZIndexPortal: mOe, registerZIndexPortalElement: hOe, unregisterZIndexPortalElement: gOe } = DZ.actions, _Oe = DZ.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function OZ(e) {
var { zIndex: t, children: n } = e, r = MH() && t !== void 0 && t !== 0, i = qV(), a = ER();
- (0, L.useLayoutEffect)(() => r ? (a(cOe({ zIndex: t })), () => {
- a(lOe({ zIndex: t }));
+ (0, L.useLayoutEffect)(() => r ? (a(pOe({ zIndex: t })), () => {
+ a(mOe({ zIndex: t }));
}) : UL, [
a,
t,
r
]);
- var o = Q((e) => eOe(e, t, i));
- return r ? o ? /*#__PURE__*/ (0, it.createPortal)(n, o) : null : n;
+ var o = Q((e) => aOe(e, t, i));
+ return r ? o ? /*#__PURE__*/ (0, ct.createPortal)(n, o) : null : n;
}
//#endregion
//#region node_modules/recharts/es6/component/Cursor.js
@@ -60557,26 +60558,26 @@ function jZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? AZ(Object(n), !0).forEach(function(t) {
- pOe(e, t, n[t]);
+ vOe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pOe(e, t, n) {
- return (t = mOe(t)) in e ? Object.defineProperty(e, t, {
+function vOe(e, t, n) {
+ return (t = yOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mOe(e) {
- var t = hOe(e, "string");
+function yOe(e) {
+ var t = bOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hOe(e, t) {
+function bOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60586,16 +60587,16 @@ function hOe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function gOe(e) {
+function xOe(e) {
var { cursor: t, cursorComp: n, cursorProps: r } = e;
return /*#__PURE__*/ (0, L.isValidElement)(t) ? /*#__PURE__*/ (0, L.cloneElement)(t, r) : /*#__PURE__*/ (0, L.createElement)(n, r);
}
-function _Oe(e) {
+function SOe(e) {
var { coordinate: t, payload: n, index: r, offset: i, tooltipAxisBandSize: a, layout: o, cursor: s, tooltipEventType: c, chartName: l } = e, u = t, d = n, f = r;
if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;
var p, m, h;
- if (l === "ScatterChart") p = u, m = gSe, h = pG.cursorLine;
- else if (l === "BarChart") p = _Se(o, u, i, a), m = DW, h = pG.cursorRectangle;
+ if (l === "ScatterChart") p = u, m = xSe, h = pG.cursorLine;
+ else if (l === "BarChart") p = SSe(o, u, i, a), m = DW, h = pG.cursorRectangle;
else if (o === "radial" && YL(u)) {
var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = NW(u);
p = {
@@ -60606,24 +60607,24 @@ function _Oe(e) {
innerRadius: v,
outerRadius: v
}, m = RW, h = pG.cursorLine;
- } else p = { points: CCe(o, u, i) }, m = eW, h = pG.cursorLine;
+ } else p = { points: OCe(o, u, i) }, m = eW, h = pG.cursorLine;
var x = typeof s == "object" && "className" in s ? s.className : void 0, S = jZ(jZ(jZ(jZ({
stroke: "#ccc",
pointerEvents: "none"
}, i), p), wI(s)), {}, {
payload: d,
payloadIndex: f,
- className: Xa("recharts-tooltip-cursor", x)
+ className: eo("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ L.createElement(OZ, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ L.createElement(gOe, {
+ return /*#__PURE__*/ L.createElement(OZ, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ L.createElement(xOe, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function vOe(e) {
- var t = zDe(), n = CH(), r = OH(), i = gZ();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ L.createElement(_Oe, kZ({}, e, {
+function COe(e) {
+ var t = WDe(), n = CH(), r = OH(), i = gZ();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ L.createElement(SOe, kZ({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -60632,7 +60633,7 @@ function vOe(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var MZ = /*#__PURE__*/ (0, L.createContext)(null), yOe = () => (0, L.useContext)(MZ), bOe = (/* @__PURE__ */ Je((/* @__PURE__ */ Ge(((e, t) => {
+var MZ = /*#__PURE__*/ (0, L.createContext)(null), wOe = () => (0, L.useContext)(MZ), TOe = (/* @__PURE__ */ $e((/* @__PURE__ */ Xe(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -60719,7 +60720,7 @@ var MZ = /*#__PURE__*/ (0, L.createContext)(null), yOe = () => (0, L.useContext)
var t;
return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;
}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);
-})))(), 1)).default, NZ = new bOe(), PZ = "recharts.syncEvent.tooltip", FZ = "recharts.syncEvent.brush", IZ = (e, t) => {
+})))(), 1)).default, NZ = new TOe(), PZ = "recharts.syncEvent.tooltip", FZ = "recharts.syncEvent.brush", IZ = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
if (!ML(n)) return e[n];
@@ -60735,10 +60736,10 @@ var MZ = /*#__PURE__*/ (0, L.createContext)(null), yOe = () => (0, L.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), xOe = LZ.reducer, { createEventEmitter: SOe } = LZ.actions;
+}), EOe = LZ.reducer, { createEventEmitter: DOe } = LZ.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function COe(e) {
+function OOe(e) {
return e.tooltip.syncInteraction;
}
var RZ = dB({
@@ -60765,7 +60766,7 @@ var RZ = dB({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: zZ, setDataStartEndIndexes: wOe, setComputedData: TOe } = RZ.actions, EOe = RZ.reducer, DOe = ["x", "y"];
+}), { setChartData: zZ, setDataStartEndIndexes: kOe, setComputedData: AOe } = RZ.actions, jOe = RZ.reducer, MOe = ["x", "y"];
function BZ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -60780,26 +60781,26 @@ function VZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? BZ(Object(n), !0).forEach(function(t) {
- OOe(e, t, n[t]);
+ NOe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : BZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function OOe(e, t, n) {
- return (t = kOe(t)) in e ? Object.defineProperty(e, t, {
+function NOe(e, t, n) {
+ return (t = POe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kOe(e) {
- var t = AOe(e, "string");
+function POe(e) {
+ var t = FOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function AOe(e, t) {
+function FOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60809,16 +60810,16 @@ function AOe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function jOe(e, t) {
+function IOe(e, t) {
if (e == null) return {};
- var n, r, i = MOe(e, t);
+ var n, r, i = LOe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function MOe(e, t) {
+function LOe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60827,7 +60828,7 @@ function MOe(e, t) {
}
return n;
}
-function NOe() {
+function ROe() {
var e = Q(uG), t = Q(fG), n = ER(), r = Q(dG), i = Q(nZ), a = OH(), o = xH(), s = Q((e) => e.rootProps.className);
(0, L.useEffect)(() => {
if (e == null) return UL;
@@ -60836,7 +60837,7 @@ function NOe() {
if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, { x: f, y: p } = d, m = jOe(d, DOe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = VZ(VZ({}, m), {}, {
+ var d = c.payload.coordinate, { x: f, y: p } = d, m = IOe(d, MOe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = VZ(VZ({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
@@ -60897,12 +60898,12 @@ function NOe() {
o
]);
}
-function POe() {
+function zOe() {
var e = Q(uG), t = Q(fG), n = ER();
(0, L.useEffect)(() => {
if (e == null) return UL;
var r = (r, i, a) => {
- t !== a && e === r && n(wOe(i));
+ t !== a && e === r && n(kOe(i));
};
return NZ.on(FZ, r), () => {
NZ.off(FZ, r);
@@ -60913,14 +60914,14 @@ function POe() {
e
]);
}
-function FOe() {
+function BOe() {
var e = ER();
(0, L.useEffect)(() => {
- e(SOe());
- }, [e]), NOe(), POe();
+ e(DOe());
+ }, [e]), ROe(), zOe();
}
-function IOe(e, t, n, r, i, a) {
- var o = Q((n) => qDe(n, e, t)), s = Q(jDe), c = Q(fG), l = Q(uG), u = Q(dG), d = Q(COe)?.active, f = xH();
+function VOe(e, t, n, r, i, a) {
+ var o = Q((n) => QDe(n, e, t)), s = Q(IDe), c = Q(fG), l = Q(uG), u = Q(dG), d = Q(OOe)?.active, f = xH();
(0, L.useEffect)(() => {
if (!d && l != null && c != null) {
var e = MX({
@@ -60964,26 +60965,26 @@ function UZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? HZ(Object(n), !0).forEach(function(t) {
- LOe(e, t, n[t]);
+ HOe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function LOe(e, t, n) {
- return (t = ROe(t)) in e ? Object.defineProperty(e, t, {
+function HOe(e, t, n) {
+ return (t = UOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ROe(e) {
- var t = zOe(e, "string");
+function UOe(e) {
+ var t = WOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function zOe(e, t) {
+function WOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60993,13 +60994,13 @@ function zOe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function BOe(e) {
+function GOe(e) {
return e.dataKey;
}
-function VOe(e, t) {
- return /*#__PURE__*/ L.isValidElement(e) ? /*#__PURE__*/ L.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ L.createElement(e, t) : /*#__PURE__*/ L.createElement(Kxe, t);
+function KOe(e, t) {
+ return /*#__PURE__*/ L.isValidElement(e) ? /*#__PURE__*/ L.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ L.createElement(e, t) : /*#__PURE__*/ L.createElement(Zxe, t);
}
-var WZ = [], HOe = {
+var WZ = [], qOe = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -61025,10 +61026,10 @@ var WZ = [], HOe = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function UOe(e) {
- var t = $L(e, HOe), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = ER(), S = typeof v == "number" ? String(v) : v;
+function JOe(e) {
+ var t = $L(e, qOe), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = ER(), S = typeof v == "number" ? String(v) : v;
(0, L.useEffect)(() => {
- x(rDe({
+ x(cDe({
shared: g,
trigger: _,
axisId: b,
@@ -61043,12 +61044,12 @@ function UOe(e) {
n,
S
]);
- var C = xH(), w = WU(), T = QEe(g), { activeIndex: E, isActive: D } = Q((e) => XDe(e, T, _, S)) ?? {}, O = Q((e) => YDe(e, T, _, S)), k = Q((e) => wZ(e, T, _, S)), A = Q((e) => JDe(e, T, _, S)), j = O, M = yOe(), N = n ?? D ?? !1, [P, ee] = LR([j, N]), F = T === "axis" ? k : void 0;
- IOe(T, _, A, F, E, N);
+ var C = xH(), w = WU(), T = rDe(g), { activeIndex: E, isActive: D } = Q((e) => tOe(e, T, _, S)) ?? {}, O = Q((e) => eOe(e, T, _, S)), k = Q((e) => wZ(e, T, _, S)), A = Q((e) => $De(e, T, _, S)), j = O, M = wOe(), N = n ?? D ?? !1, [P, ee] = LR([j, N]), F = T === "axis" ? k : void 0;
+ VOe(T, _, A, F, E, N);
var te = y ?? M;
if (te == null || C == null || T == null) return null;
var ne = j ?? WZ;
- N || (ne = WZ), s && ne.length && (ne = wR(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, BOe));
+ N || (ne = WZ), s && ne.length && (ne = wR(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, GOe));
var re = ne.length > 0, ie = UZ(UZ({}, t), {}, {
payload: ne,
label: F,
@@ -61056,7 +61057,7 @@ function UOe(e) {
activeIndex: E,
coordinate: A,
accessibilityLayer: w
- }), ae = /*#__PURE__*/ L.createElement(nSe, {
+ }), ae = /*#__PURE__*/ L.createElement(sSe, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -61073,8 +61074,8 @@ function UOe(e) {
lastBoundingBox: P,
innerRef: ee,
hasPortalFromProps: !!y
- }, VOe(o, ie));
- return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ (0, it.createPortal)(ae, te), N && /*#__PURE__*/ L.createElement(vOe, {
+ }, KOe(o, ie));
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ (0, ct.createPortal)(ae, te), N && /*#__PURE__*/ L.createElement(COe, {
cursor: h,
tooltipEventType: T,
coordinate: A,
@@ -61088,19 +61089,19 @@ var GZ = (e) => null;
GZ.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function WOe(e, t, n) {
- return (t = GOe(t)) in e ? Object.defineProperty(e, t, {
+function YOe(e, t, n) {
+ return (t = XOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function GOe(e) {
- var t = KOe(e, "string");
+function XOe(e) {
+ var t = ZOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function KOe(e, t) {
+function ZOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61110,9 +61111,9 @@ function KOe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var qOe = class {
+var QOe = class {
constructor(e) {
- WOe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ YOe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -61145,30 +61146,30 @@ function KZ(e, t) {
}
return n;
}
-function JOe(e) {
+function $Oe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? KZ(Object(n), !0).forEach(function(t) {
- YOe(e, t, n[t]);
+ eke(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function YOe(e, t, n) {
- return (t = XOe(t)) in e ? Object.defineProperty(e, t, {
+function eke(e, t, n) {
+ return (t = tke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function XOe(e) {
- var t = ZOe(e, "string");
+function tke(e) {
+ var t = nke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ZOe(e, t) {
+function nke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61178,10 +61179,10 @@ function ZOe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var qZ = JOe({}, {
+var qZ = $Oe({}, {
cacheSize: 2e3,
enableCache: !0
-}), JZ = new qOe(qZ.cacheSize), QOe = {
+}), JZ = new QOe(qZ.cacheSize), rke = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -61190,13 +61191,13 @@ var qZ = JOe({}, {
border: "none",
whiteSpace: "pre"
}, YZ = "recharts_measurement_span";
-function $Oe(e, t) {
+function ike(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
var XZ = (e, t) => {
try {
var n = document.getElementById(YZ);
- n || (n = document.createElement("span"), n.setAttribute("id", YZ), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, QOe, t), n.textContent = `${e}`;
+ n || (n = document.createElement("span"), n.setAttribute("id", YZ), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, rke, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -61215,24 +61216,24 @@ var XZ = (e, t) => {
height: 0
};
if (!qZ.enableCache) return XZ(e, t);
- var n = $Oe(e, t), r = JZ.get(n);
+ var n = ike(e, t), r = JZ.get(n);
if (r) return r;
var i = XZ(e, t);
return JZ.set(n, i), i;
}, QZ;
-function eke(e, t, n) {
- return (t = tke(t)) in e ? Object.defineProperty(e, t, {
+function ake(e, t, n) {
+ return (t = oke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function tke(e) {
- var t = nke(e, "string");
+function oke(e) {
+ var t = ske(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function nke(e, t) {
+function ske(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61242,7 +61243,7 @@ function nke(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var $Z = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, eQ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, rke = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, ike = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, ake = {
+var $Z = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, eQ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, cke = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, lke = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, uke = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -61250,7 +61251,7 @@ var $Z = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, eQ = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, oke = [
+}, dke = [
"cm",
"mm",
"pt",
@@ -61259,20 +61260,20 @@ var $Z = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, eQ = /(
"Q",
"px"
];
-function ske(e) {
- return oke.includes(e);
+function fke(e) {
+ return dke.includes(e);
}
var tQ = "NaN";
-function cke(e, t) {
- return e * ake[t];
+function pke(e, t) {
+ return e * uke[t];
}
var nQ = class e {
static parse(t) {
- var [, n, r] = ike.exec(t) ?? [];
+ var [, n, r] = lke.exec(t) ?? [];
return n == null ? e.NaN : new e(parseFloat(n), r ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, ML(e) && (this.unit = ""), t !== "" && !rke.test(t) && (this.num = NaN, this.unit = ""), ske(t) && (this.num = cke(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, ML(e) && (this.unit = ""), t !== "" && !cke.test(t) && (this.num = NaN, this.unit = ""), fke(t) && (this.num = pke(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -61293,7 +61294,7 @@ var nQ = class e {
return ML(this.num);
}
};
-QZ = nQ, eke(nQ, "NaN", new QZ(NaN, ""));
+QZ = nQ, ake(nQ, "NaN", new QZ(NaN, ""));
function rQ(e) {
if (e == null || e.includes(tQ)) return tQ;
for (var t = e; t.includes("*") || t.includes("/");) {
@@ -61309,31 +61310,31 @@ function rQ(e) {
return t;
}
var iQ = /\(([^()]*)\)/;
-function lke(e) {
+function mke(e) {
for (var t = e, n; (n = iQ.exec(t)) != null;) {
var [, r] = n;
t = t.replace(iQ, rQ(r));
}
return t;
}
-function uke(e) {
+function hke(e) {
var t = e.replace(/\s+/g, "");
- return t = lke(t), t = rQ(t), t;
+ return t = mke(t), t = rQ(t), t;
}
-function dke(e) {
+function gke(e) {
try {
- return uke(e);
+ return hke(e);
} catch {
return tQ;
}
}
function aQ(e) {
- var t = dke(e.slice(5, -1));
+ var t = gke(e.slice(5, -1));
return t === tQ ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var fke = [
+var _ke = [
"x",
"y",
"lineHeight",
@@ -61342,7 +61343,7 @@ var fke = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], pke = [
+], vke = [
"dx",
"dy",
"angle",
@@ -61360,14 +61361,14 @@ function oQ() {
}
function sQ(e, t) {
if (e == null) return {};
- var n, r, i = mke(e, t);
+ var n, r, i = yke(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function mke(e, t) {
+function yke(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61394,7 +61395,7 @@ var cQ = /[ \f\n\r\t\v\u2028\u2029]+/, lQ = (e) => {
function uQ(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function hke(e) {
+function bke(e) {
return BL(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
var dQ = (e, t, n, r) => e.reduce((e, i) => {
@@ -61408,16 +61409,16 @@ var dQ = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), fQ = (e) => e.reduce((e, t) => e.width > t.width ? e : t), gke = "…", pQ = (e, t, n, r, i, a, o, s) => {
+}, []), fQ = (e) => e.reduce((e, t) => e.width > t.width ? e : t), xke = "…", pQ = (e, t, n, r, i, a, o, s) => {
var c = lQ({
breakAll: n,
style: r,
- children: e.slice(0, t) + gke
+ children: e.slice(0, t) + xke
});
if (!c) return [!1, []];
var l = dQ(c.wordsWithComputedWidth, a, o, s);
return [l.length > i || fQ(l).width > Number(a), l];
-}, _ke = (e, t, n, r, i) => {
+}, Ske = (e, t, n, r, i) => {
var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = dQ(t, r, n, i);
if (!l || i || !(d.length > a || fQ(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
@@ -61432,7 +61433,7 @@ var dQ = (e, t, n, r) => e.reduce((e, i) => {
}, mQ = (e) => [{
words: BL(e) ? [] : e.toString().split(cQ),
width: void 0
-}], vke = (e) => {
+}], Cke = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
if ((t || n) && !BU.isSsr) {
var s, c, l = lQ({
@@ -61444,7 +61445,7 @@ var dQ = (e, t, n, r) => e.reduce((e, i) => {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
} else return mQ(r);
- return _ke({
+ return Ske({
breakAll: a,
children: r,
maxLines: o,
@@ -61452,7 +61453,7 @@ var dQ = (e, t, n, r) => e.reduce((e, i) => {
}, s, c, t, !!n);
}
return mQ(r);
-}, hQ = "#808080", yke = {
+}, hQ = "#808080", wke = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
@@ -61464,7 +61465,7 @@ var dQ = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, gQ = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var n = $L(e, yke), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = sQ(n, fke), f = (0, L.useMemo)(() => vke({
+ var n = $L(e, wke), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = sQ(n, _ke), f = (0, L.useMemo)(() => Cke({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -61478,7 +61479,7 @@ var dQ = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = sQ(d, pke);
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = sQ(d, vke);
if (!PL(r) || !PL(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
if (!ZB(y) || !ZB(b)) return null;
@@ -61501,7 +61502,7 @@ var dQ = (e, t, n, r) => e.reduce((e, i) => {
ref: t,
x: y,
y: b,
- className: Xa("recharts-text", g),
+ className: eo("recharts-text", g),
textAnchor: l,
fill: s.includes("url") ? hQ : s
}), f.map((e, t) => {
@@ -61530,26 +61531,26 @@ function vQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? _Q(Object(n), !0).forEach(function(t) {
- bke(e, t, n[t]);
+ Tke(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _Q(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bke(e, t, n) {
- return (t = xke(t)) in e ? Object.defineProperty(e, t, {
+function Tke(e, t, n) {
+ return (t = Eke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xke(e) {
- var t = Ske(e, "string");
+function Eke(e) {
+ var t = Dke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ske(e, t) {
+function Dke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61559,7 +61560,7 @@ function Ske(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Cke = (e) => {
+var Oke = (e) => {
var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = bH(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
if (n === "top") {
var T = {
@@ -61652,17 +61653,17 @@ var Cke = (e) => {
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, wke = ["labelRef"], Tke = ["content"];
+}, kke = ["labelRef"], Ake = ["content"];
function yQ(e, t) {
if (e == null) return {};
- var n, r, i = Eke(e, t);
+ var n, r, i = jke(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Eke(e, t) {
+function jke(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61685,26 +61686,26 @@ function xQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? bQ(Object(n), !0).forEach(function(t) {
- Dke(e, t, n[t]);
+ Mke(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Dke(e, t, n) {
- return (t = Oke(t)) in e ? Object.defineProperty(e, t, {
+function Mke(e, t, n) {
+ return (t = Nke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Oke(e) {
- var t = kke(e, "string");
+function Nke(e) {
+ var t = Pke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kke(e, t) {
+function Pke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61743,7 +61744,7 @@ var CQ = /*#__PURE__*/ (0, L.createContext)(null), wQ = (e) => {
}, TQ = () => {
var e = (0, L.useContext)(CQ), t = xH();
return e || (t ? bH(t) : void 0);
-}, EQ = /*#__PURE__*/ (0, L.createContext)(null), Ake = (e) => {
+}, EQ = /*#__PURE__*/ (0, L.createContext)(null), Fke = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, L.useMemo)(() => ({
cx: t,
cy: n,
@@ -61765,11 +61766,11 @@ var CQ = /*#__PURE__*/ (0, L.createContext)(null), wQ = (e) => {
}, DQ = () => {
var e = (0, L.useContext)(EQ), t = Q(AG);
return e || t;
-}, jke = (e) => {
+}, Ike = (e) => {
var { value: t, formatter: n } = e, r = BL(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, OQ = (e) => e != null && typeof e == "function", Mke = (e, t) => jL(t - e) * Math.min(Math.abs(t - e), 360), Nke = (e, t, n, r, i) => {
- var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = Mke(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, OQ = (e) => e != null && typeof e == "function", Lke = (e, t) => jL(t - e) * Math.min(Math.abs(t - e), 360), Rke = (e, t, n, r, i) => {
+ var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = Lke(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -61788,12 +61789,12 @@ var CQ = /*#__PURE__*/ (0, L.createContext)(null), wQ = (e) => {
${b.x},${b.y}`, S = BL(e.id) ? FL("recharts-radial-line-") : e.id;
return /*#__PURE__*/ L.createElement("text", SQ({}, r, {
dominantBaseline: "central",
- className: Xa("recharts-radial-bar-label", o)
+ className: eo("recharts-radial-bar-label", o)
}), /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement("path", {
id: S,
d: x
})), /*#__PURE__*/ L.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, Pke = (e, t, n) => {
+}, zke = (e, t, n) => {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, startAngle: s, endAngle: c } = e, l = (s + c) / 2;
if (n === "outside") {
var { x: u, y: d } = MW(r, i, o + t, l);
@@ -61829,14 +61830,14 @@ var CQ = /*#__PURE__*/ (0, L.createContext)(null), wQ = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, kQ = (e) => e != null && "cx" in e && Z(e.cx), Fke = {
+}, kQ = (e) => e != null && "cx" in e && Z(e.cx), Bke = {
angle: 0,
offset: 5,
zIndex: pG.label,
position: "middle",
textBreakAll: !1
};
-function Ike(e) {
+function Vke(e) {
if (!kQ(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
@@ -61849,24 +61850,24 @@ function Ike(e) {
};
}
function AQ(e) {
- var t = $L(e, Fke), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = DQ(), f = TQ(), p = n == null ? i === "center" ? f : d ?? f : kQ(n) ? n : bH(n), m, h, g = Ike(p);
+ var t = $L(e, Bke), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = DQ(), f = TQ(), p = n == null ? i === "center" ? f : d ?? f : kQ(n) ? n : bH(n), m, h, g = Vke(p);
if (!p || BL(a) && BL(o) && !/*#__PURE__*/ (0, L.isValidElement)(s) && typeof s != "function") return null;
var _ = xQ(xQ({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, L.isValidElement)(s)) {
- var { labelRef: v } = _, y = yQ(_, wke);
+ var { labelRef: v } = _, y = yQ(_, kke);
return /*#__PURE__*/ (0, L.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = yQ(_, Tke);
+ var { content: b } = _, x = yQ(_, Ake);
if (m = /*#__PURE__*/ (0, L.createElement)(s, x), /*#__PURE__*/ (0, L.isValidElement)(m)) return m;
- } else m = jke(t);
+ } else m = Ike(t);
var S = TI(t);
if (kQ(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return Nke(t, i, m, S, p);
- h = Pke(p, t.offset, t.position);
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return Rke(t, i, m, S, p);
+ h = zke(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = Cke({
+ var C = Oke({
viewBox: g,
position: i,
offset: t.offset,
@@ -61882,7 +61883,7 @@ function AQ(e) {
}
return /*#__PURE__*/ L.createElement(OZ, { zIndex: t.zIndex }, /*#__PURE__*/ L.createElement(gQ, SQ({
ref: u,
- className: Xa("recharts-label", c)
+ className: eo("recharts-label", c)
}, S, h, {
textAnchor: uQ(S.textAnchor) ? S.textAnchor : h.textAnchor,
breakAll: l
@@ -61910,13 +61911,13 @@ function MQ(e) {
var { label: t, labelRef: n } = e;
return jQ(t, TQ(), n) || null;
}
-function Lke(e) {
+function Hke(e) {
var { label: t } = e;
return jQ(t, DQ()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var Rke = ["valueAccessor"], zke = [
+var Uke = ["valueAccessor"], Wke = [
"dataKey",
"clockWise",
"id",
@@ -61934,14 +61935,14 @@ function NQ() {
}
function PQ(e, t) {
if (e == null) return {};
- var n, r, i = Bke(e, t);
+ var n, r, i = Gke(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Bke(e, t) {
+function Gke(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61950,18 +61951,18 @@ function Bke(e, t) {
}
return n;
}
-var Vke = (e) => {
+var Kke = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (hke(t)) return t;
-}, FQ = /*#__PURE__*/ (0, L.createContext)(void 0), IQ = FQ.Provider, LQ = /*#__PURE__*/ (0, L.createContext)(void 0), Hke = LQ.Provider;
-function Uke() {
+ if (bke(t)) return t;
+}, FQ = /*#__PURE__*/ (0, L.createContext)(void 0), IQ = FQ.Provider, LQ = /*#__PURE__*/ (0, L.createContext)(void 0), qke = LQ.Provider;
+function Jke() {
return (0, L.useContext)(FQ);
}
-function Wke() {
+function Yke() {
return (0, L.useContext)(LQ);
}
function RQ(e) {
- var { valueAccessor: t = Vke } = e, n = PQ(e, Rke), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = PQ(n, zke), l = Uke(), u = Wke(), d = l || u;
+ var { valueAccessor: t = Kke } = e, n = PQ(e, Uke), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = PQ(n, Wke), l = Jke(), u = Yke(), d = l || u;
return !d || !d.length ? null : /*#__PURE__*/ L.createElement(OZ, { zIndex: s ?? pG.label }, /*#__PURE__*/ L.createElement(kI, { className: "recharts-label-list" }, d.map((e, i) => {
var s = BL(r) ? t(e, i) : iV(e.payload, r), l = BL(a) ? {} : { id: `${a}-${i}` };
return /*#__PURE__*/ L.createElement(AQ, NQ({ key: `label-${i}` }, TI(e), c, l, {
@@ -61985,12 +61986,12 @@ function zQ(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var Gke = [
+var Xke = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], Kke;
+], Zke;
function BQ() {
return BQ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -62000,16 +62001,16 @@ function BQ() {
return e;
}, BQ.apply(null, arguments);
}
-function qke(e, t) {
+function Qke(e, t) {
if (e == null) return {};
- var n, r, i = Jke(e, t);
+ var n, r, i = $ke(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Jke(e, t) {
+function $ke(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62018,10 +62019,10 @@ function Jke(e, t) {
}
return n;
}
-function Yke(e, t) {
+function eAe(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var VQ = (e) => e != null && e.x === +e.x && e.y === +e.y, Xke = function() {
+var VQ = (e) => e != null && e.x === +e.x && e.y === +e.y, tAe = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
@@ -62032,9 +62033,9 @@ var VQ = (e) => e != null && e.x === +e.x && e.y === +e.y, Xke = function() {
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
}, HQ = (e, t) => {
- var n = Xke(e);
+ var n = tAe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => AL(Kke ||= Yke([
+ var r = n.map((e) => e.reduce((e, t, n) => AL(Zke ||= eAe([
"",
"",
"",
@@ -62042,15 +62043,15 @@ var VQ = (e) => e != null && e.x === +e.x && e.y === +e.y, Xke = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, Zke = (e, t, n) => {
+}, nAe = (e, t, n) => {
var r = HQ(e, n);
return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${HQ(Array.from(t).reverse(), n).slice(1)}`;
}, UQ = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = qke(e, Gke);
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = Qke(e, Xke);
if (!t || !t.length) return null;
- var o = Xa("recharts-polygon", n);
+ var o = eo("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = Zke(t, r, i);
+ var s = a.stroke && a.stroke !== "none", c = nAe(t, r, i);
return /*#__PURE__*/ L.createElement("g", { className: o }, /*#__PURE__*/ L.createElement("path", BQ({}, TI(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
@@ -62082,7 +62083,7 @@ function WQ() {
}, WQ.apply(null, arguments);
}
var GQ = (e) => {
- var { cx: t, cy: n, r, className: i } = e, a = Xa("recharts-dot", i);
+ var { cx: t, cy: n, r, className: i } = e, a = eo("recharts-dot", i);
return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ L.createElement("circle", WQ({}, CI(e), XL(e), {
className: a,
cx: t,
@@ -62139,7 +62140,7 @@ var XQ = () => void 0, ZQ = $([
ZQ,
fY,
XY
-], ZY), Qke = $([XY, $([
+], ZY), rAe = $([XY, $([
dY,
ZQ,
QQ,
@@ -62152,14 +62153,14 @@ var XQ = () => void 0, ZQ = $([
}
}, e$ = (e, t, n) => {
switch (t) {
- case "angleAxis": return jCe(e, n);
- case "radiusAxis": return MCe(e, n);
+ case "angleAxis": return ICe(e, n);
+ case "radiusAxis": return LCe(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, t$ = $([$([
$Q,
XY,
- Qke,
+ rAe,
e$
], QJ)], BG), n$ = $([
DH,
@@ -62176,7 +62177,7 @@ var XQ = () => void 0, ZQ = $([
hX,
n$,
jG
-], _X), $ke = $([r$], (e) => {
+], _X), iAe = $([r$], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -62184,7 +62185,7 @@ var XQ = () => void 0, ZQ = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), eAe = $([
+}), aAe = $([
DH,
$Q,
t$,
@@ -62192,11 +62193,11 @@ var XQ = () => void 0, ZQ = $([
hX,
n$,
jG
-], yX), tAe = $([(e, t) => r$(e, "angleAxis", t, !1)], (e) => {
+], yX), oAe = $([(e, t) => r$(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), nAe = $([(e, t) => r$(e, "radiusAxis", t, !1)], (e) => {
+}), sAe = $([(e, t) => r$(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), rAe = [
+}), cAe = [
"gridType",
"radialLines",
"angleAxisId",
@@ -62209,16 +62210,16 @@ var XQ = () => void 0, ZQ = $([
"polarRadius",
"zIndex"
];
-function iAe(e, t) {
+function lAe(e, t) {
if (e == null) return {};
- var n, r, i = aAe(e, t);
+ var n, r, i = uAe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function aAe(e, t) {
+function uAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62250,26 +62251,26 @@ function o$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? a$(Object(n), !0).forEach(function(t) {
- oAe(e, t, n[t]);
+ dAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : a$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oAe(e, t, n) {
- return (t = sAe(t)) in e ? Object.defineProperty(e, t, {
+function dAe(e, t, n) {
+ return (t = fAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sAe(e) {
- var t = cAe(e, "string");
+function fAe(e) {
+ var t = pAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cAe(e, t) {
+function pAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62279,13 +62280,13 @@ function cAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var lAe = (e, t, n, r) => {
+var mAe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
var o = MW(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, uAe = (e) => {
+}, hAe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
var s = o$({ stroke: "#ccc" }, CI(e));
@@ -62304,7 +62305,7 @@ var lAe = (e, t, n, r) => {
fill: "none"
}, CI(e));
return /*#__PURE__*/ L.createElement("circle", i$({}, i, {
- className: Xa("recharts-polar-grid-concentric-circle", e.className),
+ className: eo("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
@@ -62315,10 +62316,10 @@ var lAe = (e, t, n, r) => {
fill: "none"
}, CI(e));
return /*#__PURE__*/ L.createElement("path", i$({}, n, {
- className: Xa("recharts-polar-grid-concentric-polygon", e.className),
- d: lAe(t, e.cx, e.cy, e.polarAngles)
+ className: eo("recharts-polar-grid-concentric-polygon", e.className),
+ d: mAe(t, e.cx, e.cy, e.polarAngles)
}));
-}, dAe = (e) => {
+}, gAe = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
@@ -62332,14 +62333,14 @@ var lAe = (e, t, n, r) => {
radius: t
}));
}));
-}, fAe = {
+}, _Ae = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
zIndex: pG.grid
}, l$ = (e) => {
- var t = $L(e, fAe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = iAe(t, rAe), m = Q(AG), h = Q((e) => tAe(e, i)), g = Q((e) => nAe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ var t = $L(e, _Ae), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = lAe(t, cAe), m = Q(AG), h = Q((e) => oAe(e, i)), g = Q((e) => sAe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = o$({
cx: m?.cx ?? o ?? 0,
@@ -62350,13 +62351,13 @@ var lAe = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ L.createElement(OZ, { zIndex: y.zIndex }, /*#__PURE__*/ L.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ L.createElement(dAe, i$({
+ return b <= 0 ? null : /*#__PURE__*/ L.createElement(OZ, { zIndex: y.zIndex }, /*#__PURE__*/ L.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ L.createElement(gAe, i$({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ L.createElement(uAe, i$({
+ })), /*#__PURE__*/ L.createElement(hAe, i$({
gridType: n,
radialLines: r
}, y, {
@@ -62372,7 +62373,7 @@ function u$(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function pAe(e, t = iR) {
+function vAe(e, t = iR) {
if (e == null) return;
let n = u$(e);
if (n.length === 0) return;
@@ -62385,7 +62386,7 @@ function pAe(e, t = iR) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function mAe(e, t = iR) {
+function yAe(e, t = iR) {
if (e == null) return;
let n = u$(e);
if (n.length === 0) return;
@@ -62418,7 +62419,7 @@ var d$ = dB({
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: hAe, removeRadiusAxis: gAe, addAngleAxis: _Ae, removeAngleAxis: vAe } = d$.actions, yAe = d$.reducer;
+}), { addRadiusAxis: bAe, removeRadiusAxis: xAe, addAngleAxis: SAe, removeAngleAxis: CAe } = d$.actions, wAe = d$.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
function f$(e) {
@@ -62426,12 +62427,12 @@ function f$(e) {
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var bAe = ["type"], xAe = [
+var TAe = ["type"], EAe = [
"cx",
"cy",
"angle",
"axisLine"
-], SAe = [
+], DAe = [
"angle",
"tickFormatter",
"stroke",
@@ -62460,26 +62461,26 @@ function h$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? m$(Object(n), !0).forEach(function(t) {
- CAe(e, t, n[t]);
+ OAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function CAe(e, t, n) {
- return (t = wAe(t)) in e ? Object.defineProperty(e, t, {
+function OAe(e, t, n) {
+ return (t = kAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wAe(e) {
- var t = TAe(e, "string");
+function kAe(e) {
+ var t = AAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function TAe(e, t) {
+function AAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62491,14 +62492,14 @@ function TAe(e, t) {
}
function g$(e, t) {
if (e == null) return {};
- var n, r, i = EAe(e, t);
+ var n, r, i = jAe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function EAe(e, t) {
+function jAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62507,20 +62508,20 @@ function EAe(e, t) {
}
return n;
}
-var DAe = "radiusAxis";
-function OAe(e) {
+var MAe = "radiusAxis";
+function NAe(e) {
var t = ER(), n = jH(), r = (0, L.useMemo)(() => {
- var { type: t } = e, r = g$(e, bAe), i = _G(n, "radiusAxis", t);
+ var { type: t } = e, r = g$(e, TAe), i = _G(n, "radiusAxis", t);
if (i != null) return h$(h$({}, r), {}, { type: i });
}, [e, n]);
- return (0, L.useEffect)(() => r == null ? UL : (t(hAe(r)), () => {
- t(gAe(r));
+ return (0, L.useEffect)(() => r == null ? UL : (t(bAe(r)), () => {
+ t(xAe(r));
}), [t, r]), null;
}
-var kAe = (e, t, n, r) => {
+var PAe = (e, t, n, r) => {
var { coordinate: i } = e;
return MW(n, r, i, t);
-}, AAe = (e) => {
+}, FAe = (e) => {
var t;
switch (e) {
case "left":
@@ -62532,28 +62533,28 @@ var kAe = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, jAe = (e, t, n, r) => {
- var i = pAe(r, (e) => e.coordinate || 0);
+}, IAe = (e, t, n, r) => {
+ var i = vAe(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: mAe(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: yAe(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, MAe = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = g$(e, xAe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = MW(n, r, s[0], i), l = MW(n, r, s[1], i), u = h$(h$(h$({}, CI(o)), {}, { fill: "none" }, CI(a)), {}, {
+}, LAe = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = g$(e, EAe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = MW(n, r, s[0], i), l = MW(n, r, s[1], i), u = h$(h$(h$({}, CI(o)), {}, { fill: "none" }, CI(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
return /*#__PURE__*/ L.createElement("line", p$({ className: "recharts-polar-radius-axis-line" }, u));
-}, NAe = (e, t, n) => /*#__PURE__*/ L.isValidElement(e) ? /*#__PURE__*/ L.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ L.createElement(gQ, p$({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), PAe = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = g$(e, SAe), s = AAe(e.orientation), c = CI(o), l = wI(a), u = t.map((t, o) => {
- var u = kAe(t, e.angle, e.cx, e.cy), d = h$(h$(h$(h$({
+}, RAe = (e, t, n) => /*#__PURE__*/ L.isValidElement(e) ? /*#__PURE__*/ L.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ L.createElement(gQ, p$({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), zAe = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = g$(e, DAe), s = FAe(e.orientation), c = CI(o), l = wI(a), u = t.map((t, o) => {
+ var u = PAe(t, e.angle, e.cx, e.cy), d = h$(h$(h$(h$({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
@@ -62561,20 +62562,20 @@ var kAe = (e, t, n, r) => {
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
return /*#__PURE__*/ L.createElement(kI, p$({
- className: Xa("recharts-polar-radius-axis-tick", f$(a)),
+ className: eo("recharts-polar-radius-axis-tick", f$(a)),
key: `tick-${t.coordinate}`
- }, ZL(e, t, o)), NAe(a, d, r ? r(t.value, o) : t.value));
+ }, ZL(e, t, o)), RAe(a, d, r ? r(t.value, o) : t.value));
});
return /*#__PURE__*/ L.createElement(kI, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, FAe = (e) => {
+}, BAe = (e) => {
var { radiusAxisId: t } = e, n = Q(AG), r = Q((e) => t$(e, "radiusAxis", t)), i = Q((e) => r$(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = h$(h$({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ L.createElement(OZ, { zIndex: a.zIndex }, /*#__PURE__*/ L.createElement(kI, { className: Xa("recharts-polar-radius-axis", DAe, a.className) }, s && MAe(a, i), o && PAe(a, i), /*#__PURE__*/ L.createElement(Ake, jAe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ L.createElement(Lke, { label: a.label }), a.children)));
+ return /*#__PURE__*/ L.createElement(OZ, { zIndex: a.zIndex }, /*#__PURE__*/ L.createElement(kI, { className: eo("recharts-polar-radius-axis", MAe, a.className) }, s && LAe(a, i), o && zAe(a, i), /*#__PURE__*/ L.createElement(Fke, IAe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ L.createElement(Hke, { label: a.label }), a.children)));
};
function _$(e) {
var t = $L(e, hG);
- return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(OAe, {
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(NAe, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -62591,12 +62592,12 @@ function _$(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ L.createElement(FAe, t));
+ }), /*#__PURE__*/ L.createElement(BAe, t));
}
_$.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var IAe = ["children", "type"], LAe = ["ref"];
+var VAe = ["children", "type"], HAe = ["ref"];
function v$() {
return v$ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -62620,26 +62621,26 @@ function b$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? y$(Object(n), !0).forEach(function(t) {
- RAe(e, t, n[t]);
+ UAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function RAe(e, t, n) {
- return (t = zAe(t)) in e ? Object.defineProperty(e, t, {
+function UAe(e, t, n) {
+ return (t = WAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zAe(e) {
- var t = BAe(e, "string");
+function WAe(e) {
+ var t = GAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function BAe(e, t) {
+function GAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62651,14 +62652,14 @@ function BAe(e, t) {
}
function x$(e, t) {
if (e == null) return {};
- var n, r, i = VAe(e, t);
+ var n, r, i = KAe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function VAe(e, t) {
+function KAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62667,17 +62668,17 @@ function VAe(e, t) {
}
return n;
}
-var S$ = 1e-5, HAe = Math.cos(jW(45)), UAe = "angleAxis";
-function WAe(e) {
+var S$ = 1e-5, qAe = Math.cos(jW(45)), JAe = "angleAxis";
+function YAe(e) {
var t = ER(), n = jH(), r = (0, L.useMemo)(() => {
- var { children: t, type: r } = e, i = x$(e, IAe), a = _G(n, "angleAxis", r);
+ var { children: t, type: r } = e, i = x$(e, VAe), a = _G(n, "angleAxis", r);
if (a != null) return b$(b$({}, i), {}, { type: a });
}, [e, n]), i = r === Q((e) => SG(e, r?.id));
- return (0, L.useEffect)(() => r == null ? UL : (t(_Ae(r)), () => {
- t(vAe(r));
+ return (0, L.useEffect)(() => r == null ? UL : (t(SAe(r)), () => {
+ t(CAe(r));
}), [t, r]), i ? e.children : null;
}
-var GAe = (e, t) => {
+var XAe = (e, t) => {
var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = MW(n, r, i, e.coordinate), l = MW(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
@@ -62685,13 +62686,13 @@ var GAe = (e, t) => {
x2: l.x,
y2: l.y
};
-}, KAe = (e, t) => {
+}, ZAe = (e, t) => {
var n = Math.cos(jW(-e.coordinate));
return n > S$ ? t === "outer" ? "start" : "end" : n < -S$ ? t === "outer" ? "end" : "start" : "middle";
-}, qAe = (e) => {
+}, QAe = (e) => {
var t = Math.cos(jW(-e.coordinate)), n = Math.sin(jW(-e.coordinate));
- return Math.abs(t) <= HAe ? n > 0 ? "start" : "end" : "middle";
-}, JAe = (e) => {
+ return Math.abs(t) <= qAe ? n > 0 ? "start" : "end" : "middle";
+}, $Ae = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
var s = b$(b$({}, CI(e)), {}, { fill: "none" }, CI(a));
@@ -62702,12 +62703,12 @@ var GAe = (e, t) => {
}));
var c = o.map((e) => MW(t, n, r, e.coordinate));
return /*#__PURE__*/ L.createElement(UQ, v$({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, YAe = (e) => {
+}, eje = (e) => {
var { tick: t, tickProps: n, value: r } = e;
return t ? /*#__PURE__*/ L.isValidElement(t) ? /*#__PURE__*/ L.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ L.createElement(gQ, v$({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, XAe = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = CI(e), { ref: s } = o, c = x$(o, LAe), l = wI(t), u = b$(b$({}, c), {}, { fill: "none" }, CI(n)), d = a.map((a, o) => {
- var s = GAe(a, e), d = KAe(a, e.orientation), f = qAe(a), p = b$(b$(b$({}, c), {}, {
+}, tje = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = CI(e), { ref: s } = o, c = x$(o, HAe), l = wI(t), u = b$(b$({}, c), {}, { fill: "none" }, CI(n)), d = a.map((a, o) => {
+ var s = XAe(a, e), d = ZAe(a, e.orientation), f = QAe(a), p = b$(b$(b$({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -62719,27 +62720,27 @@ var GAe = (e, t) => {
y: s.y2
});
return /*#__PURE__*/ L.createElement(kI, v$({
- className: Xa("recharts-polar-angle-axis-tick", f$(t)),
+ className: eo("recharts-polar-angle-axis-tick", f$(t)),
key: `tick-${a.coordinate}`
- }, ZL(e, a, o)), n && /*#__PURE__*/ L.createElement("line", v$({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ L.createElement(YAe, {
+ }, ZL(e, a, o)), n && /*#__PURE__*/ L.createElement("line", v$({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ L.createElement(eje, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
return /*#__PURE__*/ L.createElement(kI, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, ZAe = (e) => {
- var { angleAxisId: t } = e, n = Q(AG), r = Q((e) => t$(e, "angleAxis", t)), i = qV(), a = Q((e) => $ke(e, "angleAxis", t, i));
+}, nje = (e) => {
+ var { angleAxisId: t } = e, n = Q(AG), r = Q((e) => t$(e, "angleAxis", t)), i = qV(), a = Q((e) => iAe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = b$(b$(b$({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ L.createElement(OZ, { zIndex: o.zIndex }, /*#__PURE__*/ L.createElement(kI, { className: Xa("recharts-polar-angle-axis", UAe, o.className) }, /*#__PURE__*/ L.createElement(JAe, o), /*#__PURE__*/ L.createElement(XAe, o)));
+ return /*#__PURE__*/ L.createElement(OZ, { zIndex: o.zIndex }, /*#__PURE__*/ L.createElement(kI, { className: eo("recharts-polar-angle-axis", JAe, o.className) }, /*#__PURE__*/ L.createElement($Ae, o), /*#__PURE__*/ L.createElement(tje, o)));
};
function C$(e) {
var t = $L(e, mG);
- return /*#__PURE__*/ L.createElement(WAe, {
+ return /*#__PURE__*/ L.createElement(YAe, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -62756,12 +62757,12 @@ function C$(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ L.createElement(ZAe, t));
+ }, /*#__PURE__*/ L.createElement(nje, t));
}
C$.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var QAe = /* @__PURE__ */ Ge(((e) => {
+var rje = /* @__PURE__ */ Xe(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition");
function m(e) {
if (typeof e == "object" && e) {
@@ -62790,13 +62791,13 @@ var QAe = /* @__PURE__ */ Ge(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), $Ae = (/* @__PURE__ */ Ge(((e, t) => {
- t.exports = QAe();
+})), ije = (/* @__PURE__ */ Xe(((e, t) => {
+ t.exports = rje();
})))(), w$ = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", T$ = null, E$ = null, D$ = (e) => {
if (e === T$ && Array.isArray(E$)) return E$;
var t = [];
return L.Children.forEach(e, (e) => {
- BL(e) || ((0, $Ae.isFragment)(e) ? t = t.concat(D$(e.props.children)) : t.push(e));
+ BL(e) || ((0, ije.isFragment)(e) ? t = t.concat(D$(e.props.children)) : t.push(e));
}), E$ = t, T$ = e, t;
};
function O$(e, t) {
@@ -62809,7 +62810,7 @@ function O$(e, t) {
var k$ = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function eje(e) {
+function aje(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -62822,7 +62823,7 @@ function eje(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var tje, nje, rje, ije, aje;
+var oje, sje, cje, lje, uje;
function A$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -62837,26 +62838,26 @@ function j$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? A$(Object(n), !0).forEach(function(t) {
- oje(e, t, n[t]);
+ dje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oje(e, t, n) {
- return (t = sje(t)) in e ? Object.defineProperty(e, t, {
+function dje(e, t, n) {
+ return (t = fje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sje(e) {
- var t = cje(e, "string");
+function fje(e) {
+ var t = pje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cje(e, t) {
+function pje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62879,29 +62880,29 @@ function N$(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var P$ = (e, t, n, r, i) => {
- var a = n - r, o = AL(tje ||= N$([
+ var a = n - r, o = AL(oje ||= N$([
"M ",
",",
""
]), e, t);
- return o += AL(nje ||= N$([
+ return o += AL(sje ||= N$([
"L ",
",",
""
- ]), e + n, t), o += AL(rje ||= N$([
+ ]), e + n, t), o += AL(cje ||= N$([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += AL(ije ||= N$([
+ ]), e + n - a / 2, t + i), o += AL(lje ||= N$([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += AL(aje ||= N$([
+ ]), e + n - a / 2 - r, t + i), o += AL(uje ||= N$([
"L ",
",",
" Z"
]), e, t), o;
-}, lje = {
+}, mje = {
x: 0,
y: 0,
upperWidth: 0,
@@ -62911,15 +62912,15 @@ var P$ = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, uje = (e) => {
- var t = $L(e, lje), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, L.useRef)(null), [p, m] = (0, L.useState)(-1), h = (0, L.useRef)(i), g = (0, L.useRef)(a), _ = (0, L.useRef)(o), v = (0, L.useRef)(n), y = (0, L.useRef)(r), b = yW(e, "trapezoid-");
+}, hje = (e) => {
+ var t = $L(e, mje), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, L.useRef)(null), [p, m] = (0, L.useState)(-1), h = (0, L.useRef)(i), g = (0, L.useRef)(a), _ = (0, L.useRef)(o), v = (0, L.useRef)(n), y = (0, L.useRef)(r), b = yW(e, "trapezoid-");
if ((0, L.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
e && m(e);
} catch {}
}, []), n !== +n || r !== +r || i !== +i || a !== +a || o !== +o || i === 0 && a === 0 || o === 0) return null;
- var x = Xa("recharts-trapezoid", s);
+ var x = eo("recharts-trapezoid", s);
if (!d) return /*#__PURE__*/ L.createElement("g", null, /*#__PURE__*/ L.createElement("path", M$({}, TI(t), {
className: x,
d: P$(n, r, i, a, o)
@@ -62947,22 +62948,22 @@ var P$ = (e, t, n, r, i) => {
style: j$(j$({}, p), t.style)
}));
});
-}, dje = [
+}, gje = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function fje(e, t) {
+function _je(e, t) {
if (e == null) return {};
- var n, r, i = pje(e, t);
+ var n, r, i = vje(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function pje(e, t) {
+function vje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62985,26 +62986,26 @@ function I$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? F$(Object(n), !0).forEach(function(t) {
- mje(e, t, n[t]);
+ yje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function mje(e, t, n) {
- return (t = hje(t)) in e ? Object.defineProperty(e, t, {
+function yje(e, t, n) {
+ return (t = bje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hje(e) {
- var t = gje(e, "string");
+function bje(e) {
+ var t = xje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gje(e, t) {
+function xje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63014,34 +63015,34 @@ function gje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function _je(e, t) {
+function Sje(e, t) {
return I$(I$({}, t), e);
}
-function vje(e, t) {
+function Cje(e, t) {
return e === "symbols";
}
function L$(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
case "rectangle": return /*#__PURE__*/ L.createElement(DW, n);
- case "trapezoid": return /*#__PURE__*/ L.createElement(uje, n);
+ case "trapezoid": return /*#__PURE__*/ L.createElement(hje, n);
case "sector": return /*#__PURE__*/ L.createElement(RW, n);
case "symbols":
- if (vje(t, n)) return /*#__PURE__*/ L.createElement(JL, n);
+ if (Cje(t, n)) return /*#__PURE__*/ L.createElement(JL, n);
break;
case "curve": return /*#__PURE__*/ L.createElement(eW, n);
default: return null;
}
}
-function yje(e) {
+function wje(e) {
return /*#__PURE__*/ (0, L.isValidElement)(e) ? e.props : e;
}
function R$(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = fje(e, dje), o;
- if (/*#__PURE__*/ (0, L.isValidElement)(t)) o = /*#__PURE__*/ (0, L.cloneElement)(t, I$(I$({}, a), yje(t)));
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = _je(e, gje), o;
+ if (/*#__PURE__*/ (0, L.isValidElement)(t)) o = /*#__PURE__*/ (0, L.cloneElement)(t, I$(I$({}, a), wje(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (eje(t) && typeof t != "boolean") {
- var s = _je(t, a);
+ else if (aje(t) && typeof t != "boolean") {
+ var s = Sje(t, a);
o = /*#__PURE__*/ L.createElement(L$, {
shapeType: n,
elementProps: s
@@ -63070,12 +63071,12 @@ var z$ = (e, t, n) => {
}, B$ = (e) => {
var t = ER();
return (n, r) => (i) => {
- e?.(n, r, i), t(iDe());
+ e?.(n, r, i), t(lDe());
};
}, V$ = (e, t, n) => {
var r = ER();
return (i, a) => (o) => {
- e?.(i, a, o), r(aDe({
+ e?.(i, a, o), r(uDe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -63088,7 +63089,7 @@ var z$ = (e, t, n) => {
function H$(e) {
var { tooltipEntrySettings: t } = e, n = ER(), r = qV(), i = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => {
- r || (i.current === null ? n(eDe(t)) : i.current !== t && n(tDe({
+ r || (i.current === null ? n(aDe(t)) : i.current !== t && n(oDe({
prev: i.current,
next: t
})), i.current = t);
@@ -63097,7 +63098,7 @@ function H$(e) {
n,
r
]), (0, L.useLayoutEffect)(() => () => {
- i.current &&= (n(nDe(i.current)), null);
+ i.current &&= (n(sDe(i.current)), null);
}, [n]), null;
}
//#endregion
@@ -63134,21 +63135,21 @@ function W$(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var bje = L.useId ?? (() => {
+var Tje = L.useId ?? (() => {
var [e] = L.useState(() => FL("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function xje(e, t) {
- var n = bje();
+function Eje(e, t) {
+ var n = Tje();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var Sje = /*#__PURE__*/ (0, L.createContext)(void 0), G$ = (e) => {
- var { id: t, type: n, children: r } = e, i = xje(`recharts-${n}`, t);
- return /*#__PURE__*/ L.createElement(Sje.Provider, { value: i }, r(i));
+var Dje = /*#__PURE__*/ (0, L.createContext)(void 0), G$ = (e) => {
+ var { id: t, type: n, children: r } = e, i = Eje(`recharts-${n}`, t);
+ return /*#__PURE__*/ L.createElement(Dje.Provider, { value: i }, r(i));
}, K$ = dB({
name: "graphicalItems",
initialState: {
@@ -63197,40 +63198,40 @@ var Sje = /*#__PURE__*/ (0, L.createContext)(void 0), G$ = (e) => {
prepare: sB()
}
}
-}), { addCartesianGraphicalItem: Cje, replaceCartesianGraphicalItem: wje, removeCartesianGraphicalItem: Tje, addPolarGraphicalItem: Eje, removePolarGraphicalItem: Dje, replacePolarGraphicalItem: Oje } = K$.actions, kje = K$.reducer, q$ = /*#__PURE__*/ (0, L.memo)((e) => {
+}), { addCartesianGraphicalItem: Oje, replaceCartesianGraphicalItem: kje, removeCartesianGraphicalItem: Aje, addPolarGraphicalItem: jje, removePolarGraphicalItem: Mje, replacePolarGraphicalItem: Nje } = K$.actions, Pje = K$.reducer, q$ = /*#__PURE__*/ (0, L.memo)((e) => {
var t = ER(), n = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => {
- n.current === null ? t(Cje(e)) : n.current !== e && t(wje({
+ n.current === null ? t(Oje(e)) : n.current !== e && t(kje({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, L.useLayoutEffect)(() => () => {
- n.current &&= (t(Tje(n.current)), null);
+ n.current &&= (t(Aje(n.current)), null);
}, [t]), null;
}), J$ = /*#__PURE__*/ (0, L.memo)((e) => {
var t = ER(), n = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => {
- n.current === null ? t(Eje(e)) : n.current !== e && t(Oje({
+ n.current === null ? t(jje(e)) : n.current !== e && t(Nje({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, L.useLayoutEffect)(() => () => {
- n.current &&= (t(Dje(n.current)), null);
+ n.current &&= (t(Mje(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function Aje(e) {
+function Fje(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function jje(e) {
- if (!(!aR(e) || e.length === 0)) return Aje(u$(e));
+function Ije(e) {
+ if (!(!aR(e) || e.length === 0)) return Fje(u$(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var Mje = ["points"];
+var Lje = ["points"];
function Y$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -63245,26 +63246,26 @@ function X$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Y$(Object(n), !0).forEach(function(t) {
- Nje(e, t, n[t]);
+ Rje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Nje(e, t, n) {
- return (t = Pje(t)) in e ? Object.defineProperty(e, t, {
+function Rje(e, t, n) {
+ return (t = zje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Pje(e) {
- var t = Fje(e, "string");
+function zje(e) {
+ var t = Bje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Fje(e, t) {
+function Bje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63283,16 +63284,16 @@ function Z$() {
return e;
}, Z$.apply(null, arguments);
}
-function Ije(e, t) {
+function Vje(e, t) {
if (e == null) return {};
- var n, r, i = Lje(e, t);
+ var n, r, i = Hje(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Lje(e, t) {
+function Hje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63301,20 +63302,20 @@ function Lje(e, t) {
}
return n;
}
-function Rje(e) {
+function Uje(e) {
var { option: t, dotProps: n, className: r } = e;
if (/*#__PURE__*/ (0, L.isValidElement)(t)) return /*#__PURE__*/ (0, L.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = Xa(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = Ije(a, Mje);
+ var i = eo(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = Vje(a, Lje);
return /*#__PURE__*/ L.createElement(GQ, Z$({}, s, { className: i }));
}
-function zje(e, t) {
+function Wje(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
function Q$(e) {
var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = pG.scatter } = e;
- if (!zje(t, n)) return null;
- var u = k$(n), d = W_e(n), f = t.map((e, r) => {
+ if (!Wje(t, n)) return null;
+ var u = k$(n), d = Y_e(n), f = t.map((e, r) => {
var s = X$(X$(X$({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
@@ -63324,7 +63325,7 @@ function Q$(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ L.createElement(Rje, {
+ return /*#__PURE__*/ L.createElement(Uje, {
key: `dot-${r}`,
option: n,
dotProps: s,
@@ -63349,26 +63350,26 @@ function e1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? $$(Object(n), !0).forEach(function(t) {
- Bje(e, t, n[t]);
+ Gje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Bje(e, t, n) {
- return (t = Vje(t)) in e ? Object.defineProperty(e, t, {
+function Gje(e, t, n) {
+ return (t = Kje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Vje(e) {
- var t = Hje(e, "string");
+function Kje(e) {
+ var t = qje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Hje(e, t) {
+function qje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63456,7 +63457,7 @@ var t1 = dB({
}
}
}
-}), { addXAxis: Uje, replaceXAxis: Wje, removeXAxis: Gje, addYAxis: Kje, replaceYAxis: qje, removeYAxis: Jje, addZAxis: Yje, replaceZAxis: Xje, removeZAxis: Zje, updateYAxisWidth: Qje } = t1.actions, $je = t1.reducer, eMe = $([
+}), { addXAxis: Jje, replaceXAxis: Yje, removeXAxis: Xje, addYAxis: Zje, replaceYAxis: Qje, removeYAxis: $je, addZAxis: eMe, replaceZAxis: tMe, removeZAxis: nMe, updateYAxisWidth: rMe } = t1.actions, iMe = t1.reducer, aMe = $([
$([UV], (e) => ({
top: e.top,
bottom: e.bottom,
@@ -63472,7 +63473,7 @@ var t1 = dB({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), n1 = () => Q(eMe), tMe = () => Q(PDe);
+}), n1 = () => Q(aMe), oMe = () => Q(zDe);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
function r1(e, t) {
@@ -63489,26 +63490,26 @@ function i1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? r1(Object(n), !0).forEach(function(t) {
- nMe(e, t, n[t]);
+ sMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function nMe(e, t, n) {
- return (t = rMe(t)) in e ? Object.defineProperty(e, t, {
+function sMe(e, t, n) {
+ return (t = cMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function rMe(e) {
- var t = iMe(e, "string");
+function cMe(e) {
+ var t = lMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function iMe(e, t) {
+function lMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63518,7 +63519,7 @@ function iMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var aMe = (e) => {
+var uMe = (e) => {
var { point: t, childIndex: n, mainColor: r, activeDot: i, dataKey: a, clipPath: o } = e;
if (i === !1 || t.x == null || t.y == null) return null;
var s = i1(i1(i1({}, {
@@ -63539,10 +63540,10 @@ var aMe = (e) => {
}, c);
};
function a1(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = pG.activeDot } = e, s = Q(sZ), c = tMe();
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = pG.activeDot } = e, s = Q(sZ), c = oMe();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return BL(l) ? null : /*#__PURE__*/ L.createElement(OZ, { zIndex: o }, /*#__PURE__*/ L.createElement(aMe, {
+ return BL(l) ? null : /*#__PURE__*/ L.createElement(OZ, { zIndex: o }, /*#__PURE__*/ L.createElement(uMe, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -63567,26 +63568,26 @@ function s1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? o1(Object(n), !0).forEach(function(t) {
- oMe(e, t, n[t]);
+ dMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oMe(e, t, n) {
- return (t = sMe(t)) in e ? Object.defineProperty(e, t, {
+function dMe(e, t, n) {
+ return (t = fMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sMe(e) {
- var t = cMe(e, "string");
+function fMe(e) {
+ var t = pMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cMe(e, t) {
+function pMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63596,13 +63597,13 @@ function cMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var c1 = (e, t) => t$(e, "radiusAxis", t), lMe = $([c1], (e) => {
+var c1 = (e, t) => t$(e, "radiusAxis", t), mMe = $([c1], (e) => {
if (e != null) return { scale: e };
-}), uMe = $([CG, c1], (e, t) => {
+}), hMe = $([CG, c1], (e, t) => {
if (e != null && t != null) return s1(s1({}, e), {}, { scale: t });
-}), dMe = (e, t, n, r) => r$(e, "radiusAxis", t, r), l1 = (e, t, n) => SG(e, n), u1 = (e, t, n) => t$(e, "angleAxis", n), fMe = $([l1, u1], (e, t) => {
+}), gMe = (e, t, n, r) => r$(e, "radiusAxis", t, r), l1 = (e, t, n) => SG(e, n), u1 = (e, t, n) => t$(e, "angleAxis", n), _Me = $([l1, u1], (e, t) => {
if (e != null && t != null) return s1(s1({}, e), {}, { scale: t });
-}), pMe = (e, t, n, r) => r$(e, "angleAxis", n, r), mMe = $([
+}), vMe = (e, t, n, r) => r$(e, "angleAxis", n, r), yMe = $([
l1,
u1,
AG
@@ -63614,30 +63615,30 @@ var c1 = (e, t) => t$(e, "radiusAxis", t), lMe = $([c1], (e) => {
cx: n.cx,
cy: n.cy
};
-}), hMe = (e, t, n, r, i) => i, gMe = $([
+}), bMe = (e, t, n, r, i) => i, xMe = $([
DH,
- uMe,
- dMe,
- fMe,
- pMe
-], (e, t, n, r, i) => oV(e, "radiusAxis") ? xV(t, n, !1) : xV(r, i, !1)), _Me = $([
- lMe,
+ hMe,
+ gMe,
+ _Me,
+ vMe
+], (e, t, n, r, i) => oV(e, "radiusAxis") ? xV(t, n, !1) : xV(r, i, !1)), SMe = $([
mMe,
+ yMe,
HW,
- $([KQ, hMe], (e, t) => {
+ $([KQ, bMe], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- gMe
+ xMe
], (e, t, n, r, i) => {
var { chartData: a, dataStartIndex: o, dataEndIndex: s } = n;
- if (e != null && t != null && a != null && i != null && r != null) return DMe({
+ if (e != null && t != null && a != null && i != null && r != null) return MMe({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), vMe = ["id"];
+}), CMe = ["id"];
function d1() {
return d1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -63661,26 +63662,26 @@ function p1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? f1(Object(n), !0).forEach(function(t) {
- yMe(e, t, n[t]);
+ wMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yMe(e, t, n) {
- return (t = bMe(t)) in e ? Object.defineProperty(e, t, {
+function wMe(e, t, n) {
+ return (t = TMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bMe(e) {
- var t = xMe(e, "string");
+function TMe(e) {
+ var t = EMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xMe(e, t) {
+function EMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63690,16 +63691,16 @@ function xMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function SMe(e, t) {
+function DMe(e, t) {
if (e == null) return {};
- var n, r, i = CMe(e, t);
+ var n, r, i = OMe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function CMe(e, t) {
+function OMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63711,7 +63712,7 @@ function CMe(e, t) {
function m1(e, t) {
return e && e !== "none" ? e : t;
}
-var wMe = (e) => {
+var kMe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
@@ -63721,7 +63722,7 @@ var wMe = (e) => {
value: CV(n, t),
payload: e
}];
-}, TMe = /*#__PURE__*/ L.memo((e) => {
+}, AMe = /*#__PURE__*/ L.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, tooltipType: s, id: c } = e, l = {
dataDefinedOnItem: void 0,
getPosition: UL,
@@ -63741,8 +63742,8 @@ var wMe = (e) => {
};
return /*#__PURE__*/ L.createElement(H$, { tooltipEntrySettings: l });
});
-function EMe(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = CI(SMe(n, vMe));
+function jMe(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = CI(DMe(n, CMe));
return /*#__PURE__*/ L.createElement(Q$, {
points: t,
dot: r,
@@ -63752,10 +63753,10 @@ function EMe(e) {
baseProps: o
});
}
-function DMe(e) {
+function MMe(e) {
var { radiusAxis: t, angleAxis: n, displayedData: r, dataKey: i, bandSize: a } = e, { cx: o, cy: s } = n, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = iV(e, n.dataKey, r), d = iV(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? jje(d) : d, m = BL(p) ? 0 : t.scale.map(p) ?? 0;
+ var a = iV(e, n.dataKey, r), d = iV(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? Ije(d) : d, m = BL(p) ? 0 : t.scale.map(p) ?? 0;
Array.isArray(d) && d.length >= 2 && (c = !0), l.push(p1(p1({}, MW(o, s, m, f)), {}, {
name: a,
value: d,
@@ -63778,7 +63779,7 @@ function DMe(e) {
baseLinePoints: d
};
}
-function OMe(e) {
+function NMe(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -63798,7 +63799,7 @@ function OMe(e) {
});
return /*#__PURE__*/ L.createElement(IQ, { value: t ? i : void 0 }, r);
}
-function kMe(e) {
+function PMe(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ L.isValidElement(i) ? /*#__PURE__*/ L.cloneElement(i, p1(p1({}, r), {}, { points: t })) : typeof i == "function" ? i(p1(p1({}, r), {}, { points: t })) : /*#__PURE__*/ L.createElement(UQ, d1({}, TI(r), {
@@ -63814,7 +63815,7 @@ function kMe(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ L.createElement(kI, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ L.createElement(EMe, {
+ return /*#__PURE__*/ L.createElement(kI, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ L.createElement(jMe, {
props: r,
points: t
}));
@@ -63829,13 +63830,13 @@ var h1 = (e, t, n) => (r, i) => {
y: RL(r.cy, r.y, n)
});
};
-function AMe(e) {
+function FMe(e) {
var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = yW(t, "recharts-radar-"), [_, v] = (0, L.useState)(!1), y = !_, b = (0, L.useCallback)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, L.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ L.createElement(OMe, {
+ return /*#__PURE__*/ L.createElement(NMe, {
showLabels: y,
points: i
}, /*#__PURE__*/ L.createElement(vW, {
@@ -63849,22 +63850,22 @@ function AMe(e) {
onAnimationStart: x
}, (e) => {
var o = e === 1 ? i : i.map(h1(f, m, e)), s = e === 1 ? a : a?.map(h1(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ L.createElement(kMe, {
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ L.createElement(PMe, {
points: o,
baseLinePoints: s,
props: t
});
}), /*#__PURE__*/ L.createElement(zQ, { label: t.label }), t.children);
}
-function jMe(e) {
+function IMe(e) {
var t = (0, L.useRef)(void 0), n = (0, L.useRef)(void 0);
- return /*#__PURE__*/ L.createElement(AMe, {
+ return /*#__PURE__*/ L.createElement(FMe, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var MMe = {
+var LMe = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -63878,27 +63879,27 @@ var MMe = {
radiusAxisId: 0,
zIndex: pG.area
};
-function NMe(e) {
+function RMe(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
- var i = Xa("recharts-radar", n);
- return /*#__PURE__*/ L.createElement(OZ, { zIndex: e.zIndex }, /*#__PURE__*/ L.createElement(kI, { className: i }, /*#__PURE__*/ L.createElement(jMe, e)), /*#__PURE__*/ L.createElement(a1, {
+ var i = eo("recharts-radar", n);
+ return /*#__PURE__*/ L.createElement(OZ, { zIndex: e.zIndex }, /*#__PURE__*/ L.createElement(kI, { className: i }, /*#__PURE__*/ L.createElement(IMe, e)), /*#__PURE__*/ L.createElement(a1, {
points: r,
mainColor: m1(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function PMe(e) {
- var t = qV(), n = Q((n) => _Me(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ L.createElement(NMe, d1({}, e, {
+function zMe(e) {
+ var t = qV(), n = Q((n) => SMe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ L.createElement(RMe, d1({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function g1(e) {
- var t = $L(e, MMe);
+ var t = $L(e, LMe);
return /*#__PURE__*/ L.createElement(G$, {
id: t.id,
type: "radar"
@@ -63910,7 +63911,7 @@ function g1(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ L.createElement(W$, { legendPayload: wMe(t) }), /*#__PURE__*/ L.createElement(TMe, {
+ }), /*#__PURE__*/ L.createElement(W$, { legendPayload: kMe(t) }), /*#__PURE__*/ L.createElement(AMe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -63919,7 +63920,7 @@ function g1(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ L.createElement(PMe, d1({}, t, { id: e }))));
+ }), /*#__PURE__*/ L.createElement(zMe, d1({}, t, { id: e }))));
}
g1.displayName = "Radar";
//#endregion
@@ -63978,26 +63979,26 @@ function C1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? S1(Object(n), !0).forEach(function(t) {
- FMe(e, t, n[t]);
+ BMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function FMe(e, t, n) {
- return (t = IMe(t)) in e ? Object.defineProperty(e, t, {
+function BMe(e, t, n) {
+ return (t = VMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function IMe(e) {
- var t = LMe(e, "string");
+function VMe(e) {
+ var t = HMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function LMe(e, t) {
+function HMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64007,7 +64008,7 @@ function LMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function RMe(e, t, n, r, i) {
+function UMe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
var o = IL(e, n, 0, !0), s, c = [];
@@ -64048,7 +64049,7 @@ function RMe(e, t, n, r, i) {
}
}
var w1 = (e, t, n, r, i, a, o) => {
- var s = BL(o) ? t : o, c = RMe(n, r, i === a ? a : i, e, s);
+ var s = BL(o) ? t : o, c = UMe(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => C1(C1({}, e), {}, { position: C1(C1({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, T1 = (e, t) => {
var n = NG(t);
@@ -64084,26 +64085,26 @@ function O1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? D1(Object(n), !0).forEach(function(t) {
- zMe(e, t, n[t]);
+ WMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zMe(e, t, n) {
- return (t = BMe(t)) in e ? Object.defineProperty(e, t, {
+function WMe(e, t, n) {
+ return (t = GMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function BMe(e) {
- var t = VMe(e, "string");
+function GMe(e) {
+ var t = KMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function VMe(e, t) {
+function KMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64115,7 +64116,7 @@ function VMe(e, t) {
}
var k1 = $([(e, t) => CG(e, t), (e, t) => t$(e, "radiusAxis", t)], (e, t) => {
if (e != null && t != null) return O1(O1({}, e), {}, { scale: t });
-}), A1 = (e, t) => eAe(e, "radiusAxis", t, !1), j1 = $([(e, t, n) => SG(e, n), (e, t, n) => t$(e, "angleAxis", n)], (e, t) => {
+}), A1 = (e, t) => aAe(e, "radiusAxis", t, !1), j1 = $([(e, t, n) => SG(e, n), (e, t, n) => t$(e, "angleAxis", n)], (e, t) => {
if (e != null && t != null) return O1(O1({}, e), {}, { scale: t });
}), M1 = (e, t, n) => r$(e, "angleAxis", n, !1), N1 = $([KQ, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
@@ -64125,20 +64126,20 @@ var k1 = $([(e, t) => CG(e, t), (e, t) => t$(e, "radiusAxis", t)], (e, t) => {
A1,
j1,
M1
-], (e, t, n, r, i) => oV(e, "radiusAxis") ? xV(t, n, !1) : xV(r, i, !1)), HMe = $([
+], (e, t, n, r, i) => oV(e, "radiusAxis") ? xV(t, n, !1) : xV(r, i, !1)), qMe = $([
j1,
k1,
DH
], (e, t, n) => {
var r = n === "radial" ? e : t;
if (r != null && r.scale != null) return hV({ numericAxis: r });
-}), UMe = (e, t, n, r, i) => i, WMe = (e, t, n, r, i) => n, GMe = (e, t, n, r, i) => t, F1 = (e, t, n, r, i) => r.maxBarSize, I1 = (e) => e.type === "radialBar", KMe = $([$([
+}), JMe = (e, t, n, r, i) => i, YMe = (e, t, n, r, i) => n, XMe = (e, t, n, r, i) => t, F1 = (e, t, n, r, i) => r.maxBarSize, I1 = (e) => e.type === "radialBar", ZMe = $([$([
$([
$([
DH,
KQ,
- WMe,
- GMe
+ YMe,
+ XMe
], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(I1)),
oG,
() => void 0
@@ -64169,7 +64170,7 @@ var k1 = $([(e, t) => CG(e, t), (e, t) => t$(e, "radiusAxis", t)], (e, t) => {
L1,
sG,
cG
-], jY), qMe = $([
+], jY), QMe = $([
j1,
M1,
k1,
@@ -64178,16 +64179,16 @@ var k1 = $([(e, t) => CG(e, t), (e, t) => t$(e, "radiusAxis", t)], (e, t) => {
N1,
P1,
DH,
- HMe,
+ qMe,
AG,
- UMe,
- KMe,
+ JMe,
+ ZMe,
$([(e, t, n) => DH(e) === "centric" ? R1(e, "radiusAxis", t) : R1(e, "angleAxis", n), N1], T1)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = i;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
var { dataKey: g, minPointSize: _ } = a, { cx: v, cy: y, startAngle: b, endAngle: x } = l;
- return uNe({
+ return hNe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -64208,7 +64209,7 @@ var k1 = $([(e, t) => CG(e, t), (e, t) => t$(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), JMe = $([HW, (e, t) => t], (e, t) => {
+}), $Me = $([HW, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -64226,16 +64227,16 @@ function z1(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var YMe = [
+var eNe = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], XMe = [
+], tNe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], ZMe = ["value", "background"];
+], nNe = ["value", "background"];
function B1() {
return B1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -64259,26 +64260,26 @@ function H1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V1(Object(n), !0).forEach(function(t) {
- QMe(e, t, n[t]);
+ rNe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function QMe(e, t, n) {
- return (t = $Me(t)) in e ? Object.defineProperty(e, t, {
+function rNe(e, t, n) {
+ return (t = iNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $Me(e) {
- var t = eNe(e, "string");
+function iNe(e) {
+ var t = aNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eNe(e, t) {
+function aNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64290,14 +64291,14 @@ function eNe(e, t) {
}
function U1(e, t) {
if (e == null) return {};
- var n, r, i = tNe(e, t);
+ var n, r, i = oNe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function tNe(e, t) {
+function oNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64307,7 +64308,7 @@ function tNe(e, t) {
return n;
}
var W1 = [];
-function nNe(e) {
+function sNe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -64324,11 +64325,11 @@ function nNe(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ L.createElement(Hke, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ L.createElement(qke, { value: t ? i : void 0 }, r);
}
-function rNe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = U1(n, YMe), l = CI(c), u = Q(sZ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = U1(n, XMe), h = z$(d, n.dataKey, s), g = B$(p), _ = V$(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ L.createElement(nNe, {
+function cNe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = U1(n, eNe), l = CI(c), u = Q(sZ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = U1(n, tNe), h = z$(d, n.dataKey, s), g = B$(p), _ = V$(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ L.createElement(sNe, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
@@ -64349,7 +64350,7 @@ function rNe(e) {
}, /*#__PURE__*/ L.createElement(y1, f)) : /*#__PURE__*/ L.createElement(y1, B1({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
}), /*#__PURE__*/ L.createElement(zQ, { label: n.label }), n.children);
}
-function iNe(e) {
+function lNe(e) {
var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = yW(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, L.useState)(!1), m = (0, L.useCallback)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, L.useCallback)(() => {
@@ -64374,25 +64375,25 @@ function iNe(e) {
var { endAngle: i, startAngle: a } = t;
return H1(H1({}, t), {}, { endAngle: RL(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ L.createElement(rNe, {
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ L.createElement(cNe, {
sectors: i ?? W1,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function aNe(e) {
+function uNe(e) {
var t = (0, L.useRef)(null);
- return /*#__PURE__*/ L.createElement(iNe, {
+ return /*#__PURE__*/ L.createElement(lNe, {
props: e,
previousSectorsRef: t
});
}
-function oNe(e) {
- var t = Q((t) => JMe(t, e.legendType));
+function dNe(e) {
+ var t = Q((t) => $Me(t, e.legendType));
return /*#__PURE__*/ L.createElement(W$, { legendPayload: t ?? [] });
}
-var sNe = /*#__PURE__*/ L.memo((e) => {
+var fNe = /*#__PURE__*/ L.memo((e) => {
var { dataKey: t, sectors: n, stroke: r, strokeWidth: i, name: a, hide: o, fill: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: n,
getPosition: UL,
@@ -64411,16 +64412,16 @@ var sNe = /*#__PURE__*/ L.memo((e) => {
}
};
return /*#__PURE__*/ L.createElement(H$, { tooltipEntrySettings: u });
-}), cNe = class extends L.PureComponent {
+}), pNe = class extends L.PureComponent {
renderBackground(e) {
if (e == null) return null;
var { cornerRadius: t } = this.props, n = wI(this.props.background);
return /*#__PURE__*/ L.createElement(OZ, { zIndex: z1(this.props.background, pG.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = U1(e, ZMe);
+ var { value: i, background: a } = e, o = U1(e, nNe);
if (!a) return null;
var s = H1(H1(H1(H1(H1({ cornerRadius: v1(t) }, o), {}, { fill: "#eee" }, a), n), ZL(this.props, e, r)), {}, {
index: r,
- className: Xa("recharts-radial-bar-background-sector", String(n?.className)),
+ className: eo("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
isActive: !1
});
@@ -64430,11 +64431,11 @@ var sNe = /*#__PURE__*/ L.memo((e) => {
render() {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
- var i = Xa("recharts-area", n);
- return /*#__PURE__*/ L.createElement(OZ, { zIndex: this.props.zIndex }, /*#__PURE__*/ L.createElement(kI, { className: i }, r && /*#__PURE__*/ L.createElement(kI, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ L.createElement(kI, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ L.createElement(aNe, this.props))));
+ var i = eo("recharts-area", n);
+ return /*#__PURE__*/ L.createElement(OZ, { zIndex: this.props.zIndex }, /*#__PURE__*/ L.createElement(kI, { className: i }, r && /*#__PURE__*/ L.createElement(kI, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ L.createElement(kI, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ L.createElement(uNe, this.props))));
}
};
-function lNe(e) {
+function mNe(e) {
var t = L.useMemo(() => O$(e.children, GZ), [e.children]), n = L.useMemo(() => ({
data: void 0,
hide: !1,
@@ -64456,8 +64457,8 @@ function lNe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => qMe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? W1;
- return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(sNe, {
+ ]), r = Q((r) => QMe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? W1;
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(fNe, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -64467,7 +64468,7 @@ function lNe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ L.createElement(cNe, B1({}, e, { sectors: r })));
+ }), /*#__PURE__*/ L.createElement(pNe, B1({}, e, { sectors: r })));
}
var G1 = {
angleAxisId: 0,
@@ -64486,7 +64487,7 @@ var G1 = {
radiusAxisId: 0,
zIndex: pG.bar
};
-function uNe(e) {
+function hNe(e) {
var { displayedData: t, stackedData: n, dataStartIndex: r, stackedDomain: i, dataKey: a, baseValue: o, layout: s, radiusAxis: c, radiusAxisTicks: l, bandSize: u, pos: d, angleAxis: f, minPointSize: p, cx: m, cy: h, angleAxisTicks: g, cells: _, startAngle: v, endAngle: y } = e;
return g == null || l == null ? W1 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
@@ -64558,7 +64559,7 @@ function K1(e) {
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ L.createElement(oNe, t), /*#__PURE__*/ L.createElement(lNe, B1({}, t, { id: e }))));
+ }), /*#__PURE__*/ L.createElement(dNe, t), /*#__PURE__*/ L.createElement(mNe, B1({}, t, { id: e }))));
}
K1.displayName = "RadialBar";
//#endregion
@@ -64589,7 +64590,7 @@ var q1 = (e) => {
reducers: { setBrushSettings(e, t) {
return t.payload == null ? J1 : t.payload;
} }
-}), { setBrushSettings: dNe } = Y1.actions, fNe = Y1.reducer, pNe = (e, t) => {
+}), { setBrushSettings: gNe } = Y1.actions, _Ne = Y1.reducer, vNe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -64597,9 +64598,9 @@ var q1 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, mNe = (e) => {
+}, yNe = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return pNe({
+ return vNe({
x: t,
y: n
}, {
@@ -64607,11 +64608,11 @@ var q1 = (e) => {
y: i
});
};
-function hNe(e) {
+function bNe(e) {
return (e % 180 + 180) % 180;
}
-var gNe = function(e) {
- var { width: t, height: n } = e, r = hNe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
+var xNe = function(e) {
+ var { width: t, height: n } = e, r = bNe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
return Math.abs(a);
}, X1 = dB({
name: "referenceElements",
@@ -64643,7 +64644,7 @@ var gNe = function(e) {
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: _Ne, removeDot: vNe, addArea: yNe, removeArea: bNe, addLine: xNe, removeLine: SNe } = X1.actions, CNe = X1.reducer, Z1 = /*#__PURE__*/ (0, L.createContext)(void 0), wNe = (e) => {
+}), { addDot: SNe, removeDot: CNe, addArea: wNe, removeArea: TNe, addLine: ENe, removeLine: DNe } = X1.actions, ONe = X1.reducer, Z1 = /*#__PURE__*/ (0, L.createContext)(void 0), kNe = (e) => {
var { children: t } = e, [n] = (0, L.useState)(`${FL("recharts")}-clip`), r = n1();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
@@ -64653,7 +64654,7 @@ var gNe = function(e) {
height: s,
width: o
}))), t);
-}, TNe = () => (0, L.useContext)(Z1), ENe = class {
+}, ANe = () => (0, L.useContext)(Z1), jNe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -64693,26 +64694,26 @@ function $1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Q1(Object(n), !0).forEach(function(t) {
- DNe(e, t, n[t]);
+ MNe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function DNe(e, t, n) {
- return (t = ONe(t)) in e ? Object.defineProperty(e, t, {
+function MNe(e, t, n) {
+ return (t = NNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ONe(e) {
- var t = kNe(e, "string");
+function NNe(e) {
+ var t = PNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kNe(e, t) {
+function PNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64731,7 +64732,7 @@ function e0() {
return e;
}, e0.apply(null, arguments);
}
-var ANe = (e, t) => {
+var FNe = (e, t) => {
var n;
if (/*#__PURE__*/ L.isValidElement(e)) n = /*#__PURE__*/ L.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
@@ -64740,7 +64741,7 @@ var ANe = (e, t) => {
n = /*#__PURE__*/ L.createElement("line", e0({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, jNe = (e, t, n, r, i, a) => {
+}, INe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
if (!ZB(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
@@ -64751,7 +64752,7 @@ var ANe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, MNe = (e, t, n, r, i, a) => {
+}, LNe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
if (!ZB(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
@@ -64762,7 +64763,7 @@ var ANe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, NNe = (e, t, n, r) => {
+}, RNe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -64771,23 +64772,23 @@ var ANe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, PNe = (e, t, n, r, i, a, o) => {
+}, zNe = (e, t, n, r, i, a, o) => {
var { x: s, y: c, segment: l, ifOverflow: u } = o, d = PL(s);
- return PL(c) ? jNe(c, u, r, a, t, n) : d ? MNe(s, u, r, i, e, n) : l != null && l.length === 2 ? NNe(l, u, r, new ENe({
+ return PL(c) ? INe(c, u, r, a, t, n) : d ? LNe(s, u, r, i, e, n) : l != null && l.length === 2 ? RNe(l, u, r, new jNe({
x: e,
y: t
})) : null;
};
-function FNe(e) {
+function BNe(e) {
var t = ER();
- return (0, L.useEffect)(() => (t(xNe(e)), () => {
- t(SNe(e));
+ return (0, L.useEffect)(() => (t(ENe(e)), () => {
+ t(DNe(e));
})), null;
}
-function INe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = qV(), s = TNe(), c = Q((e) => oY(e, t)), l = Q((e) => lY(e, n)), u = Q((e) => oX(e, "xAxis", t, o)), d = Q((e) => oX(e, "yAxis", n, o)), f = xH();
+function VNe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = qV(), s = ANe(), c = Q((e) => oY(e, t)), l = Q((e) => lY(e, n)), u = Q((e) => oX(e, "xAxis", t, o)), d = Q((e) => oX(e, "yAxis", n, o)), f = xH();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = PNe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = zNe(u, d, f, e.position, c.orientation, l.orientation, e);
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
@@ -64796,18 +64797,18 @@ function INe(e) {
y1: _,
x2: v,
y2: y
- }), x = mNe({
+ }), x = yNe({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ L.createElement(OZ, { zIndex: e.zIndex }, /*#__PURE__*/ L.createElement(kI, { className: Xa("recharts-reference-line", i) }, ANe(r, b), /*#__PURE__*/ L.createElement(wQ, e0({}, x, {
+ return /*#__PURE__*/ L.createElement(OZ, { zIndex: e.zIndex }, /*#__PURE__*/ L.createElement(kI, { className: eo("recharts-reference-line", i) }, FNe(r, b), /*#__PURE__*/ L.createElement(wQ, e0({}, x, {
lowerWidth: x.width,
upperWidth: x.width
}), /*#__PURE__*/ L.createElement(MQ, { label: e.label }), e.children)));
}
-var LNe = {
+var HNe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -64820,15 +64821,15 @@ var LNe = {
zIndex: pG.line
};
function t0(e) {
- var t = $L(e, LNe);
- return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(FNe, {
+ var t = $L(e, HNe);
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(BNe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ L.createElement(INe, t));
+ }), /*#__PURE__*/ L.createElement(VNe, t));
}
t0.displayName = "ReferenceLine";
//#endregion
@@ -64844,13 +64845,13 @@ function n0(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function RNe(e, t, n) {
- return gNe({
+function UNe(e, t, n) {
+ return xNe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function zNe(e, t, n) {
+function WNe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -64865,12 +64866,12 @@ function r0(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function BNe(e, t) {
+function GNe(e, t) {
return n0(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function VNe(e, t, n, r, i) {
+function KNe(e, t, n, r, i) {
for (var a = (r || []).slice(), { start: o, end: s } = t, c = 0, l = 1, u = o, d = function() {
var t = r?.[c];
if (t === void 0) return { v: n0(r, l) };
@@ -64879,7 +64880,7 @@ function VNe(e, t, n, r, i) {
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function HNe(e, t, n, r, i) {
+function qNe(e, t, n, r, i) {
var a = (r || []).slice().length;
if (a === 0) return [];
for (var { start: o, end: s } = t, c = 1; c <= a; c++) {
@@ -64916,26 +64917,26 @@ function a0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? i0(Object(n), !0).forEach(function(t) {
- UNe(e, t, n[t]);
+ JNe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function UNe(e, t, n) {
- return (t = WNe(t)) in e ? Object.defineProperty(e, t, {
+function JNe(e, t, n) {
+ return (t = YNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function WNe(e) {
- var t = GNe(e, "string");
+function YNe(e) {
+ var t = XNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function GNe(e, t) {
+function XNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64945,7 +64946,7 @@ function GNe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function KNe(e, t, n, r, i) {
+function ZNe(e, t, n, r, i) {
for (var a = (r || []).slice(), o = a.length, { start: s } = t, { end: c } = t, l = function(t) {
var r = a[t];
if (r == null) return 1;
@@ -64958,7 +64959,7 @@ function KNe(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function qNe(e, t, n, r, i, a) {
+function QNe(e, t, n, r, i, a) {
var o = (r || []).slice(), s = o.length, { start: c, end: l } = t;
if (a) {
var u = r[s - 1];
@@ -64982,7 +64983,7 @@ function qNe(e, t, n, r, i, a) {
function o0(e, t, n) {
var { tick: r, ticks: i, viewBox: a, minTickGap: o, orientation: s, interval: c, tickFormatter: l, unit: u, angle: d } = e;
if (!i || !i.length || !r) return [];
- if (Z(c) || BU.isSsr) return BNe(i, Z(c) ? c : 0) ?? [];
+ if (Z(c) || BU.isSsr) return GNe(i, Z(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? ZZ(u, {
fontSize: t,
letterSpacing: n
@@ -64991,19 +64992,19 @@ function o0(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? RNe(ZZ(i, {
+ return p === "width" ? UNe(ZZ(i, {
fontSize: t,
letterSpacing: n
}), m, d) : ZZ(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? jL(_.coordinate - g.coordinate) : 1, y = zNe(a, v, p);
- return c === "equidistantPreserveStart" ? VNe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? HNe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? qNe(v, y, h, i, o, c === "preserveStartEnd") : KNe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? jL(_.coordinate - g.coordinate) : 1, y = WNe(a, v, p);
+ return c === "equidistantPreserveStart" ? KNe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? qNe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? QNe(v, y, h, i, o, c === "preserveStartEnd") : ZNe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var JNe = (e) => {
+var $Ne = (e) => {
var { ticks: t, label: n, labelGapWithTick: r = 5, tickSize: i = 0, tickMargin: a = 0 } = e, o = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -65032,7 +65033,7 @@ var JNe = (e) => {
delete e[n][r];
}
}
-}), { setRenderedTicks: YNe, removeRenderedTicks: XNe } = s0.actions, ZNe = s0.reducer, QNe = [
+}), { setRenderedTicks: ePe, removeRenderedTicks: tPe } = s0.actions, nPe = s0.reducer, rPe = [
"axisLine",
"width",
"height",
@@ -65042,16 +65043,16 @@ var JNe = (e) => {
"axisType",
"axisId"
];
-function $Ne(e, t) {
+function iPe(e, t) {
if (e == null) return {};
- var n, r, i = ePe(e, t);
+ var n, r, i = aPe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function ePe(e, t) {
+function aPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65083,26 +65084,26 @@ function u0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? l0(Object(n), !0).forEach(function(t) {
- tPe(e, t, n[t]);
+ oPe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function tPe(e, t, n) {
- return (t = nPe(t)) in e ? Object.defineProperty(e, t, {
+function oPe(e, t, n) {
+ return (t = sPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nPe(e) {
- var t = rPe(e, "string");
+function sPe(e) {
+ var t = cPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rPe(e, t) {
+function cPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65136,7 +65137,7 @@ var d0 = {
interval: "preserveEnd",
zIndex: pG.axis
};
-function iPe(e) {
+function lPe(e) {
var { x: t, y: n, width: r, height: i, orientation: a, mirror: o, axisLine: s, otherSvgProps: c } = e;
if (!s) return null;
var l = u0(u0(u0({}, c), CI(s)), {}, { fill: "none" });
@@ -65157,9 +65158,9 @@ function iPe(e) {
y2: n + i
});
}
- return /*#__PURE__*/ L.createElement("line", c0({}, l, { className: Xa("recharts-cartesian-axis-line", OL(s, "className")) }));
+ return /*#__PURE__*/ L.createElement("line", c0({}, l, { className: eo("recharts-cartesian-axis-line", OL(s, "className")) }));
}
-function aPe(e, t, n, r, i, a, o, s, c) {
+function uPe(e, t, n, r, i, a, o, s, c) {
var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = Z(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
@@ -65186,14 +65187,14 @@ function aPe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function oPe(e, t) {
+function dPe(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function sPe(e, t) {
+function fPe(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -65201,19 +65202,19 @@ function sPe(e, t) {
default: return t ? "end" : "start";
}
}
-function cPe(e) {
- var { option: t, tickProps: n, value: r } = e, i, a = Xa(n.className, "recharts-cartesian-axis-tick-value");
+function pPe(e) {
+ var { option: t, tickProps: n, value: r } = e, i, a = eo(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ L.isValidElement(t)) i = /*#__PURE__*/ L.cloneElement(t, u0(u0({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(u0(u0({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = Xa(o, f$(t))), i = /*#__PURE__*/ L.createElement(gQ, c0({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = eo(o, f$(t))), i = /*#__PURE__*/ L.createElement(gQ, c0({}, n, { className: o }), r);
}
return i;
}
-function lPe(e) {
+function mPe(e) {
var { ticks: t, axisType: n, axisId: r } = e, i = ER();
- return (0, L.useEffect)(() => r == null || n == null ? UL : (i(YNe({
+ return (0, L.useEffect)(() => r == null || n == null ? UL : (i(ePe({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -65223,7 +65224,7 @@ function lPe(e) {
axisId: r,
axisType: n
})), () => {
- i(XNe({
+ i(tPe({
axisId: r,
axisType: n
}));
@@ -65234,15 +65235,15 @@ function lPe(e) {
n
]), null;
}
-var uPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = o0(u0(u0({}, b), {}, { ticks: n }), v, y), T = CI(b), E = wI(r), D = uQ(T.textAnchor) ? T.textAnchor : oPe(u, d), O = sPe(u, d), k = {};
+var hPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = o0(u0(u0({}, b), {}, { ticks: n }), v, y), T = CI(b), E = wI(r), D = uQ(T.textAnchor) ? T.textAnchor : dPe(u, d), O = fPe(u, d), k = {};
typeof i == "object" && (k = i);
- var A = u0(u0({}, T), {}, { fill: "none" }, k), j = w.map((e) => u0({ entry: e }, aPe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = u0(u0({}, T), {}, { fill: "none" }, k), j = w.map((e) => u0({ entry: e }, uPe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
return /*#__PURE__*/ L.createElement(kI, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ L.createElement("line", c0({}, A, n, { className: Xa("recharts-cartesian-axis-tick-line", OL(i, "className")) })));
+ }, i && /*#__PURE__*/ L.createElement("line", c0({}, A, n, { className: eo("recharts-cartesian-axis-tick-line", OL(i, "className")) })));
}), N = j.map((e, t) => {
var { entry: n, tick: i } = e, u = u0(u0({}, u0(u0(u0(u0({ verticalAnchor: O }, T), {}, {
textAnchor: D,
@@ -65258,13 +65259,13 @@ var uPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
return /*#__PURE__*/ L.createElement(kI, c0({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, ZL(x, n, t)), r && /*#__PURE__*/ L.createElement(cPe, {
+ }, ZL(x, n, t)), r && /*#__PURE__*/ L.createElement(pPe, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
}));
});
- return /*#__PURE__*/ L.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ L.createElement(lPe, {
+ return /*#__PURE__*/ L.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ L.createElement(mPe, {
ticks: w,
axisId: C,
axisType: S
@@ -65272,9 +65273,9 @@ var uPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, N)), M.length > 0 && /*#__PURE__*/ L.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));
-}), dPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = $Ne(e, QNe), [d, f] = (0, L.useState)(""), [p, m] = (0, L.useState)(""), h = (0, L.useRef)(null);
- (0, L.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => JNe({
+}), gPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = iPe(e, rPe), [d, f] = (0, L.useState)(""), [p, m] = (0, L.useState)(""), h = (0, L.useRef)(null);
+ (0, L.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => $Ne({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -65292,7 +65293,7 @@ var uPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ L.createElement(OZ, { zIndex: e.zIndex }, /*#__PURE__*/ L.createElement(kI, { className: Xa("recharts-cartesian-axis", a) }, /*#__PURE__*/ L.createElement(iPe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ L.createElement(OZ, { zIndex: e.zIndex }, /*#__PURE__*/ L.createElement(kI, { className: eo("recharts-cartesian-axis", a) }, /*#__PURE__*/ L.createElement(lPe, {
x: e.x,
y: e.y,
width: r,
@@ -65301,7 +65302,7 @@ var uPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
mirror: e.mirror,
axisLine: n,
otherSvgProps: CI(e)
- }), /*#__PURE__*/ L.createElement(uPe, {
+ }), /*#__PURE__*/ L.createElement(hPe, {
ref: g,
axisType: c,
events: u,
@@ -65338,18 +65339,18 @@ var uPe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
}), e.children)));
}), f0 = /*#__PURE__*/ L.forwardRef((e, t) => {
var n = $L(e, d0);
- return /*#__PURE__*/ L.createElement(dPe, c0({}, n, { ref: t }));
+ return /*#__PURE__*/ L.createElement(gPe, c0({}, n, { ref: t }));
});
f0.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var fPe = [
+var _Pe = [
"x1",
"y1",
"x2",
"y2",
"key"
-], pPe = ["offset"], mPe = ["xAxisId", "yAxisId"], hPe = ["xAxisId", "yAxisId"];
+], vPe = ["offset"], yPe = ["xAxisId", "yAxisId"], bPe = ["xAxisId", "yAxisId"];
function p0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -65364,26 +65365,26 @@ function m0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? p0(Object(n), !0).forEach(function(t) {
- gPe(e, t, n[t]);
+ xPe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function gPe(e, t, n) {
- return (t = _Pe(t)) in e ? Object.defineProperty(e, t, {
+function xPe(e, t, n) {
+ return (t = SPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _Pe(e) {
- var t = vPe(e, "string");
+function SPe(e) {
+ var t = CPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vPe(e, t) {
+function CPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65404,14 +65405,14 @@ function h0() {
}
function g0(e, t) {
if (e == null) return {};
- var n, r, i = yPe(e, t);
+ var n, r, i = wPe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function yPe(e, t) {
+function wPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65420,7 +65421,7 @@ function yPe(e, t) {
}
return n;
}
-var bPe = (e) => {
+var TPe = (e) => {
var { fill: t } = e;
if (!t || t === "none") return null;
var { fillOpacity: n, x: r, y: i, width: a, height: o, ry: s } = e;
@@ -65441,7 +65442,7 @@ function _0(e) {
if (/*#__PURE__*/ L.isValidElement(t)) r = /*#__PURE__*/ L.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = CI(g0(n, fPe)) ?? {}, { offset: u } = l, d = g0(l, pPe);
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = CI(g0(n, _Pe)) ?? {}, { offset: u } = l, d = g0(l, vPe);
r = /*#__PURE__*/ L.createElement("line", h0({}, d, {
x1: i,
y1: a,
@@ -65453,10 +65454,10 @@ function _0(e) {
}
return r;
}
-function xPe(e) {
+function EPe(e) {
var { x: t, width: n, horizontal: r = !0, horizontalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = g0(e, mPe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = g0(e, yPe), c = i.map((e, i) => {
var a = m0(m0({}, s), {}, {
x1: t,
y1: e,
@@ -65473,10 +65474,10 @@ function xPe(e) {
});
return /*#__PURE__*/ L.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function SPe(e) {
+function DPe(e) {
var { y: t, height: n, vertical: r = !0, verticalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = g0(e, hPe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = g0(e, bPe), c = i.map((e, i) => {
var a = m0(m0({}, s), {}, {
x1: e,
y1: t,
@@ -65493,7 +65494,7 @@ function SPe(e) {
});
return /*#__PURE__*/ L.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function CPe(e) {
+function OPe(e) {
var { horizontalFill: t, fillOpacity: n, x: r, y: i, width: a, height: o, horizontalPoints: s, horizontal: c = !0 } = e;
if (!c || !t || !t.length || s == null) return null;
var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -65516,7 +65517,7 @@ function CPe(e) {
});
return /*#__PURE__*/ L.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function wPe(e) {
+function kPe(e) {
var { vertical: t = !0, verticalFill: n, fillOpacity: r, x: i, y: a, width: o, height: s, verticalPoints: c } = e;
if (!t || !n || !n.length) return null;
var l = c.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -65539,7 +65540,7 @@ function wPe(e) {
});
return /*#__PURE__*/ L.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var TPe = (e, t) => {
+var APe = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
return sV(o0(m0(m0(m0({}, d0), n), {}, {
ticks: cV(n, !0),
@@ -65550,7 +65551,7 @@ var TPe = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, EPe = (e, t) => {
+}, jPe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
return sV(o0(m0(m0(m0({}, d0), n), {}, {
ticks: cV(n, !0),
@@ -65561,7 +65562,7 @@ var TPe = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, DPe = {
+}, MPe = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -65576,14 +65577,14 @@ var TPe = (e, t) => {
zIndex: pG.grid
};
function v0(e) {
- var t = wH(), n = TH(), r = CH(), i = m0(m0({}, $L(e, DPe)), {}, {
+ var t = wH(), n = TH(), r = CH(), i = m0(m0({}, $L(e, MPe)), {}, {
x: Z(e.x) ? e.x : r.left,
y: Z(e.y) ? e.y : r.top,
width: Z(e.width) ? e.width : r.width,
height: Z(e.height) ? e.height : r.height
}), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = qV(), h = Q((e) => gX(e, "xAxis", a, m)), g = Q((e) => gX(e, "yAxis", o, m));
if (!QB(l) || !QB(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || TPe, v = i.horizontalCoordinatesGenerator || EPe, { horizontalPoints: y, verticalPoints: b } = i;
+ var _ = i.verticalCoordinatesGenerator || APe, v = i.horizontalCoordinatesGenerator || jPe, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
yAxis: g ? m0(m0({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
@@ -65602,7 +65603,7 @@ function v0(e) {
}, C ? !0 : d);
$V(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ L.createElement(OZ, { zIndex: i.zIndex }, /*#__PURE__*/ L.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ L.createElement(bPe, {
+ return /*#__PURE__*/ L.createElement(OZ, { zIndex: i.zIndex }, /*#__PURE__*/ L.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ L.createElement(TPe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -65610,12 +65611,12 @@ function v0(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ L.createElement(CPe, h0({}, i, { horizontalPoints: y })), /*#__PURE__*/ L.createElement(wPe, h0({}, i, { verticalPoints: b })), /*#__PURE__*/ L.createElement(xPe, h0({}, i, {
+ }), /*#__PURE__*/ L.createElement(OPe, h0({}, i, { horizontalPoints: y })), /*#__PURE__*/ L.createElement(kPe, h0({}, i, { verticalPoints: b })), /*#__PURE__*/ L.createElement(EPe, h0({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ L.createElement(SPe, h0({}, i, {
+ })), /*#__PURE__*/ L.createElement(DPe, h0({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
@@ -65642,17 +65643,17 @@ var y0 = dB({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: OPe, replaceErrorBar: kPe, removeErrorBar: APe } = y0.actions, jPe = y0.reducer, MPe = ["children"];
-function NPe(e, t) {
+}), { addErrorBar: NPe, replaceErrorBar: PPe, removeErrorBar: FPe } = y0.actions, IPe = y0.reducer, LPe = ["children"];
+function RPe(e, t) {
if (e == null) return {};
- var n, r, i = PPe(e, t);
+ var n, r, i = zPe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function PPe(e, t) {
+function zPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65661,7 +65662,7 @@ function PPe(e, t) {
}
return n;
}
-var FPe = /*#__PURE__*/ (0, L.createContext)({
+var BPe = /*#__PURE__*/ (0, L.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -65673,8 +65674,8 @@ var FPe = /*#__PURE__*/ (0, L.createContext)({
errorBarOffset: 0
});
function b0(e) {
- var { children: t } = e, n = NPe(e, MPe);
- return /*#__PURE__*/ L.createElement(FPe.Provider, { value: n }, t);
+ var { children: t } = e, n = RPe(e, LPe);
+ return /*#__PURE__*/ L.createElement(BPe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
@@ -65699,30 +65700,30 @@ function S0(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var C0 = (e, t, n, r) => xX(e, "xAxis", t, r), w0 = (e, t, n, r) => bX(e, "xAxis", t, r), T0 = (e, t, n, r) => xX(e, "yAxis", n, r), E0 = (e, t, n, r) => bX(e, "yAxis", n, r), IPe = $([
+var C0 = (e, t, n, r) => xX(e, "xAxis", t, r), w0 = (e, t, n, r) => bX(e, "xAxis", t, r), T0 = (e, t, n, r) => xX(e, "yAxis", n, r), E0 = (e, t, n, r) => bX(e, "yAxis", n, r), VPe = $([
DH,
C0,
T0,
w0,
E0
-], (e, t, n, r, i) => oV(e, "xAxis") ? xV(t, r, !1) : xV(n, i, !1)), LPe = (e, t, n, r, i) => i;
-function RPe(e) {
+], (e, t, n, r, i) => oV(e, "xAxis") ? xV(t, r, !1) : xV(n, i, !1)), HPe = (e, t, n, r, i) => i;
+function UPe(e) {
return e.type === "line";
}
-var zPe = $([
+var WPe = $([
DH,
C0,
T0,
w0,
E0,
- $([hY, LPe], (e, t) => e.filter(RPe).find((e) => e.id === t)),
- IPe,
+ $([hY, HPe], (e, t) => e.filter(UPe).find((e) => e.id === t)),
+ VPe,
UW
], (e, t, n, r, i, a, o, s) => {
var { chartData: c, dataStartIndex: l, dataEndIndex: u } = s;
if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {
var { dataKey: d, data: f } = a, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);
- if (p != null) return aFe({
+ if (p != null) return uFe({
layout: e,
xAxis: t,
yAxis: n,
@@ -65752,13 +65753,13 @@ function D0(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var BPe = ["id"], VPe = [
+var GPe = ["id"], KPe = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], HPe = [
+], qPe = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -65797,26 +65798,26 @@ function A0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? k0(Object(n), !0).forEach(function(t) {
- UPe(e, t, n[t]);
+ JPe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function UPe(e, t, n) {
- return (t = WPe(t)) in e ? Object.defineProperty(e, t, {
+function JPe(e, t, n) {
+ return (t = YPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function WPe(e) {
- var t = GPe(e, "string");
+function YPe(e) {
+ var t = XPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function GPe(e, t) {
+function XPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65828,14 +65829,14 @@ function GPe(e, t) {
}
function j0(e, t) {
if (e == null) return {};
- var n, r, i = KPe(e, t);
+ var n, r, i = ZPe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function KPe(e, t) {
+function ZPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65844,7 +65845,7 @@ function KPe(e, t) {
}
return n;
}
-var qPe = (e) => {
+var QPe = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
@@ -65854,7 +65855,7 @@ var qPe = (e) => {
value: CV(n, t),
payload: e
}];
-}, JPe = /*#__PURE__*/ L.memo((e) => {
+}, $Pe = /*#__PURE__*/ L.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
getPosition: UL,
@@ -65874,11 +65875,11 @@ var qPe = (e) => {
};
return /*#__PURE__*/ L.createElement(H$, { tooltipEntrySettings: d });
}), M0 = (e, t) => `${t}px ${e}px`;
-function YPe(e, t) {
+function eFe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var XPe = (e, t, n) => {
+var tFe = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
if (!r) return M0(t, e);
for (var i = Math.floor(e / r), a = e % r, o = [], s = 0, c = 0; s < n.length; c += (l = n[s]) ?? 0, ++s) {
@@ -65890,13 +65891,13 @@ var XPe = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...YPe(n, i),
+ ...eFe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function ZPe(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = CI(j0(r, BPe));
+function nFe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = CI(j0(r, GPe));
return /*#__PURE__*/ L.createElement(Q$, {
points: n,
dot: i,
@@ -65908,7 +65909,7 @@ function ZPe(e) {
clipPathId: t
});
}
-function QPe(e) {
+function rFe(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, L.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -65929,7 +65930,7 @@ function QPe(e) {
return /*#__PURE__*/ L.createElement(IQ, { value: t ? i : void 0 }, n);
}
function N0(e) {
- var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = A0(A0({}, TI(j0(a, VPe))), {}, {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = A0(A0({}, TI(j0(a, KPe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -65942,28 +65943,28 @@ function N0(e) {
return /*#__PURE__*/ L.createElement(L.Fragment, null, r?.length > 1 && /*#__PURE__*/ L.createElement(R$, O0({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ L.createElement(ZPe, {
+ }, d, { pathRef: n })), /*#__PURE__*/ L.createElement(nFe, {
points: r,
clipPathId: t,
props: a
}));
}
-function $Pe(e) {
+function iFe(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function eFe(e) {
+function aFe(e) {
var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = yW(o, "recharts-line-"), y = (0, L.useRef)(v), [b, x] = (0, L.useState)(!1), S = !b, C = (0, L.useCallback)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, L.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = $Pe(r.current), E = (0, L.useRef)(0);
+ }, [g]), T = iFe(r.current), E = (0, L.useRef)(0);
y.current !== v && (E.current = a.current, y.current = v);
var D = E.current;
- return /*#__PURE__*/ L.createElement(QPe, {
+ return /*#__PURE__*/ L.createElement(rFe, {
points: o,
showLabels: S
}, n.children, /*#__PURE__*/ L.createElement(vW, {
@@ -65976,7 +65977,7 @@ function eFe(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = RL(D, T + D, e), u = Math.min(l, T), d = c ? s ? XPe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : M0(T, u) : s == null ? void 0 : String(s);
+ var l = RL(D, T + D, e), u = Math.min(l, T), d = c ? s ? tFe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : M0(T, u) : s == null ? void 0 : String(s);
if (e > 0 && T > 0 && (i.current = o, a.current = Math.max(a.current, u)), _) {
var h = _.length / o.length, g = e === 1 ? o : o.map((t, n) => {
var r = Math.floor(n * h);
@@ -66012,9 +66013,9 @@ function eFe(e) {
});
}), /*#__PURE__*/ L.createElement(zQ, { label: n.label }));
}
-function tFe(e) {
+function oFe(e) {
var { clipPathId: t, props: n } = e, r = (0, L.useRef)(null), i = (0, L.useRef)(0), a = (0, L.useRef)(null);
- return /*#__PURE__*/ L.createElement(eFe, {
+ return /*#__PURE__*/ L.createElement(aFe, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -66022,16 +66023,16 @@ function tFe(e) {
pathRef: a
});
}
-var nFe = (e, t) => ({
+var sFe = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
errorVal: iV(e.payload, t)
-}), rFe = class extends L.Component {
+}), cFe = class extends L.Component {
render() {
var { hide: e, dot: t, points: n, className: r, xAxisId: i, yAxisId: a, top: o, left: s, width: c, height: l, id: u, needClip: d, zIndex: f } = this.props;
if (e) return null;
- var p = Xa("recharts-line", r), m = u, { r: h, strokeWidth: g } = D0(t), _ = k$(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
+ var p = eo("recharts-line", r), m = u, { r: h, strokeWidth: g } = D0(t), _ = k$(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
return /*#__PURE__*/ L.createElement(OZ, { zIndex: f }, /*#__PURE__*/ L.createElement(kI, { className: p }, d && /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement(S0, {
clipPathId: m,
xAxisId: i,
@@ -66045,9 +66046,9 @@ var nFe = (e, t) => ({
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: nFe,
+ dataPointFormatter: sFe,
errorBarOffset: 0
- }, /*#__PURE__*/ L.createElement(tFe, {
+ }, /*#__PURE__*/ L.createElement(oFe, {
props: this.props,
clipPathId: m
}))), /*#__PURE__*/ L.createElement(a1, {
@@ -66078,11 +66079,11 @@ var nFe = (e, t) => ({
zIndex: pG.line,
type: "linear"
};
-function iFe(e) {
- var t = $L(e, P0), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = j0(t, HPe), { needClip: _ } = x0(p, m), v = n1(), y = OH(), b = qV(), x = Q((e) => zPe(e, p, m, b, h));
+function lFe(e) {
+ var t = $L(e, P0), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = j0(t, qPe), { needClip: _ } = x0(p, m), v = n1(), y = OH(), b = qV(), x = Q((e) => WPe(e, p, m, b, h));
if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;
var { height: S, width: C, x: w, y: T } = v;
- return /*#__PURE__*/ L.createElement(rFe, O0({}, g, {
+ return /*#__PURE__*/ L.createElement(cFe, O0({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -66106,7 +66107,7 @@ function iFe(e) {
needClip: _
}));
}
-function aFe(e) {
+function uFe(e) {
var { layout: t, xAxis: n, yAxis: r, xAxisTicks: i, yAxisTicks: a, dataKey: o, bandSize: s, displayedData: c } = e;
return c.map((e, c) => {
var l = iV(e, o);
@@ -66137,12 +66138,12 @@ function aFe(e) {
};
}).filter(Boolean);
}
-function oFe(e) {
+function dFe(e) {
var t = $L(e, P0), n = qV();
return /*#__PURE__*/ L.createElement(G$, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(U$, { legendPayload: qPe(t) }), /*#__PURE__*/ L.createElement(JPe, {
+ }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(U$, { legendPayload: QPe(t) }), /*#__PURE__*/ L.createElement($Pe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -66163,9 +66164,9 @@ function oFe(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ L.createElement(iFe, O0({}, t, { id: e }))));
+ }), /*#__PURE__*/ L.createElement(lFe, O0({}, t, { id: e }))));
}
-var F0 = /*#__PURE__*/ L.memo(oFe, kU);
+var F0 = /*#__PURE__*/ L.memo(dFe, kU);
F0.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -66177,19 +66178,19 @@ function L0(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var R0 = (e, t, n) => xX(e, "xAxis", I0(e, t), n), z0 = (e, t, n) => bX(e, "xAxis", I0(e, t), n), B0 = (e, t, n) => xX(e, "yAxis", L0(e, t), n), V0 = (e, t, n) => bX(e, "yAxis", L0(e, t), n), sFe = $([
+var R0 = (e, t, n) => xX(e, "xAxis", I0(e, t), n), z0 = (e, t, n) => bX(e, "xAxis", I0(e, t), n), B0 = (e, t, n) => xX(e, "yAxis", L0(e, t), n), V0 = (e, t, n) => bX(e, "yAxis", L0(e, t), n), fFe = $([
DH,
R0,
B0,
z0,
V0
-], (e, t, n, r, i) => oV(e, "xAxis") ? xV(t, r, !1) : xV(n, i, !1)), H0 = $([hY, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), U0 = (e) => oV(DH(e), "xAxis") ? "yAxis" : "xAxis", cFe = (e, t) => U0(e) === "yAxis" ? L0(e, t) : I0(e, t), lFe = $([
+], (e, t, n, r, i) => oV(e, "xAxis") ? xV(t, r, !1) : xV(n, i, !1)), H0 = $([hY, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), U0 = (e) => oV(DH(e), "xAxis") ? "yAxis" : "xAxis", pFe = (e, t) => U0(e) === "yAxis" ? L0(e, t) : I0(e, t), mFe = $([
DH,
R0,
B0,
z0,
V0,
- $([H0, (e, t, n) => MY(e, U0(e), cFe(e, t), n)], (e, t) => {
+ $([H0, (e, t, n) => MY(e, U0(e), pFe(e, t), n)], (e, t) => {
if (e != null && t != null) {
var { stackId: n } = e, r = NG(e);
if (n != null && r != null) {
@@ -66199,14 +66200,14 @@ var R0 = (e, t, n) => xX(e, "xAxis", I0(e, t), n), z0 = (e, t, n) => bX(e, "xAxi
}
}),
WW,
- sFe,
+ fFe,
H0,
- DCe
+ MCe
], (e, t, n, r, i, a, o, s, c, l) => {
var { chartData: u, dataStartIndex: d, dataEndIndex: f } = o;
if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {
var { data: p } = c, m = p && p.length > 0 ? p : u?.slice(d, f + 1);
- if (m != null) return kFe({
+ if (m != null) return PFe({
layout: e,
xAxis: t,
yAxis: n,
@@ -66220,7 +66221,7 @@ var R0 = (e, t, n) => xX(e, "xAxis", I0(e, t), n), z0 = (e, t, n) => bX(e, "xAxi
bandSize: s
});
}
-}), uFe = ["id"], dFe = [
+}), hFe = ["id"], gFe = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -66247,14 +66248,14 @@ function W0() {
}
function G0(e, t) {
if (e == null) return {};
- var n, r, i = fFe(e, t);
+ var n, r, i = _Fe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function fFe(e, t) {
+function _Fe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66277,26 +66278,26 @@ function q0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K0(Object(n), !0).forEach(function(t) {
- pFe(e, t, n[t]);
+ vFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pFe(e, t, n) {
- return (t = mFe(t)) in e ? Object.defineProperty(e, t, {
+function vFe(e, t, n) {
+ return (t = yFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mFe(e) {
- var t = hFe(e, "string");
+function yFe(e) {
+ var t = bFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hFe(e, t) {
+function bFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66309,7 +66310,7 @@ function hFe(e, t) {
function J0(e, t) {
return e && e !== "none" ? e : t;
}
-var gFe = (e) => {
+var xFe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
@@ -66319,7 +66320,7 @@ var gFe = (e) => {
value: CV(n, t),
payload: e
}];
-}, _Fe = /*#__PURE__*/ L.memo((e) => {
+}, SFe = /*#__PURE__*/ L.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
getPosition: UL,
@@ -66339,7 +66340,7 @@ var gFe = (e) => {
};
return /*#__PURE__*/ L.createElement(H$, { tooltipEntrySettings: d });
});
-function vFe(e) {
+function CFe(e) {
var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = CI(r);
return /*#__PURE__*/ L.createElement(Q$, {
points: n,
@@ -66352,7 +66353,7 @@ function vFe(e) {
clipPathId: t
});
}
-function yFe(e) {
+function wFe(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -66373,7 +66374,7 @@ function yFe(e) {
return /*#__PURE__*/ L.createElement(IQ, { value: t ? i : void 0 }, n);
}
function Y0(e) {
- var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = G0(a, uFe), p = CI(f), m = TI(f);
+ var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = G0(a, hFe), p = CI(f), m = TI(f);
return /*#__PURE__*/ L.createElement(L.Fragment, null, t?.length > 1 && /*#__PURE__*/ L.createElement(kI, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ L.createElement(eW, W0({}, m, {
id: d,
points: t,
@@ -66397,13 +66398,13 @@ function Y0(e) {
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ L.createElement(vFe, {
+ }))), /*#__PURE__*/ L.createElement(CFe, {
points: t,
props: f,
clipPathId: i
}));
}
-function bFe(e) {
+function TFe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
if (!ZB(a) || !ZB(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
@@ -66414,7 +66415,7 @@ function bFe(e) {
height: Math.floor(s)
}) : null;
}
-function xFe(e) {
+function EFe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
if (!ZB(a) || !ZB(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
@@ -66425,21 +66426,21 @@ function xFe(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function SFe(e) {
+function DFe(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ L.createElement(bFe, {
+ return n === "vertical" ? /*#__PURE__*/ L.createElement(TFe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ L.createElement(xFe, {
+ }) : /*#__PURE__*/ L.createElement(EFe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function CFe(e) {
+function OFe(e) {
var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = yW((0, L.useMemo)(() => ({
points: o,
baseLine: s
@@ -66450,7 +66451,7 @@ function CFe(e) {
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ L.createElement(yFe, {
+ return /*#__PURE__*/ L.createElement(wFe, {
showLabels: v,
points: o
}, r.children, /*#__PURE__*/ L.createElement(vW, {
@@ -66493,7 +66494,7 @@ function CFe(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ L.createElement(kI, null, c && /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ L.createElement(SFe, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ L.createElement(kI, null, c && /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ L.createElement(DFe, {
alpha: e,
points: o,
baseLine: s,
@@ -66508,9 +66509,9 @@ function CFe(e) {
})));
}), /*#__PURE__*/ L.createElement(zQ, { label: r.label }));
}
-function wFe(e) {
+function kFe(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, L.useRef)(null), a = (0, L.useRef)();
- return /*#__PURE__*/ L.createElement(CFe, {
+ return /*#__PURE__*/ L.createElement(OFe, {
needClip: t,
clipPathId: n,
props: r,
@@ -66518,11 +66519,11 @@ function wFe(e) {
previousBaselineRef: a
});
}
-var TFe = class extends L.PureComponent {
+var AFe = class extends L.PureComponent {
render() {
var { hide: e, dot: t, points: n, className: r, top: i, left: a, needClip: o, xAxisId: s, yAxisId: c, width: l, height: u, id: d, baseLine: f, zIndex: p } = this.props;
if (e) return null;
- var m = Xa("recharts-area", r), h = d, { r: g, strokeWidth: _ } = D0(t), v = k$(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
+ var m = eo("recharts-area", r), h = d, { r: g, strokeWidth: _ } = D0(t), v = k$(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
return /*#__PURE__*/ L.createElement(OZ, { zIndex: p }, /*#__PURE__*/ L.createElement(kI, { className: m }, o && /*#__PURE__*/ L.createElement("defs", null, /*#__PURE__*/ L.createElement(S0, {
clipPathId: h,
xAxisId: s,
@@ -66532,7 +66533,7 @@ var TFe = class extends L.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ L.createElement(wFe, {
+ }))), /*#__PURE__*/ L.createElement(kFe, {
needClip: o,
clipPathId: h,
props: this.props
@@ -66550,7 +66551,7 @@ var TFe = class extends L.PureComponent {
clipPath: b
}));
}
-}, EFe = {
+}, jFe = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -66570,11 +66571,11 @@ var TFe = class extends L.PureComponent {
yAxisId: 0,
zIndex: pG.area
};
-function DFe(e) {
- var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = G0(e, dFe), g = OH(), _ = gZ(), { needClip: v } = x0(p, m), y = qV(), { points: b, isRange: x, baseLine: S } = Q((t) => lFe(t, e.id, y)) ?? {}, C = n1();
+function MFe(e) {
+ var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = G0(e, gFe), g = OH(), _ = gZ(), { needClip: v } = x0(p, m), y = qV(), { points: b, isRange: x, baseLine: S } = Q((t) => mFe(t, e.id, y)) ?? {}, C = n1();
if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var { height: w, width: T, x: E, y: D } = C;
- return !b || !b.length ? null : /*#__PURE__*/ L.createElement(TFe, W0({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ L.createElement(AFe, W0({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -66600,7 +66601,7 @@ function DFe(e) {
yAxisId: m
}));
}
-var OFe = (e, t, n, r, i) => {
+var NFe = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -66610,8 +66611,8 @@ var OFe = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function kFe(e) {
- var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = OFe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function PFe(e) {
+ var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = NFe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
var a;
if (m) a = i[u + n];
else {
@@ -66660,12 +66661,12 @@ function kFe(e) {
isRange: _
};
}
-function AFe(e) {
- var t = $L(e, EFe), n = qV();
+function FFe(e) {
+ var t = $L(e, jFe), n = qV();
return /*#__PURE__*/ L.createElement(G$, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(U$, { legendPayload: gFe(t) }), /*#__PURE__*/ L.createElement(_Fe, {
+ }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(U$, { legendPayload: xFe(t) }), /*#__PURE__*/ L.createElement(SFe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -66690,15 +66691,15 @@ function AFe(e) {
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ L.createElement(DFe, W0({}, t, { id: e }))));
+ }), /*#__PURE__*/ L.createElement(MFe, W0({}, t, { id: e }))));
}
-var X0 = /*#__PURE__*/ L.memo(AFe, kU);
+var X0 = /*#__PURE__*/ L.memo(FFe, kU);
X0.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var jFe = "Invariant failed";
-function MFe(e, t) {
- if (!e) throw Error(jFe);
+var IFe = "Invariant failed";
+function LFe(e, t) {
+ if (!e) throw Error(IFe);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
@@ -66718,30 +66719,30 @@ function Q0(e) {
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var NFe = function(e) {
+var RFe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
if (Z(e)) return e;
var i = Z(n) || BL(n);
- return i ? e(n, r) : (!i && MFe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ return i ? e(n, r) : (!i && LFe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, PFe = (e, t, n) => n, $0 = $([hY, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), FFe = $([$0], (e) => e?.maxBarSize), IFe = (e, t, n, r) => r, LFe = $([
+}, zFe = (e, t, n) => n, $0 = $([hY, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), BFe = $([$0], (e) => e?.maxBarSize), VFe = (e, t, n, r) => r, HFe = $([
DH,
hY,
I0,
L0,
- PFe
-], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), RFe = (e, t, n) => {
+ zFe
+], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), UFe = (e, t, n) => {
var r = DH(e), i = I0(e, t), a = L0(e, t);
if (i != null && a != null) return r === "horizontal" ? MY(e, "yAxis", a, n) : MY(e, "xAxis", i, n);
-}, zFe = $([
- LFe,
+}, WFe = $([
+ HFe,
oG,
(e, t) => {
var n = DH(e), r = I0(e, t), i = L0(e, t);
if (r != null && i != null) return n === "horizontal" ? pX(e, "xAxis", r) : pX(e, "yAxis", i);
}
-], x1), BFe = (e, t, n) => {
+], x1), GFe = (e, t, n) => {
var r = $0(e, t);
if (r == null) return 0;
var i = I0(e, t), a = L0(e, t);
@@ -66754,7 +66755,7 @@ var NFe = function(e) {
var o, s;
return r === "horizontal" ? (o = xX(e, "xAxis", i, n), s = bX(e, "xAxis", i, n)) : (o = xX(e, "yAxis", a, n), s = bX(e, "yAxis", a, n)), xV(o, s);
}
-}, VFe = $([
+}, KFe = $([
UV,
GV,
(e, t, n) => {
@@ -66774,25 +66775,25 @@ var NFe = function(e) {
if (r != null) return bX(e, "yAxis", r, n);
},
$([$([
- zFe,
+ WFe,
rG,
iG,
aG,
- BFe,
+ GFe,
e2,
- FFe
+ BFe
], w1), $0], E1),
DH,
WW,
e2,
- $([RFe, $0], T1),
+ $([UFe, $0], T1),
$0,
- IFe
+ VFe
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = c;
if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {
var { data: g } = d, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);
- if (_ != null) return hIe({
+ if (_ != null) return bIe({
layout: s,
barSettings: d,
pos: o,
@@ -66809,7 +66810,7 @@ var NFe = function(e) {
dataStartIndex: m
});
}
-}), HFe = ["index"];
+}), qFe = ["index"];
function t2() {
return t2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -66819,16 +66820,16 @@ function t2() {
return e;
}, t2.apply(null, arguments);
}
-function UFe(e, t) {
+function JFe(e, t) {
if (e == null) return {};
- var n, r, i = WFe(e, t);
+ var n, r, i = YFe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function WFe(e, t) {
+function YFe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66837,31 +66838,31 @@ function WFe(e, t) {
}
return n;
}
-var n2 = /*#__PURE__*/ (0, L.createContext)(void 0), GFe = (e) => {
+var n2 = /*#__PURE__*/ (0, L.createContext)(void 0), XFe = (e) => {
var t = (0, L.useContext)(n2);
if (t != null) return t.stackId;
if (e != null) return fV(e);
-}, KFe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, qFe = (e) => {
+}, ZFe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, QFe = (e) => {
var t = (0, L.useContext)(n2);
if (t != null) {
var { stackId: n } = t;
- return `url(#${KFe(n, e)})`;
+ return `url(#${ZFe(n, e)})`;
}
}, r2 = (e) => {
- var { index: t } = e, n = UFe(e, HFe), r = qFe(t);
+ var { index: t } = e, n = JFe(e, qFe), r = QFe(t);
return /*#__PURE__*/ L.createElement(kI, t2({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, JFe = [
+}, $Fe = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], YFe = [
+], eIe = [
"value",
"background",
"tooltipPosition"
-], XFe = ["id"], ZFe = [
+], tIe = ["id"], nIe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
@@ -66889,26 +66890,26 @@ function o2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? a2(Object(n), !0).forEach(function(t) {
- QFe(e, t, n[t]);
+ rIe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : a2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function QFe(e, t, n) {
- return (t = $Fe(t)) in e ? Object.defineProperty(e, t, {
+function rIe(e, t, n) {
+ return (t = iIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $Fe(e) {
- var t = eIe(e, "string");
+function iIe(e) {
+ var t = aIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eIe(e, t) {
+function aIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66920,14 +66921,14 @@ function eIe(e, t) {
}
function s2(e, t) {
if (e == null) return {};
- var n, r, i = tIe(e, t);
+ var n, r, i = oIe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function tIe(e, t) {
+function oIe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66936,7 +66937,7 @@ function tIe(e, t) {
}
return n;
}
-var nIe = (e) => {
+var sIe = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
@@ -66946,7 +66947,7 @@ var nIe = (e) => {
value: CV(n, t),
payload: e
}];
-}, rIe = /*#__PURE__*/ L.memo((e) => {
+}, cIe = /*#__PURE__*/ L.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, unit: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: void 0,
getPosition: UL,
@@ -66966,12 +66967,12 @@ var nIe = (e) => {
};
return /*#__PURE__*/ L.createElement(H$, { tooltipEntrySettings: u });
});
-function iIe(e) {
- var t = Q(sZ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = s2(a, JFe), u = z$(o, r, a.id), d = B$(s), f = V$(c, r, a.id);
+function lIe(e) {
+ var t = Q(sZ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = s2(a, $Fe), u = z$(o, r, a.id), d = B$(s), f = V$(c, r, a.id);
if (!i || n == null) return null;
var p = wI(i);
return /*#__PURE__*/ L.createElement(OZ, { zIndex: z1(i, pG.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = s2(e, YFe);
+ var { value: a, background: o, tooltipPosition: s } = e, c = s2(e, eIe);
if (!o) return null;
var m = u(e, n), h = d(e, n), g = f(e, n), _ = o2(o2(o2(o2(o2({
option: i,
@@ -66987,7 +66988,7 @@ function iIe(e) {
return /*#__PURE__*/ L.createElement(Q0, i2({ key: `background-bar-${n}` }, _));
}));
}
-function aIe(e) {
+function uIe(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -67007,7 +67008,7 @@ function aIe(e) {
});
return /*#__PURE__*/ L.createElement(IQ, { value: t ? i : void 0 }, n);
}
-function oIe(e) {
+function dIe(e) {
var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(sZ), c = Q(lZ), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, L.useState)(!1), [f, p] = (0, L.useState)(!1);
(0, L.useEffect)(() => {
var e;
@@ -67028,7 +67029,7 @@ function oIe(e) {
}));
return g ? /*#__PURE__*/ L.createElement(OZ, { zIndex: pG.activeBar }, /*#__PURE__*/ L.createElement(r2, { index: i.originalDataIndex }, v)) : v;
}
-function sIe(e) {
+function fIe(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
return /*#__PURE__*/ L.createElement(Q0, i2({}, n, { name: String(n.name) }, r, {
isActive: !1,
@@ -67037,8 +67038,8 @@ function sIe(e) {
dataKey: a
}));
}
-function cIe(e) {
- var { data: t, props: n } = e, r = CI(n) ?? {}, { id: i } = r, a = s2(r, XFe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = s2(n, ZFe), p = z$(l, s, i), m = B$(d), h = V$(u, s, i);
+function pIe(e) {
+ var { data: t, props: n } = e, r = CI(n) ?? {}, { id: i } = r, a = s2(r, tIe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = s2(n, nIe), p = z$(l, s, i), m = B$(d), h = V$(u, s, i);
return t ? /*#__PURE__*/ L.createElement(L.Fragment, null, t.map((e, t) => /*#__PURE__*/ L.createElement(r2, i2({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
@@ -67047,14 +67048,14 @@ function cIe(e) {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ L.createElement(oIe, {
+ }), c ? /*#__PURE__*/ L.createElement(dIe, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ L.createElement(sIe, {
+ }) : /*#__PURE__*/ L.createElement(fIe, {
shape: o,
baseProps: a,
entry: e,
@@ -67062,13 +67063,13 @@ function cIe(e) {
dataKey: s
})))) : null;
}
-function lIe(e) {
+function mIe(e) {
var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = yW(t, "recharts-bar-"), [p, m] = (0, L.useState)(!1), h = !p, g = (0, L.useCallback)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, L.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ L.createElement(aIe, {
+ return /*#__PURE__*/ L.createElement(uIe, {
showLabels: h,
rects: r
}, /*#__PURE__*/ L.createElement(vW, {
@@ -67102,20 +67103,20 @@ function lIe(e) {
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ L.createElement(kI, null, /*#__PURE__*/ L.createElement(cIe, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ L.createElement(kI, null, /*#__PURE__*/ L.createElement(pIe, {
props: t,
data: a
}));
}), /*#__PURE__*/ L.createElement(zQ, { label: t.label }), t.children);
}
-function uIe(e) {
+function hIe(e) {
var t = (0, L.useRef)(null);
- return /*#__PURE__*/ L.createElement(lIe, {
+ return /*#__PURE__*/ L.createElement(mIe, {
previousRectanglesRef: t,
props: e
});
}
-var c2 = 0, dIe = (e, t) => {
+var c2 = 0, gIe = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
@@ -67123,11 +67124,11 @@ var c2 = 0, dIe = (e, t) => {
value: n,
errorVal: iV(e, t)
};
-}, fIe = class extends L.PureComponent {
+}, _Ie = class extends L.PureComponent {
render() {
var { hide: e, data: t, dataKey: n, className: r, xAxisId: i, yAxisId: a, needClip: o, background: s, id: c } = this.props;
if (e || t == null) return null;
- var l = Xa("recharts-bar", r), u = c;
+ var l = eo("recharts-bar", r), u = c;
return /*#__PURE__*/ L.createElement(kI, {
className: l,
id: c
@@ -67138,14 +67139,14 @@ var c2 = 0, dIe = (e, t) => {
})), /*#__PURE__*/ L.createElement(kI, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ L.createElement(iIe, {
+ }, /*#__PURE__*/ L.createElement(lIe, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ L.createElement(uIe, this.props)));
+ }), /*#__PURE__*/ L.createElement(hIe, this.props)));
}
-}, pIe = {
+}, vIe = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -67160,17 +67161,17 @@ var c2 = 0, dIe = (e, t) => {
yAxisId: 0,
zIndex: pG.bar
};
-function mIe(e) {
- var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = x0(t, n), f = OH(), p = qV(), m = O$(e.children, GZ), h = Q((t) => VFe(t, e.id, p, m));
+function yIe(e) {
+ var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = x0(t, n), f = OH(), p = qV(), m = O$(e.children, GZ), h = Q((t) => KFe(t, e.id, p, m));
if (f !== "vertical" && f !== "horizontal") return null;
var g, _ = h?.[0];
return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ L.createElement(b0, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: dIe,
+ dataPointFormatter: gIe,
errorBarOffset: g
- }, /*#__PURE__*/ L.createElement(fIe, i2({}, e, {
+ }, /*#__PURE__*/ L.createElement(_Ie, i2({}, e, {
layout: f,
needClip: d,
data: h,
@@ -67186,7 +67187,7 @@ function mIe(e) {
isAnimationActive: u
})));
}
-function hIe(e) {
+function bIe(e) {
var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = hV({ numericAxis: _ }), b = _.scale.map(y);
return f.map((e, f) => {
var _, x, S, C, w, T;
@@ -67195,7 +67196,7 @@ function hIe(e) {
if (E == null) return null;
_ = lV(E, v);
} else _ = iV(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = NFe(r, c2)(_[1], f);
+ var D = RFe(r, c2)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
@@ -67255,12 +67256,12 @@ function hIe(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function gIe(e) {
- var t = $L(e, pIe), n = GFe(t.stackId), r = qV();
+function xIe(e) {
+ var t = $L(e, vIe), n = XFe(t.stackId), r = qV();
return /*#__PURE__*/ L.createElement(G$, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(U$, { legendPayload: nIe(t) }), /*#__PURE__*/ L.createElement(rIe, {
+ }, (e) => /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(U$, { legendPayload: sIe(t) }), /*#__PURE__*/ L.createElement(cIe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -67285,23 +67286,23 @@ function gIe(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ L.createElement(OZ, { zIndex: t.zIndex }, /*#__PURE__*/ L.createElement(mIe, i2({}, t, { id: e })))));
+ }), /*#__PURE__*/ L.createElement(OZ, { zIndex: t.zIndex }, /*#__PURE__*/ L.createElement(yIe, i2({}, t, { id: e })))));
}
-var l2 = /*#__PURE__*/ L.memo(gIe, kU);
+var l2 = /*#__PURE__*/ L.memo(xIe, kU);
l2.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var _Ie = ["domain", "range"], vIe = ["domain", "range"];
+var SIe = ["domain", "range"], CIe = ["domain", "range"];
function u2(e, t) {
if (e == null) return {};
- var n, r, i = yIe(e, t);
+ var n, r, i = wIe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function yIe(e, t) {
+function wIe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67315,16 +67316,16 @@ function d2(e, t) {
}
function f2(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = u2(e, _Ie), { domain: a, range: o } = t, s = u2(t, vIe);
+ var { domain: n, range: r } = e, i = u2(e, SIe), { domain: a, range: o } = t, s = u2(t, CIe);
return !d2(n, a) || !d2(r, o) ? !1 : kU(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var bIe = ["type"], xIe = [
+var TIe = ["type"], EIe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], SIe = ["id", "scale"];
+], DIe = ["id", "scale"];
function p2() {
return p2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -67348,26 +67349,26 @@ function h2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? m2(Object(n), !0).forEach(function(t) {
- CIe(e, t, n[t]);
+ OIe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function CIe(e, t, n) {
- return (t = wIe(t)) in e ? Object.defineProperty(e, t, {
+function OIe(e, t, n) {
+ return (t = kIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wIe(e) {
- var t = TIe(e, "string");
+function kIe(e) {
+ var t = AIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function TIe(e, t) {
+function AIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67379,14 +67380,14 @@ function TIe(e, t) {
}
function g2(e, t) {
if (e == null) return {};
- var n, r, i = EIe(e, t);
+ var n, r, i = jIe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function EIe(e, t) {
+function jIe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67395,35 +67396,35 @@ function EIe(e, t) {
}
return n;
}
-function DIe(e) {
- var t = ER(), n = (0, L.useRef)(null), r = kH(), { type: i } = e, a = g2(e, bIe), o = _G(r, "xAxis", i), s = (0, L.useMemo)(() => {
+function MIe(e) {
+ var t = ER(), n = (0, L.useRef)(null), r = kH(), { type: i } = e, a = g2(e, TIe), o = _G(r, "xAxis", i), s = (0, L.useMemo)(() => {
if (o != null) return h2(h2({}, a), {}, { type: o });
}, [a, o]);
return (0, L.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(Uje(s)) : n.current !== s && t(Wje({
+ s != null && (n.current === null ? t(Jje(s)) : n.current !== s && t(Yje({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, L.useLayoutEffect)(() => () => {
- n.current &&= (t(Gje(n.current)), null);
+ n.current &&= (t(Xje(n.current)), null);
}, [t]), null;
}
-var OIe = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(GV), i = qV(), a = "xAxis", o = Q((e) => vX(e, a, t, i)), s = Q((e) => dX(e, t)), c = Q((e) => YEe(e, t)), l = Q((e) => aY(e, t));
+var NIe = (e) => {
+ var { xAxisId: t, className: n } = e, r = Q(GV), i = qV(), a = "xAxis", o = Q((e) => vX(e, a, t, i)), s = Q((e) => dX(e, t)), c = Q((e) => eDe(e, t)), l = Q((e) => aY(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = g2(e, xIe), { id: m, scale: h } = l, g = g2(l, SIe);
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = g2(e, EIe), { id: m, scale: h } = l, g = g2(l, DIe);
return /*#__PURE__*/ L.createElement(f0, p2({}, p, g, {
x: c.x,
y: c.y,
width: s.width,
height: s.height,
- className: Xa(`recharts-${a} ${a}`, n),
+ className: eo(`recharts-${a} ${a}`, n),
viewBox: r,
ticks: o,
axisType: a,
axisId: t
}));
-}, kIe = {
+}, PIe = {
allowDataOverflow: iY.allowDataOverflow,
allowDecimals: iY.allowDecimals,
allowDuplicatedCategory: iY.allowDuplicatedCategory,
@@ -67448,8 +67449,8 @@ var OIe = (e) => {
niceTicks: iY.niceTicks,
xAxisId: 0
}, _2 = /*#__PURE__*/ L.memo((e) => {
- var t = $L(e, kIe);
- return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(DIe, {
+ var t = $L(e, PIe);
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(MIe, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -67475,16 +67476,16 @@ var OIe = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ L.createElement(OIe, t));
+ }), /*#__PURE__*/ L.createElement(NIe, t));
}, f2);
_2.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var AIe = ["type"], jIe = [
+var FIe = ["type"], IIe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], MIe = ["id", "scale"];
+], LIe = ["id", "scale"];
function v2() {
return v2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -67508,26 +67509,26 @@ function b2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? y2(Object(n), !0).forEach(function(t) {
- NIe(e, t, n[t]);
+ RIe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function NIe(e, t, n) {
- return (t = PIe(t)) in e ? Object.defineProperty(e, t, {
+function RIe(e, t, n) {
+ return (t = zIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function PIe(e) {
- var t = FIe(e, "string");
+function zIe(e) {
+ var t = BIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function FIe(e, t) {
+function BIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67539,14 +67540,14 @@ function FIe(e, t) {
}
function x2(e, t) {
if (e == null) return {};
- var n, r, i = IIe(e, t);
+ var n, r, i = VIe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function IIe(e, t) {
+function VIe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67555,27 +67556,27 @@ function IIe(e, t) {
}
return n;
}
-function LIe(e) {
- var t = ER(), n = (0, L.useRef)(null), r = kH(), { type: i } = e, a = x2(e, AIe), o = _G(r, "yAxis", i), s = (0, L.useMemo)(() => {
+function HIe(e) {
+ var t = ER(), n = (0, L.useRef)(null), r = kH(), { type: i } = e, a = x2(e, FIe), o = _G(r, "yAxis", i), s = (0, L.useMemo)(() => {
if (o != null) return b2(b2({}, a), {}, { type: o });
}, [o, a]);
return (0, L.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(Kje(s)) : n.current !== s && t(qje({
+ s != null && (n.current === null ? t(Zje(s)) : n.current !== s && t(Qje({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, L.useLayoutEffect)(() => () => {
- n.current &&= (t(Jje(n.current)), null);
+ n.current &&= (t($je(n.current)), null);
}, [t]), null;
}
-function RIe(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = Q(GV), c = qV(), l = ER(), u = "yAxis", d = Q((e) => fX(e, t)), f = Q((e) => XEe(e, t)), p = Q((e) => vX(e, u, t, c)), m = Q((e) => cY(e, t));
+function UIe(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = Q(GV), c = qV(), l = ER(), u = "yAxis", d = Q((e) => fX(e, t)), f = Q((e) => tDe(e, t)), p = Q((e) => vX(e, u, t, c)), m = Q((e) => cY(e, t));
if ((0, L.useLayoutEffect)(() => {
if (!(r !== "auto" || !d || OQ(i) || /*#__PURE__*/ (0, L.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(Qje({
+ Math.round(d.width) !== Math.round(n) && l(rMe({
id: t,
width: n
}));
@@ -67590,7 +67591,7 @@ function RIe(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = x2(e, jIe), { id: y, scale: b } = m, x = x2(m, MIe);
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = x2(e, IIe), { id: y, scale: b } = m, x = x2(m, LIe);
return /*#__PURE__*/ L.createElement(f0, v2({}, v, x, {
ref: a,
labelRef: o,
@@ -67599,14 +67600,14 @@ function RIe(e) {
tickTextProps: r === "auto" ? { width: void 0 } : { width: r },
width: d.width,
height: d.height,
- className: Xa(`recharts-${u} ${u}`, n),
+ className: eo(`recharts-${u} ${u}`, n),
viewBox: s,
ticks: p,
axisType: u,
axisId: t
}));
}
-var zIe = {
+var WIe = {
allowDataOverflow: sY.allowDataOverflow,
allowDecimals: sY.allowDecimals,
allowDuplicatedCategory: sY.allowDuplicatedCategory,
@@ -67631,8 +67632,8 @@ var zIe = {
width: sY.width,
yAxisId: 0
}, S2 = /*#__PURE__*/ L.memo((e) => {
- var t = $L(e, zIe);
- return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(LIe, {
+ var t = $L(e, WIe);
+ return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(HIe, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -67658,7 +67659,7 @@ var zIe = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ L.createElement(RIe, t));
+ }), /*#__PURE__*/ L.createElement(UIe, t));
}, f2);
S2.displayName = "YAxis";
var C2 = $([
@@ -67668,17 +67669,17 @@ var C2 = $([
RG,
eZ,
nZ,
- KDe,
+ ZDe,
UV
-], $De);
+], iOe);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function BIe(e) {
+function GIe(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function w2(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (BIe(e)) {
+ if (GIe(e)) {
var i = e.currentTarget.getBBox();
n = i.width > 0 ? t.width / i.width : 1, r = i.height > 0 ? t.height / i.height : 1;
} else {
@@ -67698,7 +67699,7 @@ E2.startListening({
actionCreator: T2,
effect: (e, t) => {
var n = e.payload, r = C2(t.getState(), w2(n));
- r?.activeIndex != null && t.dispatch(oDe({
+ r?.activeIndex != null && t.dispatch(dDe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
@@ -67736,7 +67737,7 @@ O2.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function VIe(e, t) {
+function KIe(e, t) {
return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;
}
//#endregion
@@ -67759,11 +67760,11 @@ var M2 = {
reducers: { updateOptions: (e, t) => {
e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? M2.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
} }
-}), HIe = N2.reducer, { updateOptions: UIe } = N2.actions, P2 = dB({
+}), qIe = N2.reducer, { updateOptions: JIe } = N2.actions, P2 = dB({
name: "polarOptions",
initialState: null,
reducers: { updatePolarOptions: (e, t) => e === null ? t.payload : (e.startAngle = t.payload.startAngle, e.endAngle = t.payload.endAngle, e.cx = t.payload.cx, e.cy = t.payload.cy, e.innerRadius = t.payload.innerRadius, e.outerRadius = t.payload.outerRadius, e) }
-}), { updatePolarOptions: WIe } = P2.actions, GIe = P2.reducer, F2 = nB("keyDown"), I2 = nB("focus"), L2 = nB("blur"), R2 = HB(), z2 = null, B2 = null, V2 = null;
+}), { updatePolarOptions: YIe } = P2.actions, XIe = P2.reducer, F2 = nB("keyDown"), I2 = nB("focus"), L2 = nB("blur"), R2 = HB(), z2 = null, B2 = null, V2 = null;
R2.startListening({
actionCreator: F2,
effect: (e, t) => {
@@ -67788,7 +67789,7 @@ R2.startListening({
}));
return;
}
- var c = ZEe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = nDe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
if (o == null || l >= o.length || l < 0) return;
var u = CZ(e, "axis", "hover", String(l));
t.dispatch(NX({
@@ -67871,12 +67872,12 @@ W2.startListening({
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: MDe(a),
+ activeCoordinate: LDe(a),
activeDataKey: lZ(a),
activeIndex: sZ(a),
activeLabel: cZ(a),
activeTooltipIndex: sZ(a),
- isTooltipActive: NDe(a)
+ isTooltipActive: RDe(a)
};
n && n(o, r);
} finally {
@@ -67900,7 +67901,7 @@ W2.startListening({
}
}
});
-var KIe = $([
+var ZIe = $([
$([VX], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
@@ -67947,7 +67948,7 @@ Y2.startListening({
if (!o || !o.getAttribute) return;
var s = o.getAttribute(MV), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = qX(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = KIe(e, s, c);
+ var { dataKey: u } = l, d = ZIe(e, s, c);
t.dispatch(kX({
activeDataKey: u,
activeIndex: s,
@@ -67985,27 +67986,27 @@ var e4 = {
reducers: { setEventSettings: (e, t) => {
t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = xU(t.payload.throttledEvents));
} }
-}), { setEventSettings: qIe } = t4.actions, JIe = t4.reducer, YIe = WR({
- brush: fNe,
- cartesianAxis: $je,
- chartData: EOe,
- errorBars: jPe,
- eventSettings: JIe,
- graphicalItems: kje,
+}), { setEventSettings: QIe } = t4.actions, $Ie = t4.reducer, eLe = WR({
+ brush: _Ne,
+ cartesianAxis: iMe,
+ chartData: jOe,
+ errorBars: IPe,
+ eventSettings: $Ie,
+ graphicalItems: Pje,
layout: YB,
- legend: uxe,
- options: xOe,
- polarAxis: yAe,
- polarOptions: GIe,
- referenceElements: CNe,
- renderedTicks: ZNe,
- rootProps: HIe,
- tooltip: sDe,
- zIndex: fOe
-}), XIe = function(e) {
+ legend: hxe,
+ options: EOe,
+ polarAxis: wAe,
+ polarOptions: XIe,
+ referenceElements: ONe,
+ renderedTicks: nPe,
+ rootProps: qIe,
+ tooltip: fDe,
+ zIndex: _Oe
+}), tLe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return Lbe({
- reducer: YIe,
+ return Hbe({
+ reducer: eLe,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -68026,7 +68027,7 @@ var e4 = {
return typeof e == "function" && (t = e()), t.concat(lB({ type: "raf" }));
},
devTools: BU.devToolsEnabled && {
- serialize: { replacer: VIe },
+ serialize: { replacer: KIe },
name: `recharts-${t}`
}
});
@@ -68036,16 +68037,16 @@ var e4 = {
function n4(e) {
var { preloadedState: t, children: n, reduxStoreName: r } = e, i = qV(), a = (0, L.useRef)(null);
if (i) return n;
- a.current ??= XIe(t, r);
+ a.current ??= tLe(t, r);
var o = TR;
- return /*#__PURE__*/ L.createElement(wxe, {
+ return /*#__PURE__*/ L.createElement(kxe, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function ZIe(e) {
+function nLe(e) {
var { layout: t, margin: n } = e, r = ER(), i = qV();
return (0, L.useEffect)(() => {
i || (r(KB(t)), r(GB(n)));
@@ -68056,31 +68057,31 @@ function ZIe(e) {
n
]), null;
}
-var r4 = /*#__PURE__*/ (0, L.memo)(ZIe, kU);
+var r4 = /*#__PURE__*/ (0, L.memo)(nLe, kU);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function i4(e) {
var t = ER();
return (0, L.useEffect)(() => {
- t(UIe(e));
+ t(JIe(e));
}, [t, e]), null;
}
var a4 = /*#__PURE__*/ (0, L.memo)((e) => {
var t = ER();
return (0, L.useEffect)(() => {
- t(qIe(e));
+ t(QIe(e));
}, [t, e]), null;
}, kU);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
function o4(e) {
var { zIndex: t, isPanorama: n } = e, r = (0, L.useRef)(null), i = ER();
- return (0, L.useLayoutEffect)(() => (r.current && i(uOe({
+ return (0, L.useLayoutEffect)(() => (r.current && i(hOe({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(dOe({
+ i(gOe({
zIndex: t,
isPanorama: n
}));
@@ -68095,7 +68096,7 @@ function o4(e) {
});
}
function s4(e) {
- var { children: t, isPanorama: n } = e, r = Q(tOe);
+ var { children: t, isPanorama: n } = e, r = Q(oOe);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
return /*#__PURE__*/ L.createElement(L.Fragment, null, i.map((e) => /*#__PURE__*/ L.createElement(o4, {
@@ -68110,17 +68111,17 @@ function s4(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var QIe = ["children"];
-function $Ie(e, t) {
+var rLe = ["children"];
+function iLe(e, t) {
if (e == null) return {};
- var n, r, i = eLe(e, t);
+ var n, r, i = aLe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function eLe(e, t) {
+function aLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68138,11 +68139,11 @@ function c4() {
return e;
}, c4.apply(null, arguments);
}
-var tLe = {
+var oLe = {
width: "100%",
height: "100%",
display: "block"
-}, nLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+}, sLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
var n = wH(), r = TH(), i = WU();
if (!QB(n) || !QB(r)) return null;
var { children: a, otherAttributes: o, title: s, desc: c } = e, l, u;
@@ -68153,10 +68154,10 @@ var tLe = {
tabIndex: l,
width: n,
height: r,
- style: tLe,
+ style: oLe,
ref: t
}), a);
-}), rLe = (e) => {
+}), cLe = (e) => {
var { children: t } = e, n = Q(YV);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
@@ -68167,12 +68168,12 @@ var tLe = {
y: a
}, t);
}, l4 = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var { children: n } = e, r = $Ie(e, QIe);
- return qV() ? /*#__PURE__*/ L.createElement(rLe, null, /*#__PURE__*/ L.createElement(s4, { isPanorama: !0 }, n)) : /*#__PURE__*/ L.createElement(nLe, c4({ ref: t }, r), /*#__PURE__*/ L.createElement(s4, { isPanorama: !1 }, n));
+ var { children: n } = e, r = iLe(e, rLe);
+ return qV() ? /*#__PURE__*/ L.createElement(cLe, null, /*#__PURE__*/ L.createElement(s4, { isPanorama: !0 }, n)) : /*#__PURE__*/ L.createElement(sLe, c4({ ref: t }, r), /*#__PURE__*/ L.createElement(s4, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function iLe() {
+function lLe() {
var e = ER(), [t, n] = (0, L.useState)(null), r = Q(OV);
return (0, L.useEffect)(() => {
if (t != null) {
@@ -68197,30 +68198,30 @@ function u4(e, t) {
}
return n;
}
-function aLe(e) {
+function uLe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? u4(Object(n), !0).forEach(function(t) {
- oLe(e, t, n[t]);
+ dLe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oLe(e, t, n) {
- return (t = sLe(t)) in e ? Object.defineProperty(e, t, {
+function dLe(e, t, n) {
+ return (t = fLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sLe(e) {
- var t = cLe(e, "string");
+function fLe(e) {
+ var t = pLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cLe(e, t) {
+function pLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68239,7 +68240,7 @@ function d4() {
return e;
}, d4.apply(null, arguments);
}
-var lLe = () => (FOe(), null);
+var mLe = () => (BOe(), null);
function f4(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -68248,7 +68249,7 @@ function f4(e) {
}
return 0;
}
-var uLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+var hLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
var n = (0, L.useRef)(null), [r, i] = (0, L.useState)({
containerWidth: f4(e.style?.width),
containerHeight: f4(e.style?.height)
@@ -68280,7 +68281,7 @@ var uLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
width: r.containerWidth,
height: r.containerHeight
}), /*#__PURE__*/ L.createElement("div", d4({ ref: o }, e)));
-}), dLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+}), gLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, L.useState)({
containerWidth: f4(n),
containerHeight: f4(r)
@@ -68302,15 +68303,15 @@ var uLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ L.createElement("div", d4({ ref: s }, e)));
-}), fLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+}), _Le = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
var { width: n, height: r } = e;
return /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(NH, {
width: n,
height: r
}), /*#__PURE__*/ L.createElement("div", d4({ ref: t }, e)));
-}), pLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+}), vLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ L.createElement(dLe, d4({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ L.createElement(fLe, d4({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ L.createElement(gLe, d4({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ L.createElement(_Le, d4({}, e, {
width: n,
height: r,
ref: t
@@ -68319,11 +68320,11 @@ var uLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
height: r
}), /*#__PURE__*/ L.createElement("div", d4({ ref: t }, e)));
});
-function mLe(e) {
- return e ? uLe : pLe;
+function yLe(e) {
+ return e ? hLe : vLe;
}
-var hLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, L.useRef)(null), x = ER(), [S, C] = (0, L.useState)(null), [w, T] = (0, L.useState)(null), E = iLe(), D = _H(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, L.useCallback)((e) => {
+var bLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, L.useRef)(null), x = ER(), [S, C] = (0, L.useState)(null), [w, T] = (0, L.useState)(null), E = lLe(), D = _H(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, L.useCallback)((e) => {
E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
E,
@@ -68395,12 +68396,12 @@ var hLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [x, p]), le = mLe(v);
+ }, [x, p]), le = yLe(v);
return /*#__PURE__*/ L.createElement(MZ.Provider, { value: S }, /*#__PURE__*/ L.createElement(AI.Provider, { value: w }, /*#__PURE__*/ L.createElement(le, {
width: O ?? g?.width,
height: k ?? g?.height,
- className: Xa("recharts-wrapper", r),
- style: aLe({
+ className: eo("recharts-wrapper", r),
+ style: uLe({
position: "relative",
cursor: "default",
width: O,
@@ -68421,8 +68422,8 @@ var hLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
onTouchMove: se,
onTouchStart: oe,
ref: A
- }, /*#__PURE__*/ L.createElement(lLe, null), n)));
-}), gLe = [
+ }, /*#__PURE__*/ L.createElement(mLe, null), n)));
+}), xLe = [
"width",
"height",
"responsive",
@@ -68433,16 +68434,16 @@ var hLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
"title",
"desc"
];
-function _Le(e, t) {
+function SLe(e, t) {
if (e == null) return {};
- var n, r, i = vLe(e, t);
+ var n, r, i = CLe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function vLe(e, t) {
+function CLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68452,7 +68453,7 @@ function vLe(e, t) {
return n;
}
var p4 = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = CI(_Le(e, gLe));
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = CI(SLe(e, xLe));
return c ? /*#__PURE__*/ L.createElement(L.Fragment, null, /*#__PURE__*/ L.createElement(NH, {
width: n,
height: r
@@ -68460,7 +68461,7 @@ var p4 = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ L.createElement(hLe, {
+ }, a)) : /*#__PURE__*/ L.createElement(bLe, {
className: o,
style: s,
width: n,
@@ -68482,7 +68483,7 @@ var p4 = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ L.createElement(wNe, null, a)));
+ }, /*#__PURE__*/ L.createElement(kNe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -68505,30 +68506,30 @@ function h4(e, t) {
}
return n;
}
-function yLe(e) {
+function wLe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? h4(Object(n), !0).forEach(function(t) {
- bLe(e, t, n[t]);
+ TLe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bLe(e, t, n) {
- return (t = xLe(t)) in e ? Object.defineProperty(e, t, {
+function TLe(e, t, n) {
+ return (t = ELe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xLe(e) {
- var t = SLe(e, "string");
+function ELe(e) {
+ var t = DLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function SLe(e, t) {
+function DLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68538,7 +68539,7 @@ function SLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var CLe = yLe({
+var OLe = wLe({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -68554,7 +68555,7 @@ var CLe = yLe({
stackOffset: "none",
syncMethod: "index"
}, e4), g4 = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- var n = $L(e.categoricalChartProps, CLe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+ var n = $L(e.categoricalChartProps, OLe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -68583,32 +68584,32 @@ var CLe = yLe({
className: n.className,
reverseStackOrder: n.reverseStackOrder
}), /*#__PURE__*/ L.createElement(p4, m4({}, n, { ref: t })));
-}), wLe = ["axis"], TLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => /*#__PURE__*/ L.createElement(g4, {
+}), kLe = ["axis"], ALe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => /*#__PURE__*/ L.createElement(g4, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: wLe,
+ validateTooltipEventTypes: kLe,
tooltipPayloadSearcher: IZ,
categoricalChartProps: e,
ref: t
-})), ELe = ["axis", "item"], _4 = /*#__PURE__*/ (0, L.forwardRef)((e, t) => /*#__PURE__*/ L.createElement(g4, {
+})), jLe = ["axis", "item"], _4 = /*#__PURE__*/ (0, L.forwardRef)((e, t) => /*#__PURE__*/ L.createElement(g4, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: ELe,
+ validateTooltipEventTypes: jLe,
tooltipPayloadSearcher: IZ,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function DLe(e) {
+function MLe(e) {
var t = ER();
return (0, L.useEffect)(() => {
- t(WIe(e));
+ t(YIe(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var OLe = ["layout"];
+var NLe = ["layout"];
function v4() {
return v4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -68618,16 +68619,16 @@ function v4() {
return e;
}, v4.apply(null, arguments);
}
-function kLe(e, t) {
+function PLe(e, t) {
if (e == null) return {};
- var n, r, i = ALe(e, t);
+ var n, r, i = FLe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function ALe(e, t) {
+function FLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68646,30 +68647,30 @@ function y4(e, t) {
}
return n;
}
-function jLe(e) {
+function ILe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? y4(Object(n), !0).forEach(function(t) {
- MLe(e, t, n[t]);
+ LLe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function MLe(e, t, n) {
- return (t = NLe(t)) in e ? Object.defineProperty(e, t, {
+function LLe(e, t, n) {
+ return (t = RLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function NLe(e) {
- var t = PLe(e, "string");
+function RLe(e) {
+ var t = zLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function PLe(e, t) {
+function zLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68679,7 +68680,7 @@ function PLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var b4 = jLe({
+var b4 = ILe({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -68699,7 +68700,7 @@ var b4 = jLe({
innerRadius: 0,
outerRadius: "80%"
}, e4), x4 = /*#__PURE__*/ (0, L.forwardRef)(function(e, t) {
- var n = $L(e.categoricalChartProps, b4), { layout: r } = n, i = kLe(n, OLe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+ var n = $L(e.categoricalChartProps, b4), { layout: r } = n, i = PLe(n, NLe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
@@ -68727,7 +68728,7 @@ var b4 = jLe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ L.createElement(DLe, {
+ }), /*#__PURE__*/ L.createElement(MLe, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
@@ -68752,26 +68753,26 @@ function C4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? S4(Object(n), !0).forEach(function(t) {
- FLe(e, t, n[t]);
+ BLe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function FLe(e, t, n) {
- return (t = ILe(t)) in e ? Object.defineProperty(e, t, {
+function BLe(e, t, n) {
+ return (t = VLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ILe(e) {
- var t = LLe(e, "string");
+function VLe(e) {
+ var t = HLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function LLe(e, t) {
+function HLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68781,24 +68782,24 @@ function LLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var RLe = ["axis"], zLe = C4(C4({}, b4), {}, {
+var ULe = ["axis"], WLe = C4(C4({}, b4), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), BLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var n = $L(e, zLe);
+}), GLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ var n = $L(e, WLe);
return /*#__PURE__*/ L.createElement(x4, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: RLe,
+ validateTooltipEventTypes: ULe,
tooltipPayloadSearcher: IZ,
categoricalChartProps: n,
ref: t
});
-}), VLe = ["axis"], HLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => /*#__PURE__*/ L.createElement(g4, {
+}), KLe = ["axis"], qLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => /*#__PURE__*/ L.createElement(g4, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: VLe,
+ validateTooltipEventTypes: KLe,
tooltipPayloadSearcher: IZ,
categoricalChartProps: e,
ref: t
@@ -68819,26 +68820,26 @@ function T4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? w4(Object(n), !0).forEach(function(t) {
- ULe(e, t, n[t]);
+ JLe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ULe(e, t, n) {
- return (t = WLe(t)) in e ? Object.defineProperty(e, t, {
+function JLe(e, t, n) {
+ return (t = YLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function WLe(e) {
- var t = GLe(e, "string");
+function YLe(e) {
+ var t = XLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function GLe(e, t) {
+function XLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68848,16 +68849,16 @@ function GLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var KLe = ["axis", "item"], qLe = T4(T4({}, b4), {}, {
+var ZLe = ["axis", "item"], QLe = T4(T4({}, b4), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), JLe = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
- var n = $L(e, qLe);
+}), $Le = /*#__PURE__*/ (0, L.forwardRef)((e, t) => {
+ var n = $L(e, QLe);
return /*#__PURE__*/ L.createElement(x4, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: KLe,
+ validateTooltipEventTypes: ZLe,
tooltipPayloadSearcher: IZ,
categoricalChartProps: n,
ref: t
@@ -68866,7 +68867,7 @@ var KLe = ["axis", "item"], qLe = T4(T4({}, b4), {}, {
//#endregion
//#region src/react/charts/cn.ts
function E4(...e) {
- return ta(Xa(e));
+ return aa(eo(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
@@ -68874,7 +68875,7 @@ var D4 = {
light: "",
dark: ".dark"
}, O4 = Object.keys(D4);
-function YLe(e) {
+function eRe(e) {
for (let [t, n] of Object.entries(e)) if (n.colors && !O4.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${O4.join(", ")}). Received empty object or invalid keys.`);
}
var k4 = L.createContext(null);
@@ -68888,7 +68889,7 @@ function j4({ id: e, config: t, initialDimension: n = {
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = L.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return YLe(t), /* @__PURE__ */ (0, R.jsx)(k4.Provider, {
+ return eRe(t), /* @__PURE__ */ (0, R.jsx)(k4.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, R.jsxs)("div", {
"data-slot": "chart",
@@ -68919,7 +68920,7 @@ function M4({ isLoading: e }) {
})
}) : null;
}
-function XLe(e, t) {
+function tRe(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -68934,7 +68935,7 @@ var N4 = ({ id: e, config: t }) => {
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : XLe(r, F4(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : tRe(r, F4(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
}).filter(Boolean).join("\n"), i = Object.entries(D4).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, R.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
@@ -68948,15 +68949,15 @@ function F4(e) {
let t = O4.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var ZLe = (e = 10, t = 0, n = 70) => {
+var nRe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, QLe = {
+}, rRe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, $Le = {
+}, iRe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
@@ -68983,7 +68984,7 @@ function I4({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, R.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: E4("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", QLe[p], $Le[m], n),
+ className: E4("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", rRe[p], iRe[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, R.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
@@ -68997,7 +68998,7 @@ function I4({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: eRe(n, o)
+ style: aRe(n, o)
}), /* @__PURE__ */ (0, R.jsxs)("div", {
className: E4("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
@@ -69016,10 +69017,10 @@ function I4({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function eRe(e, t) {
+function aRe(e, t) {
return t <= 1 ? { background: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-var L4 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, R.jsx)(UOe, {
+var L4 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, R.jsx)(JOe, {
animationDuration: e,
...t
});
@@ -69036,7 +69037,7 @@ function R4({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, R.jsx)(i.icon, {}) : /* @__PURE__ */ (0, R.jsx)(tRe, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, R.jsx)(i.icon, {}) : /* @__PURE__ */ (0, R.jsx)(oRe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -69045,8 +69046,8 @@ function R4({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function tRe({ variant: e, dataKey: t, colorsCount: n }) {
- let r = nRe(t, n), i = rRe(t, n);
+function oRe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = sRe(t, n), i = cRe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, R.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -69078,10 +69079,10 @@ function tRe({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function nRe(e, t) {
+function sRe(e, t) {
return t <= 1 ? { backgroundColor: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-function rRe(e, t) {
+function cRe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -69101,7 +69102,7 @@ var z4 = NU, B4 = () => null, V4 = {
damping: 35,
mass: .8
};
-function iRe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function lRe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = L.useRef(null), [a, o] = L.useState(!1), s = (0, L.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, L.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -69147,7 +69148,7 @@ function iRe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function aRe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
+function uRe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
let x = L.useRef(null), S = L.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = L.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, D] = L.useState(() => ({
startIndex: Math.max(0, Math.min(p, C - 1)),
endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))
@@ -69181,7 +69182,7 @@ function aRe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = iRe({
+ }, [C, v]), { isDragging: A, bind: j } = lRe({
range: E,
totalPoints: C,
containerRef: x,
@@ -69237,7 +69238,7 @@ function aRe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}),
/* @__PURE__ */ (0, R.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, R.jsx)(oRe, {
+ children: /* @__PURE__ */ (0, R.jsx)(dRe, {
data: e,
keys: S,
chartConfig: t,
@@ -69306,7 +69307,7 @@ function H4({ side: e, position: t, label: n, bind: r }) {
})]
});
}
-function oRe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function dRe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = L.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
colorsCount: F4(t)
@@ -69366,7 +69367,7 @@ function oRe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
if (r === "line") return /* @__PURE__ */ (0, R.jsx)(yH, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, R.jsxs)(TLe, {
+ children: /* @__PURE__ */ (0, R.jsxs)(ALe, {
data: e,
margin: {
top: 4,
@@ -69422,7 +69423,7 @@ function oRe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
return /* @__PURE__ */ (0, R.jsx)(yH, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, R.jsxs)(HLe, {
+ children: /* @__PURE__ */ (0, R.jsxs)(qLe, {
data: e,
margin: {
top: 4,
@@ -69448,7 +69449,7 @@ function oRe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function sRe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function fRe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = L.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -69472,7 +69473,7 @@ function sRe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var cRe = {
+var pRe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, R.jsx)("pattern", {
id: e,
x: "0",
@@ -69645,7 +69646,7 @@ var cRe = {
})
};
function U4({ variant: e }) {
- let t = (0, L.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = cRe[e];
+ let t = (0, L.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = pRe[e];
return /* @__PURE__ */ (0, R.jsxs)(OZ, {
zIndex: -1,
children: [/* @__PURE__ */ (0, R.jsxs)("defs", { children: [
@@ -69676,7 +69677,7 @@ function U4({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var W4 = 2, lRe = "loading", uRe = 2e3, dRe = "evil-stacked", fRe = .5, pRe = .05, mRe = [
+var W4 = 2, mRe = "loading", hRe = 2e3, gRe = "evil-stacked", _Re = .5, vRe = .05, yRe = [
0,
.7,
.5,
@@ -69688,7 +69689,7 @@ function K4() {
return e;
}
function q4({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = W4, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
- let _ = (0, L.useId)().replace(/:/g, ""), [v] = (0, L.useState)(() => Date.now()), [y, b] = (0, L.useState)(f), [x, S] = (0, L.useState)(!1), { loadingData: C, onShimmerExit: w } = NRe(m, h), { visibleData: T, brushProps: E } = sRe({ data: t }), D = (0, L.useMemo)(() => {
+ let _ = (0, L.useId)().replace(/:/g, ""), [v] = (0, L.useState)(() => Date.now()), [y, b] = (0, L.useState)(f), [x, S] = (0, L.useState)(!1), { loadingData: C, onShimmerExit: w } = RRe(m, h), { visibleData: T, brushProps: E } = fRe({ data: t }), D = (0, L.useMemo)(() => {
let e = L.Children.toArray(n), t = e.find((e) => (0, L.isValidElement)(e) && e.type === B4), r = (0, L.isValidElement)(t) ? t.props : {};
return {
slot: {
@@ -69731,7 +69732,7 @@ function q4({ config: e, data: t, children: n, className: r, chartProps: i, stac
children: /* @__PURE__ */ (0, R.jsxs)(j4, {
className: r,
config: e,
- footer: O && !m && /* @__PURE__ */ (0, R.jsx)(aRe, {
+ footer: O && !m && /* @__PURE__ */ (0, R.jsx)(uRe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -69762,7 +69763,7 @@ function q4({ config: e, data: t, children: n, className: r, chartProps: i, stac
d && /* @__PURE__ */ (0, R.jsx)(U4, { variant: d }),
/* @__PURE__ */ (0, R.jsx)(t0, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, R.jsx)(PRe, {
+ m && /* @__PURE__ */ (0, R.jsx)(zRe, {
chartId: _,
onShimmerExit: w
})
@@ -69771,8 +69772,8 @@ function q4({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function hRe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
- let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = K4(), b = (0, L.useId)().replace(/:/g, ""), x = Eme();
+function bRe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+ let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = K4(), b = (0, L.useId)().replace(/:/g, ""), x = jme();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
id: b,
@@ -69794,7 +69795,7 @@ function hRe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
};
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(l2, {
dataKey: e,
- stackId: u ? dRe : void 0,
+ stackId: u ? gRe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
@@ -69811,44 +69812,44 @@ function hRe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
}),
...c
}), /* @__PURE__ */ (0, R.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, R.jsx)(wRe, {
+ /* @__PURE__ */ (0, R.jsx)(kRe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, R.jsx)(TRe, {
+ t === "hatched" && /* @__PURE__ */ (0, R.jsx)(ARe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, R.jsx)(DRe, {
+ t === "duotone" && /* @__PURE__ */ (0, R.jsx)(MRe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, R.jsx)(ORe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, R.jsx)(NRe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, R.jsx)(kRe, {
+ t === "gradient" && /* @__PURE__ */ (0, R.jsx)(PRe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, R.jsx)(ARe, {
+ t === "stripped" && /* @__PURE__ */ (0, R.jsx)(FRe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, R.jsx)(ERe, {
+ s && /* @__PURE__ */ (0, R.jsx)(jRe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, R.jsx)(jRe, {
+ o && /* @__PURE__ */ (0, R.jsx)(IRe, {
id: b,
dataKey: e
})
] })] });
}
-function gRe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+function xRe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
let { isLoading: o, isHorizontal: s } = K4();
return o ? null : /* @__PURE__ */ (0, R.jsx)(_2, {
tickLine: e,
@@ -69859,7 +69860,7 @@ function gRe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function _Re({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+function SRe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
let { isLoading: s, isHorizontal: c } = K4();
return s ? null : /* @__PURE__ */ (0, R.jsx)(S2, {
tickLine: e,
@@ -69871,7 +69872,7 @@ function _Re({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function vRe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+function CRe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
let { isHorizontal: i } = K4();
return /* @__PURE__ */ (0, R.jsx)(v0, {
strokeDasharray: e,
@@ -69880,7 +69881,7 @@ function vRe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
...r
});
}
-function yRe({ variant: e, roundness: t, defaultIndex: n }) {
+function wRe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = K4();
return r ? null : /* @__PURE__ */ (0, R.jsx)(L4, {
cursor: !1,
@@ -69892,7 +69893,7 @@ function yRe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function bRe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+function TRe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
let { selectedDataKey: i, selectDataKey: a } = K4();
return /* @__PURE__ */ (0, R.jsx)(z4, {
verticalAlign: n,
@@ -69906,7 +69907,7 @@ function bRe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
});
}
var J4 = (e) => {
- let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = xRe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : SRe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = CRe({
+ let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = ERe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : DRe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = ORe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -69951,7 +69952,7 @@ var J4 = (e) => {
children: A
}) : A]
});
-}, xRe = (e, t, n, r, i) => {
+}, ERe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -69966,11 +69967,11 @@ var J4 = (e) => {
break;
default: s = t;
}
- let c = s * pRe * 1e3, l = fRe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * vRe * 1e3, l = _Re * 1e3, u = c + l, d = Date.now() - i;
if (d >= u) return null;
let f = d <= c ? 0 : (d - c) / l, p = {
duration: (u - Math.max(d, c)) / 1e3,
- ease: mRe,
+ ease: yRe,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -69984,7 +69985,7 @@ var J4 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, SRe = (e, t, n) => {
+}, DRe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -69993,10 +69994,10 @@ var J4 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, CRe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, ORe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;
return r && i ? a ? o : o * .3 : o;
-}, wRe = ({ id: e, dataKey: t, config: n }) => {
+}, kRe = ({ id: e, dataKey: t, config: n }) => {
let r = F4(n[t] ?? {});
return /* @__PURE__ */ (0, R.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -70018,7 +70019,7 @@ var J4 = (e) => {
}, i);
})
});
-}, TRe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
+}, ARe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -70059,7 +70060,7 @@ var J4 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), ERe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
+] }), jRe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -70100,7 +70101,7 @@ var J4 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), DRe = ({ id: e, dataKey: t, config: n }) => {
+] }), MRe = ({ id: e, dataKey: t, config: n }) => {
let r = F4(n[t] ?? {});
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("linearGradient", {
@@ -70168,7 +70169,7 @@ var J4 = (e) => {
})
})
] });
-}, ORe = ({ id: e, dataKey: t, config: n }) => {
+}, NRe = ({ id: e, dataKey: t, config: n }) => {
let r = F4(n[t] ?? {});
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("linearGradient", {
@@ -70236,7 +70237,7 @@ var J4 = (e) => {
})
})
] });
-}, kRe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
+}, PRe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -70273,7 +70274,7 @@ var J4 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), ARe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
+] }), FRe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -70310,7 +70311,7 @@ var J4 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), jRe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)("filter", {
+] }), IRe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -70330,35 +70331,35 @@ var J4 = (e) => {
}),
/* @__PURE__ */ (0, R.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, R.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, R.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), MRe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), LRe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
let a = i / (e - 1), o = t + Math.sin(a * Math.PI) ** 2 * (n - t);
return {
offset: `${(a * 100).toFixed(0)}%`,
opacity: Number(o.toFixed(3))
};
});
-function NRe(e, t = 12) {
+function RRe(e, t = 12) {
let [n, r] = (0, L.useState)(!1), i = (0, L.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, L.useMemo)(() => ZLe(t, 20, 80), [t, n]),
+ loadingData: (0, L.useMemo)(() => nRe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var PRe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(l2, {
- dataKey: lRe,
+var zRe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(l2, {
+ dataKey: mRe,
fill: "currentColor",
fillOpacity: .15,
radius: W4,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, R.jsx)("defs", { children: /* @__PURE__ */ (0, R.jsx)(FRe, {
+}), /* @__PURE__ */ (0, R.jsx)("defs", { children: /* @__PURE__ */ (0, R.jsx)(BRe, {
chartId: e,
onShimmerExit: t
-}) })] }), FRe = ({ chartId: e, onShimmerExit: t }) => {
- let n = MRe(), r = (0, L.useRef)(-1);
+}) })] }), BRe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = LRe(), r = (0, L.useRef)(-1);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -70389,7 +70390,7 @@ var PRe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: uRe / 1e3,
+ duration: hRe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -70411,10 +70412,10 @@ var PRe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, R.jsxs)(R.Fr
})
] });
};
-q4.Bar = hRe, q4.XAxis = gRe, q4.YAxis = _Re, q4.Grid = vRe, q4.Tooltip = yRe, q4.Legend = bRe, q4.Brush = B4;
+q4.Bar = bRe, q4.XAxis = xRe, q4.YAxis = SRe, q4.Grid = CRe, q4.Tooltip = wRe, q4.Legend = TRe, q4.Brush = B4;
//#endregion
//#region src/react/charts/chart-card.tsx
-var Y4 = `${ga({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var Y4 = `${ba({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
function X4({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, R.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -70441,7 +70442,7 @@ var Z4 = [
"var(--color-chart-5)",
"var(--color-chart-6)"
], Q4 = (e) => ({ light: [e] }), $4 = (e) => `s${e}`;
-function IRe(e) {
+function VRe(e) {
return Object.fromEntries(e.map((e, t) => [$4(t), {
label: e,
colors: Q4(Z4[t % Z4.length])
@@ -70466,7 +70467,7 @@ function t3({ swatch: e, name: t, value: n }) {
});
}
var n3 = "size-2.5 shrink-0 rounded-xs";
-function LRe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+function HRe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
let { config: o } = A4(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, R.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
@@ -70491,7 +70492,7 @@ function LRe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLab
function r3({ nameKey: e, valueKey: t, hideLabel: n }) {
return /* @__PURE__ */ (0, R.jsx)(L4, {
cursor: !1,
- content: /* @__PURE__ */ (0, R.jsx)(LRe, {
+ content: /* @__PURE__ */ (0, R.jsx)(HRe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -70568,7 +70569,7 @@ var s3 = [
"周六",
"周日"
], c3 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function RRe(e) {
+function URe(e) {
let t = Array.from({ length: 7 }, () => Array(24).fill(0));
for (let n of e?.hours || []) {
let { weekday: e, hour: r, count: i } = n;
@@ -70585,7 +70586,7 @@ function RRe(e) {
total: n.reduce((e, t) => e + t, 0)
};
}
-function zRe(e) {
+function WRe(e) {
let t = (e?.days || []).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && Number.isFinite(e.count) && e.count >= 0).slice().sort((e, t) => e.date.localeCompare(t.date)), n = {
cells: [],
total: 0,
@@ -70624,19 +70625,19 @@ var l3 = 14, u3 = 17, d3 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, BRe = {
+}, GRe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function VRe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function KRe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${e3} ${BRe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${e3} ${GRe[a]}`,
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
@@ -70694,7 +70695,7 @@ function f3({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, R.jsx)(VRe, {
+ }), g && _ ? /* @__PURE__ */ (0, R.jsx)(KRe, {
cell: g,
series: t.series,
tone: c,
@@ -70710,7 +70711,7 @@ function f3({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var HRe = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [s3.map((e, t) => /* @__PURE__ */ (0, R.jsx)("text", {
+var qRe = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [s3.map((e, t) => /* @__PURE__ */ (0, R.jsx)("text", {
x: 0,
y: 18 + t * u3 + 7,
dominantBaseline: "middle",
@@ -70724,7 +70725,7 @@ var HRe = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [s3.map((e, t) =>
children: t
}, t))] });
function p3({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = RRe(e), s = zRe(e);
+ let o = URe(e), s = WRe(e);
return s.cells.length ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
children: [/* @__PURE__ */ (0, R.jsx)(f3, {
@@ -70735,7 +70736,7 @@ function p3({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: HRe,
+ axis: qRe,
footer: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, R.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
}), /* @__PURE__ */ (0, R.jsx)(f3, {
title: n,
@@ -70801,20 +70802,20 @@ function m3({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, R.jsx)(ct, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, R.jsx)(ft, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var URe = "30%", WRe = "100%", h3 = 5, g3 = 14, GRe = 5, _3 = 1500, v3 = (0, L.createContext)(null);
+var JRe = "30%", YRe = "100%", h3 = 5, g3 = 14, XRe = 5, _3 = 1500, v3 = (0, L.createContext)(null);
function y3() {
let e = (0, L.use)(v3);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function b3({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = URe, outerRadius: l = WRe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, L.useId)().replace(/:/g, ""), [h, g] = (0, L.useState)(u), _ = QRe(f), v = YRe(o), y = (0, L.useCallback)((e, t) => {
+function b3({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = JRe, outerRadius: l = YRe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, L.useId)().replace(/:/g, ""), [h, g] = (0, L.useState)(u), _ = rze(f), v = eze(o), y = (0, L.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -70846,7 +70847,7 @@ function b3({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
children: /* @__PURE__ */ (0, R.jsxs)(j4, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, R.jsx)(M4, { isLoading: f }), /* @__PURE__ */ (0, R.jsxs)(JLe, {
+ children: [/* @__PURE__ */ (0, R.jsx)(M4, { isLoading: f }), /* @__PURE__ */ (0, R.jsxs)($Le, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -70865,8 +70866,8 @@ function b3({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
}),
p && /* @__PURE__ */ (0, R.jsx)(U4, { variant: p }),
r,
- f && /* @__PURE__ */ (0, R.jsx)($Re, {}),
- /* @__PURE__ */ (0, R.jsx)("defs", { children: /* @__PURE__ */ (0, R.jsx)(XRe, {
+ f && /* @__PURE__ */ (0, R.jsx)(ize, {}),
+ /* @__PURE__ */ (0, R.jsx)("defs", { children: /* @__PURE__ */ (0, R.jsx)(tze, {
config: e,
chartId: m
}) })
@@ -70875,7 +70876,7 @@ function b3({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function KRe({ dataKey: e, cornerRadius: t = h3, barSize: n = g3, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+function ZRe({ dataKey: e, cornerRadius: t = h3, barSize: n = g3, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = y3();
return s ? null : /* @__PURE__ */ (0, R.jsx)(K1, {
dataKey: e,
@@ -70900,7 +70901,7 @@ function KRe({ dataKey: e, cornerRadius: t = h3, barSize: n = g3, showBackground
...a
});
}
-function qRe({ variant: e, roundness: t, defaultIndex: n }) {
+function QRe({ variant: e, roundness: t, defaultIndex: n }) {
let { nameKey: r, isLoading: i } = y3();
return i ? null : /* @__PURE__ */ (0, R.jsx)(L4, {
defaultIndex: n,
@@ -70913,7 +70914,7 @@ function qRe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function JRe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function $Re({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = y3();
return a ? null : /* @__PURE__ */ (0, R.jsx)(z4, {
verticalAlign: n,
@@ -70927,7 +70928,7 @@ function JRe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function YRe(e) {
+function eze(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -70943,7 +70944,7 @@ function YRe(e) {
};
}
}
-var XRe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, R.jsx)(R.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var tze = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, R.jsx)(R.Fragment, { children: Object.entries(e).map(([e, n]) => {
let r = F4(n);
return /* @__PURE__ */ (0, R.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
@@ -70966,13 +70967,13 @@ var XRe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, R.jsx)(R.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function ZRe() {
- return Array.from({ length: GRe }, (e, t) => ({
+function nze() {
+ return Array.from({ length: XRe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function QRe(e) {
+function rze(e) {
let [t, n] = (0, L.useState)(0);
return (0, L.useEffect)(() => {
if (!e) return;
@@ -70980,9 +70981,9 @@ function QRe(e) {
n((e) => e + 1);
}, _3);
return () => clearInterval(t);
- }, [e]), (0, L.useMemo)(() => ZRe(), [t]);
+ }, [e]), (0, L.useMemo)(() => nze(), [t]);
}
-var $Re = () => /* @__PURE__ */ (0, R.jsx)(K1, {
+var ize = () => /* @__PURE__ */ (0, R.jsx)(K1, {
dataKey: "value",
cornerRadius: h3,
barSize: g3,
@@ -70996,17 +70997,17 @@ var $Re = () => /* @__PURE__ */ (0, R.jsx)(K1, {
fillOpacity: .25
})
});
-b3.RadialBar = KRe, b3.Tooltip = qRe, b3.Legend = JRe;
+b3.RadialBar = ZRe, b3.Tooltip = QRe, b3.Legend = $Re;
//#endregion
//#region src/react/stats/radial-card.tsx
-var eze = [
+var aze = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], tze = [
+], oze = [
"aria-pressed:bg-chart-1/10 aria-pressed:ring-chart-1",
"aria-pressed:bg-chart-2/10 aria-pressed:ring-chart-2",
"aria-pressed:bg-chart-3/10 aria-pressed:ring-chart-3",
@@ -71047,13 +71048,13 @@ function x3({ title: e, rows: t, unit: n = "个视频" }) {
children: /* @__PURE__ */ (0, R.jsxs)(b3, {
data: f,
nameKey: "slice",
- config: IRe(s.map((e) => e.name)),
- max: P_e(s.map((e) => e.value)),
+ config: VRe(s.map((e) => e.name)),
+ max: z_e(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
children: [/* @__PURE__ */ (0, R.jsx)(b3.RadialBar, {
dataKey: "value",
- barSize: F_e(s.length),
+ barSize: B_e(s.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, R.jsx)(RW, {
...e,
@@ -71079,13 +71080,13 @@ function x3({ title: e, rows: t, unit: n = "个视频" }) {
onPointerLeave: () => o(-1),
onFocus: () => o(t),
onBlur: () => o(-1),
- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${tze[t % 6]}`,
+ className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${oze[t % 6]}`,
children: [
/* @__PURE__ */ (0, R.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, R.jsx)("i", {
"aria-hidden": !0,
- className: `size-3 shrink-0 rounded-sm ${eze[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${aze[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, R.jsx)("b", {
@@ -71104,7 +71105,7 @@ function x3({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var nze = 10, S3 = Z4[5], rze = Z4[4], ize = `${ga()} flex flex-col gap-4`, aze = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", oze = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", sze = "开始播放后,这里会显示最近的真实观看证据。", cze = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", lze = "添加媒体文件夹后,这里会显示存储空间。";
+var sze = 10, S3 = Z4[5], cze = Z4[4], lze = `${ba()} flex flex-col gap-4`, uze = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", dze = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", fze = "开始播放后,这里会显示最近的真实观看证据。", pze = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", mze = "添加媒体文件夹后,这里会显示存储空间。";
function C3({ term: e, value: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -71129,7 +71130,7 @@ function w3({ term: e, value: t, total: n }) {
children: [gI(t, n), "%"]
})]
})]
- }), /* @__PURE__ */ (0, R.jsx)(Ca, {
+ }), /* @__PURE__ */ (0, R.jsx)(Da, {
label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,
value: t,
max: Math.max(n, 1)
@@ -71157,14 +71158,14 @@ function T3({ term: e, figure: t, unit: n }) {
}
function E3({ headline: e, children: t }) {
return /* @__PURE__ */ (0, R.jsxs)("div", {
- className: `${ize} md:flex-row md:gap-6`,
+ className: `${lze} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, R.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function uze({ data: t, configurable: n, openMediaSettings: r }) {
+function hze({ data: t, configurable: n, openMediaSettings: r }) {
return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
@@ -71192,7 +71193,7 @@ function uze({ data: t, configurable: n, openMediaSettings: r }) {
unit: "个视频",
series: "视频",
color: S3,
- rows: z_e(t.by_length)
+ rows: W_e(t.by_length)
}),
/* @__PURE__ */ (0, R.jsx)(o3, {
title: "画质",
@@ -71207,28 +71208,28 @@ function uze({ data: t, configurable: n, openMediaSettings: r }) {
series: "条目",
color: S3,
layout: "horizontal",
- rows: L_e(t.by_medium)
+ rows: H_e(t.by_medium)
})
]
})]
- }) : /* @__PURE__ */ (0, R.jsx)(va, {
+ }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: Ht,
+ icon: Kt,
title: "还没有视频",
actions: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [n ? /* @__PURE__ */ (0, R.jsx)(V, {
size: "small",
onClick: r,
children: "添加媒体文件夹"
- }) : null, /* @__PURE__ */ (0, R.jsx)(oa, {
+ }) : null, /* @__PURE__ */ (0, R.jsx)(ua, {
variant: "secondary",
href: "/follow-manage?tab=add",
size: "small",
children: "添加关注"
})] }),
- children: aze
+ children: uze
});
}
-function dze({ data: e }) {
+function gze({ data: e }) {
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(p3, {
activity: e.play_activity,
title: "播放时间",
@@ -71243,11 +71244,11 @@ function dze({ data: e }) {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: rze,
- rows: V_e(e.replays)
+ color: cze,
+ rows: K_e(e.replays)
})] });
}
-function fze({ attribution: e }) {
+function _ze({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col",
@@ -71280,7 +71281,7 @@ function fze({ attribution: e }) {
]
});
}
-function pze({ volume: e }) {
+function vze({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, R.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -71301,7 +71302,7 @@ function pze({ volume: e }) {
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, R.jsx)(Ca, {
+ t == null ? null : /* @__PURE__ */ (0, R.jsx)(Da, {
label: `${e.label}空间使用率`,
value: n,
max: Math.max(t, 1)
@@ -71319,25 +71320,25 @@ function pze({ volume: e }) {
]
});
}
-function mze({ volumes: e, configurable: t, openMediaSettings: n }) {
+function yze({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, R.jsx)(pze, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, R.jsx)(va, {
+ children: e.map((e) => /* @__PURE__ */ (0, R.jsx)(vze, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: wt,
+ icon: Ot,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, R.jsx)(V, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: lze
+ children: mze
});
}
-function hze({ tags: e, tagLabel: t, onTag: n }) {
+function bze({ tags: e, tagLabel: t, onTag: n }) {
return e.length ? /* @__PURE__ */ (0, R.jsx)(m3, {
- previewCount: nze,
+ previewCount: sze,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, R.jsx)("li", {
className: "min-w-0",
@@ -71361,20 +71362,20 @@ function hze({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, e.k))
- }) : /* @__PURE__ */ (0, R.jsx)(va, {
+ }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: Mt,
+ icon: It,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, R.jsx)(oa, {
+ actions: /* @__PURE__ */ (0, R.jsx)(ua, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: oze
+ children: dze
});
}
-function gze({ rows: e }) {
+function xze({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
@@ -71386,18 +71387,18 @@ function gze({ rows: e }) {
children: [/* @__PURE__ */ (0, R.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, R.jsx)("a", {
- href: N_e(e),
+ href: R_e(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
})
}), /* @__PURE__ */ (0, R.jsxs)("p", {
className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, R.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, R.jsx)("span", { children: M_e(e) })]
+ children: [/* @__PURE__ */ (0, R.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, R.jsx)("span", { children: L_e(e) })]
})]
}), /* @__PURE__ */ (0, R.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, R.jsx)(Ca, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Da, {
label: `真实观看 ${t.toFixed(0)}%`,
value: t
}), /* @__PURE__ */ (0, R.jsx)("small", {
@@ -71407,20 +71408,20 @@ function gze({ rows: e }) {
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, R.jsx)(va, {
+ }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: Tt,
+ icon: kt,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, R.jsx)(oa, {
+ actions: /* @__PURE__ */ (0, R.jsx)(ua, {
variant: "secondary",
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: sze
+ children: fze
});
}
-function _ze({ sources: e, videos: t }) {
+function Sze({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, R.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, R.jsxs)("article", {
@@ -71439,7 +71440,7 @@ function _ze({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, R.jsx)(Ca, {
+ /* @__PURE__ */ (0, R.jsx)(Da, {
label: `${e.k} 覆盖视频`,
value: e.assets,
max: Math.max(t, 1)
@@ -71450,27 +71451,27 @@ function _ze({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, R.jsx)(va, {
+ }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: Mt,
+ icon: It,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, R.jsx)(oa, {
+ actions: /* @__PURE__ */ (0, R.jsx)(ua, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: cze
+ children: pze
});
}
function D3({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, R.jsx)(Ty, {
+ return /* @__PURE__ */ (0, R.jsx)(Dy, {
id: e,
- className: kS({
+ className: XS({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, R.jsx)(NS, {
+ children: /* @__PURE__ */ (0, R.jsx)(eC, {
label: t,
icon: i,
accent: a,
@@ -71479,34 +71480,34 @@ function D3({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function vze(e) {
- let t = vr({
+function Cze(e) {
+ let t = Sr({
queryKey: mI,
queryFn: ({ signal: e }) => hI(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, R.jsx)(ba, { children: /* @__PURE__ */ (0, R.jsx)(G, {
+ if (!n) return /* @__PURE__ */ (0, R.jsx)(wa, { children: /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? H(t.error) : "未取得统计数据,请刷新页面重试。"
}) });
let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = gI(n.tag_cov, n.attribution.videos);
- return /* @__PURE__ */ (0, R.jsxs)(ba, { children: [
+ return /* @__PURE__ */ (0, R.jsxs)(wa, { children: [
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${s(o)}`
}),
- /* @__PURE__ */ (0, R.jsxs)(Cy, {
+ /* @__PURE__ */ (0, R.jsxs)(Ty, {
defaultSelectedKey: "inventory",
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, R.jsxs)(wy, {
+ /* @__PURE__ */ (0, R.jsxs)(Ey, {
"aria-label": "统计视图",
- className: AS,
+ className: ZS,
children: [
/* @__PURE__ */ (0, R.jsx)(D3, {
id: "inventory",
label: "馆藏视频",
- icon: _t,
+ icon: xt,
accent: 0,
figure: a.toLocaleString(),
detail: s(o)
@@ -71514,15 +71515,15 @@ function vze(e) {
/* @__PURE__ */ (0, R.jsx)(D3, {
id: "viewing",
label: "看过",
- icon: xt,
+ icon: Tt,
accent: 1,
figure: r.played.toLocaleString(),
- detail: j_e(r.play_seconds)
+ detail: I_e(r.play_seconds)
}),
/* @__PURE__ */ (0, R.jsx)(D3, {
id: "coverage",
label: "内容标签",
- icon: Mt,
+ icon: It,
accent: 2,
figure: `${c}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
@@ -71530,21 +71531,21 @@ function vze(e) {
/* @__PURE__ */ (0, R.jsx)(D3, {
id: "storage",
label: "使用空间",
- icon: wt,
+ icon: Ot,
accent: 3,
figure: `${i.online} 个卷`,
detail: i.measured ? `已用 ${s(i.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, R.jsx)(Ey, {
+ /* @__PURE__ */ (0, R.jsx)(Oy, {
id: "inventory",
- children: /* @__PURE__ */ (0, R.jsx)(uze, {
+ children: /* @__PURE__ */ (0, R.jsx)(hze, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, R.jsxs)(Ey, {
+ /* @__PURE__ */ (0, R.jsxs)(Oy, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, R.jsx)(E3, {
@@ -71590,9 +71591,9 @@ function vze(e) {
})
]
})
- }), /* @__PURE__ */ (0, R.jsx)(dze, { data: n })]
+ }), /* @__PURE__ */ (0, R.jsx)(gze, { data: n })]
}),
- /* @__PURE__ */ (0, R.jsx)(Ey, {
+ /* @__PURE__ */ (0, R.jsx)(Oy, {
id: "coverage",
children: /* @__PURE__ */ (0, R.jsx)(E3, {
headline: /* @__PURE__ */ (0, R.jsx)(T3, {
@@ -71600,10 +71601,10 @@ function vze(e) {
figure: `${c}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, R.jsx)(fze, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, R.jsx)(_ze, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, R.jsx)(Ey, {
+ /* @__PURE__ */ (0, R.jsx)(Oy, {
id: "storage",
children: /* @__PURE__ */ (0, R.jsx)(E3, {
headline: /* @__PURE__ */ (0, R.jsx)(T3, {
@@ -71611,7 +71612,7 @@ function vze(e) {
figure: String(i.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, R.jsx)(mze, {
+ children: /* @__PURE__ */ (0, R.jsx)(yze, {
volumes: n.storage_volumes,
...e
})
@@ -71619,51 +71620,51 @@ function vze(e) {
})
]
}),
- /* @__PURE__ */ (0, R.jsxs)(Cy, {
+ /* @__PURE__ */ (0, R.jsxs)(Ty, {
defaultSelectedKey: "tags",
- className: `${ga({ padding: "none" })} flex flex-col`,
+ className: `${ba({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, R.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, R.jsxs)(XO, {
+ children: /* @__PURE__ */ (0, R.jsxs)(rk, {
"aria-label": "统计维度",
- className: QO,
+ className: ak,
children: [
- /* @__PURE__ */ (0, R.jsx)(Ty, {
+ /* @__PURE__ */ (0, R.jsx)(Dy, {
id: "tags",
- className: $O,
+ className: ok,
children: "内容标签"
}),
- /* @__PURE__ */ (0, R.jsx)(Ty, {
+ /* @__PURE__ */ (0, R.jsx)(Dy, {
id: "recent",
- className: $O,
+ className: ok,
children: "最近看过"
}),
- /* @__PURE__ */ (0, R.jsx)(Ty, {
+ /* @__PURE__ */ (0, R.jsx)(Dy, {
id: "sources",
- className: $O,
+ className: ok,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, R.jsx)(Ey, {
+ /* @__PURE__ */ (0, R.jsx)(Oy, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, R.jsx)(hze, {
+ children: /* @__PURE__ */ (0, R.jsx)(bze, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, R.jsx)(Ey, {
+ /* @__PURE__ */ (0, R.jsx)(Oy, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, R.jsx)(gze, { rows: n.recent })
+ children: /* @__PURE__ */ (0, R.jsx)(xze, { rows: n.recent })
}),
- /* @__PURE__ */ (0, R.jsx)(Ey, {
+ /* @__PURE__ */ (0, R.jsx)(Oy, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, R.jsx)(_ze, {
+ children: /* @__PURE__ */ (0, R.jsx)(Sze, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -71674,7 +71675,7 @@ function vze(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function yze(e, t) {
+function wze(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -71698,13 +71699,13 @@ function j3(e, t) {
function M3(e) {
return e.value;
}
-function bze(e) {
+function Tze(e) {
return e.index;
}
-function xze(e) {
+function Eze(e) {
return e.nodes;
}
-function Sze(e) {
+function Dze(e) {
return e.links;
}
function N3(e, t) {
@@ -71719,8 +71720,8 @@ function P3({ nodes: e }) {
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function Cze() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = bze, c = yze, l, u, d = xze, f = Sze, p = 6;
+function Oze() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = Tze, c = wze, l, u, d = Eze, f = Dze, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
@@ -71906,7 +71907,7 @@ function Cze() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var F3 = Math.PI, I3 = 2 * F3, L3 = 1e-6, wze = I3 - L3;
+var F3 = Math.PI, I3 = 2 * F3, L3 = 1e-6, kze = I3 - L3;
function R3() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
@@ -71947,7 +71948,7 @@ R3.prototype = z3.prototype = {
e = +e, t = +t, n = +n, a = !!a;
var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
if (n < 0) throw Error("negative radius: " + n);
- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > L3 || Math.abs(this._y1 - l) > L3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % I3 + I3), d > wze ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > L3 && (this._ += "A" + n + "," + n + ",0," + +(d >= F3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > L3 || Math.abs(this._y1 - l) > L3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % I3 + I3), d > kze ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > L3 && (this._ += "A" + n + "," + n + ",0," + +(d >= F3) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
},
rect: function(e, t, n, r) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";
@@ -71965,27 +71966,27 @@ function B3(e) {
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function Tze(e) {
+function Aze(e) {
return e[0];
}
-function Eze(e) {
+function jze(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var Dze = Array.prototype.slice;
+var Mze = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function Oze(e) {
+function Nze(e) {
return e.source;
}
-function kze(e) {
+function Pze(e) {
return e.target;
}
-function Aze(e) {
- var t = Oze, n = kze, r = Tze, i = Eze, a = null;
+function Fze(e) {
+ var t = Nze, n = Pze, r = Aze, i = jze, a = null;
function o() {
- var o, s = Dze.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ var o, s = Mze.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
if (a ||= o = z3(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
}
return o.source = function(e) {
@@ -72000,48 +72001,48 @@ function Aze(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function jze(e, t, n, r, i) {
+function Ize(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function Mze() {
- return Aze(jze);
+function Lze() {
+ return Fze(Ize);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function Nze(e) {
+function Rze(e) {
return [e.source.x1, e.y0];
}
-function Pze(e) {
+function zze(e) {
return [e.target.x0, e.y1];
}
-function Fze() {
- return Mze().source(Nze).target(Pze);
+function Bze() {
+ return Lze().source(Rze).target(zze);
}
//#endregion
//#region src/react/taste/taste.ts
-var Ize = "/api/taste", V3 = "/api/taste/refresh", Lze = "/api/taste/import", Rze = "/api/taste/source", H3 = (e) => ["taste", e], zze = ["taste", "refresh"], Bze = [
+var Vze = "/api/taste", V3 = "/api/taste/refresh", Hze = "/api/taste/import", Uze = "/api/taste/source", H3 = (e) => ["taste", e], Wze = ["taste", "refresh"], Gze = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], U3 = (e, t) => U(`${Ize}?window=${e}`, t), Vze = (e) => U(V3, e);
-async function Hze(e, t) {
+], U3 = (e, t) => U(`${Vze}?window=${e}`, t), Kze = (e) => U(V3, e);
+async function qze(e, t) {
await Y.fetchQuery({
queryKey: H3(e),
queryFn: () => U3(e, t)
});
}
-var Uze = (e) => W(V3, {
+var Jze = (e) => W(V3, {
window: e,
background: !0
-}), Wze = (e, t) => W(Rze, {
+}), Yze = (e, t) => W(Uze, {
operation: "remove",
source_key: e,
window: t
});
-async function Gze(e) {
- let t = await fetch(Lze, {
+async function Xze(e) {
+ let t = await fetch(Hze, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -72055,25 +72056,25 @@ async function Gze(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new sa(e || `导入失败(${t.status})`, t.status, n);
+ throw new da(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
-var Kze = 1e4, W3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", qze = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, Jze = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function Yze(e) {
+var Zze = 1e4, W3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", Qze = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, $ze = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function eBe(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
return e.web_visits && t.push(`浏览 ${e.web_visits}`), e.peach_items && t.push(`Peach ${e.peach_items}`), t.join(" · ");
}
-function Xze(e) {
- let t = e.map(Jze), n = Math.max(1, ...t);
+function tBe(e) {
+ let t = e.map($ze), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
var G3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
name: e.name,
value: Number(e.score)
})).sort((e, t) => t.value - e.value).slice(0, t);
-function Zze(e) {
+function nBe(e) {
let t = G3(e, 6);
return t.length < 3 ? [] : t;
}
@@ -72084,10 +72085,10 @@ var K3 = {
source: 145,
target: 545
};
-function Qze(e = []) {
+function rBe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = Cze().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
+ let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = Oze().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -72102,7 +72103,7 @@ function Qze(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = Fze();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = Bze();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -72132,7 +72133,7 @@ function Qze(e = []) {
total: a
};
}
-var $ze = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, J3 = L.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var iBe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, J3 = L.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = L.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
@@ -72255,14 +72256,14 @@ var Z3 = L.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
Z3.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var eBe = 1, tBe = .3, nBe = 6, Q3 = 1500, $3 = "value", e6 = (0, L.createContext)(null);
+var aBe = 1, oBe = .3, sBe = 6, Q3 = 1500, $3 = "value", e6 = (0, L.createContext)(null);
function t6() {
let e = (0, L.use)(e6);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
function n6({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
- let u = (0, L.useId)().replace(/:/g, ""), [d, f] = (0, L.useState)(o), p = hBe(c, l), m = (0, L.useCallback)((e) => {
+ let u = (0, L.useId)().replace(/:/g, ""), [d, f] = (0, L.useState)(o), p = bBe(c, l), m = (0, L.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, L.useMemo)(() => ({
config: e,
@@ -72280,32 +72281,32 @@ function n6({ config: e, data: t, children: n, className: r, chartProps: i, back
children: /* @__PURE__ */ (0, R.jsxs)(j4, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, R.jsx)(M4, { isLoading: c }), /* @__PURE__ */ (0, R.jsxs)(BLe, {
+ children: [/* @__PURE__ */ (0, R.jsx)(M4, { isLoading: c }), /* @__PURE__ */ (0, R.jsxs)(GLe, {
id: u,
data: c ? p : t,
...i,
children: [
a && /* @__PURE__ */ (0, R.jsx)(U4, { variant: a }),
n,
- c && /* @__PURE__ */ (0, R.jsx)(gBe, {})
+ c && /* @__PURE__ */ (0, R.jsx)(xBe, {})
]
})]
})
});
}
-function rBe({ dataKey: e, variant: t = "filled", fillOpacity: n = tBe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function cBe({ dataKey: e, variant: t = "filled", fillOpacity: n = oBe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = t6(), d = (0, L.useId)().replace(/:/g, "");
if (c) return null;
let f = i && l !== null && l !== e, p = {
stroke: f ? .2 : 1,
fill: f ? .1 : 1,
dot: f ? .2 : 1
- }, m = t === "filled", { dot: h, activeDot: g } = lBe(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = mBe(a, d, e, p.dot);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(g1, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: eBe,
+ strokeWidth: aBe,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -72318,29 +72319,29 @@ function rBe({ dataKey: e, variant: t = "filled", fillOpacity: n = tBe, isGlowin
},
...o
}), /* @__PURE__ */ (0, R.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, R.jsx)(uBe, {
+ /* @__PURE__ */ (0, R.jsx)(hBe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, R.jsx)(dBe, {
+ /* @__PURE__ */ (0, R.jsx)(gBe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, R.jsx)(fBe, {
+ m && /* @__PURE__ */ (0, R.jsx)(_Be, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, R.jsx)(pBe, {
+ r && /* @__PURE__ */ (0, R.jsx)(vBe, {
id: d,
dataKey: e
})
] })] });
}
var r6 = () => null, i6 = () => null;
-function iBe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+function lBe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
return /* @__PURE__ */ (0, R.jsx)(l$, {
gridType: e,
stroke: t,
@@ -72349,7 +72350,7 @@ function iBe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function aBe({ tick: e = {
+function uBe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
@@ -72360,7 +72361,7 @@ function aBe({ tick: e = {
...n
});
}
-function oBe({ tick: e = {
+function dBe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
@@ -72372,7 +72373,7 @@ function oBe({ tick: e = {
...r
});
}
-function sBe({ variant: e, roundness: t, defaultIndex: n }) {
+function fBe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = t6();
return r ? null : /* @__PURE__ */ (0, R.jsx)(L4, {
defaultIndex: n,
@@ -72384,7 +72385,7 @@ function sBe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function cBe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function pBe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { isLoading: i, selectedDataKey: a, selectDataKey: o } = t6();
return i ? null : /* @__PURE__ */ (0, R.jsx)(z4, {
verticalAlign: n,
@@ -72397,7 +72398,7 @@ function cBe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var lBe = (e, t, n, r) => {
+var mBe = (e, t, n, r) => {
let i = !1, a = !1;
return L.Children.forEach(e, (e) => {
if ((0, L.isValidElement)(e)) {
@@ -72439,7 +72440,7 @@ var lBe = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), uBe = ({ id: e, dataKey: t, config: n }) => {
+}) }), hBe = ({ id: e, dataKey: t, config: n }) => {
let r = F4(n[t] ?? {});
return /* @__PURE__ */ (0, R.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -72452,7 +72453,7 @@ var lBe = (e, t, n, r) => {
colorsCount: r
})
});
-}, dBe = ({ id: e, dataKey: t, config: n }) => {
+}, gBe = ({ id: e, dataKey: t, config: n }) => {
let r = F4(n[t] ?? {});
return /* @__PURE__ */ (0, R.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -72465,7 +72466,7 @@ var lBe = (e, t, n, r) => {
colorsCount: r
})
});
-}, fBe = ({ id: e, dataKey: t, config: n }) => {
+}, _Be = ({ id: e, dataKey: t, config: n }) => {
let r = F4(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, R.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
@@ -72478,7 +72479,7 @@ var lBe = (e, t, n, r) => {
opacities: i
})
});
-}, pBe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)("filter", {
+}, vBe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, R.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -72498,7 +72499,7 @@ var lBe = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, R.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, R.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, R.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), mBe = (e) => [
+}), yBe = (e) => [
"A",
"B",
"C",
@@ -72509,7 +72510,7 @@ var lBe = (e, t, n, r) => {
skill: e,
[$3]: 30 + Math.random() * 70
}));
-function hBe(e, t = nBe) {
+function bBe(e, t = sBe) {
let [n, r] = (0, L.useState)(0);
return (0, L.useEffect)(() => {
if (!e) return;
@@ -72517,9 +72518,9 @@ function hBe(e, t = nBe) {
r((e) => e + 1);
}, Q3);
return () => clearInterval(t);
- }, [e]), (0, L.useMemo)(() => mBe(t), [t, n]);
+ }, [e]), (0, L.useMemo)(() => yBe(t), [t, n]);
}
-var gBe = () => /* @__PURE__ */ (0, R.jsx)(g1, {
+var xBe = () => /* @__PURE__ */ (0, R.jsx)(g1, {
dataKey: $3,
stroke: "currentColor",
strokeOpacity: .3,
@@ -72531,17 +72532,17 @@ var gBe = () => /* @__PURE__ */ (0, R.jsx)(g1, {
animationDuration: Q3,
animationEasing: "ease-in-out"
});
-n6.Radar = rBe, n6.Dot = r6, n6.ActiveDot = i6, n6.PolarGrid = iBe, n6.PolarAngleAxis = aBe, n6.PolarRadiusAxis = oBe, n6.Tooltip = sBe, n6.Legend = cBe;
+n6.Radar = cBe, n6.Dot = r6, n6.ActiveDot = i6, n6.PolarGrid = lBe, n6.PolarAngleAxis = uBe, n6.PolarRadiusAxis = dBe, n6.Tooltip = fBe, n6.Legend = pBe;
//#endregion
//#region src/react/taste/charts.tsx
-var _Be = [
+var SBe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], vBe = [
+], CBe = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
@@ -72551,7 +72552,7 @@ var _Be = [
], o6 = { value: {
label: "标签命中",
colors: Q4(Z4[3])
-} }, yBe = [
+} }, wBe = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -72561,20 +72562,20 @@ var _Be = [
"min-h-52",
"min-h-60",
"min-h-64"
-], bBe = 26, xBe = { radius: o6.value }, SBe = (e, t) => Math.sqrt(e / t);
-function CBe({ rows: e, label: t }) {
- let n = Zze(e);
+], TBe = 26, EBe = { radius: o6.value }, DBe = (e, t) => Math.sqrt(e / t);
+function OBe({ rows: e, label: t }) {
+ let n = nBe(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: SBe(e.value, r)
+ radius: DBe(e.value, r)
}));
return /* @__PURE__ */ (0, R.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
children: /* @__PURE__ */ (0, R.jsxs)(n6, {
data: i,
- config: xBe,
+ config: EBe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
@@ -72591,17 +72592,17 @@ function CBe({ rows: e, label: t }) {
})
});
}
-function wBe({ rows: e, label: t }) {
+function kBe({ rows: e, label: t }) {
let n = G3(e, 8);
return n.length ? /* @__PURE__ */ (0, R.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${yBe[n.length]}`,
+ className: `flex grow flex-col ${wBe[n.length]}`,
children: /* @__PURE__ */ (0, R.jsxs)(q4, {
data: n,
config: o6,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: bBe },
+ chartProps: { maxBarSize: TBe },
className: "aspect-auto text-text-secondary",
children: [
/* @__PURE__ */ (0, R.jsx)(q4.YAxis, {
@@ -72625,8 +72626,8 @@ function wBe({ rows: e, label: t }) {
})
}) : null;
}
-function TBe({ flows: e }) {
- let [t, n] = (0, L.useState)(null), r = Qze(e);
+function ABe({ flows: e }) {
+ let [t, n] = (0, L.useState)(null), r = rBe(e);
if (!r) return null;
let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;
return /* @__PURE__ */ (0, R.jsxs)("section", {
@@ -72654,7 +72655,7 @@ function TBe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${_Be[e.color]}`,
+ className: `outline-none transition-opacity ${SBe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -72688,14 +72689,14 @@ function TBe({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? vBe[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? CBe[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, R.jsxs)("text", {
x: q3[e.side],
y: e.y + e.height / 2,
textAnchor: e.side === "source" ? "end" : "start",
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
- children: [$ze(e.name), /* @__PURE__ */ (0, R.jsx)("tspan", {
+ children: [iBe(e.name), /* @__PURE__ */ (0, R.jsx)("tspan", {
x: q3[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
@@ -72713,11 +72714,11 @@ function TBe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var EBe = 10, s6 = ta(Ny, Py, "text-body-2-medium"), c6 = `${ga()} flex flex-col gap-4`, l6 = "rounded-xl bg-background-primary-default p-3", DBe = "读取运行 Peach 的这台电脑上的浏览记录", OBe = "导入或读取浏览记录后,这里会列出已采集设备。", kBe = "馆藏里暂时没有对得上浏览信号的标签。", ABe = "采集浏览记录后,这里会显示聚合后的口味证据。", jBe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", MBe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", NBe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", PBe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", FBe = "这个数据源将不再用于口味分析。原始导出文件保留。", u6 = "peach-taste-guide-dismissed";
+var jBe = 10, s6 = aa(Ly, Ry, "text-body-2-medium"), c6 = `${ba()} flex flex-col gap-4`, l6 = "rounded-xl bg-background-primary-default p-3", MBe = "读取运行 Peach 的这台电脑上的浏览记录", NBe = "导入或读取浏览记录后,这里会列出已采集设备。", PBe = "馆藏里暂时没有对得上浏览信号的标签。", FBe = "采集浏览记录后,这里会显示聚合后的口味证据。", IBe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", LBe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", RBe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", zBe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", BBe = "这个数据源将不再用于口味分析。原始导出文件保留。", u6 = "peach-taste-guide-dismissed";
function d6({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
- className: kS(),
- children: /* @__PURE__ */ (0, R.jsx)(NS, {
+ className: XS(),
+ children: /* @__PURE__ */ (0, R.jsx)(eC, {
label: t,
icon: e,
accent: i,
@@ -72740,22 +72741,22 @@ function f6({ name: e, domain: t }) {
})]
});
}
-function IBe({ html: e }) {
+function VBe({ html: e }) {
return /* @__PURE__ */ (0, R.jsx)("span", {
className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${ZN}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function LBe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
- if (!e.length) return /* @__PURE__ */ (0, R.jsx)(va, {
+function HBe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
+ if (!e.length) return /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: Ft,
+ icon: zt,
title: "暂无足够证据",
children: r
});
- let o = Xze(e);
+ let o = tBe(e);
return /* @__PURE__ */ (0, R.jsx)(m3, {
- previewCount: EBe,
+ previewCount: jBe,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let s = !!t && !!e.peach_items, c = String(e.source_domain || ""), l = /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
@@ -72782,7 +72783,7 @@ function LBe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
name: e.name,
domain: c
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, R.jsx)(IBe, { html: a(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, R.jsx)(VBe, { html: a(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
image_version: e.image_version,
@@ -72795,10 +72796,10 @@ function LBe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
children: e.name
}), /* @__PURE__ */ (0, R.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: Yze(e)
+ children: eBe(e)
})]
}),
- s ? /* @__PURE__ */ (0, R.jsx)(ut, {
+ s ? /* @__PURE__ */ (0, R.jsx)(mt, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -72819,23 +72820,23 @@ function LBe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
});
}
function p6({ label: e, panels: t, onSignal: n, avatarInner: r }) {
- return /* @__PURE__ */ (0, R.jsxs)(Cy, {
- className: `${ga({ padding: "none" })} flex flex-col`,
+ return /* @__PURE__ */ (0, R.jsxs)(Ty, {
+ className: `${ba({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, R.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, R.jsx)(XO, {
+ children: /* @__PURE__ */ (0, R.jsx)(rk, {
"aria-label": e,
- className: QO,
- children: t.map((e) => /* @__PURE__ */ (0, R.jsx)(Ty, {
+ className: ak,
+ children: t.map((e) => /* @__PURE__ */ (0, R.jsx)(Dy, {
id: e.id,
- className: $O,
+ className: ok,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, R.jsx)(Ey, {
+ }), t.map((e) => /* @__PURE__ */ (0, R.jsx)(Oy, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, R.jsx)(LBe, {
+ children: /* @__PURE__ */ (0, R.jsx)(HBe, {
...e.props,
onSignal: n,
avatarInner: r
@@ -72843,7 +72844,7 @@ function p6({ label: e, panels: t, onSignal: n, avatarInner: r }) {
}, e.id))]
});
}
-function RBe({ data: e, onSignal: t, navigate: n }) {
+function UBe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -72909,21 +72910,21 @@ function RBe({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, R.jsx)(ut, {
+ }), /* @__PURE__ */ (0, R.jsx)(mt, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, R.jsx)(va, {
+ }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: Ft,
+ icon: zt,
title: "还没有可探索的入口",
- children: kBe
+ children: PBe
})
]
});
}
-function zBe({ onboarding: e, done: t }) {
+function WBe({ onboarding: e, done: t }) {
let [n, r] = (0, L.useState)(() => {
try {
return localStorage.getItem(u6) === "1";
@@ -72932,21 +72933,21 @@ function zBe({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, R.jsx)("div", {
- className: ga({
+ className: ba({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, R.jsxs)($y, {
+ children: /* @__PURE__ */ (0, R.jsxs)(sb, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: MBe
+ children: LBe
}),
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: NBe
+ children: RBe
}),
/* @__PURE__ */ (0, R.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -72976,7 +72977,7 @@ function zBe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, R.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: PBe
+ children: zBe
}),
/* @__PURE__ */ (0, R.jsx)("span", {
className: "self-start",
@@ -72996,7 +72997,7 @@ function zBe({ onboarding: e, done: t }) {
})
});
}
-function BBe({ busy: e, onRefresh: t, onImport: n }) {
+function GBe({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, L.useRef)(null), [i, a] = (0, L.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -73005,15 +73006,15 @@ function BBe({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, R.jsx)(V, {
- leadingIcon: gt,
- title: DBe,
+ leadingIcon: bt,
+ title: MBe,
onClick: t,
...K(e),
children: "读取浏览器历史"
}), /* @__PURE__ */ (0, R.jsx)(V, {
ref: r,
iconOnly: !0,
- leadingIcon: ct,
+ leadingIcon: ft,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
@@ -73022,21 +73023,21 @@ function BBe({ busy: e, onRefresh: t, onImport: n }) {
e || a(!0);
}
})]
- }), /* @__PURE__ */ (0, R.jsx)(ig, {
+ }), /* @__PURE__ */ (0, R.jsx)(cg, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: My,
- children: /* @__PURE__ */ (0, R.jsxs)(aO, {
+ className: Py,
+ children: /* @__PURE__ */ (0, R.jsxs)(cO, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
className: s6,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, R.jsx)(gt, {
+ children: [/* @__PURE__ */ (0, R.jsx)(bt, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -73044,7 +73045,7 @@ function BBe({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: s6,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, R.jsx)(Bt, {
+ children: [/* @__PURE__ */ (0, R.jsx)(Wt, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -73052,9 +73053,9 @@ function BBe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function VBe({ sources: e, window: t, toast: n }) {
- let r = yr({
- mutationFn: (e) => Wze(e, t),
+function KBe({ sources: e, window: t, toast: n }) {
+ let r = Cr({
+ mutationFn: (e) => Yze(e, t),
onSuccess: (e) => {
Y.setQueryData(H3(t), e.dashboard), n("已移除口味数据源");
}
@@ -73078,10 +73079,10 @@ function VBe({ sources: e, window: t, toast: n }) {
children: [
/* @__PURE__ */ (0, R.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, R.jsx)(Bt, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, R.jsx)(Wt, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, R.jsx)(_t, {
+ }) : /* @__PURE__ */ (0, R.jsx)(xt, {
"aria-hidden": !0,
className: "size-4"
})
@@ -73101,12 +73102,12 @@ function VBe({ sources: e, window: t, toast: n }) {
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: vt,
+ leadingIcon: St,
...K(r.isPending),
onClick: () => {
r.isPending || b({
title: "移除口味数据源",
- body: FBe,
+ body: BBe,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -73114,30 +73115,30 @@ function VBe({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, R.jsx)(va, {
+ }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: _t,
+ icon: xt,
title: "还没有数据源",
- children: OBe
+ children: NBe
})
]
});
}
-function HBe(e) {
- let { onSignal: t, navigate: n, toast: r, avatarInner: i, onboarding: a } = e, [o, c] = (0, L.useState)("all"), [l, u] = (0, L.useState)("browser"), d = (0, L.useRef)(null), f = vr({
+function qBe(e) {
+ let { onSignal: t, navigate: n, toast: r, avatarInner: i, onboarding: a } = e, [o, c] = (0, L.useState)("all"), [l, u] = (0, L.useState)("browser"), d = (0, L.useRef)(null), f = Sr({
queryKey: H3(o),
queryFn: ({ signal: e }) => U3(o, e),
- placeholderData: _n
- }), { job: p, running: m, outcome: h, start: g } = yO({
- queryKey: zze,
- queryFn: ({ signal: e }) => Vze(e),
- start: () => Uze(o),
- idlePollMs: Kze,
+ placeholderData: xn
+ }), { job: p, running: m, outcome: h, start: g } = SO({
+ queryKey: Wze,
+ queryFn: ({ signal: e }) => Kze(e),
+ start: () => Jze(o),
+ idlePollMs: Zze,
onFinish: (e) => {
e.status !== "failed" && (Y.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
}
- }), _ = yr({
- mutationFn: (e) => Gze(e),
+ }), _ = Cr({
+ mutationFn: (e) => Xze(e),
onSuccess: (e) => {
Y.setQueryData(H3("all"), e.dashboard), c("all"), r("已导入口味数据");
}
@@ -73147,47 +73148,47 @@ function HBe(e) {
}, y = () => {
m || g.isPending || (g.reset(), g.mutate());
}, b = f.data;
- if (!b) return /* @__PURE__ */ (0, R.jsx)(ba, { children: /* @__PURE__ */ (0, R.jsx)(G, {
+ if (!b) return /* @__PURE__ */ (0, R.jsx)(wa, { children: /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
title: "口味分析读取失败",
children: f.error ? H(f.error) : "读取口味分析失败"
}) });
let x = b.summary || {}, S = b.coverage || {}, C = b.rankings || {}, w = b.storage || {}, T = C.browser_categories || [], E = b.gaps || [], D = S.tagged || 0, O = S.identified || 0, k = g.error ? H(g.error) : _.error ? H(_.error) : h?.status === "failed" ? h.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, R.jsxs)(ba, { children: [
- /* @__PURE__ */ (0, R.jsxs)(Cy, {
+ return /* @__PURE__ */ (0, R.jsxs)(wa, { children: [
+ /* @__PURE__ */ (0, R.jsxs)(Ty, {
selectedKey: l,
onSelectionChange: (e) => u(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, R.jsxs)(XO, {
+ children: [/* @__PURE__ */ (0, R.jsxs)(rk, {
"aria-label": "口味证据来源",
- className: QO,
- children: [/* @__PURE__ */ (0, R.jsx)(Ty, {
+ className: ak,
+ children: [/* @__PURE__ */ (0, R.jsx)(Dy, {
id: "browser",
- className: $O,
+ className: ok,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, R.jsx)(Ty, {
+ }), /* @__PURE__ */ (0, R.jsx)(Dy, {
id: "peach",
- className: $O,
+ className: ok,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(Iy, {
+ /* @__PURE__ */ (0, R.jsx)(Wy, {
"aria-label": "分析范围",
selectedKey: o,
onSelectionChange: (e) => {
e !== null && c(String(e));
},
- children: Bze.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Ly, {
+ children: Gze.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)(Gy, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, R.jsx)(BBe, {
+ /* @__PURE__ */ (0, R.jsx)(GBe, {
busy: m || g.isPending || _.isPending,
onRefresh: y,
onImport: () => d.current?.click()
@@ -73203,7 +73204,7 @@ function HBe(e) {
]
})]
}),
- /* @__PURE__ */ (0, R.jsx)(zBe, {
+ /* @__PURE__ */ (0, R.jsx)(WBe, {
onboarding: a,
done: !!(x.history_sources || b.updated_at)
}),
@@ -73211,48 +73212,48 @@ function HBe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- m ? /* @__PURE__ */ (0, R.jsx)(hO, {
+ m ? /* @__PURE__ */ (0, R.jsx)(vO, {
label: p?.message || "正在读取浏览记录并更新口味分析",
value: p?.checked,
total: p?.total
}) : null,
- _.isPending ? /* @__PURE__ */ (0, R.jsx)(hO, { label: "正在导入历史文件" }) : null,
+ _.isPending ? /* @__PURE__ */ (0, R.jsx)(vO, { label: "正在导入历史文件" }) : null,
k ? /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
children: k
}) : null
]
}),
- /* @__PURE__ */ (0, R.jsxs)(Ey, {
+ /* @__PURE__ */ (0, R.jsxs)(Oy, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
- className: AS,
+ className: ZS,
children: [
/* @__PURE__ */ (0, R.jsx)(d6, {
accent: 0,
- icon: Tt,
+ icon: kt,
term: "浏览记录",
figure: Number(x.history_visits || 0).toLocaleString(),
detail: `${x.history_sources || 0} 个数据源 · ${W3(x.range_start)}—${W3(x.range_end)}`
}),
/* @__PURE__ */ (0, R.jsx)(d6, {
accent: 1,
- icon: Mt,
+ icon: It,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, R.jsx)(d6, {
accent: 2,
- icon: Ft,
+ icon: zt,
term: "浏览候选",
figure: E.length.toLocaleString()
}),
/* @__PURE__ */ (0, R.jsx)(d6, {
accent: 3,
- icon: _t,
+ icon: xt,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
detail: s(w.bytes || 0)
@@ -73269,7 +73270,7 @@ function HBe(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, R.jsx)(CBe, {
+ /* @__PURE__ */ (0, R.jsx)(OBe, {
rows: T,
label: "主要口味维度"
}),
@@ -73280,14 +73281,14 @@ function HBe(e) {
]
}), /* @__PURE__ */ (0, R.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, R.jsx)(wBe, {
+ children: T.length ? /* @__PURE__ */ (0, R.jsx)(kBe, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, R.jsx)(va, {
+ }) : /* @__PURE__ */ (0, R.jsx)(Sa, {
shell: "plain",
- icon: Ft,
+ icon: zt,
title: "暂无口味维度",
- children: ABe
+ children: FBe
})
})]
}),
@@ -73303,7 +73304,7 @@ function HBe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, R.jsx)(TBe, { flows: b.creator_flows }),
+ /* @__PURE__ */ (0, R.jsx)(ABe, { flows: b.creator_flows }),
/* @__PURE__ */ (0, R.jsx)(p6, {
label: "浏览器口味维度",
onSignal: t,
@@ -73346,42 +73347,42 @@ function HBe(e) {
rows: E,
kind: "",
visual: "none",
- empty: jBe
+ empty: IBe
}
}
]
})
]
}),
- /* @__PURE__ */ (0, R.jsxs)(Ey, {
+ /* @__PURE__ */ (0, R.jsxs)(Oy, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
- className: AS,
+ className: ZS,
children: [
/* @__PURE__ */ (0, R.jsx)(d6, {
accent: 0,
- icon: xt,
+ icon: Tt,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
- detail: qze(x.peach_seconds || 0)
+ detail: Qze(x.peach_seconds || 0)
}),
/* @__PURE__ */ (0, R.jsx)(d6, {
accent: 1,
- icon: zt,
+ icon: Ut,
term: "喜欢",
figure: Number(x.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, R.jsx)(d6, {
accent: 2,
- icon: Rt,
+ icon: Ht,
term: "不合口味",
figure: Number(x.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, R.jsx)(d6, {
accent: 3,
- icon: Mt,
+ icon: It,
term: "有标签",
figure: D.toLocaleString()
})
@@ -73460,12 +73461,12 @@ function HBe(e) {
})
]
}),
- /* @__PURE__ */ (0, R.jsx)(RBe, {
+ /* @__PURE__ */ (0, R.jsx)(UBe, {
data: b,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, R.jsx)(VBe, {
+ /* @__PURE__ */ (0, R.jsx)(KBe, {
sources: b.sources || [],
window: o,
toast: r
@@ -73485,7 +73486,7 @@ function m6({ term: e, value: t, rest: n }) {
children: `${n} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, R.jsx)(Ca, {
+ }), /* @__PURE__ */ (0, R.jsx)(Da, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -73500,7 +73501,7 @@ var h6 = {
label: "取消",
glyph: "x"
};
-function UBe(e, t = !1) {
+function JBe(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -73607,18 +73608,18 @@ function y6() {
let e = g6;
if (!e || !_6) return;
let t = v6;
- (0, it.flushSync)(() => _6.render(/* @__PURE__ */ (0, R.jsx)(VF, { children: /* @__PURE__ */ (0, R.jsx)(KBe, {
+ (0, ct.flushSync)(() => _6.render(/* @__PURE__ */ (0, R.jsx)(VF, { children: /* @__PURE__ */ (0, R.jsx)(ZBe, {
host: e,
props: t
}) })));
}
-var WBe = { render(e) {
+var YBe = { render(e) {
v6 = e, y6();
} };
-function GBe(e) {
- return g6 = e, _6 = (0, at.createRoot)(e.root), y6(), WBe;
+function XBe(e) {
+ return g6 = e, _6 = (0, lt.createRoot)(e.root), y6(), YBe;
}
-function KBe({ host: e, props: t }) {
+function ZBe({ host: e, props: t }) {
return /* @__PURE__ */ (0, R.jsx)("div", {
className: "peach-react",
"data-batch-scope": "",
@@ -73627,7 +73628,7 @@ function KBe({ host: e, props: t }) {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count} 项`,
- children: UBe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, R.jsxs)("button", {
+ children: JBe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
"data-batch-group": t.group,
"data-batch-action": t.operation,
@@ -73643,33 +73644,119 @@ function KBe({ host: e, props: t }) {
});
}
//#endregion
+//#region src/react/components/glow-preset-grid.tsx
+function b6({ store: e, label: t, hidden: n }) {
+ let r = e.value.homeGlow;
+ return /* @__PURE__ */ (0, R.jsx)("div", {
+ "data-glow-grid": "",
+ role: "group",
+ "aria-label": t,
+ hidden: n,
+ children: Ne(r).map((t) => /* @__PURE__ */ (0, R.jsx)("button", {
+ type: "button",
+ "data-glow-chip": "",
+ "data-glow-preset": t.key,
+ "aria-pressed": t.key === r.preset,
+ title: t.label,
+ "aria-label": t.label,
+ onClick: () => Me(t.key, e),
+ children: /* @__PURE__ */ (0, R.jsx)("span", {
+ "data-glow-ball": "",
+ "aria-hidden": "true",
+ "data-glow-native": t.native ? "" : void 0,
+ style: t.native ? void 0 : { "--glow-chip": t.fill }
+ })
+ }, t.key))
+ });
+}
+//#endregion
+//#region src/react/glow-picker/glow-picker-island.tsx
+function QBe(e) {
+ let t = (0, lt.createRoot)(e.root);
+ (0, ct.flushSync)(() => t.render(/* @__PURE__ */ (0, R.jsx)($Be, { host: e })));
+}
+function $Be({ host: e }) {
+ let { store: t } = e;
+ (0, L.useSyncExternalStore)(t.subscribe, t.version);
+ let { homeGlow: n, accent: r } = t.value;
+ return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
+ /* @__PURE__ */ (0, R.jsxs)("header", {
+ "data-glow-head": "",
+ "data-glow-presets": "",
+ hidden: !n.on,
+ children: [/* @__PURE__ */ (0, R.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, R.jsx)("button", {
+ type: "button",
+ "data-glow-preset-reset": "",
+ onClick: () => Pe(t),
+ children: "重置"
+ })]
+ }),
+ /* @__PURE__ */ (0, R.jsx)(b6, {
+ store: t,
+ label: "光晕",
+ hidden: !n.on
+ }),
+ /* @__PURE__ */ (0, R.jsx)("p", {
+ "data-glow-head": "",
+ "data-glow-sub": "",
+ children: /* @__PURE__ */ (0, R.jsx)("span", { children: "强调色" })
+ }),
+ /* @__PURE__ */ (0, R.jsx)("div", {
+ "data-accent-grid": "",
+ role: "group",
+ "aria-label": "强调色",
+ children: Ae.map(([e, n]) => /* @__PURE__ */ (0, R.jsx)("button", {
+ type: "button",
+ "data-glow-chip": "",
+ "data-accent": e,
+ "aria-pressed": e === r,
+ title: n,
+ "aria-label": n,
+ onClick: () => je(e, t),
+ children: /* @__PURE__ */ (0, R.jsx)("span", {
+ "data-glow-ball": "",
+ "aria-hidden": "true",
+ "data-accent-ball": e
+ })
+ }, e))
+ }),
+ /* @__PURE__ */ (0, R.jsx)("footer", { children: /* @__PURE__ */ (0, R.jsx)("button", {
+ type: "button",
+ className: "geist-button primary",
+ "data-glow-detail": "",
+ onClick: () => e.openDetails(),
+ children: "详细设置"
+ }) })
+ ] });
+}
+//#endregion
//#region src/player/host.ts
-var b6 = null;
-function qBe(e) {
- b6 = e;
+var x6 = null;
+function eVe(e) {
+ x6 = e;
}
-function x6() {
- if (!b6) throw Error("播放器还没有接上宿主(configurePlayer)");
- return b6;
+function S6() {
+ if (!x6) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return x6;
}
//#endregion
//#region src/player/menu.ts
-var S6 = null;
-function JBe(e) {
- S6 = e;
+var C6 = null;
+function tVe(e) {
+ C6 = e;
}
-function YBe() {
+function nVe() {
let e = document.getElementById("playerMenu");
return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;
}
-var C6 = null, w6 = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function T6() {
+var w6 = null, T6 = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function E6() {
let e = document.getElementById("playerMenu");
e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && S(e, () => {
e.innerHTML = "";
- }), C6 &&= (C6(), null);
+ }), w6 &&= (w6(), null);
}
-async function XBe(e) {
+async function rVe(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -73682,12 +73769,12 @@ async function XBe(e) {
return t.remove(), n;
}
}
-function ZBe(e) {
- let t = !!S6?.inMiniplayer(e), n = e.peachItem, r = S6?.kind(e) ?? "item", i = (t) => {
+function iVe(e) {
+ let t = !!C6?.inMiniplayer(e), n = e.peachItem, r = C6?.kind(e) ?? "item", i = (t) => {
let i = new URL(r === "follow" ? `/follow/item/${n?.id}` : `/item/${n?.id}`, location.origin);
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- XBe(i(e)).then((e) => x6().toast(e ? t : "复制失败,请手动复制地址栏", {
+ rVe(i(e)).then((e) => S6().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -73699,11 +73786,11 @@ function ZBe(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => S6?.expand()
+ run: () => C6?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => S6?.toMiniplayer()
+ run: () => C6?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -73726,29 +73813,29 @@ function ZBe(e) {
run: () => s.click()
}), o;
}
-function QBe(e, t, n) {
- let r = YBe();
- T6();
- let a = x6().stage();
+function aVe(e, t, n) {
+ let r = nVe();
+ E6();
+ let a = S6().stage();
a instanceof HTMLDialogElement && a.open && a.append(r), r.setAttribute("popover", "manual");
- let o = ZBe(e);
+ let o = iVe(e);
r.innerHTML = o.map((e, t) => {
let n = e.checked !== void 0;
- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${w6(l(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${i(e.label)}</span>${n ? w6(l("check"), "data-player-menu-check") : ""}</button>`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${T6(l(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${i(e.label)}</span>${n ? T6(l("check"), "data-player-menu-check") : ""}</button>`;
}).join(""), P(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;
let s = [...r.querySelectorAll("[data-player-menu]")];
s.forEach((e) => {
e.onclick = (t) => {
t.stopPropagation();
let n = o[Number(e.dataset.playerMenu)];
- T6(), n?.run();
+ E6(), n?.run();
};
});
let c = (e) => {
- r.contains(e.target) || T6();
+ r.contains(e.target) || E6();
}, u = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), T6();
+ e.preventDefault(), e.stopPropagation(), E6();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -73756,51 +73843,51 @@ function QBe(e, t, n) {
let t = s.indexOf(document.activeElement);
s[(t + (e.key === "ArrowDown" ? 1 : -1) + s.length) % s.length]?.focus();
}, d = (t) => {
- F(t, e.el()) && T6();
+ F(t, e.el()) && E6();
};
setTimeout(() => {
document.addEventListener("pointerdown", c, !0), document.addEventListener("keydown", u, !0), window.addEventListener("scroll", d, {
capture: !0,
passive: !0
});
- }, 0), C6 = () => {
+ }, 0), w6 = () => {
document.removeEventListener("pointerdown", c, !0), document.removeEventListener("keydown", u, !0), window.removeEventListener("scroll", d, !0);
}, s[0]?.focus();
}
-function $Be(e) {
+function oVe(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), QBe(e, t.clientX, t.clientY));
- }), e.on("dispose", T6);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), aVe(e, t.clientX, t.clientY));
+ }), e.on("dispose", E6);
}
//#endregion
//#region src/player/registry.ts
-var E6 = null, D6 = () => E6;
-function O6(e) {
- E6 = e;
-}
+var D6 = null, O6 = () => D6;
function k6(e) {
+ D6 = e;
+}
+function A6(e) {
!e || e.isDisposed() || requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
//#endregion
//#region src/player/stats.ts
-function A6(e) {
+function j6(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);
return 0;
}
-function eVe(e) {
+function sVe(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);
return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;
}
-var j6 = 3e3;
-function M6(e, t) {
+var M6 = 3e3;
+function N6(e, t) {
let n = Number(e) || 0, r = p(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function tVe(e) {
+function cVe(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -73815,10 +73902,10 @@ function tVe(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = eVe(e), s = e.currentTime || 0;
+ let a = performance.now(), o = sVe(e), s = e.currentTime || 0;
if (n) {
let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;
- !i && c > 0 && (r += c), e * 1e3 > j6 * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > M6 * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -73827,56 +73914,56 @@ function tVe(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > j6;) t.shift();
+ }); t.length > 2 && a - t[0].at > M6;) t.shift();
let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;
return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;
}
};
}
-var N6 = 24;
-function P6(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > N6 && e.splice(0, e.length - N6);
+var P6 = 24;
+function F6(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > P6 && e.splice(0, e.length - P6);
}
-var F6 = "peach-player-panel";
-function I6(e, t, n, r) {
- let a = [...Array(Math.max(0, N6 - e.length)).fill(null), ...e], o = Math.max(1, n || 0), s = a.map((e) => {
+var I6 = "peach-player-panel";
+function L6(e, t, n, r) {
+ let a = [...Array(Math.max(0, P6 - e.length)).fill(null), ...e], o = Math.max(1, n || 0), s = a.map((e) => {
if (e === null) return "<i aria-hidden=\"true\"></i>";
let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / o));
return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;
}).join("");
return `<span data-player-stats-plot="${t}" role="img" aria-label="${i(r)}">${s}</span>`;
}
-function nVe() {
+function lVe() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${l("chart")}</button>
<div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div>
<div data-player-stats="" id="playerStats" role="status" hidden></div>`;
}
-function L6(e, t = "") {
+function R6(e, t = "") {
let n = t ? encodeURIComponent(t) : "";
return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));
}
-function R6(e, t = "") {
- let n = L6(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+function z6(e, t = "") {
+ let n = R6(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
return r > 0 && i > 0 ? r * 8 / i : 0;
}
-function z6(e, t, n = "", r = null) {
+function B6(e, t, n = "", r = null) {
let i = 0;
try {
i = Number(e?.tech({ IWillNotUseThisInPlugins: !0 })?.vhs?.stats?.bandwidth) || 0;
} catch {}
- return i > 0 ? i : r ? Number(r.bits) || 0 : R6(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : z6(t, n);
}
-function B6(e) {
+function V6(e) {
if (!Number.isFinite(e) || e <= 0) return "加载中…";
let t = e / 8;
return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;
}
-function rVe(e, t) {
- return e > 0 ? B6(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : B6(0);
+function uVe(e, t) {
+ return e > 0 ? V6(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : V6(0);
}
//#endregion
//#region src/player/controls.ts
-function V6(e, t, n = "") {
+function H6(e, t, n = "") {
if (!e) return () => {};
let r = e.querySelector(":scope>.vjs-peach-tooltip");
r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));
@@ -73887,24 +73974,24 @@ function V6(e, t, n = "") {
};
return o(), o;
}
-function iVe(e, t = !0) {
- let n = x6(), r = n.settings();
+function dVe(e, t = !0) {
+ let n = S6(), r = n.settings();
r.ambientMode = !!e, t && n.saveSettings(), n.stage()?.toggleAttribute("data-ambient", r.ambientMode), document.dispatchEvent(new CustomEvent("peachambientchange", { detail: { enabled: r.ambientMode } }));
}
-var H6 = /* @__PURE__ */ new WeakMap();
-function U6(e) {
+var U6 = /* @__PURE__ */ new WeakMap();
+function W6(e) {
if (!e) return;
- let t = x6().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), H6.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = S6().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), U6.get(e)?.(t ? "默认视图" : "影院模式");
}
-function W6(e, t = !0) {
- let n = x6(), r = n.settings();
+function G6(e, t = !0) {
+ let n = S6(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), U6(i?.querySelector("[data-player-theater]")), k6(D6());
+ i?.toggleAttribute("data-theater", r.theaterMode), W6(i?.querySelector("[data-player-theater]")), A6(O6());
}
-function aVe(e) {
- let t = x6().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function fVe(e) {
+ let t = S6().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -73921,14 +74008,14 @@ function aVe(e) {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => u(t, e)) : requestAnimationFrame((e) => u(t, e));
}, u = (t, n) => {
if (!(i || t !== o)) {
- if (!x6().settings().ambientMode) {
+ if (!S6().settings().ambientMode) {
s();
return;
}
e.paused || (!document.hidden && n - a > 480 && (a = n, c()), l(t));
}
}, d = () => {
- i || !x6().settings().ambientMode || (c(), e.paused || l(++o));
+ i || !S6().settings().ambientMode || (c(), e.paused || l(++o));
}, f = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? d() : (o++, s());
@@ -73937,7 +74024,7 @@ function aVe(e) {
i = !0, o++, document.removeEventListener("peachambientchange", f), e.removeEventListener("play", d), e.removeEventListener("loadeddata", d), s();
};
}
-function oVe(e, t, n = 0, r = null) {
+function pVe(e, t, n = 0, r = null) {
let a = e.getChild("controlBar")?.el();
if (!a || a.querySelector("[data-player-quality]")) return;
let o = document.createElement("div");
@@ -73947,7 +74034,7 @@ function oVe(e, t, n = 0, r = null) {
let s = a.querySelector(".vjs-fullscreen-control");
a.insertBefore(o, s || null);
let c = o.querySelector("button"), u = o.querySelector("[data-player-quality-badge]");
- V6(c, "设置");
+ H6(c, "设置");
let d = o.querySelector(".vjs-peach-settings-menu"), f = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, p = r, m = "auto", h = (e, t) => {
let n = [Number(e), Number(t)].filter((e) => e > 0);
return n.length ? Math.min(...n) : 0;
@@ -73989,11 +74076,11 @@ function oVe(e, t, n = 0, r = null) {
active: t
};
}, v = () => d.getAttribute("aria-hidden") !== "true", y = (e) => {
- d.setAttribute("aria-hidden", String(!e)), c.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(F6, { detail: "settings" }));
+ d.setAttribute("aria-hidden", String(!e)), c.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(I6, { detail: "settings" }));
}, b = () => y(!1), x = (e) => {
e.detail !== "settings" && b();
};
- document.addEventListener(F6, x);
+ document.addEventListener(I6, x);
let S = null, C = (e, t) => {
let n = d.querySelector(".vjs-peach-panel"), r = document.createElement("div");
if (r.className = "vjs-peach-panel", r.innerHTML = e, !n || !t || !v()) return d.replaceChildren(r), d.style.height = "", r;
@@ -74007,12 +74094,12 @@ function oVe(e, t, n = 0, r = null) {
}, 250);
}), r;
}, w = (e, t) => e.querySelector(t), T = (t = 0) => {
- let { active: n } = _(), r = Number(e.playbackRate()) || 1, a = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${x6().settings().ambientMode}">
+ let { active: n } = _(), r = Number(e.playbackRate()) || 1, a = C(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${S6().settings().ambientMode}">
${l("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${l("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${l("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${l("player-quality")}<span>清晰度</span><b>${i(n.label)}</b>${l("player-menu-next")}</button></div>`, t);
w(a, "[data-player-ambient]").onclick = () => {
- iVe(!x6().settings().ambientMode), T();
+ dVe(!S6().settings().ambientMode), T();
}, w(a, "[data-player-speed]").onclick = () => k(), w(a, "[data-player-quality-view]").onclick = () => A();
}, E = .05, D = [
1,
@@ -74069,22 +74156,22 @@ function oVe(e, t, n = 0, r = null) {
}), f?.on?.(["addqualitylevel", "removequalitylevel"], () => {
v() ? T() : _();
}), e.on("dispose", () => {
- document.removeEventListener("pointerdown", j), document.removeEventListener(F6, x), S && clearTimeout(S);
- }), _(), sVe(e, o), cVe(e), (e) => {
+ document.removeEventListener("pointerdown", j), document.removeEventListener(I6, x), S && clearTimeout(S);
+ }), _(), mVe(e, o), hVe(e), (e) => {
p = e?.length ? e : null, v() ? T() : _();
};
}
-function sVe(e, t) {
+function mVe(e, t) {
let n = e.getChild("controlBar")?.el();
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = x6().settings().theaterMode, i = document.createElement("div");
+ let r = S6().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${l(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- H6.set(a, V6(a, "影院模式", "T")), U6(a), a.onclick = (e) => {
- e.stopPropagation(), W6(!x6().settings().theaterMode);
+ U6.set(a, H6(a, "影院模式", "T")), W6(a), a.onclick = (e) => {
+ e.stopPropagation(), G6(!S6().settings().theaterMode);
};
}
-function cVe(e) {
+function hVe(e) {
let t = e.getChild("controlBar")?.el();
if (!t || t.querySelector(".vjs-peach-right-controls")) return;
let n = t.querySelector(":scope>.vjs-play-control");
@@ -74096,7 +74183,7 @@ function cVe(e) {
e.dataset.peachExplicitIcon = "";
let r = document.createElementNS("http://www.w3.org/2000/svg", "svg");
return r.setAttribute("viewBox", n.getAttribute("viewBox") || ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("class", "vjs-peach-control-icon vjs-peach-morph-icon"), r.innerHTML = n.innerHTML, e.append(r), r;
- }, o = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], s = i(n, "player-play")?.querySelector("path"), c = o("player-play")[0]?.getAttribute("d") || "", u = o("player-pause")[0]?.getAttribute("d") || "", d = V6(n, "播放", "K"), f = CSS.supports("d", "path(\"M0 0\")"), p = () => {
+ }, o = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], s = i(n, "player-play")?.querySelector("path"), c = o("player-play")[0]?.getAttribute("d") || "", u = o("player-pause")[0]?.getAttribute("d") || "", d = H6(n, "播放", "K"), f = CSS.supports("d", "path(\"M0 0\")"), p = () => {
let t = e.paused() || e.ended(), n = t ? c : u;
s && (f ? s.style.setProperty("d", `path("${n}")`) : s.setAttribute("d", n)), d(t ? "播放" : "暂停");
};
@@ -74107,7 +74194,7 @@ function cVe(e) {
], p), p();
let m = t.querySelector(":scope>.vjs-volume-panel"), h = m?.querySelector(":scope>.vjs-mute-control"), g = i(h, "player-volume");
g && o("player-volume-muted").forEach((e) => g.append(e.cloneNode(!0)));
- let _ = V6(h, "静音", "M"), v = () => {
+ let _ = H6(h, "静音", "M"), v = () => {
let t = e.muted() || e.volume() === 0;
g && (g.dataset.silent = String(t), g.dataset.loud = String(!t && e.volume() > .5)), _(t ? "取消静音" : "静音");
};
@@ -74133,7 +74220,7 @@ function cVe(e) {
});
let C = document.createElement("button"), w = !1;
C.type = "button", C.className = "vjs-peach-time vjs-control", C.dataset.playerTime = "", C.innerHTML = "<span class=\"vjs-peach-time-text\"></span>";
- let T = C.querySelector(".vjs-peach-time-text"), E = V6(C, "显示剩余时间"), D = () => {
+ let T = C.querySelector(".vjs-peach-time-text"), E = H6(C, "显示剩余时间"), D = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = a(Math.max(0, n - t));
T.textContent = `${w ? `-${r}` : a(t)} / ${a(n)}`, C.dataset.remaining = String(w), E(w ? "显示已播放时间" : "显示剩余时间", w ? `剩余 ${r},总时长 ${a(n)};点击显示已播放时间` : `已播放 ${a(t)},总时长 ${a(n)};点击显示剩余时间`);
};
@@ -74146,11 +74233,11 @@ function cVe(e) {
], D), D(), m ? m.insertAdjacentElement("afterend", C) : t.append(C);
let O = t.querySelector(":scope>.vjs-picture-in-picture-control");
r(O, "player-pip");
- let k = V6(O, "画中画");
+ let k = H6(O, "画中画");
e.on(["enterpictureinpicture", "leavepictureinpicture"], () => k(document.pictureInPictureElement ? "退出画中画" : "画中画"));
- let A = t.querySelector(":scope>.vjs-fullscreen-control"), j = r(A, "player-fullscreen-enter"), M = V6(A, "全屏", "F"), N = () => {
+ let A = t.querySelector(":scope>.vjs-fullscreen-control"), j = r(A, "player-fullscreen-enter"), M = H6(A, "全屏", "F"), N = () => {
let t = !!e.isFullscreen();
- e.el().toggleAttribute("data-peach-fullscreen", t), j?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), M(t ? "退出全屏" : "全屏"), k6(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), j?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), M(t ? "退出全屏" : "全屏"), A6(e);
};
e.on([
"fullscreenchange",
@@ -74170,7 +74257,7 @@ function cVe(e) {
});
let F = document.createElement("div");
F.className = "vjs-peach-expand vjs-control", F.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${l("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, ee.prepend(F);
- let te = F.querySelector("button"), ne = V6(te, "展开控件"), re = (t) => {
+ let te = F.querySelector("button"), ne = H6(te, "展开控件"), re = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), te.setAttribute("aria-expanded", String(t)), ne(t ? "收起控件" : "展开控件");
};
te.onclick = (t) => {
@@ -74182,7 +74269,7 @@ function cVe(e) {
}, ae = new ResizeObserver(ie);
ae.observe(e.el()), e.on("dispose", () => ae.disconnect()), re(!1), ie();
}
-function lVe(e, n, r = {}) {
+function gVe(e, n, r = {}) {
let i = e.getChild("controlBar")?.el()?.querySelector(".vjs-progress-control");
if (!i || i.querySelector("[data-player-seek-preview]")) return;
let o = r.thumbnail !== !1, s = document.createElement("div");
@@ -74215,13 +74302,13 @@ function lVe(e, n, r = {}) {
i.removeEventListener("pointermove", g), i.removeEventListener("pointerleave", _);
});
}
-function uVe(e, t) {
+function _Ve(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => p(e.duration()) || p(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(x6().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(S6().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -74262,11 +74349,11 @@ function uVe(e, t) {
} catch {}
});
}
-function dVe(e) {
+function vVe(e) {
let t = e.el().querySelector(".vjs-loading-spinner");
!t || t.querySelector(".vjs-peach-spinner-container") || (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");
}
-function fVe(e, n) {
+function yVe(e, n) {
t(`/api/assets/${n}/subtitles`).then((t) => {
!e || e.isDisposed() || (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -74281,7 +74368,7 @@ function fVe(e, n) {
}
//#endregion
//#region src/player/dispose.ts
-function G6(e) {
+function K6(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
@@ -74299,23 +74386,23 @@ function G6(e) {
}
//#endregion
//#region src/player/stream.ts
-function K6() {
+function q6() {
return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
}
-function q6(e, t) {
+function J6(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function pVe(e) {
+function bVe(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function J6(e, n) {
- let r = pVe(e);
+async function Y6(e, n) {
+ let r = bVe(e);
if (r) return r;
try {
let r = await t(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(n)}`);
@@ -74324,9 +74411,9 @@ async function J6(e, n) {
type: r.mime_type || "application/vnd.apple.mpegurl"
};
} catch {}
- return q6(e, n);
+ return J6(e, n);
}
-function Y6(e) {
+function X6(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -74335,21 +74422,21 @@ function Y6(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var X6 = "";
-function Z6() {
- return X6;
-}
+var Z6 = "";
function Q6() {
- return X6 ||= K6(), X6;
+ return Z6;
}
-var mVe = (e) => q6(e, Q6()), hVe = (e) => J6(e, Q6());
function $6() {
- let e = X6;
- e && (X6 = "", Y6(e));
+ return Z6 ||= q6(), Z6;
+}
+var xVe = (e) => J6(e, $6()), SVe = (e) => Y6(e, $6());
+function e8() {
+ let e = Z6;
+ e && (Z6 = "", X6(e));
}
//#endregion
//#region src/player/telemetry.ts
-function e8(e, n, r = {}) {
+function t8(e, n, r = {}) {
if (!n) return;
let i = 0, a = 0, o = 0, s = null;
n.addEventListener("seeking", () => {
@@ -74397,7 +74484,7 @@ function e8(e, n, r = {}) {
d(), u(!1);
}, { once: !0 }), l();
}
-function gVe(e, n) {
+function CVe(e, n) {
let r = 0, i = 0, a = !1, o = null, s = (r) => {
let a = p(e.duration) || p(n.duration);
!i && !r || (t("/api/follow/activity", {
@@ -74433,7 +74520,7 @@ function gVe(e, n) {
}
//#endregion
//#region src/player/videojs.ts
-var t8 = "/vendor/videojs/8.24.1/", n8 = (e) => new Promise((t, n) => {
+var n8 = "/vendor/videojs/8.24.1/", r8 = (e) => new Promise((t, n) => {
let r = document.head.querySelector(`script[src="${e}"]`);
if (r?.dataset.loaded) {
t();
@@ -74445,20 +74532,20 @@ var t8 = "/vendor/videojs/8.24.1/", n8 = (e) => new Promise((t, n) => {
}, { once: !0 }), i.addEventListener("error", () => {
i.remove(), n(/* @__PURE__ */ Error(`script unavailable: ${e}`));
}, { once: !0 }), r || (i.src = e, document.head.appendChild(i));
-}), r8 = () => globalThis.videojs, i8 = null;
-function a8() {
- let e = r8();
- return e ? Promise.resolve(e) : (i8 ??= n8(`${t8}video.min.js`).then(() => n8(`${t8}lang/zh-CN.js`)).then(() => {
- let e = r8();
+}), i8 = () => globalThis.videojs, a8 = null;
+function o8() {
+ let e = i8();
+ return e ? Promise.resolve(e) : (a8 ??= r8(`${n8}video.min.js`).then(() => r8(`${n8}lang/zh-CN.js`)).then(() => {
+ let e = i8();
if (!e) throw Error("videojs unavailable");
return e;
}).catch((e) => {
- throw i8 = null, e;
- }), i8);
+ throw a8 = null, e;
+ }), a8);
}
//#endregion
//#region src/player/immerse-player.ts
-var _Ve = {
+var wVe = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -74470,37 +74557,37 @@ var _Ve = {
errorDisplay: !1,
textTrackSettings: !1
};
-function vVe(e, t) {
+function TVe(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([J6(n, r), a8().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([Y6(n, r), o8().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = q6(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = J6(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, _Ve);
+ let t = s(e, wVe);
i = t, l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- e8(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ t8(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, Y6(r), i ? G6(i) : (e.pause(), e.removeAttribute("src"), e.load()));
+ a || (a = !0, X6(r), i ? K6(i) : (e.pause(), e.removeAttribute("src"), e.load()));
};
}
//#endregion
//#region src/player/detail-player.ts
-var o8 = /* @__PURE__ */ new WeakMap(), s8 = null, c8 = null, l8 = null;
-function u8() {
- s8 &&= (clearInterval(s8), null), c8 &&= (clearInterval(c8), null), l8 &&= (clearTimeout(l8), null);
+var s8 = /* @__PURE__ */ new WeakMap(), c8 = null, l8 = null, u8 = null;
+function d8() {
+ c8 &&= (clearInterval(c8), null), l8 &&= (clearInterval(l8), null), u8 &&= (clearTimeout(u8), null);
}
-async function yVe(e, t, n, r = {}) {
- let o = D6();
+async function EVe(e, t, n, r = {}) {
+ let o = O6();
if (o && !o.isDisposed()) return o;
- let c = x6(), u = r.resume ?? null;
+ let c = S6(), u = r.resume ?? null;
u?.autoplay && (n = !0);
- let d = () => r.source ? Promise.resolve(r.source) : hVe(e), f;
+ let d = () => r.source ? Promise.resolve(r.source) : SVe(e), f;
try {
- f = await a8();
+ f = await o8();
} catch {
return t.controls = !0, d().then((e) => {
t.src = e.src, n && t.play().catch(() => {});
@@ -74520,7 +74607,7 @@ async function yVe(e, t, n, r = {}) {
remainingTimeDisplay: !1
}
});
- O6(m), m.peachItem = e, $Be(m), m.on("loadedmetadata", () => {
+ k6(m), m.peachItem = e, oVe(m), m.on("loadedmetadata", () => {
let e = m.el()?.querySelector("video");
e?.videoWidth && e.videoHeight && m.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);
});
@@ -74528,7 +74615,7 @@ async function yVe(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, _ = Number(r.size ?? e.size) || 0, v = tVe(M6(_, e.duration)), y = 0, b = !1, x = () => D6() === m && !m.isDisposed(), S = () => {
+ }, _ = Number(r.size ?? e.size) || 0, v = cVe(N6(_, e.duration)), y = 0, b = !1, x = () => O6() === m && !m.isDisposed(), S = () => {
if (!h || b || !x()) return;
let e = Number(m.duration());
(!Number.isFinite(e) || Math.abs(e - h) > Math.max(2, h * .001)) && (b = !0, m.duration(h), queueMicrotask(() => {
@@ -74539,15 +74626,15 @@ async function yVe(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- o8.set(m, w), w.updateStats = () => {
+ s8.set(m, w), w.updateStats = () => {
let n = w.chrome?.statsPanel;
if (!n || n.hidden || !x()) return;
- let o = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, c = t.getBoundingClientRect(), l = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, u = C(), d = Z6(), f = u ? L6(e.id, d) : [], p = f.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = f.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+ let o = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, c = t.getBoundingClientRect(), l = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, u = C(), d = Q6(), f = u ? R6(e.id, d) : [], p = f.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = f.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
v.sample(t);
- let S = z6(m, e.id, d, u ? null : v) || (b > 0 ? p * 8 / b : 0), T = u ? p : v.bitrate > 0 ? v.bytes() : v.seconds, E = Math.max(0, T - y);
+ let S = B6(m, e.id, d, u ? null : v) || (b > 0 ? p * 8 / b : 0), T = u ? p : v.bitrate > 0 ? v.bytes() : v.seconds, E = Math.max(0, T - y);
y = T;
- let D = A6(t);
- P6(g.speed, S), P6(g.activity, E), P6(g.buffer, D);
+ let D = j6(t);
+ F6(g.speed, S), F6(g.activity, E), F6(g.buffer, D);
let O = String(e.name || ""), k = (O.includes(".") ? O.split(".").pop() || "" : u ? "" : String(m.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", A = S ? `${(S / 1e6).toFixed(1)} Mbps` : "—", j = u || v.bitrate > 0, M = u ? [
"网络活动",
`${p ? s(p) : "—"} · ${f.length} 请求`,
@@ -74565,17 +74652,17 @@ async function yVe(e, t, n, r = {}) {
[
"连接速度",
A,
- I6(g.speed, "speed", Math.max(1e7, ...g.speed), `连接速度 ${A === "—" ? "暂无数据" : A}`)
+ L6(g.speed, "speed", Math.max(1e7, ...g.speed), `连接速度 ${A === "—" ? "暂无数据" : A}`)
],
[
M[0],
M[1],
- I6(g.activity, "activity", Math.max(1, ...g.activity), M[2])
+ L6(g.activity, "activity", Math.max(1, ...g.activity), M[2])
],
[
"缓冲健康",
`${D.toFixed(1)} 秒`,
- I6(g.buffer, "buffer", 30, `当前可连续播放 ${D.toFixed(1)} 秒`)
+ L6(g.buffer, "buffer", 30, `当前可连续播放 ${D.toFixed(1)} 秒`)
],
["播放时间", `${a(t.currentTime)} / ${a(h || m.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -74591,15 +74678,15 @@ async function yVe(e, t, n, r = {}) {
if (!n || m.isDisposed()) return;
let r = C();
r || v.sample(t);
- let a = z6(m, e.id, Z6(), r ? null : v), o = r ? B6(a) : rVe(a, A6(t));
+ let a = B6(m, e.id, Q6(), r ? null : v), o = r ? V6(a) : uVe(a, j6(t));
n.innerHTML = `${l("gauge")}<span class="sr-only">加载速度</span><span>${i(o)}</span>`;
}, O = () => {
let e = w.chrome?.netBadge;
- !e || !e.isConnected || (e.hidden = !1, D(), c8 && clearInterval(c8), c8 = setInterval(D, 500));
+ !e || !e.isConnected || (e.hidden = !1, D(), l8 && clearInterval(l8), l8 = setInterval(D, 500));
}, k = () => {
let e = w.chrome?.netBadge;
- e && (l8 && clearTimeout(l8), l8 = setTimeout(() => {
- e.hidden = !0, c8 &&= (clearInterval(c8), null);
+ e && (u8 && clearTimeout(u8), u8 = setTimeout(() => {
+ e.hidden = !0, l8 &&= (clearInterval(l8), null);
}, 1400));
};
return m.on([
@@ -74611,7 +74698,7 @@ async function yVe(e, t, n, r = {}) {
D(), k();
}), m.on("error", () => {
if (T && !E && !m.isDisposed()) {
- E = !0, T = !1, m.src(mVe(e)), n && m.play()?.catch(() => {});
+ E = !0, T = !1, m.src(xVe(e)), n && m.play()?.catch(() => {});
return;
}
r.checkSourceStatus !== !1 && c.loadSourceStatus().then((t) => {
@@ -74622,27 +74709,27 @@ async function yVe(e, t, n, r = {}) {
});
}), m.ready(() => {
S();
- let n = oVe(m, t, e.height, r.qualities ?? null);
+ let n = pVe(m, t, e.height, r.qualities ?? null);
r.mediaPromise?.then((t) => {
if (!x()) return;
n?.(t?.qualities?.length ? t.qualities : null);
let r = Number(t?.size) || 0;
- r > 0 && !_ && (_ = r, v.bitrate = M6(r, e.duration));
- }).catch(() => {}), lVe(m, e, { thumbnail: !r.source }), uVe(m, e), dVe(m), r.source || fVe(m, e.id), w.ready = !0, w.chrome?.statsButton && (w.chrome.statsButton.hidden = !1);
+ r > 0 && !_ && (_ = r, v.bitrate = N6(r, e.duration));
+ }).catch(() => {}), gVe(m, e, { thumbnail: !r.source }), _Ve(m, e), vVe(m), r.source || yVe(m, e.id), w.ready = !0, w.chrome?.statsButton && (w.chrome.statsButton.hidden = !1);
}), d().then((e) => {
x() && (T = String(e.type || "").includes("mpegurl"), m.src(e), S(), setTimeout(S, 0), setTimeout(S, 250), u && u.time > 0 && m.one("loadedmetadata", () => {
m.isDisposed() || m.currentTime(u.time);
}), n && m.play()?.catch(() => {}));
}).catch(() => {}), m;
}
-var bVe = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function d8(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", bVe), e.querySelector(":scope > #playerStatsBtn")) return;
+var DVe = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function f8(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", DVe), e.querySelector(":scope > #playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = nVe(), e.insertBefore(n.content, t);
+ n.innerHTML = lVe(), e.insertBefore(n.content, t);
}
-function f8(e, t) {
- let n = o8.get(e);
+function p8(e, t) {
+ let n = s8.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`:scope > #${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -74654,29 +74741,29 @@ function f8(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), s8 &&= (clearInterval(s8), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), c8 &&= (clearInterval(c8), null));
};
a.onclick = () => {
if (!o.hidden) {
e();
return;
}
- document.dispatchEvent(new CustomEvent(F6, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), s8 && clearInterval(s8), s8 = setInterval(n.updateStats, 1e3);
+ document.dispatchEvent(new CustomEvent(I6, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), c8 && clearInterval(c8), c8 = setInterval(n.updateStats, 1e3);
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(F6, t), s = () => document.removeEventListener(F6, t);
+ document.addEventListener(I6, t), s = () => document.removeEventListener(I6, t);
}
- let c = e.el().querySelector("video"), l = c ? aVe(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, u8()));
+ let c = e.el().querySelector("video"), l = c ? fVe(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, d8()));
};
return e.one("dispose", d), d;
}
-function p8(e, n) {
- if (n.kind === "immerse") return vVe(e, n);
- let { kind: r, item: i, media: a = null, handedOff: o, onPlayer: s } = n, c = x6(), l = n.chrome === !1 ? null : e.parentElement;
- l && d8(l, e);
+function m8(e, n) {
+ if (n.kind === "immerse") return TVe(e, n);
+ let { kind: r, item: i, media: a = null, handedOff: o, onPlayer: s } = n, c = S6(), l = n.chrome === !1 ? null : e.parentElement;
+ l && f8(l, e);
let u = { resume: n.resume ?? null };
if (r === "follow") u = {
...u,
@@ -74696,16 +74783,16 @@ function p8(e, n) {
method: "POST",
body: JSON.stringify({ id: i.id })
}).catch(() => {});
- }, { once: !0 }), e8(i, e, {
+ }, { once: !0 }), t8(i, e, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
});
}
let d = null, f = !1, p = () => {}, m = () => {
- p(), !(!d || o?.(d)) && (D6() === d && (O6(null), u8()), G6(d));
+ p(), !(!d || o?.(d)) && (O6() === d && (k6(null), d8()), K6(d));
};
- return yVe(i, e, n.autoplay ?? c.settings().detailAutoplay, u).then((t) => {
+ return EVe(i, e, n.autoplay ?? c.settings().detailAutoplay, u).then((t) => {
if (d = t, f) {
m();
return;
@@ -74714,47 +74801,47 @@ function p8(e, n) {
s?.(null);
return;
}
- l && (p = f8(t, l)), r === "follow" && gVe(i, e), s?.(t);
+ l && (p = p8(t, l)), r === "follow" && CVe(i, e), s?.(t);
}), () => {
f = !0, m();
};
}
//#endregion
//#region src/player/playback.ts
-function m8(e) {
+function h8(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function xVe(e, t) {
+function OVe(e, t) {
let n = e.duration, r = (e.currentTime || 0) + t;
e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);
}
//#endregion
//#region src/react/item-detail/item-detail.ts
-var h8 = (e) => ["item", e], g8 = (e) => [
+var g8 = (e) => ["item", e], _8 = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], SVe = (e, t) => [
+], kVe = (e, t) => [
"item-related",
e,
t
-], CVe = (e) => `/api/item?id=${e}`, wVe = (e, t) => `/api/related?id=${e}&limit=${t}`, _8 = "/api/playlist", v8 = "/api/feedback", y8 = "/api/item-tag", b8 = "/api/watch-later", x8 = "/api/quality-goal", S8 = "/api/preference", C8 = class extends Error {};
-async function w8(e, t) {
- let n = await U(CVe(e), t);
- if (n.error) throw new C8(n.error);
+], AVe = (e) => `/api/item?id=${e}`, jVe = (e, t) => `/api/related?id=${e}&limit=${t}`, v8 = "/api/playlist", y8 = "/api/feedback", b8 = "/api/item-tag", x8 = "/api/watch-later", S8 = "/api/quality-goal", C8 = "/api/preference", w8 = class extends Error {};
+async function T8(e, t) {
+ let n = await U(AVe(e), t);
+ if (n.error) throw new w8(n.error);
return n;
}
-async function T8(e, t, n) {
+async function E8(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([w8(r, n), t.mixRelated(r)]);
- return Y.setQueryData(h8(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([T8(r, n), t.mixRelated(r)]);
+ return Y.setQueryData(g8(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${xe(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return E8(await U(`${_8}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return D8(await U(`${v8}?id=${e.playlistId}`, n));
let r = await U(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -74764,19 +74851,19 @@ async function T8(e, t, n) {
items: r.items
};
}
-var E8 = (e) => ({
+var D8 = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), D8 = (e) => e.disposal === "vanished";
-function O8(e, t) {
+}), O8 = (e) => e.disposal === "vanished";
+function k8(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !D8(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !O8(e)) : e.items;
return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;
}
-function TVe(e, t) {
+function MVe(e, t) {
if (t?.kind !== "parts") return e;
let n = t.items.find((t) => t.id === e.id)?.part_label || "";
return e.part_label === n ? e : {
@@ -74784,15 +74871,15 @@ function TVe(e, t) {
part_label: n
};
}
-async function EVe(e, t) {
+async function NVe(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = g8(n);
+ let o = _8(n);
try {
let r = n.fresh ? void 0 : Y.getQueryData(o);
a = !r && n.kind === "mix", i = r || await Y.fetchQuery({
queryKey: o,
- queryFn: () => T8(n, e.helpers, t),
+ queryFn: () => E8(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -74805,20 +74892,20 @@ async function EVe(e, t) {
}
e.grid.cache(i.items);
}
- let o = i ? O8(i, e.id) : e.id;
+ let o = i ? k8(i, e.id) : e.id;
if (o == null) {
r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });
return;
}
- let s, c = a && o === i?.seedId ? Y.getQueryData(h8(o)) : void 0;
+ let s, c = a && o === i?.seedId ? Y.getQueryData(g8(o)) : void 0;
try {
s = c || await Y.fetchQuery({
- queryKey: h8(o),
- queryFn: () => w8(o, t),
+ queryKey: g8(o),
+ queryFn: () => T8(o, t),
staleTime: 0
});
} catch (e) {
- if (e instanceof C8) {
+ if (e instanceof w8) {
r.redirect({ kind: "gone" });
return;
}
@@ -74829,7 +74916,7 @@ async function EVe(e, t) {
id: Number(s.follow_item_id)
});
}
-function DVe(e) {
+function PVe(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = c(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -74851,42 +74938,42 @@ function DVe(e) {
unowned: !i.length && !l.length && !String(e.creator || "").trim()
};
}
-var k8 = (e) => Math.min(Math.max(e || 0, 0), 100), A8 = (e) => Math.round(k8(e) / 20), OVe = (e) => {
- let t = A8(e);
+var A8 = (e) => Math.min(Math.max(e || 0, 0), 100), j8 = (e) => Math.round(A8(e) / 20), FVe = (e) => {
+ let t = j8(e);
return t ? `${t} 星` : "未评分";
-}, kVe = (e, t) => {
+}, IVe = (e, t) => {
let n = t * 20;
return n === (e || 0) ? 0 : n;
};
-function AVe(e, t) {
+function LVe(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = c(t.tagLabel(e.k)), i = n.get(r);
(!i || c(e.k) === r && c(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var j8 = (e, t) => (e.tags || []).some((e) => c(e.k) === c(t)), M8 = (e, t) => ({
+var M8 = (e, t) => (e.tags || []).some((e) => c(e.k) === c(t)), N8 = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => c(e.k) !== c(t))
-}), N8 = (e, t) => j8(e, t.k) ? e : {
+}), P8 = (e, t) => M8(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, P8 = "peach.recentTags";
-function F8() {
+}, F8 = "peach.recentTags";
+function I8() {
try {
- let e = JSON.parse(localStorage.getItem(P8) || "[]");
+ let e = JSON.parse(localStorage.getItem(F8) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function jVe(e) {
+function RVe(e) {
try {
- let t = F8().filter((t) => c(t) !== c(e));
- localStorage.setItem(P8, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = I8().filter((t) => c(t) !== c(e));
+ localStorage.setItem(F8, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function MVe(e, t, n) {
+function zVe(e, t, n) {
let r = c(e), i = new Map(t.map((e) => [c(e.k), e])), a = t.filter((e) => !r || c(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(c(e)) || {
k: e,
n: 0
@@ -74897,73 +74984,73 @@ function MVe(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var NVe = {
+var BVe = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, PVe = {
+}, VVe = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function FVe(e) {
+function HVe(e) {
let t = e.items.length, n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: PVe[e.kind],
+ title: VVe[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var I8 = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, IVe = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${i(I8(e.part_label))}</small>` : "";
-function LVe(e, t, n, r) {
+var L8 = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, UVe = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${i(L8(e.part_label))}</small>` : "";
+function WVe(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var RVe = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function zVe(e, t) {
+var GVe = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function KVe(e, t) {
return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function BVe(e) {
+function qVe(e) {
let t = Number(e.duration) > 0 ? Number(e.duration) : 0;
return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;
}
-function L8(e, t) {
+function R8(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
//#endregion
//#region src/react/immerse/immerse.ts
-var VVe = (e, t, n) => [
+var JVe = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function HVe(e) {
+function YVe(e) {
let t = new URLSearchParams();
for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));
return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();
}
-var UVe = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
-function WVe(e, t = Math.random) {
+var XVe = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
+function ZVe(e, t = Math.random) {
for (let n = e.length - 1; n > 0; n--) {
let r = Math.floor(t() * (n + 1));
[e[n], e[r]] = [e[r], e[n]];
}
return e;
}
-async function GVe(e, t) {
- return WVe(((await U(`/api/items?${e}`)).items || []).filter((e) => UVe(e, t)));
+async function QVe(e, t) {
+ return ZVe(((await U(`/api/items?${e}`)).items || []).filter((e) => XVe(e, t)));
}
-var R8 = (e) => Y.ensureQueryData({
- queryKey: h8(e),
- queryFn: ({ signal: t }) => w8(e, t)
+var z8 = (e) => Y.ensureQueryData({
+ queryKey: g8(e),
+ queryFn: ({ signal: t }) => T8(e, t)
});
-function KVe(e, t) {
+function $Ve(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function qVe(e) {
+function eHe(e) {
let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";
return {
who: n,
@@ -74972,314 +75059,314 @@ function qVe(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function JVe(e, t, n) {
+function tHe(e, t, n) {
if (!e || !t || !n || !Number.isFinite(n)) return null;
let r = e / t;
return (r > n ? r / n : n / r) > 1.05 ? "contain" : "cover";
}
-function YVe(e, t) {
+function nHe(e, t) {
return e.videoWidth && e.videoHeight ? e.videoWidth >= e.videoHeight : !!(t.width && t.height && t.width > 0 && t.height > 0 && t.width >= t.height);
}
-var XVe = 15e3, z8 = {
+var rHe = 15e3, B8 = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, B8 = null, V8 = null, H8 = null, U8 = null, W8 = z8, G8 = 0, K8 = 0, q8 = 0, J8 = "", Y8 = [], X8 = 0, Z8 = !1, Q8 = !1, $8 = null, e5 = /* @__PURE__ */ new Set(), t5 = "", n5 = null, r5 = 0, i5 = null, a5 = !1;
-function o5() {
- if (!B8) throw Error("沉浸岛还没有接上宿主(configureImmerse)");
- return B8;
-}
-function ZVe() {
- return (!V8 || !H8?.isConnected) && (V8?.unmount(), H8 = document.createElement("div"), H8.dataset.immerseHost = "", document.body.append(H8), V8 = (0, at.createRoot)(H8)), V8;
-}
+}, V8 = null, H8 = null, U8 = null, W8 = null, G8 = B8, K8 = 0, q8 = 0, J8 = 0, Y8 = "", X8 = [], Z8 = 0, Q8 = !1, $8 = !1, e5 = null, t5 = /* @__PURE__ */ new Set(), n5 = "", r5 = null, i5 = 0, a5 = null, o5 = !1;
function s5() {
- let e = ZVe();
- (0, it.flushSync)(() => e.render(/* @__PURE__ */ (0, R.jsx)(VF, { children: /* @__PURE__ */ (0, R.jsx)(hHe, { view: W8 }) })));
+ if (!V8) throw Error("沉浸岛还没有接上宿主(configureImmerse)");
+ return V8;
+}
+function iHe() {
+ return (!H8 || !U8?.isConnected) && (H8?.unmount(), U8 = document.createElement("div"), U8.dataset.immerseHost = "", document.body.append(U8), H8 = (0, lt.createRoot)(U8)), H8;
}
function c5() {
- let e = n5 ? R6(n5.id) : 0;
- return e ? `${t5} · ${B6(e)}` : t5;
+ let e = iHe();
+ (0, ct.flushSync)(() => e.render(/* @__PURE__ */ (0, R.jsx)(VF, { children: /* @__PURE__ */ (0, R.jsx)(SHe, { view: G8 }) })));
+}
+function l5() {
+ let e = r5 ? z6(r5.id) : 0;
+ return e ? `${n5} · ${V6(e)}` : n5;
}
-function l5(e, t = null) {
- if (clearInterval(r5), r5 = 0, e === null) {
- W8 = {
- ...W8,
+function u5(e, t = null) {
+ if (clearInterval(i5), i5 = 0, e === null) {
+ G8 = {
+ ...G8,
loading: null
- }, s5();
+ }, c5();
return;
}
- t5 = e, n5 = t, W8 = {
- ...W8,
- loading: c5()
- }, s5(), r5 = window.setInterval(() => {
- n5 = Y8[X8] ?? null, W8 = {
- ...W8,
- loading: c5()
- }, s5();
+ n5 = e, r5 = t, G8 = {
+ ...G8,
+ loading: l5()
+ }, c5(), i5 = window.setInterval(() => {
+ r5 = X8[Z8] ?? null, G8 = {
+ ...G8,
+ loading: l5()
+ }, c5();
}, 500);
}
-function QVe(e) {
+function aHe(e) {
let t = document.createElement("div");
t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);
let n = document.createElement("video");
- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), U8.track.append(t);
- let r = K6(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), W8.track.append(t);
+ let r = q6(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => Y6(r),
+ release: () => X6(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return e5.add(a), a;
+ return t5.add(a), a;
}
-function $Ve(e, t) {
+function oHe(e, t) {
return new Promise((n) => {
- e.release = p8(e.video, {
+ e.release = m8(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- W8.open && g5(1);
+ G8.open && _5(1);
}
}), e.gone.then(n);
});
}
-function u5(e) {
- !e || e.disposed || (e.disposed = !0, e5.delete(e), e.leave(), e.release(), e.el.remove(), $8 === e && ($8 = null));
+function d5(e) {
+ !e || e.disposed || (e.disposed = !0, t5.delete(e), e.leave(), e.release(), e.el.remove(), e5 === e && (e5 = null));
}
-var d5 = [
+var f5 = [
"loadeddata",
"canplay",
"error"
];
-function eHe(e) {
+function sHe(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), d5.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), f5.forEach((e) => t.removeEventListener(e, i)), n());
};
- d5.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, XVe);
+ f5.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, rHe);
e.gone.then(i);
});
}
-function f5(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = JVe(e.videoWidth, e.videoHeight, n);
+function p5(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = tHe(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var p5 = () => U8?.track.querySelectorAll("video").forEach(f5);
-function tHe(e) {
- delete e.dataset.fit, e.readyState >= 1 ? f5(e) : e.addEventListener("loadedmetadata", () => f5(e), { once: !0 });
+var m5 = () => W8?.track.querySelectorAll("video").forEach(p5);
+function cHe(e) {
+ delete e.dataset.fit, e.readyState >= 1 ? p5(e) : e.addEventListener("loadedmetadata", () => p5(e), { once: !0 });
}
-function nHe(e) {
- W8 = {
- ...W8,
+function lHe(e) {
+ G8 = {
+ ...G8,
wide: e
- }, s5(), p5();
+ }, c5(), m5();
}
-var m5 = () => {
- let e = J8;
+var h5 = () => {
+ let e = Y8;
return Y.fetchQuery({
- queryKey: VVe(e, K8, q8),
- queryFn: () => GVe(e, o5().sourceOffline),
+ queryKey: JVe(e, q8, J8),
+ queryFn: () => QVe(e, s5().sourceOffline),
staleTime: Infinity
});
};
-function rHe(e, t) {
+function uHe(e, t) {
let n = () => p(e.duration) || p(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && U8 && (U8.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), i5 = {
+ t && W8 && (W8.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), a5 = {
video: e,
duration: n
};
}
-async function h5(e = 0) {
- let t = Y8[X8];
- if (!t || Z8) return;
- let n = G8;
- o5().route(t.id), Z8 = !0, l5(e ? "切换中…" : "加载中…", t);
+async function g5(e = 0) {
+ let t = X8[Z8];
+ if (!t || Q8) return;
+ let n = K8;
+ s5().route(t.id), Q8 = !0, u5(e ? "切换中…" : "加载中…", t);
let r = null;
try {
- if (await R8(t.id).catch((e) => {
- if (!(e instanceof C8)) throw e;
- }), n !== G8) return;
- let i = $8, a = !!(e && i);
- a || u5(i);
- let o = QVe(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, tHe(o.video), await $Ve(o, t), await eHe(o), o.disposed || (nHe(YVe(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await z8(t.id).catch((e) => {
+ if (!(e instanceof w8)) throw e;
+ }), n !== K8) return;
+ let i = e5, a = !!(e && i);
+ a || d5(i);
+ let o = aHe(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, cHe(o.video), await oHe(o, t), await sHe(o), o.disposed || (lHe(nHe(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
i.el.style.transform = `translateY(${e > 0 ? -100 : 100}%)`, o.el.style.transform = "";
- })), await new Promise((e) => setTimeout(e, 210)), u5(i), o.el.style.transform = ""), o.disposed)) return;
- $8 = o, r = null, o.video.play()?.catch(() => {}), W8 = {
- ...W8,
+ })), await new Promise((e) => setTimeout(e, 210)), d5(i), o.el.style.transform = ""), o.disposed)) return;
+ e5 = o, r = null, o.video.play()?.catch(() => {}), G8 = {
+ ...G8,
idle: !1,
shown: {
item: t,
- index: X8,
- length: Y8.length
+ index: Z8,
+ length: X8.length
}
- }, rHe(o.video, t), W("/api/play", { id: t.id }).catch(() => {}), l5(null);
+ }, uHe(o.video, t), W("/api/play", { id: t.id }).catch(() => {}), u5(null);
} catch {
- u5(r), n === G8 && l5(null);
+ d5(r), n === K8 && u5(null);
} finally {
- n === G8 && (Z8 = !1);
+ n === K8 && (Q8 = !1);
}
}
-async function g5(e) {
- if (Z8 || !W8.open) return;
- let t = G8;
- if (X8 += e, l5("切换中…", Y8[X8] ?? null), X8 >= Y8.length - 3 && !Q8) {
- Q8 = !0;
+async function _5(e) {
+ if (Q8 || !G8.open) return;
+ let t = K8;
+ if (Z8 += e, u5("切换中…", X8[Z8] ?? null), Z8 >= X8.length - 3 && !$8) {
+ $8 = !0;
try {
- q8 += 1;
- let e = await m5();
- t === G8 && (Y8 = KVe(Y8, e));
+ J8 += 1;
+ let e = await h5();
+ t === K8 && (X8 = $Ve(X8, e));
} catch {} finally {
- Q8 = !1;
+ $8 = !1;
}
}
- t === G8 && (X8 >= Y8.length && (X8 = 0), X8 < 0 && (X8 = Y8.length - 1), await h5(e));
+ t === K8 && (Z8 >= X8.length && (Z8 = 0), Z8 < 0 && (Z8 = X8.length - 1), await g5(e));
}
-async function iHe(e) {
- let t = ++G8;
- _5(), K8 += 1, q8 = 0, J8 = HVe(o5().filters()), Y.removeQueries({ queryKey: ["immerse-list"] }), W8 = {
- ...W8,
+async function dHe(e) {
+ let t = ++K8;
+ v5(), q8 += 1, J8 = 0, Y8 = YVe(s5().filters()), Y.removeQueries({ queryKey: ["immerse-list"] }), G8 = {
+ ...G8,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), l5("加载内容…");
+ }, document.body.setAttribute("data-immerse-open", ""), u5("加载内容…");
try {
- let n = await m5();
+ let n = await h5();
if (e && !n.some((t) => t.id === e)) {
- let t = await R8(e).catch((e) => {
- if (e instanceof C8) return null;
+ let t = await z8(e).catch((e) => {
+ if (e instanceof w8) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== G8) return;
- if (Y8 = n, !Y8.length) {
- v5(), o5().warn("当前筛选下没有可直接播放的内容");
+ if (t !== K8) return;
+ if (X8 = n, !X8.length) {
+ y5(), s5().warn("当前筛选下没有可直接播放的内容");
return;
}
- X8 = Math.max(0, Y8.findIndex((t) => t.id === e)), await h5();
+ Z8 = Math.max(0, X8.findIndex((t) => t.id === e)), await g5();
} catch {
- if (t !== G8) return;
- l5(null), v5();
+ if (t !== K8) return;
+ u5(null), y5();
}
}
-function _5() {
- clearInterval(r5), r5 = 0, w5(), S5 = null, i5 = null, a5 = !1, [...e5].forEach(u5), Z8 = !1;
-}
function v5() {
- W8.open && (G8++, _5(), W8 = z8, document.body.removeAttribute("data-immerse-open"), s5(), o5().closed());
+ clearInterval(i5), i5 = 0, T5(), C5 = null, a5 = null, o5 = !1, [...t5].forEach(d5), Q8 = !1;
}
-var y5 = 0, b5 = null, x5 = 0, S5 = null, C5 = 0;
-function w5() {
- clearTimeout(y5), y5 = 0, b5 = null;
+function y5() {
+ G8.open && (K8++, v5(), G8 = B8, document.body.removeAttribute("data-immerse-open"), c5(), s5().closed());
}
-function aHe(e) {
- let t = $8?.video;
+var b5 = 0, x5 = null, S5 = 0, C5 = null, w5 = 0;
+function T5() {
+ clearTimeout(b5), b5 = 0, x5 = null;
+}
+function fHe(e) {
+ let t = e5?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- if (b5 && b5.side === n && r - b5.at <= 280) {
- w5(), xVe(t, o5().seekSeconds() * n);
+ if (x5 && x5.side === n && r - x5.at <= 280) {
+ T5(), OVe(t, s5().seekSeconds() * n);
return;
}
- y5 && (clearTimeout(y5), y5 = 0, m8(t)), b5 = {
+ b5 && (clearTimeout(b5), b5 = 0, h8(t)), x5 = {
side: n,
at: r
- }, y5 = window.setTimeout(() => {
- y5 = 0, b5 = null, W8.open && m8($8?.video);
+ }, b5 = window.setTimeout(() => {
+ b5 = 0, x5 = null, G8.open && h8(e5?.video);
}, 280);
}
-function oHe() {
- Date.now() < x5 || m8($8?.video);
-}
-var T5 = (e) => U8?.bar.toggleAttribute("data-scrubbing", e);
-function E5(e) {
- U8 && (U8.progress.style.width = `${(e * 100).toFixed(2)}%`);
+function pHe() {
+ Date.now() < S5 || h8(e5?.video);
}
+var E5 = (e) => W8?.bar.toggleAttribute("data-scrubbing", e);
function D5(e) {
+ W8 && (W8.progress.style.width = `${(e * 100).toFixed(2)}%`);
+}
+function O5(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- S5 = null;
+ C5 = null;
return;
}
- let n = $8?.video;
- S5 = {
+ let n = e5?.video;
+ C5 = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function O5(e) {
- if (!S5 || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - S5.x, n = e.touches[0].clientY - S5.y;
- if (!S5.axis) {
+function k5(e) {
+ if (!C5 || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - C5.x, n = e.touches[0].clientY - C5.y;
+ if (!C5.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- S5.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", S5.axis === "x" && T5(!0);
+ C5.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", C5.axis === "x" && E5(!0);
}
- if (S5.axis !== "x") return;
- let r = $8?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), S5.to = Math.min(i, Math.max(0, S5.from + t / window.innerWidth * i)), E5(S5.to / i));
+ if (C5.axis !== "x") return;
+ let r = e5?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), C5.to = Math.min(i, Math.max(0, C5.from + t / window.innerWidth * i)), D5(C5.to / i));
}
-function k5(e) {
- if (!S5) return;
- let t = S5;
- if (S5 = null, x5 = Date.now() + 700, T5(!1), t.axis === "x") {
- let e = $8?.video;
+function A5(e) {
+ if (!C5) return;
+ let t = C5;
+ if (C5 = null, S5 = Date.now() + 700, E5(!1), t.axis === "x") {
+ let e = e5?.video;
e && t.to != null && (e.currentTime = t.to);
return;
}
let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;
if (Math.abs(i) > 60) {
- w5(), g5(i > 0 ? 1 : -1);
+ T5(), _5(i > 0 ? 1 : -1);
return;
}
- Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), aHe(n.clientX));
+ Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), fHe(n.clientX));
}
-function A5() {
- S5 = null, T5(!1);
+function j5() {
+ C5 = null, E5(!1);
}
-function j5(e) {
+function M5(e) {
let t = Date.now();
- t - C5 < 260 || (C5 = t, g5(e.deltaY > 0 ? 1 : -1));
+ t - w5 < 260 || (w5 = t, _5(e.deltaY > 0 ? 1 : -1));
}
-function M5(e) {
- let t = U8.bar.getBoundingClientRect();
+function N5(e) {
+ let t = W8.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
-function sHe(e) {
- i5?.duration() && (a5 = !0, T5(!0), e.currentTarget.setPointerCapture(e.pointerId), E5(M5(e)), e.preventDefault());
+function mHe(e) {
+ a5?.duration() && (o5 = !0, E5(!0), e.currentTarget.setPointerCapture(e.pointerId), D5(N5(e)), e.preventDefault());
}
-function cHe(e) {
- a5 && E5(M5(e));
+function hHe(e) {
+ o5 && D5(N5(e));
}
-function lHe(e) {
- if (!a5) return;
- a5 = !1, T5(!1);
- let t = i5?.duration();
- i5 && t && (i5.video.currentTime = t * M5(e));
+function gHe(e) {
+ if (!o5) return;
+ o5 = !1, E5(!1);
+ let t = a5?.duration();
+ a5 && t && (a5.video.currentTime = t * N5(e));
}
-function uHe() {
- a5 = !1, T5(!1);
+function _He() {
+ o5 = !1, E5(!1);
}
-async function N5(e, t) {
- let n = await W(v8, {
+async function P5(e, t) {
+ let n = await W(y8, {
id: e,
kind: t
- }), r = Y.getQueryData(h8(e));
- if (!r) return wb(e, {
+ }), r = Y.getQueryData(g8(e));
+ if (!r) return jb(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -75288,15 +75375,15 @@ async function N5(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return Y.setQueryData(h8(e), i), wb(e, {
+ return Y.setQueryData(g8(e), i), jb(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
rating: i.rating,
o_count: i.o_count
- }), o5().cache(i), n;
+ }), s5().cache(i), n;
}
-var dHe = [
+var vHe = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -75313,31 +75400,31 @@ var dHe = [
label: "记一次高潮"
}
];
-function P5(e) {
- return vr({
- queryKey: h8(e ?? 0),
- queryFn: ({ signal: t }) => w8(e, t),
+function F5(e) {
+ return Sr({
+ queryKey: g8(e ?? 0),
+ queryFn: ({ signal: t }) => T8(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function fHe({ kind: e, glyph: t, label: n, id: r }) {
- let i = P5(r), a = yr({
+function yHe({ kind: e, glyph: t, label: n, id: r }) {
+ let i = F5(r), a = Cr({
mutationFn: async (t) => {
- let n = Y.getQueryData(h8(t))?.feedback || null;
+ let n = Y.getQueryData(g8(t))?.feedback || null;
return {
- result: await N5(t, e),
+ result: await P5(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- o5().toast(L8(e, t), { undo: async () => {
- e === "o" ? await N5(r, "o-undo") : (t.feedback && await N5(r, t.feedback), n && await N5(r, n));
+ s5().toast(R8(e, t), { undo: async () => {
+ e === "o" ? await P5(r, "o-undo") : (t.feedback && await P5(r, t.feedback), n && await P5(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- g5(1);
+ _5(1);
}, 260);
},
- onError: (e) => o5().failure("更新反馈", e)
+ onError: (e) => s5().failure("更新反馈", e)
}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-immerse-action": "",
@@ -75368,11 +75455,11 @@ function fHe({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function pHe({ shown: e }) {
- let t = e?.item ?? null, n = P5(t?.id ?? null), r = n ? qVe(n) : null, i = o5(), a = (e) => {
- e.preventDefault(), n && (v5(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function bHe({ shown: e }) {
+ let t = e?.item ?? null, n = F5(t?.id ?? null), r = n ? eHe(n) : null, i = s5(), a = (e) => {
+ e.preventDefault(), n && (y5(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, s = () => {
- t && (v5(), i.openItem(t.id));
+ t && (y5(), i.openItem(t.id));
}, c = r ? fe(r.name, r.ref, Oe(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-immerse-ui": "",
@@ -75401,18 +75488,18 @@ function pHe({ shown: e }) {
})]
});
}
-var mHe = { __html: ae("媒体加载中") };
-function hHe({ view: e }) {
+var xHe = { __html: ae("媒体加载中") };
+function SHe({ view: e }) {
let t = (0, L.useRef)(null), n = (0, L.useRef)(null), r = (0, L.useRef)(null), i = (0, L.useRef)(null);
(0, L.useLayoutEffect)(() => {
let e = t.current;
- return U8 = {
+ return W8 = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", D5, { passive: !0 }), e.addEventListener("touchmove", O5, { passive: !1 }), e.addEventListener("touchend", k5, { passive: !1 }), e.addEventListener("touchcancel", A5, { passive: !0 }), e.addEventListener("wheel", j5, { passive: !0 }), () => {
- e.removeEventListener("touchstart", D5), e.removeEventListener("touchmove", O5), e.removeEventListener("touchend", k5), e.removeEventListener("touchcancel", A5), e.removeEventListener("wheel", j5), U8 = null;
+ }, e.addEventListener("touchstart", O5, { passive: !0 }), e.addEventListener("touchmove", k5, { passive: !1 }), e.addEventListener("touchend", A5, { passive: !1 }), e.addEventListener("touchcancel", j5, { passive: !0 }), e.addEventListener("wheel", M5, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", O5), e.removeEventListener("touchmove", k5), e.removeEventListener("touchend", A5), e.removeEventListener("touchcancel", j5), e.removeEventListener("wheel", M5), W8 = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -75429,10 +75516,10 @@ function hHe({ view: e }) {
children: [/* @__PURE__ */ (0, R.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: oHe
+ onClick: pHe
}), /* @__PURE__ */ (0, R.jsx)("div", {
"data-immerse-actions": "",
- children: dHe.map((e) => /* @__PURE__ */ (0, R.jsx)(fHe, {
+ children: vHe.map((e) => /* @__PURE__ */ (0, R.jsx)(yHe, {
...e,
id: a
}, e.kind))
@@ -75445,7 +75532,7 @@ function hHe({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, R.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: mHe
+ dangerouslySetInnerHTML: xHe
}), /* @__PURE__ */ (0, R.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, R.jsx)("button", {
@@ -75453,7 +75540,7 @@ function hHe({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: v5,
+ onClick: y5,
children: /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, R.jsx)("use", { href: "#i-x" })
@@ -75462,61 +75549,61 @@ function hHe({ view: e }) {
/* @__PURE__ */ (0, R.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: sHe,
- onPointerMove: cHe,
- onPointerUp: lHe,
- onPointerCancel: uHe,
+ onPointerDown: mHe,
+ onPointerMove: hHe,
+ onPointerUp: gHe,
+ onPointerCancel: _He,
children: /* @__PURE__ */ (0, R.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, R.jsx)(pHe, { shown: e.shown })
+ /* @__PURE__ */ (0, R.jsx)(bHe, { shown: e.shown })
]
});
}
-var gHe = {
- open: iHe,
- close: v5,
- isOpen: () => W8.open,
- activeVideo: () => W8.open ? $8?.video ?? null : null
+var CHe = {
+ open: dHe,
+ close: y5,
+ isOpen: () => G8.open,
+ activeVideo: () => G8.open ? e5?.video ?? null : null
};
-function _He(e) {
- if (!W8.open) return;
+function wHe(e) {
+ if (!G8.open) return;
let t = e.target;
- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && g5(1), e.key === "ArrowUp" && g5(-1));
+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && _5(1), e.key === "ArrowUp" && _5(-1));
}
-function vHe(e) {
- let t = !B8;
- return B8 = e, s5(), t && (document.addEventListener("keydown", _He), addEventListener("resize", () => {
- W8.open && p5();
+function THe(e) {
+ let t = !V8;
+ return V8 = e, c5(), t && (document.addEventListener("keydown", wHe), addEventListener("resize", () => {
+ G8.open && m5();
}), addEventListener("pagehide", () => {
- e5.forEach((e) => Y6(e.session));
- })), gHe;
+ t5.forEach((e) => X6(e.session));
+ })), CHe;
}
//#endregion
//#region src/manage-header.ts
-var yHe = {
+var EHe = {
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/scraping": "来源和凭证"
-}, F5 = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), bHe = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;
-function xHe(e) {
+}, DHe = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), OHe = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;
+function kHe(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = yHe[e.path] ?? "";
+ let n = EHe[e.path] ?? "";
return {
title: e.section === "cleanup" && n || t[1],
crumb: n,
- compact: F5.has(e.path) || e.section === "configuration",
+ compact: DHe.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: bHe(e.trash),
+ text: OHe(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var SHe = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
+var AHe = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
//#endregion
//#region src/react/settings-panel/icon.tsx
function I5({ name: e }) {
@@ -75526,7 +75613,7 @@ function I5({ name: e }) {
children: /* @__PURE__ */ (0, R.jsx)("use", { href: `#i-${e}` })
});
}
-function CHe({ name: e }) {
+function jHe({ name: e }) {
return /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -75536,28 +75623,28 @@ function CHe({ name: e }) {
//#endregion
//#region src/react/manage-header/manage-header-island.tsx
var L5 = null, R5 = null, z5 = null;
-function wHe() {
+function MHe() {
let e = L5, t = z5;
- !e || !R5 || !t || (0, it.flushSync)(() => R5.render(/* @__PURE__ */ (0, R.jsx)(DHe, {
+ !e || !R5 || !t || (0, ct.flushSync)(() => R5.render(/* @__PURE__ */ (0, R.jsx)(FHe, {
host: e,
props: t
})));
}
-var THe = { render(e) {
- z5 = e, wHe();
+var NHe = { render(e) {
+ z5 = e, MHe();
} };
-function EHe(e) {
- return L5 = e, z5 = null, e.root.replaceChildren(), R5 = (0, at.createRoot)(e.root), THe;
+function PHe(e) {
+ return L5 = e, z5 = null, e.root.replaceChildren(), R5 = (0, lt.createRoot)(e.root), NHe;
}
-function DHe({ host: e, props: t }) {
- let n = xHe(t);
+function FHe({ host: e, props: t }) {
+ let n = kHe(t);
return n ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
- /* @__PURE__ */ (0, R.jsx)(OHe, {
+ /* @__PURE__ */ (0, R.jsx)(IHe, {
host: e,
section: t.section,
menu: t.menu
}),
- n.crumb ? /* @__PURE__ */ (0, R.jsx)(kHe, {
+ n.crumb ? /* @__PURE__ */ (0, R.jsx)(LHe, {
host: e,
label: n.crumb
}) : null,
@@ -75566,7 +75653,7 @@ function DHe({ host: e, props: t }) {
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, R.jsx)(AHe, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, R.jsx)(RHe, {
host: e,
lede: n.lede
})
@@ -75576,7 +75663,7 @@ var B5 = null;
function V5(e, t, n) {
e.style.setProperty("--tab-x", `${t}px`), e.style.setProperty("--tab-width", `${n}px`);
}
-function OHe({ host: e, section: t, menu: n }) {
+function IHe({ host: e, section: t, menu: n }) {
let r = (0, L.useRef)(null), i = (0, L.useRef)(null), a = () => {
let e = r.current, t = i.current;
if (!e || !t) return;
@@ -75621,7 +75708,7 @@ function OHe({ host: e, section: t, menu: n }) {
})
});
}
-function kHe({ host: e, label: t }) {
+function LHe({ host: e, label: t }) {
return /* @__PURE__ */ (0, R.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "Breadcrumb",
@@ -75637,14 +75724,14 @@ function kHe({ host: e, label: t }) {
})] })
});
}
-function AHe({ host: e, lede: t }) {
+function RHe({ host: e, lede: t }) {
return /* @__PURE__ */ (0, R.jsx)("p", {
className: "mono",
"data-manage-lede": "",
children: t.kind === "skeleton" ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-trash-lede-skeletons": "",
- dangerouslySetInnerHTML: { __html: SHe }
- }) : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(jHe, { text: t.text }), t.total ? /* @__PURE__ */ (0, R.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: AHe }
+ }) : /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)(zHe, { text: t.text }), t.total ? /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -75654,7 +75741,7 @@ function AHe({ host: e, lede: t }) {
}) : null] })
});
}
-function jHe({ text: e }) {
+function zHe({ text: e }) {
let t = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => {
oe(t.current, e);
@@ -75670,35 +75757,35 @@ function H5(e, t, n, r) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var MHe = (e) => {
+var BHe = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function NHe({ openConfiguration: e }) {
- let t = vr({
+function VHe({ openConfiguration: e }) {
+ let t = Sr({
queryKey: iI,
queryFn: ({ signal: e }) => aI(e)
}), n = t.data;
return /* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex flex-col",
- children: [n ? /* @__PURE__ */ (0, R.jsxs)(Zy, { children: [
- /* @__PURE__ */ (0, R.jsx)(Qy, {
+ children: [n ? /* @__PURE__ */ (0, R.jsxs)(ab, { children: [
+ /* @__PURE__ */ (0, R.jsx)(ob, {
term: "媒体库",
children: `${n.library_count} 个`
}),
- /* @__PURE__ */ (0, R.jsx)(Qy, {
+ /* @__PURE__ */ (0, R.jsx)(ob, {
term: "端口",
children: String(n.port)
}),
- /* @__PURE__ */ (0, R.jsx)(Qy, {
+ /* @__PURE__ */ (0, R.jsx)(ob, {
term: "更新",
- children: MHe(n)
+ children: BHe(n)
})
- ] }) : /* @__PURE__ */ (0, R.jsx)(Gy, { children: /* @__PURE__ */ (0, R.jsx)(G, {
+ ] }) : /* @__PURE__ */ (0, R.jsx)($y, { children: /* @__PURE__ */ (0, R.jsx)(G, {
tone: "error",
title: "配置读取失败",
children: t.error ? H(t.error) : "未取得配置,请刷新页面重试。"
- }) }), /* @__PURE__ */ (0, R.jsx)(Ky, {
+ }) }), /* @__PURE__ */ (0, R.jsx)(eb, {
status: "媒体文件夹、端口、代理与更新在配置页上改。",
children: /* @__PURE__ */ (0, R.jsx)(V, {
onClick: e,
@@ -75755,7 +75842,7 @@ function G5({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function PHe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function HHe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, L.useRef)(null), c = (0, L.useRef)(null), l = (0, L.useRef)({
onStep: a,
onSettle: o
@@ -75790,7 +75877,7 @@ function PHe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var FHe = [
+var UHe = [
[
"strength",
"强度",
@@ -75817,21 +75904,8 @@ var FHe = [
100
]
];
-function IHe({ host: e, version: t }) {
- let n = (0, L.useRef)(null), r = (0, L.useRef)(!1);
- return (0, L.useLayoutEffect)(() => {
- let t = n.current;
- t && (r.current ||= (e.wireGlowGrid(t), !0), e.renderGlowGrid(t));
- }, [e, t]), /* @__PURE__ */ (0, R.jsx)("div", {
- className: "board-glow-grid",
- "data-glow-grid": "",
- role: "group",
- "aria-label": "光晕配色",
- ref: n
- });
-}
-function LHe({ host: e, spot: t, index: n, glow: r }) {
- let i = Ae[n], a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useRef)(null), [c, l] = (0, L.useState)("all");
+function WHe({ host: e, spot: t, index: n, glow: r }) {
+ let i = Fe[n], a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useRef)(null), [c, l] = (0, L.useState)("all");
(0, L.useLayoutEffect)(() => {
let [e, t, n] = [
a.current,
@@ -75844,7 +75918,7 @@ function LHe({ host: e, spot: t, index: n, glow: r }) {
}, []);
let u = r[t].color, d = (n) => {
let r = e.store.value.homeGlow;
- r[t].color = Pe(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), y(), o.current?.focus();
+ r[t].color = ze(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), y(), o.current?.focus();
};
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-glow-stop": t,
@@ -75881,7 +75955,7 @@ function LHe({ host: e, spot: t, index: n, glow: r }) {
"data-glow-pills": "",
role: "group",
"aria-label": "色系",
- children: Me.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)("button", {
+ children: Le.map(([e, t]) => /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-glow-pill": e,
"aria-pressed": e === c,
@@ -75892,7 +75966,7 @@ function LHe({ host: e, spot: t, index: n, glow: r }) {
"data-glow-palette": "",
role: "radiogroup",
"aria-label": `${i}颜色`,
- children: je.map(([e, t, n]) => /* @__PURE__ */ (0, R.jsx)("button", {
+ children: Ie.map(([e, t, n]) => /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
role: "radio",
"aria-checked": n === u,
@@ -75908,13 +75982,13 @@ function LHe({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function RHe({ host: e, version: t }) {
- let n = e.store.value.homeGlow, r = Ie(n.preset);
+function GHe({ host: e }) {
+ let t = e.store.value.homeGlow, n = Ve(t.preset);
return /* @__PURE__ */ (0, R.jsxs)("section", {
"data-glow-setting": "",
id: "homeGlowControls",
"aria-label": "侧栏光晕参数",
- hidden: !n.on,
+ hidden: !t.on,
children: [
/* @__PURE__ */ (0, R.jsxs)("section", {
"data-glow-group": "",
@@ -75924,48 +75998,48 @@ function RHe({ host: e, version: t }) {
"data-glow-current": "",
children: ["当前配色", /* @__PURE__ */ (0, R.jsx)("b", {
"data-glow-preset-name": "",
- children: Fe(n.preset)
+ children: Be(t.preset)
})]
}),
- /* @__PURE__ */ (0, R.jsx)(IHe, {
- host: e,
- version: t
+ /* @__PURE__ */ (0, R.jsx)(b6, {
+ store: e.store,
+ label: "光晕配色"
}),
/* @__PURE__ */ (0, R.jsx)("p", {
"data-glow-native-note": "",
- hidden: !r,
+ hidden: !n,
children: "这一档用每块玻璃自带的反光,颜色跟着明暗主题走。"
}),
/* @__PURE__ */ (0, R.jsx)("div", {
"data-glow-fields": "",
- children: FHe.map(([t, i, a]) => /* @__PURE__ */ (0, R.jsx)(PHe, {
- field: t,
+ children: UHe.map(([r, i, a]) => /* @__PURE__ */ (0, R.jsx)(HHe, {
+ field: r,
label: i,
max: a,
- value: n[t],
- hidden: r && t !== "speed",
- onStep: (n) => {
- e.store.value.homeGlow[t] = n, e.changed("glowFrame");
+ value: t[r],
+ hidden: n && r !== "speed",
+ onStep: (t) => {
+ e.store.value.homeGlow[r] = t, e.changed("glowFrame");
},
onSettle: () => {
- e.store.save(), t === "speed" && e.changed("glow");
+ e.store.save(), r === "speed" && e.changed("glow");
}
- }, t))
+ }, r))
})
]
}),
/* @__PURE__ */ (0, R.jsxs)("section", {
"data-glow-group": "",
"data-glow-colours": "",
- hidden: r,
+ hidden: n,
children: [/* @__PURE__ */ (0, R.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, R.jsx)("div", {
"data-glow-stops": "",
- children: Ne.map((t, r) => /* @__PURE__ */ (0, R.jsx)(LHe, {
+ children: Re.map((n, r) => /* @__PURE__ */ (0, R.jsx)(WHe, {
host: e,
- spot: t,
+ spot: n,
index: r,
- glow: n
- }, t))
+ glow: t
+ }, n))
})]
}),
/* @__PURE__ */ (0, R.jsx)("div", {
@@ -75975,7 +76049,7 @@ function RHe({ host: e, version: t }) {
className: "geist-button",
"data-glow-reset": "",
onClick: () => {
- e.store.value.homeGlow = Le(null), e.store.save(), e.changed("glow");
+ e.store.value.homeGlow = He(null), e.store.save(), e.changed("glow");
},
children: "恢复默认"
})
@@ -75985,7 +76059,7 @@ function RHe({ host: e, version: t }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var zHe = {
+var KHe = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -76028,7 +76102,7 @@ var zHe = {
}
}, K5 = (e) => `peach.number.${e}`;
function q5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = zHe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, L.useRef)(0);
+ let a = KHe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, L.useRef)(0);
d.current ||= H5(Number(localStorage.getItem(K5(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, L.useState)(n ?? 0), [m, h] = (0, L.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, L.useState)(""), v = (0, L.useRef)(null), y = (0, L.useRef)(i);
y.current = i, (0, L.useLayoutEffect)(() => {
@@ -76107,7 +76181,7 @@ function q5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
//#endregion
//#region src/react/sidebar/sidebar-order.ts
function J5(e) {
- let { mutate: t } = rS();
+ let { mutate: t } = dS();
return (0, L.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
@@ -76122,8 +76196,8 @@ function Y5(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var BHe = "__home__", X5 = (e) => e === "" ? BHe : e;
-function VHe({ host: e }) {
+var qHe = "__home__", X5 = (e) => e === "" ? qHe : e;
+function JHe({ host: e }) {
let t = J5(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, L.useState)(null), [c, l] = (0, L.useState)(!1), [u, d] = (0, L.useState)(null), [f, p] = (0, L.useState)(null), m = (0, L.useRef)(null), h = (0, L.useRef)(null), g = (e, r, i) => {
let a = Y5(n, e, r, i);
a && t(a);
@@ -76293,7 +76367,7 @@ var Z5 = [
["关注", "ri-rss-line"],
["安全", "ri-shield-check-line"],
["这台电脑", "ri-macbook-line"]
-], HHe = [
+], YHe = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -76302,21 +76376,21 @@ var Z5 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], UHe = [["desc", "降序"], ["asc", "升序"]], WHe = [
+], XHe = [["desc", "降序"], ["asc", "升序"]], ZHe = [
["off", "关闭"],
["precise", "精准"],
["coarse", "粗略"]
-], GHe = [
+], QHe = [
["7", "每周"],
["30", "每月"],
["90", "每季"],
["0", "从不"]
-], KHe = [
+], $He = [
0,
7,
30,
90
-], qHe = [[
+], eUe = [[
"cover",
"官方封面",
""
@@ -76324,7 +76398,7 @@ var Z5 = [
"thumbnail",
"预览图",
""
-]], JHe = [
+]], tUe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -76349,19 +76423,19 @@ var Z5 = [
"feedHideExcerptDescription",
"把出过的正片剪成十几分钟单卖的,比如ハイライト厂牌。"
]
-], YHe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", Q5 = null, $5 = null, e7 = null, t7 = {
+], nUe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", Q5 = null, $5 = null, e7 = null, t7 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
machine: "none"
}, n7 = 0, r7 = null;
-function XHe() {
- return (!$5 || !e7?.isConnected) && ($5?.unmount(), e7 = document.createElement("div"), e7.dataset.settingsHost = "", document.body.append(e7), $5 = (0, at.createRoot)(e7)), $5;
+function rUe() {
+ return (!$5 || !e7?.isConnected) && ($5?.unmount(), e7 = document.createElement("div"), e7.dataset.settingsHost = "", document.body.append(e7), $5 = (0, lt.createRoot)(e7)), $5;
}
function i7() {
let e = Q5;
- e && (0, it.flushSync)(() => XHe().render(/* @__PURE__ */ (0, R.jsx)(VF, { children: /* @__PURE__ */ (0, R.jsx)(rUe, {
+ e && (0, ct.flushSync)(() => rUe().render(/* @__PURE__ */ (0, R.jsx)(VF, { children: /* @__PURE__ */ (0, R.jsx)(uUe, {
host: e,
view: t7
}) })));
@@ -76372,7 +76446,7 @@ function a7(e) {
...e
}, i7();
}
-async function ZHe(e) {
+async function iUe(e) {
if (t7.machine === "summary") return;
let t = await e.configurable();
if (t7.open) {
@@ -76386,11 +76460,11 @@ async function ZHe(e) {
t7.open && a7({ machine: "summary" });
}
}
-function QHe(e = "") {
+function aUe(e = "") {
let t = Q5;
if (!t) return;
y(), n7 += 1, r7 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let n = Z5.findIndex(([t]) => t === e), r = Zre();
+ let n = Z5.findIndex(([t]) => t === e), r = uS();
a7({
open: !0,
closing: !1,
@@ -76398,7 +76472,7 @@ function QHe(e = "") {
tab: n >= 0 ? n : t7.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), ZHe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), iUe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
function o7() {
if (!t7.open || t7.closing) return;
@@ -76416,24 +76490,24 @@ function o7() {
}
e7?.querySelector("[data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380);
}
-var $He = {
- open: QHe,
+var oUe = {
+ open: aUe,
close: o7,
isOpen: () => t7.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function eUe(e) {
- return Q5 = e, i7(), $He;
+function sUe(e) {
+ return Q5 = e, i7(), oUe;
}
-function tUe(e) {
+function cUe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(YHe)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(nUe)].filter((e) => e.getClientRects().length > 0);
if (!t.length) return;
let n = t[0], r = t[t.length - 1];
e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());
}
var s7 = (e) => `settings-tab-${e}`, c7 = (e) => e === Z5.length - 1 ? "machineGroup" : `settings-group-${e}`;
-function nUe({ tab: e, epoch: t, onSelect: n }) {
+function lUe({ tab: e, epoch: t, onSelect: n }) {
let r = (0, L.useRef)(null), i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(e), s = (0, L.useRef)([]), c = (e, t) => {
let n = i.current;
if (!n) return;
@@ -76505,7 +76579,7 @@ function nUe({ tab: e, epoch: t, onSelect: n }) {
onPointerEnter: (e) => {
e.pointerType !== "touch" && c(e.currentTarget, !0);
},
- children: [/* @__PURE__ */ (0, R.jsx)(CHe, { name: r }), t]
+ children: [/* @__PURE__ */ (0, R.jsx)(jHe, { name: r }), t]
}, t))
]
});
@@ -76549,28 +76623,29 @@ var f7 = ({ html: e, ...t }) => /* @__PURE__ */ (0, R.jsx)("small", {
...t,
dangerouslySetInnerHTML: { __html: e }
}), p7 = () => `${ae("保存中")}<span>正在保存…</span>`, m7 = (e, t) => e instanceof Error && e.message || t;
-function rUe({ host: e, view: t }) {
- let n = (0, L.useSyncExternalStore)(e.store.subscribe, e.store.version), r = e.store.value, i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useRef)(null), c = (0, L.useRef)(null), l = (0, L.useRef)(t.tab), u = () => {
- let [e, t] = [a.current, s.current];
+function uUe({ host: e, view: t }) {
+ (0, L.useSyncExternalStore)(e.store.subscribe, e.store.version);
+ let n = e.store.value, r = (0, L.useRef)(null), i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useRef)(null), c = (0, L.useRef)(t.tab), l = () => {
+ let [e, t] = [i.current, o.current];
if (!e || !t) return;
let n = parseFloat(getComputedStyle(e).getPropertyValue("--settings-gap")) || 0;
e.toggleAttribute("data-scrolled", t.scrollTop > Math.max(n - 4, 0));
- }, d = (0, L.useRef)(u);
- d.current = u, (0, L.useLayoutEffect)(() => {
- let t = s.current;
- if (!t || !i.current) return;
- c.current = v(t) ?? c.current, e.attached(i.current);
- let n = () => d.current();
+ }, u = (0, L.useRef)(l);
+ u.current = l, (0, L.useLayoutEffect)(() => {
+ let t = o.current;
+ if (!t || !r.current) return;
+ s.current = v(t) ?? s.current, e.attached(r.current);
+ let n = () => u.current();
return t.addEventListener("scroll", n, { passive: !0 }), () => t.removeEventListener("scroll", n);
}, [e]), (0, L.useLayoutEffect)(() => {
- let e = l.current !== t.tab;
- l.current = t.tab, s.current && (s.current.scrollTop = 0), e && o.current && ee(o.current, "h2"), d.current();
+ let e = c.current !== t.tab;
+ c.current = t.tab, o.current && (o.current.scrollTop = 0), e && a.current && ee(a.current, "h2"), u.current();
}, [t.tab, t.epoch]), (0, L.useLayoutEffect)(() => {
- c.current?.();
+ s.current?.();
});
- let f = t.epoch, p = (e) => {
+ let d = t.epoch, f = (e) => {
e !== t7.tab && a7({ tab: e });
- }, m = () => e.store.save();
+ }, p = () => e.store.save();
return /* @__PURE__ */ (0, R.jsx)("section", {
"data-settings-panel": "",
id: "settingsPanel",
@@ -76579,18 +76654,18 @@ function rUe({ host: e, view: t }) {
role: "dialog",
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
- ref: i,
- onKeyDown: tUe,
+ ref: r,
+ onKeyDown: cUe,
onClick: (e) => {
e.target === e.currentTarget && o7();
},
children: /* @__PURE__ */ (0, R.jsxs)("div", {
"data-settings-card": "",
- ref: a,
+ ref: i,
children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
"data-settings-head": "",
- ref: o,
+ ref: a,
children: [/* @__PURE__ */ (0, R.jsx)("h2", {
id: "settingsTitle",
children: Z5[t.tab][0]
@@ -76605,14 +76680,14 @@ function rUe({ host: e, view: t }) {
})
})]
}),
- /* @__PURE__ */ (0, R.jsx)(nUe, {
+ /* @__PURE__ */ (0, R.jsx)(lUe, {
tab: t.tab,
- epoch: f,
- onSelect: p
+ epoch: d,
+ onSelect: f
}),
/* @__PURE__ */ (0, R.jsxs)("div", {
"data-settings-scroll": "",
- ref: s,
+ ref: o,
children: [
/* @__PURE__ */ (0, R.jsxs)(l7, {
index: 0,
@@ -76626,12 +76701,12 @@ function rUe({ host: e, view: t }) {
name: "theme",
legend: "主题",
options: e.themeOptions,
- value: r.theme,
+ value: n.theme,
attr: "data-theme-choice",
variant: "themeswitch",
- epoch: f,
+ epoch: d,
onChoose: (t) => {
- r.theme = t, m(), e.changed("theme");
+ n.theme = t, p(), e.changed("theme");
}
})
}),
@@ -76652,57 +76727,54 @@ function rUe({ host: e, view: t }) {
/* @__PURE__ */ (0, R.jsx)(u7, {
id: "uiSoundsSetting",
title: "界面音效",
- checked: r.uiSounds,
+ checked: n.uiSounds,
description: "按钮、开关、菜单、弹层和操作回执各配一声轻响。",
onToggle: (t) => {
- r.uiSounds = t, m(), e.changed("uiSounds");
+ n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
/* @__PURE__ */ (0, R.jsx)(u7, {
id: "homeGlowSetting",
title: "侧栏光晕",
- checked: r.homeGlow.on,
+ checked: n.homeGlow.on,
description: "左栏玻璃面上那三枚慢慢漂动的光,其余玻璃面跟着取前两枚的颜色。配色在下面或左栏底部那枚配色钮上挑,强调色在配色钮上挑;这里还调强度、颗粒、漂移速度、柔化、大小和每一枚光晕的颜色。浅色主题按同一组颜色淡一档显示。",
onToggle: (t) => {
- r.homeGlow.on = t, m(), e.changed("glow");
+ n.homeGlow.on = t, p(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, R.jsx)(RHe, {
- host: e,
- version: n
- }),
+ /* @__PURE__ */ (0, R.jsx)(GHe, { host: e }),
/* @__PURE__ */ (0, R.jsxs)("section", {
"data-sidebar-setting": "",
"aria-labelledby": "sidebarOrderTitle",
children: [/* @__PURE__ */ (0, R.jsxs)("span", { children: [/* @__PURE__ */ (0, R.jsx)("b", {
id: "sidebarOrderTitle",
children: "左侧导航"
- }), /* @__PURE__ */ (0, R.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, R.jsx)(VHe, { host: e })]
+ }), /* @__PURE__ */ (0, R.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, R.jsx)(JHe, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, R.jsx)(aUe, {
+ /* @__PURE__ */ (0, R.jsx)(fUe, {
host: e,
tab: t.tab,
- epoch: f
+ epoch: d
}),
- /* @__PURE__ */ (0, R.jsx)(sUe, {
+ /* @__PURE__ */ (0, R.jsx)(mUe, {
host: e,
tab: t.tab,
- epoch: f
+ epoch: d
}),
/* @__PURE__ */ (0, R.jsx)(l7, {
index: 3,
tab: t.tab,
- children: /* @__PURE__ */ (0, R.jsx)(lUe, {
+ children: /* @__PURE__ */ (0, R.jsx)(gUe, {
host: e,
- epoch: f
+ epoch: d
})
}),
- /* @__PURE__ */ (0, R.jsx)(uUe, {
+ /* @__PURE__ */ (0, R.jsx)(_Ue, {
host: e,
tab: t.tab,
- epoch: f
+ epoch: d
}),
/* @__PURE__ */ (0, R.jsx)(l7, {
index: 5,
@@ -76719,7 +76791,7 @@ function rUe({ host: e, view: t }) {
/* @__PURE__ */ (0, R.jsx)(l7, {
index: 6,
tab: t.tab,
- children: /* @__PURE__ */ (0, R.jsx)(fUe, {
+ children: /* @__PURE__ */ (0, R.jsx)(yUe, {
host: e,
machine: t.machine
})
@@ -76730,7 +76802,7 @@ function rUe({ host: e, view: t }) {
})
});
}
-function iUe(e, t) {
+function dUe(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = E("arrow-up", "arrow-down", "a", {
@@ -76740,7 +76812,7 @@ function iUe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function aUe({ host: e, tab: t, epoch: n }) {
+function fUe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";
return /* @__PURE__ */ (0, R.jsxs)(l7, {
index: 1,
@@ -76773,7 +76845,7 @@ function aUe({ host: e, tab: t, epoch: n }) {
children: [/* @__PURE__ */ (0, R.jsx)(G5, {
id: "defaultSortSetting",
label: "默认排序",
- options: HHe,
+ options: YHe,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
@@ -76782,7 +76854,7 @@ function aUe({ host: e, tab: t, epoch: n }) {
}), /* @__PURE__ */ (0, R.jsx)(G5, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: UHe,
+ options: XHe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -76791,7 +76863,7 @@ function aUe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => iUe(e, o)
+ decorate: (e) => dUe(e, o)
})]
})
}),
@@ -76815,14 +76887,14 @@ function aUe({ host: e, tab: t, epoch: n }) {
id: "javImageSetting",
name: "jav-image",
legend: "JAV 默认封面",
- options: qHe,
+ options: eUe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
text: !0,
epoch: n,
onChoose: (t) => {
- r.javImage = vb(t), i(), e.changed("javImage");
+ r.javImage = Eb(t), i(), e.changed("javImage");
}
})
}),
@@ -76852,7 +76924,7 @@ function aUe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- JHe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, R.jsx)(oUe, {
+ tUe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, R.jsx)(pUe, {
host: e,
id: t,
settingKey: n,
@@ -76864,8 +76936,8 @@ function aUe({ host: e, tab: t, epoch: n }) {
]
});
}
-function oUe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {
- let s = rS(), [c, l] = (0, L.useState)(null), u = (0, L.useRef)(null), d = e.store.value, f = (t) => {
+function pUe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {
+ let s = dS(), [c, l] = (0, L.useState)(null), u = (0, L.useRef)(null), d = e.store.value, f = (t) => {
l(t), ne(u.current), s.mutate({ [n]: t }, {
onSuccess: (i) => {
d[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -76893,7 +76965,7 @@ function oUe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a
})]
});
}
-function sUe({ host: e, tab: t, epoch: n }) {
+function mUe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
return /* @__PURE__ */ (0, R.jsxs)(l7, {
index: 2,
@@ -76947,7 +77019,7 @@ function sUe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, R.jsx)(cUe, { epoch: n }),
+ /* @__PURE__ */ (0, R.jsx)(hUe, { epoch: n }),
/* @__PURE__ */ (0, R.jsx)(d7, {
title: "相关推荐",
description: "详情下方一次显示的相似作品数量。",
@@ -76966,15 +77038,15 @@ function sUe({ host: e, tab: t, epoch: n }) {
]
});
}
-function cUe({ epoch: e }) {
- let t = vr({
- queryKey: eS,
- queryFn: ({ signal: e }) => nS(e)
- }), n = $re(), r = n.reset;
+function hUe({ epoch: e }) {
+ let t = Sr({
+ queryKey: oS,
+ queryFn: ({ signal: e }) => lS(e)
+ }), n = pS(), r = n.reset;
(0, L.useEffect)(() => {
r();
}, [e, r]);
- let i = t.data?.mode || "off", a = n.isPending ? p7() : t.isFetching ? k("正在读取状态") : n.isError ? h7(m7(n.error, "保存失败")) : t.isError ? h7(`状态未取得:${m7(t.error, String(t.error))}`) : t.data ? h7(tie(t.data)) : "读取运行状态…";
+ let i = t.data?.mode || "off", a = n.isPending ? p7() : t.isFetching ? k("正在读取状态") : n.isError ? h7(m7(n.error, "保存失败")) : t.isError ? h7(`状态未取得:${m7(t.error, String(t.error))}`) : t.data ? h7(hS(t.data)) : "读取运行状态…";
return /* @__PURE__ */ (0, R.jsx)(d7, {
title: "视频缩略图采集",
description: /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("small", { children: "拖动进度条时按时间点看画面。精准每 10 秒一张,粗略每 30 秒一张;两小时的片子约 720 / 240 张,占 20–100 / 7–35 MB。只采集本机磁盘上的片子,网盘上的每张都要回源拉一次。" }), /* @__PURE__ */ (0, R.jsx)(f7, {
@@ -76985,7 +77057,7 @@ function cUe({ epoch: e }) {
children: /* @__PURE__ */ (0, R.jsx)(G5, {
id: "videoThumbnailSetting",
label: "视频缩略图采集",
- options: WHe,
+ options: ZHe,
value: n.isPending || n.isError ? n.variables ?? i : i,
disabled: n.isPending || t.isFetching,
epoch: e,
@@ -76993,8 +77065,8 @@ function cUe({ epoch: e }) {
})
});
}
-function lUe({ host: e, epoch: t }) {
- let n = e.store.value, r = rS();
+function gUe({ host: e, epoch: t }) {
+ let n = e.store.value, r = dS();
return /* @__PURE__ */ (0, R.jsx)(d7, {
title: "搜索记录",
description: "保存在 Peach 账本,所有访问端同步。",
@@ -77011,8 +77083,8 @@ function lUe({ host: e, epoch: t }) {
})
});
}
-function uUe({ host: e, tab: t, epoch: n }) {
- let r = e.store.value, i = rS(), a = rS(), [o, s] = (0, L.useState)("");
+function _Ue({ host: e, tab: t, epoch: n }) {
+ let r = e.store.value, i = dS(), a = dS(), [o, s] = (0, L.useState)("");
(0, L.useEffect)(() => {
s("");
}, [n]);
@@ -77047,34 +77119,34 @@ function uUe({ host: e, tab: t, epoch: n }) {
onPick: (e) => c(Number(e))
})
}),
- /* @__PURE__ */ (0, R.jsx)(dUe, { epoch: n }),
+ /* @__PURE__ */ (0, R.jsx)(vUe, { epoch: n }),
/* @__PURE__ */ (0, R.jsx)(d7, {
title: "头像与站点图标刷新",
description: "创作者头像、来源图标和外链圆标保存在本机,到期后下次显示时重新取一次;视频与图片不保存。",
children: /* @__PURE__ */ (0, R.jsx)(G5, {
id: "metadataRefreshSetting",
label: "头像与站点图标刷新",
- options: GHe,
+ options: QHe,
value: String(r.metadataRefreshDays),
epoch: n,
onPick: (t) => {
let n = Number(t);
- r.metadataRefreshDays = KHe.includes(n) ? n : 30, e.store.save(), i.mutate({ metadataRefreshDays: r.metadataRefreshDays }, { onError: () => {} });
+ r.metadataRefreshDays = $He.includes(n) ? n : 30, e.store.save(), i.mutate({ metadataRefreshDays: r.metadataRefreshDays }, { onError: () => {} });
}
})
})
]
});
}
-function dUe({ epoch: e }) {
- let t = vr({
- queryKey: $x,
- queryFn: ({ signal: e }) => tS(e)
- }), n = Qre(), r = n.reset;
+function vUe({ epoch: e }) {
+ let t = Sr({
+ queryKey: aS,
+ queryFn: ({ signal: e }) => cS(e)
+ }), n = fS(), r = n.reset;
(0, L.useEffect)(() => {
r();
}, [e, r]);
- let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? p7() : t.isFetching ? k("正在读取状态") : n.isError ? h7(m7(n.error, "保存失败")) : t.isError ? h7(`状态未取得:${m7(t.error, String(t.error))}`) : i ? h7(eie(i)) : "读取运行状态…";
+ let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? p7() : t.isFetching ? k("正在读取状态") : n.isError ? h7(m7(n.error, "保存失败")) : t.isError ? h7(`状态未取得:${m7(t.error, String(t.error))}`) : i ? h7(mS(i)) : "读取运行状态…";
return /* @__PURE__ */ (0, R.jsx)(d7, {
title: "关注自动更新",
description: /* @__PURE__ */ (0, R.jsx)(f7, {
@@ -77094,12 +77166,12 @@ function dUe({ epoch: e }) {
})
});
}
-function fUe({ host: e, machine: t }) {
+function yUe({ host: e, machine: t }) {
return t === "summary" ? /* @__PURE__ */ (0, R.jsx)("div", {
id: "machineSettings",
children: /* @__PURE__ */ (0, R.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, R.jsx)(NHe, { openConfiguration: () => {
+ children: /* @__PURE__ */ (0, R.jsx)(VHe, { openConfiguration: () => {
o7(), e.openConfiguration();
} })
})
@@ -77113,7 +77185,7 @@ function h7(e) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var g7 = "__home__", pUe = {
+var g7 = "__home__", bUe = {
creator: 26,
tag: 30,
tech: 16
@@ -77126,13 +77198,13 @@ function S7() {
let e = v7;
if (!e || !y7) return;
let t = b7, n = x7;
- (0, it.flushSync)(() => y7.render(/* @__PURE__ */ (0, R.jsx)(VF, { children: /* @__PURE__ */ (0, R.jsx)(gUe, {
+ (0, ct.flushSync)(() => y7.render(/* @__PURE__ */ (0, R.jsx)(VF, { children: /* @__PURE__ */ (0, R.jsx)(CUe, {
host: e,
props: t,
epoch: n
}) })));
}
-var mUe = {
+var xUe = {
render(e) {
b7 = e, S7();
},
@@ -77140,23 +77212,23 @@ var mUe = {
x7 += 1, S7();
}
};
-function hUe(e) {
+function SUe(e) {
return v7 = e, b7 = {
content: null,
filters: {},
latest: null
- }, e.scroll.replaceChildren(), y7 = (0, at.createRoot)(e.scroll), S7(), e.attached(), mUe;
+ }, e.scroll.replaceChildren(), y7 = (0, lt.createRoot)(e.scroll), S7(), e.attached(), xUe;
}
-function gUe({ host: e, props: t, epoch: n }) {
+function CUe({ host: e, props: t, epoch: n }) {
let r = (0, L.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, R.jsx)(_Ue, {
+ /* @__PURE__ */ (0, R.jsx)(wUe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, R.jsx)(yUe, {
+ t.content ? /* @__PURE__ */ (0, R.jsx)(EUe, {
host: e,
content: t.content,
filters: t.filters,
@@ -77164,8 +77236,8 @@ function gUe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function _Ue({ host: e, epoch: t, version: n }) {
- let r = J5(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, L.useRef)(null), l = (0, L.useRef)(null), u = YO(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || g7 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function wUe({ host: e, epoch: t, version: n }) {
+ let r = J5(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, L.useRef)(null), l = (0, L.useRef)(null), u = nk(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || g7 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, L.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
return [
@@ -77223,14 +77295,14 @@ function _Ue({ host: e, epoch: t, version: n }) {
alt: ""
}) : /* @__PURE__ */ (0, R.jsx)(I5, { name: r }), /* @__PURE__ */ (0, R.jsx)("span", { children: n })]
}, t || g7))
- }), v ? (0, it.createPortal)(/* @__PURE__ */ (0, R.jsx)("span", {
+ }), v ? (0, ct.createPortal)(/* @__PURE__ */ (0, R.jsx)("span", {
"data-sidebar-glide": "",
"aria-hidden": "true",
ref: l
}), v) : null] });
}
var C7 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function vUe(e) {
+function TUe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -77243,7 +77315,7 @@ function vUe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function yUe({ host: e, content: t, filters: n, latest: r }) {
+function EUe({ host: e, content: t, filters: n, latest: r }) {
let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}`;
(0, L.useLayoutEffect)(() => {
t.kind === "catalog" && M(e.scroll, "drawer");
@@ -77252,8 +77324,8 @@ function yUe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? bUe(e, t.facets, n, r, i) : [xUe(e, t.tags, new Set(t.selected))], o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, R.jsx)(SUe, {
+ let a = t.kind === "catalog" ? DUe(e, t.facets, n, r, i) : [OUe(e, t.tags, new Set(t.selected))], o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, R.jsx)(kUe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -77262,8 +77334,8 @@ function yUe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function bUe(e, t, n, r, i) {
- let a = vUe(r), o = (t, r, i) => {
+function DUe(e, t, n, r, i) {
+ let a = TUe(r), o = (t, r, i) => {
if (!t.length) return null;
let o = C7(n, r);
return /* @__PURE__ */ (0, R.jsx)(E7, {
@@ -77288,12 +77360,12 @@ function bUe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, R.jsx)(wUe, {
+ body: /* @__PURE__ */ (0, R.jsx)(jUe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: pUe[d],
+ limit: bUe[d],
filterKey: l,
selected: f,
counts: a,
@@ -77308,7 +77380,7 @@ function bUe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, R.jsx)(TUe, {
+ body: /* @__PURE__ */ (0, R.jsx)(MUe, {
host: e,
filters: n
})
@@ -77331,7 +77403,7 @@ function bUe(e, t, n, r, i) {
} : null
];
}
-function xUe(e, t, n) {
+function OUe(e, t, n) {
return t.length ? {
title: "内容标签",
kind: "online",
@@ -77351,7 +77423,7 @@ function w7(e, t) {
} catch {}
return n === null ? t : n === "open";
}
-function SUe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+function kUe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
let o = (0, L.useRef)(null), s = (0, L.useRef)(null), [c, l] = (0, L.useState)(() => w7(e, n)), u = (0, L.useRef)(!1);
(0, L.useLayoutEffect)(() => {
let t = o.current, r = s.current;
@@ -77398,7 +77470,7 @@ function SUe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
});
}
var T7 = (0, L.createContext)(() => {});
-function CUe({ dot: e }) {
+function AUe({ dot: e }) {
return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, R.jsx)(I5, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, R.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
@@ -77422,7 +77494,7 @@ function E7({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }
title: e.offline,
onClick: () => a.toggleChip(t, e.value, n),
children: [
- /* @__PURE__ */ (0, R.jsx)(CUe, { dot: e.dot }),
+ /* @__PURE__ */ (0, R.jsx)(AUe, { dot: e.dot }),
/* @__PURE__ */ (0, R.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -77437,7 +77509,7 @@ function E7({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }
})
});
}
-function wUe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+function jUe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
let u = (0, L.useContext)(T7), [d, f] = (0, L.useState)(null), [p, m] = (0, L.useState)(e);
p !== e && (m(e), f(null));
let h = (0, L.useRef)(null), g = (0, L.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
@@ -77503,7 +77575,7 @@ function D7({ rows: e, host: t, selected: n, badges: r }) {
});
}
var O7 = (e, t) => e ? Math.min(_7, Number(e) / 60) : t;
-function TUe({ host: e, filters: t }) {
+function MUe({ host: e, filters: t }) {
let n = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [r, i] = (0, L.useState)(n), [a, o] = (0, L.useState)(() => [O7(t.dur_min, 0), O7(t.dur_max, _7)]), [s, c] = (0, L.useState)("max");
r !== n && (i(n), o([O7(t.dur_min, 0), O7(t.dur_max, _7)]));
let [l, u] = a, d = (0, L.useRef)(null), f = (0, L.useRef)(null), p = (0, L.useRef)(null), m = (0, L.useRef)(a);
@@ -77573,17 +77645,17 @@ function TUe({ host: e, filters: t }) {
}
//#endregion
//#region src/board-skeleton.ts
-var k7 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, EUe = () => `${k7("80%")}${k7("48%")}`, DUe = (e, t) => e.repeat(t);
-function OUe() {
- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${k7("85%")}${k7("65%")}${DUe(EUe(), 4)}</div></aside></div>`;
+var k7 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, NUe = () => `${k7("80%")}${k7("48%")}`, PUe = (e, t) => e.repeat(t);
+function FUe() {
+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${k7("85%")}${k7("65%")}${PUe(NUe(), 4)}</div></aside></div>`;
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var A7 = (e) => ["follow-item", e], kUe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, AUe = "/api/follow/save", jUe = "/api/follow/media/hide";
+var A7 = (e) => ["follow-item", e], IUe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, LUe = "/api/follow/save", RUe = "/api/follow/media/hide";
async function j7(e, t) {
- let n = await U(kUe(e), t);
+ let n = await U(IUe(e), t);
for (let t of n.groups || []) {
- let r = EM(t).find((t) => t.id === e);
+ let r = eM(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -77593,10 +77665,10 @@ async function j7(e, t) {
}
throw Error("这条关注内容已不存在");
}
-async function MUe(e, t) {
- let n = A7(e.id), r = wde(e.id), i = Y.getQueryData(SM) ? null : Y.fetchQuery({
- queryKey: SM,
- queryFn: () => CM(t)
+async function zUe(e, t) {
+ let n = A7(e.id), r = tfe(e.id), i = Y.getQueryData(Xj) ? null : Y.fetchQuery({
+ queryKey: Xj,
+ queryFn: () => Zj(t)
});
r ? Y.setQueryData(n, {
...r,
@@ -77606,8 +77678,8 @@ async function MUe(e, t) {
queryFn: () => j7(e.id, t)
}), await i;
}
-function NUe(e, t, n, r) {
- let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && jM(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
+function BUe(e, t, n, r) {
+ let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && aM(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
return {
embedded: i,
selected: s,
@@ -77621,32 +77693,32 @@ function NUe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var PUe = (e) => EM(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), FUe = {
+var VUe = (e) => eM(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), HUe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, IUe = {
+}, UUe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function LUe(e) {
+function WUe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return FUe[t] || t;
+ return HUe[t] || t;
} catch {
return "外部文件页";
}
}
function M7(e, t) {
- return IUe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+ return UUe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function RUe(e, t, n = "") {
+function GUe(e, t, n = "") {
let r = n;
!r && e.is_release && (r = t.variant_label || t.variant_kind || ""), r ||= t.variant_kind === "wip" ? "WIP" : t.variant_label || t.variant_kind || "视频";
let i = e.is_release ? t.summary || (t.has_media ? "(仅附件)" : "(无正文)") : t.title;
@@ -77655,16 +77727,16 @@ function RUe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var zUe = (e) => String(e.name || "").trim(), N7 = (e, t) => e.tag_types?.[t] || "unknown", BUe = /* @__PURE__ */ new Set([
+var KUe = (e) => String(e.name || "").trim(), N7 = (e, t) => e.tag_types?.[t] || "unknown", qUe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function VUe(e, t) {
+function JUe(e, t) {
let n = N7(e, t);
- return `r34-${BUe.has(n) ? n : "general"}`;
+ return `r34-${qUe.has(n) ? n : "general"}`;
}
var P7 = [
"copyright",
@@ -77673,23 +77745,23 @@ var P7 = [
"general",
"metadata"
];
-function HUe(e, t) {
+function YUe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
let n = P7.indexOf(N7(e, t));
return n < 0 ? P7.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function UUe(e, t) {
+function XUe(e, t) {
let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);
return !r.length && n && r.push(n), r;
}
-var WUe = (e, t) => ({
+var ZUe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
}), F7 = (e) => e?.size ? { size: e.size } : {};
-function GUe(e, t) {
+function QUe(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t, r) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
@@ -77716,7 +77788,7 @@ function GUe(e, t) {
total: 1
}] : [];
}
-var KUe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
+var $Ue = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
//#endregion
//#region src/react/components/mix-queue.tsx
function I7({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
@@ -77770,29 +77842,29 @@ function L7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var qUe = ({ label: e, count: t }) => /* @__PURE__ */ (0, R.jsxs)("h3", {
+var eWe = ({ label: e, count: t }) => /* @__PURE__ */ (0, R.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
" ",
/* @__PURE__ */ (0, R.jsx)("span", { children: t })
]
-}), R7 = (e) => Number(e) > 0, JUe = ({ name: e }) => /* @__PURE__ */ (0, R.jsx)("span", {
+}), R7 = (e) => Number(e) > 0, tWe = ({ name: e }) => /* @__PURE__ */ (0, R.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: l(e) }
}), z7 = l("external-link", "externalmark");
-function YUe(e) {
- let { id: t, actions: n } = e, r = vr({
+function nWe(e) {
+ let { id: t, actions: n } = e, r = Sr({
queryKey: A7(t),
queryFn: ({ signal: e }) => j7(t, e)
- }), i = vr({
- queryKey: SM,
- queryFn: ({ signal: e }) => CM(e)
+ }), i = Sr({
+ queryKey: Xj,
+ queryFn: ({ signal: e }) => Zj(e)
}), a = (0, L.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, L.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, R.jsx)(XUe, {
+ return r.data ? /* @__PURE__ */ (0, R.jsx)(rWe, {
...e,
data: r.data,
- context: WUe(r.data, a),
+ context: ZUe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, R.jsx)("div", {
@@ -77803,7 +77875,7 @@ function YUe(e) {
"data-follow-detail-media": "none",
children: [/* @__PURE__ */ (0, R.jsx)(B7, { onClose: n.close }), /* @__PURE__ */ (0, R.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? /* @__PURE__ */ (0, R.jsx)(Db, {
+ children: r.isError ? /* @__PURE__ */ (0, R.jsx)(Pb, {
message: m(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -77820,8 +77892,8 @@ var B7 = ({ onClose: e }) => /* @__PURE__ */ (0, R.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: l("x") }
});
-function XUe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
- let { item: s, group: c } = e, l = NUe(s, c, n, i), u = eWe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, L.useState)({
+function rWe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
+ let { item: s, group: c } = e, l = BUe(s, c, n, i), u = sWe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, L.useState)({
key: "",
kind: ""
}), m = {
@@ -77841,7 +77913,7 @@ function XUe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
s,
l.kind
]);
- let h = !l.embedded.length && l.collection ? PUe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, R.jsx)(W7, {
+ let h = !l.embedded.length && l.collection ? VUe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, R.jsx)(W7, {
item: s,
current: l.selected.index,
helpers: a,
@@ -77854,7 +77926,7 @@ function XUe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
actions: o,
onMedia: r,
currentId: s.id
- }) : /* @__PURE__ */ (0, R.jsx)(QUe, {
+ }) : /* @__PURE__ */ (0, R.jsx)(aWe, {
group: l.collection,
itemId: s.id,
helpers: a,
@@ -77865,7 +77937,7 @@ function XUe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
"data-with-queue": g ? "" : void 0,
"data-follow-detail": "",
children: [
- /* @__PURE__ */ (0, R.jsx)(ZUe, {
+ /* @__PURE__ */ (0, R.jsx)(iWe, {
item: s,
media: l,
helpers: a,
@@ -77874,7 +77946,7 @@ function XUe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
issues: m
}, d),
g,
- /* @__PURE__ */ (0, R.jsx)($Ue, {
+ /* @__PURE__ */ (0, R.jsx)(oWe, {
item: s,
data: e,
context: t,
@@ -77887,8 +77959,8 @@ function XUe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
]
});
}
-function ZUe({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a }) {
- let { kind: o, selected: s, src: c, images: u, position: d, carousel: f, frameRatio: p } = t, m = (0, L.useRef)(null), [h, g] = (0, L.useState)(null), _ = GUe(e, t), v = s?.thumb_url || e.thumb_url || "", y = e.playable && o === "video", b = e.playable && o === "image" ? c : e.thumb_url || "", x = e.playable && o === "image" && v && v !== c ? v : "", [S, C] = (0, L.useState)(b), w = (0, L.useRef)({
+function iWe({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a }) {
+ let { kind: o, selected: s, src: c, images: u, position: d, carousel: f, frameRatio: p } = t, m = (0, L.useRef)(null), [h, g] = (0, L.useState)(null), _ = QUe(e, t), v = s?.thumb_url || e.thumb_url || "", y = e.playable && o === "video", b = e.playable && o === "image" ? c : e.thumb_url || "", x = e.playable && o === "image" && v && v !== c ? v : "", [S, C] = (0, L.useState)(b), w = (0, L.useRef)({
item: e,
selected: s
}), T = (0, L.useRef)(a.failed);
@@ -77925,7 +77997,7 @@ function ZUe({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
src: S,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: _.length ? () => void HA(Math.max(0, d), _) : void 0,
+ onClick: _.length ? () => void vA(Math.max(0, d), _) : void 0,
onError: () => {
if (x && S !== x) {
C(x), a.thumbFallback();
@@ -77937,7 +78009,7 @@ function ZUe({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, R.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: LM(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: dM(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, R.jsx)("span", { children: "没有可用预览" })]
}),
f ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
@@ -77995,8 +78067,8 @@ function U7(e) {
t && e.wireDrag(t);
}, [e]);
}
-function QUe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = jM(e), a = U7(n);
+function aWe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = aM(e), a = U7(n);
return /* @__PURE__ */ (0, R.jsx)(I7, {
kind: "collection",
"data-follow-queue": "",
@@ -78005,7 +78077,7 @@ function QUe({ group: e, itemId: t, helpers: n, actions: r }) {
listRef: a,
summary: `${e.primary.title || "未命名合集"} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = RUe(e, n, i ? n.provider_label : ""), s = i ? LM(n.provider, n.provider_label) : "";
+ let i = e.duplicates.includes(n), a = GUe(e, n, i ? n.provider_label : ""), s = i ? dM(n.provider, n.provider_label) : "";
return /* @__PURE__ */ (0, R.jsxs)(L7, {
current: n.id === t,
"data-follow-queue-item": n.id,
@@ -78028,7 +78100,7 @@ function QUe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, R.jsx)("time", {
dateTime: n.published_at || "",
- children: WM(n)
+ children: vM(n)
})]
})]
}, n.id);
@@ -78053,7 +78125,7 @@ function W7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
onClose: i.close,
listRef: s,
summary: `${e.title || "未命名内容"} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, R.jsx)(qUe, {
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, R.jsx)(eWe, {
label: n.label,
count: n.items.length
}, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, R.jsxs)(L7, {
@@ -78065,7 +78137,7 @@ function W7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
pic: n.thumb_url ? /* @__PURE__ */ (0, R.jsx)(H7, { src: n.thumb_url }) : /* @__PURE__ */ (0, R.jsx)(V7, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, R.jsx)("b", {
"data-middle-truncate": "",
- children: zUe(n)
+ children: KUe(n)
}), /* @__PURE__ */ (0, R.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -78073,13 +78145,13 @@ function W7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function $Ue({ item: e, data: t, context: n, media: r, write: a, issue: s, helpers: u, actions: d }) {
+function oWe({ item: e, data: t, context: n, media: r, write: a, issue: s, helpers: u, actions: d }) {
let { kind: f, selected: p, src: m } = r, h = {
primary: e,
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, g = HM(h, e), _ = BM(e, UUe(e, t.sources), n), v = _.credited ? "" : e.author && c(e.author) !== c(_.author) ? e.author : "", y = UM(e, n), b = HUe(e, u.tagLabel), x = e.status === "saved", { busy: S } = a, C = (e) => S.has(e) ? {
+ }, g = gM(h, e), _ = mM(e, XUe(e, t.sources), n), v = _.credited ? "" : e.author && c(e.author) !== c(_.author) ? e.author : "", y = _M(e, n), b = YUe(e, u.tagLabel), x = e.status === "saved", { busy: S } = a, C = (e) => S.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -78095,7 +78167,7 @@ function $Ue({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
"data-stage-title": "",
"data-follow-detail-name": "",
"data-reveal-line": "",
- dangerouslySetInnerHTML: { __html: VM(h, e) + i(e.title) }
+ dangerouslySetInnerHTML: { __html: hM(h, e) + i(e.title) }
}), e.url ? /* @__PURE__ */ (0, R.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -78122,7 +78194,7 @@ function $Ue({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, R.jsx)("span", { children: WM(e) }),
+ /* @__PURE__ */ (0, R.jsx)("span", { children: vM(e) }),
R7(e.duration) ? /* @__PURE__ */ (0, R.jsx)("span", { children: o(e.duration) }) : null,
g ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-follow-badges": "",
@@ -78156,7 +78228,7 @@ function $Ue({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [LUe(e), /* @__PURE__ */ (0, R.jsx)("span", {
+ children: [WUe(e), /* @__PURE__ */ (0, R.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z7 }
})]
@@ -78265,7 +78337,7 @@ function $Ue({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...C(`restore:${e.index}`),
onClick: () => a.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, R.jsx)(H7, { src: e.thumb_url }) : /* @__PURE__ */ (0, R.jsx)(JUe, { name: "image-off" }), /* @__PURE__ */ (0, R.jsx)("i", { dangerouslySetInnerHTML: { __html: l("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, R.jsx)(H7, { src: e.thumb_url }) : /* @__PURE__ */ (0, R.jsx)(tWe, { name: "image-off" }), /* @__PURE__ */ (0, R.jsx)("i", { dangerouslySetInnerHTML: { __html: l("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -78279,7 +78351,7 @@ function $Ue({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
"data-follow-detail-tags": "",
children: b.map((t) => /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
- "data-tag-cat": VUe(e, t),
+ "data-tag-cat": JUe(e, t),
"data-follow-tag": t,
onClick: () => d.openTag(t),
children: u.tagLabel(t)
@@ -78289,7 +78361,7 @@ function $Ue({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
})
});
}
-function eWe(e, t, n) {
+function sWe(e, t, n) {
let r = e.id, i = A7(r), [a, o] = (0, L.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, L.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -78300,17 +78372,17 @@ function eWe(e, t, n) {
...t.item,
status: e
}
- }), Ede(r, e);
+ }), rfe(r, e);
}, d = (e) => {
c(m(e) || "操作失败"), t.failure("更新关注状态", e);
- }, f = yr({
- mutationFn: ({ to: e }) => W(Ij, {
+ }, f = Cr({
+ mutationFn: ({ to: e }) => W(uj, {
item: r,
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && pF(), t.toast(KUe(n), { undo: i === "saved" ? void 0 : async () => {
- await W(Ij, {
+ u(n), c(""), n === "ignored" && pF(), t.toast($Ue(n), { undo: i === "saved" ? void 0 : async () => {
+ await W(uj, {
item: r,
to: i
}), u(i);
@@ -78318,16 +78390,16 @@ function eWe(e, t, n) {
},
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
- }), p = yr({
- mutationFn: () => W(AUe, { item: r }),
+ }), p = Cr({
+ mutationFn: () => W(LUe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
onError: d,
onSettled: () => l("save", !1)
- }), h = yr({
+ }), h = Cr({
mutationFn: async ({ index: e, hidden: t }) => {
- await W(jUe, {
+ await W(RUe, {
item: r,
media: e,
hidden: t
@@ -78338,14 +78410,14 @@ function eWe(e, t, n) {
},
onSuccess: (e, { hidden: r, next: a }) => {
let o = Y.getQueryData(i);
- o && Tde(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
+ o && nfe(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
},
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
- }), g = vr({
- queryKey: Yme(r),
- queryFn: ({ signal: e }) => Qme(r, e)
- }).data?.want ?? null, _ = yr({
+ }), g = Sr({
+ queryKey: ehe(r),
+ queryFn: ({ signal: e }) => rhe(r, e)
+ }).data?.want ?? null, _ = Cr({
mutationFn: async (e) => (e ? await fF([e.id]) : await dF({ follow: r }), !e),
onSuccess: (e) => {
c(""), t.toast(e ? "已加入想要" : "已取消想要"), pF();
@@ -78388,19 +78460,19 @@ function eWe(e, t, n) {
}
//#endregion
//#region src/react/components/overlay-host.ts
-function tWe(e) {
+function cWe(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
if (t) return t;
let n = e.ownerDocument.createElement("div");
return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;
}
-function nWe(e) {
+function lWe(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return tWe(n ?? t.body);
+ return cWe(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var rWe = "/api/cover-crop", iWe = (e, t) => W(rWe, {
+var uWe = "/api/cover-crop", dWe = (e, t) => W(uWe, {
code: e,
box: t
});
@@ -78419,7 +78491,7 @@ function G7({ className: e }) {
children: /* @__PURE__ */ (0, R.jsx)("use", { href: "#i-crop" })
});
}
-function aWe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function fWe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, L.useState)(!1), o = (0, L.useRef)(null);
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("button", {
ref: o,
@@ -78431,14 +78503,14 @@ function aWe({ code: e, coverUrl: t, box: n, onSaved: r }) {
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: /* @__PURE__ */ (0, R.jsx)(G7, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, R.jsx)(qh, {
- getContainer: () => nWe(o.current),
- children: /* @__PURE__ */ (0, R.jsx)(ij, {
+ }), /* @__PURE__ */ (0, R.jsx)(Zh, {
+ getContainer: () => lWe(o.current),
+ children: /* @__PURE__ */ (0, R.jsx)(MA, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, R.jsx)(oWe, {
+ children: /* @__PURE__ */ (0, R.jsx)(pWe, {
code: e,
coverUrl: t,
box: n,
@@ -78448,9 +78520,9 @@ function aWe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function oWe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, L.useState)(null), [s, c] = (0, L.useState)(null), [l, u] = (0, L.useState)(!0), d = dO(), f = yr({
- mutationFn: (t) => iWe(e, t),
+function pWe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, L.useState)(null), [s, c] = (0, L.useState)(null), [l, u] = (0, L.useState)(!0), d = mO(), f = Cr({
+ mutationFn: (t) => dWe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -78462,19 +78534,19 @@ function oWe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : Ble(e, yb);
- c(ej(t, e, null));
+ } : _ue(e, Db);
+ c(OA(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, R.jsx)(aj, { children: /* @__PURE__ */ (0, R.jsx)(G7, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, R.jsx)(NA, { children: /* @__PURE__ */ (0, R.jsx)(G7, { className: "size-6" }) }),
/* @__PURE__ */ (0, R.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, R.jsx)(Fu, {
+ /* @__PURE__ */ (0, R.jsx)(zu, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -78489,8 +78561,8 @@ function oWe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, R.jsx)(pO, {
- icon: ht,
+ /* @__PURE__ */ (0, R.jsx)(gO, {
+ icon: yt,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -78500,14 +78572,14 @@ function oWe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, R.jsx)("div", {
ref: d,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: /* @__PURE__ */ (0, R.jsx)(sj, {
+ children: /* @__PURE__ */ (0, R.jsx)(FA, {
src: t,
- aspect: l ? yb : null,
+ aspect: l ? Db : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- QA(e) && p(e);
+ EA(e) && p(e);
},
onBox: c
})
@@ -78517,7 +78589,7 @@ function oWe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
children: [/* @__PURE__ */ (0, R.jsx)(XN, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(ej(s, a, yb));
+ u(e), e && s && a && c(OA(s, a, Db));
},
children: /* @__PURE__ */ (0, R.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -78553,14 +78625,14 @@ var K7 = ({ name: e }) => /* @__PURE__ */ (0, R.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
});
-function sWe(e) {
- let { queue: t, actions: n } = e, r = vr({
- queryKey: t ? g8(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => T8(t, e.helpers, n),
+function mWe(e) {
+ let { queue: t, actions: n } = e, r = Sr({
+ queryKey: t ? _8(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => E8(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? O8(i, e.id) : t ? null : e.id, o = vr({
- queryKey: h8(a ?? 0),
- queryFn: ({ signal: e }) => w8(a, e),
+ }), i = t && r.data || null, a = i ? k8(i, e.id) : t ? null : e.id, o = Sr({
+ queryKey: g8(a ?? 0),
+ queryFn: ({ signal: e }) => T8(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -78573,7 +78645,7 @@ function sWe(e) {
"data-item-media": "none",
children: [/* @__PURE__ */ (0, R.jsx)(J7, { onClose: n.close }), /* @__PURE__ */ (0, R.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, R.jsx)(Db, {
+ children: e ? /* @__PURE__ */ (0, R.jsx)(Pb, {
message: m(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -78583,9 +78655,9 @@ function sWe(e) {
})
});
}
- return /* @__PURE__ */ (0, R.jsx)(cWe, {
+ return /* @__PURE__ */ (0, R.jsx)(hWe, {
...e,
- item: TVe(o.data, i),
+ item: MVe(o.data, i),
queue: i
}, o.data.id);
}
@@ -78598,36 +78670,36 @@ var J7 = ({ onClose: e }) => /* @__PURE__ */ (0, R.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: l("x") }
});
-function cWe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = wWe(t, r, e.grid.cache, i.tagLabel), o = (0, L.useRef)(t);
+function hWe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = jWe(t, r, e.grid.cache, i.tagLabel), o = (0, L.useRef)(t);
(0, L.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, L.useEffect)(() => {
- n?.kind === "playlist" && W(_8, {
+ n?.kind === "playlist" && W(v8, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = zVe(t, i.sourceOffline(t.location || ""));
+ let s = KVe(t, i.sourceOffline(t.location || ""));
return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
children: [
- /* @__PURE__ */ (0, R.jsx)(lWe, {
+ /* @__PURE__ */ (0, R.jsx)(gWe, {
item: t,
gate: s,
helpers: i,
actions: r
}),
- n ? /* @__PURE__ */ (0, R.jsx)(dWe, {
+ n ? /* @__PURE__ */ (0, R.jsx)(vWe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- /* @__PURE__ */ (0, R.jsx)(mWe, {
+ /* @__PURE__ */ (0, R.jsx)(xWe, {
item: t,
queue: n,
write: a,
@@ -78635,9 +78707,9 @@ function cWe(e) {
actions: r
})
]
- }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, R.jsx)(CWe, { ...e }) : null] });
+ }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, R.jsx)(AWe, { ...e }) : null] });
}
-function lWe({ item: e, gate: t, helpers: n, actions: r }) {
+function gWe({ item: e, gate: t, helpers: n, actions: r }) {
let [i, a] = (0, L.useState)(t ? "" : "auto"), o = (0, L.useRef)(null), c = (0, L.useRef)(e);
(0, L.useLayoutEffect)(() => {
let e = o.current;
@@ -78648,7 +78720,7 @@ function lWe({ item: e, gate: t, helpers: n, actions: r }) {
ref: o,
"data-stage-media": "",
"data-item-media": t || "video",
- children: [/* @__PURE__ */ (0, R.jsx)(J7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, R.jsx)(uWe, {
+ children: [/* @__PURE__ */ (0, R.jsx)(J7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, R.jsx)(_We, {
item: e,
badge: l,
helpers: n,
@@ -78677,7 +78749,7 @@ function lWe({ item: e, gate: t, helpers: n, actions: r }) {
}) : null]
});
}
-function uWe({ item: e, badge: t, helpers: n, actions: r }) {
+function _We({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, L.useState)(!1), [o, s] = (0, L.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -78702,8 +78774,8 @@ function uWe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function dWe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = FVe(e), a = (0, L.useRef)(null), s = pWe(e, t, r), c = (0, L.useRef)(s);
+function vWe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = HVe(e), a = (0, L.useRef)(null), s = bWe(e, t, r), c = (0, L.useRef)(s);
c.current = s;
let u = (0, L.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -78711,7 +78783,7 @@ function dWe({ queue: e, itemId: t, helpers: n, actions: r }) {
attribute: "data-queue-row",
onMove: (e, t, n) => c.current.move(+e, +t, n)
}));
- }, [n, e.kind]), d = fWe(e, r), f = e.kind === "mix" ? /* @__PURE__ */ (0, R.jsx)("button", {
+ }, [n, e.kind]), d = yWe(e, r), f = e.kind === "mix" ? /* @__PURE__ */ (0, R.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -78739,10 +78811,10 @@ function dWe({ queue: e, itemId: t, helpers: n, actions: r }) {
listRef: u,
children: e.items.map((i) => {
let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, R.jsx)("i", {
- className: `javedition ${NVe[i.edition_label] || "censored"}`,
+ className: `javedition ${BVe[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, c = e.kind === "playlist" && D8(i);
+ }) : null, c = e.kind === "playlist" && O8(i);
return /* @__PURE__ */ (0, R.jsxs)(L7, {
current: i.id === t,
"data-queue-item": i.id,
@@ -78782,14 +78854,14 @@ function dWe({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, R.jsx)("span", {
"data-truncate-end": "",
- children: c ? "已消失 · 文件已不在盘上" : e.kind === "parts" ? I8(i.part_label) : xe(i, n.tagLabel)
+ children: c ? "已消失 · 文件已不在盘上" : e.kind === "parts" ? L8(i.part_label) : xe(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function fWe(e, t) {
- let n = yr({ mutationFn: (t) => W(_8, {
+function yWe(e, t) {
+ let n = Cr({ mutationFn: (t) => W(v8, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -78802,14 +78874,14 @@ function fWe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function pWe(e, t, n) {
- let r = g8({
+function bWe(e, t, n) {
+ let r = _8({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (Y.setQueryData(r, E8(e)), e), a = (t) => W(_8, {
+ }), i = (e) => (Y.setQueryData(r, D8(e)), e), a = (t) => W(v8, {
id: e.playlistId,
...t
- }).then((e) => e.playlist), o = yr({
+ }).then((e) => e.playlist), o = Cr({
mutationFn: (e) => a({
action: "reorder",
asset_ids: e
@@ -78822,8 +78894,8 @@ function pWe(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = LVe(s, t, r, c);
- if (RVe(l, s)) return;
+ let l = WVe(s, t, r, c);
+ if (GVe(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -78869,7 +78941,7 @@ function pWe(e, t, n) {
}
};
}
-function mWe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function xWe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [c, l] = (0, L.useState)(!1);
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-stage-side": "",
@@ -78877,7 +78949,7 @@ function mWe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, R.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, R.jsx)(hWe, {
+ /* @__PURE__ */ (0, R.jsx)(SWe, {
item: e,
queue: t,
helpers: r,
@@ -78889,7 +78961,7 @@ function mWe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, R.jsx)(_We, {
+ /* @__PURE__ */ (0, R.jsx)(wWe, {
item: e,
write: n
}),
@@ -78924,18 +78996,18 @@ function mWe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, R.jsx)(vWe, {
+ /* @__PURE__ */ (0, R.jsx)(TWe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, R.jsx)(yWe, {
+ /* @__PURE__ */ (0, R.jsx)(EWe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, R.jsx)(xWe, { item: e }),
+ /* @__PURE__ */ (0, R.jsx)(OWe, { item: e }),
/* @__PURE__ */ (0, R.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -79037,7 +79109,7 @@ function mWe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
]
}),
- /* @__PURE__ */ (0, R.jsx)(SWe, {
+ /* @__PURE__ */ (0, R.jsx)(kWe, {
item: e,
open: c,
write: n
@@ -79061,7 +79133,7 @@ function mWe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function hWe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+function SWe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
let a = (0, L.useRef)(null), [o, s] = (0, L.useState)(!1), [c, l] = (0, L.useState)(!1);
(0, L.useLayoutEffect)(() => {
let e = a.current;
@@ -79071,7 +79143,7 @@ function hWe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}, n = new ResizeObserver(t);
return n.observe(e), t(), () => n.disconnect();
}, []);
- let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + IVe(e, t);
+ let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + UVe(e, t);
return /* @__PURE__ */ (0, R.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, R.jsxs)("div", {
@@ -79102,19 +79174,19 @@ function hWe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}),
e.has_cover && e.code ? /* @__PURE__ */ (0, R.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, R.jsx)(aWe, {
+ children: /* @__PURE__ */ (0, R.jsx)(fWe, {
code: e.code,
coverUrl: he(e),
box: e.poster_box || null,
onSaved: (t) => {
Y.invalidateQueries({
- queryKey: h8(e.id),
+ queryKey: g8(e.id),
exact: !0
- }), Tb((t) => t.code === e.code, { poster_box: t });
+ }), Mb((t) => t.code === e.code, { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, R.jsx)(gWe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, R.jsx)(CWe, {
id: e.id,
actions: r,
onStatus: i
@@ -79124,7 +79196,7 @@ function hWe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function gWe({ id: e, actions: t, onStatus: n }) {
+function CWe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, L.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -79157,14 +79229,14 @@ function gWe({ id: e, actions: t, onStatus: n }) {
children: /* @__PURE__ */ (0, R.jsx)(K7, { name: "folder-sync" })
})] });
}
-function _We({ item: e, write: t }) {
- let n = A8(e.rating);
+function wWe({ item: e, write: t }) {
+ let n = j8(e.rating);
return /* @__PURE__ */ (0, R.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": k8(e.rating),
+ "data-value": A8(e.rating),
children: [/* @__PURE__ */ (0, R.jsx)("div", {
"data-rating-stars": "",
children: [
@@ -79186,12 +79258,12 @@ function _We({ item: e, write: t }) {
}), /* @__PURE__ */ (0, R.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: OVe(e.rating)
+ children: FVe(e.rating)
})]
});
}
-function vWe({ item: e, helpers: t, actions: n }) {
- let r = (0, L.useMemo)(() => DVe(e), [e]), [i, a] = (0, L.useState)(!1), o = Math.max(0, r.cast.length - 8), s = (e, t, r) => {
+function TWe({ item: e, helpers: t, actions: n }) {
+ let r = (0, L.useMemo)(() => PVe(e), [e]), [i, a] = (0, L.useState)(!1), o = Math.max(0, r.cast.length - 8), s = (e, t, r) => {
let a = e === "performer" && r >= 8 && !i, o = e === "performer" ? /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, R.jsx)("span", { children: t.name.slice(0, 1) }), /* @__PURE__ */ (0, R.jsx)(q7, { html: _e({
id: t.id,
hasImage: t.has_image,
@@ -79305,8 +79377,8 @@ function vWe({ item: e, helpers: t, actions: n }) {
]
});
}
-function yWe({ item: e, write: t, helpers: n, actions: r }) {
- let i = AVe(e, n);
+function EWe({ item: e, write: t, helpers: n, actions: r }) {
+ let i = LVe(e, n);
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-stage-tags": "",
id: "detailTags",
@@ -79327,14 +79399,14 @@ function yWe({ item: e, write: t, helpers: n, actions: r }) {
onClick: () => t.removeTag(e),
children: /* @__PURE__ */ (0, R.jsx)(K7, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, R.jsx)(bWe, {
+ }, e.k)), /* @__PURE__ */ (0, R.jsx)(DWe, {
item: e,
write: t,
helpers: n
})]
});
}
-function bWe({ item: e, write: t, helpers: n }) {
+function DWe({ item: e, write: t, helpers: n }) {
let r = (0, L.useRef)(null), i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(!1), [s, c] = (0, L.useState)(!1), [l, u] = (0, L.useState)(""), [d, f] = (0, L.useState)(""), [p, m] = (0, L.useState)(-1), h = (0, L.useCallback)(() => {
i.current && S(i.current), c(!1);
}, []);
@@ -79348,7 +79420,7 @@ function bWe({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [s, h]);
- let g = s ? MVe(d, n.tagCandidates(), F8()) : {
+ let g = s ? zVe(d, n.tagCandidates(), I8()) : {
recent: [],
results: [],
create: ""
@@ -79376,12 +79448,12 @@ function bWe({ item: e, write: t, helpers: n }) {
if (n.key === "Enter") {
n.preventDefault();
let r = p >= 0 ? _[p] : null;
- r ? v(r, r.n !== -1 && j8(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
+ r ? v(r, r.n !== -1 && M8(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
}
}
}, b = -1, x = (t) => {
b += 1;
- let r = b, i = j8(e, t.k);
+ let r = b, i = M8(e, t.k);
return /* @__PURE__ */ (0, R.jsxs)("button", {
type: "button",
"data-pick": t.k,
@@ -79478,8 +79550,8 @@ function bWe({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function xWe({ item: e }) {
- let t = BVe(e);
+function OWe({ item: e }) {
+ let t = qVe(e);
return /* @__PURE__ */ (0, R.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, R.jsxs)("div", {
@@ -79513,7 +79585,7 @@ function xWe({ item: e }) {
})]
});
}
-function SWe({ item: e, open: t, write: n }) {
+function kWe({ item: e, open: t, write: n }) {
let [r, i] = (0, L.useState)(e.like_reason || ""), a = (0, L.useRef)(null);
(0, L.useEffect)(() => {
t && a.current?.focus();
@@ -79552,11 +79624,11 @@ function SWe({ item: e, open: t, write: n }) {
})]
});
}
-function CWe(e) {
- let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = vr({
- queryKey: SVe(t.id, n),
+function AWe(e) {
+ let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Sr({
+ queryKey: kVe(t.id, n),
queryFn: async ({ signal: e }) => {
- let r = await U(wVe(t.id, n), e);
+ let r = await U(jVe(t.id, n), e);
return i.cache(r.items || []), r.items || [];
}
}), [o] = (0, L.useState)(() => r.relatedSkeletonHtml()), s = (0, L.useCallback)((e) => {
@@ -79571,7 +79643,7 @@ function CWe(e) {
ref: s,
id: "nrow",
"data-related-row": "",
- children: a.data ? /* @__PURE__ */ (0, R.jsx)(Yb, {
+ children: a.data ? /* @__PURE__ */ (0, R.jsx)(Kb, {
mode: "items",
variant: "next",
items: a.data,
@@ -79589,8 +79661,8 @@ function CWe(e) {
})]
});
}
-function wWe(e, t, n, r) {
- let i = e.id, a = h8(i), [o, s] = (0, L.useState)(() => /* @__PURE__ */ new Set()), [c, l] = (0, L.useState)(""), [u, d] = (0, L.useState)(""), f = (e, t) => s((n) => {
+function jWe(e, t, n, r) {
+ let i = e.id, a = g8(i), [o, s] = (0, L.useState)(() => /* @__PURE__ */ new Set()), [c, l] = (0, L.useState)(""), [u, d] = (0, L.useState)(""), f = (e, t) => s((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), p = () => Y.getQueryData(a) || e, m = (e) => {
@@ -79606,11 +79678,11 @@ function wWe(e, t, n, r) {
rating: t.rating,
o_count: t.o_count
};
- return wb(i, r), n([t]), t;
+ return jb(i, r), n([t]), t;
}, h = (e, t) => W(e, {
id: i,
...t
- }), g = yr({
+ }), g = Cr({
mutationFn: ({ run: e }) => e(),
onError: (e, { action: n }) => t.failure(n, e),
onSettled: (e, t, { name: n }) => f(n, !1)
@@ -79621,7 +79693,7 @@ function wWe(e, t, n, r) {
run: n
}));
}, v = async (e, t) => {
- let n = await h(v8, t === void 0 ? { kind: e } : {
+ let n = await h(y8, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -79641,21 +79713,21 @@ function wWe(e, t, n, r) {
"aria-disabled": !0
} : {},
rate: (e) => _(`rate:${e}`, "评分", async () => {
- let n = p().rating || 0, r = kVe(n, e);
- await v("rate", r), t.toast(r ? `已评 ${A8(r)} 星` : "已取消评分", { undo: async () => {
+ let n = p().rating || 0, r = IVe(n, e);
+ await v("rate", r), t.toast(r ? `已评 ${j8(r)} 星` : "已取消评分", { undo: async () => {
await v("rate", n);
} });
}),
feedback: (e) => _(e, "操作", async () => {
let n = { feedback: p().feedback || null }, r = await v(e);
- t.toast(L8(e, r), { undo: async () => {
+ t.toast(R8(e, r), { undo: async () => {
e === "o" ? await v("o-undo") : e === "dispose" ? await v("dispose") : (r.feedback && await v(r.feedback), n.feedback && await v(n.feedback)), await t.trashChanged(p().disposal || null, !0);
} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);
}),
later: () => _("later", "更新稍后看", async () => {
- let e = await h(b8, {});
+ let e = await h(x8, {});
m({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- m({ watch_later: (await h(b8, {})).watch_later });
+ m({ watch_later: (await h(x8, {})).watch_later });
} });
}),
quality: () => _("quality", "更新版本需求", async () => {
@@ -79665,9 +79737,9 @@ function wWe(e, t, n, r) {
}, n = (e) => m({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await h(x8, { wanted: !e.wanted });
+ }), r = await h(S8, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await h(x8, e));
+ n(await h(S8, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -79681,7 +79753,7 @@ function wWe(e, t, n, r) {
});
d("保存中…");
try {
- o(await h(S8, {
+ o(await h(C8, {
liked: a,
reason: i
}));
@@ -79691,7 +79763,7 @@ function wWe(e, t, n, r) {
d("已保存"), setTimeout(() => d((e) => e === "已保存" ? "" : e), 1400);
let s = p();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await h(S8, r));
+ o(await h(C8, r));
} });
});
},
@@ -79700,11 +79772,11 @@ function wWe(e, t, n, r) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- m((t) => M8(t, e.k)), t.toast(`已删除标签「${r(e.k)}」`, { undo: async () => {
- await h(y8, {
+ m((t) => N8(t, e.k)), t.toast(`已删除标签「${r(e.k)}」`, { undo: async () => {
+ await h(b8, {
operation: "add",
tag: e.k
- }), m((t) => N8(t, e));
+ }), m((t) => P8(t, e));
} });
}),
addTag: (e) => {
@@ -79713,14 +79785,14 @@ function wWe(e, t, n, r) {
(await h("/api/item-tag", {
operation: "add",
tag: n
- })).ok && (m((e) => N8(e, {
+ })).ok && (m((e) => P8(e, {
k: n,
cat: "general"
- })), jVe(n), t.toast(`已添加标签「${r(n)}」`, { undo: async () => {
- await h(y8, {
+ })), RVe(n), t.toast(`已添加标签「${r(n)}」`, { undo: async () => {
+ await h(b8, {
operation: "remove",
tag: n
- }), m((e) => M8(e, n));
+ }), m((e) => N8(e, n));
} }));
});
}
@@ -79729,16 +79801,16 @@ function wWe(e, t, n, r) {
//#endregion
//#region src/react/stage/stage-player.ts
var Y7 = null, X7 = null, Z7 = null, Q7 = null, $7 = null, e9 = !1, t9 = 0, n9 = null, r9 = () => !1, i9 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function TWe(e, t) {
- Y7 = e, r9 = () => t.isOpen(), n9 = () => t.requestClose(), qBe({
+function MWe(e, t) {
+ Y7 = e, r9 = () => t.isOpen(), n9 = () => t.requestClose(), eVe({
...e.player,
stage: () => document.getElementById("stage")
- }), JBe({
+ }), tVe({
inMiniplayer: (e) => X7?.player === e,
kind: (e) => X7?.player === e ? X7.kind : Z7?.kind ?? Q7?.kind ?? "item",
expand: () => S9(),
toMiniplayer: () => C9()
- }), a9 || (a9 = !0, addEventListener("pagehide", () => $6()));
+ }), a9 || (a9 = !0, addEventListener("pagehide", () => e8()));
}
var a9 = !1;
function o9() {
@@ -79748,10 +79820,10 @@ function o9() {
function s9(e) {
Q7 = e;
}
-var EWe = () => Q7;
+var NWe = () => Q7;
function c9(e, t) {
let { kind: n, item: r, media: i = null } = t, a = i9(n, r.id, i?.index ?? null);
- if (X7 && X7.key === a) return DWe(e, X7);
+ if (X7 && X7.key === a) return PWe(e, X7);
X7 && x9();
let o = {
player: null,
@@ -79763,7 +79835,7 @@ function c9(e, t) {
Z7 = o;
let s = document.createElement("video");
t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !0, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);
- let c = p8(s, {
+ let c = m8(s, {
kind: n,
item: r,
media: i,
@@ -79776,12 +79848,12 @@ function c9(e, t) {
});
return () => {
let e = !!o.player && X7?.player === o.player;
- Z7 === o && (Z7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), $6());
+ Z7 === o && (Z7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), e8());
};
}
-function DWe(e, t) {
+function PWe(e, t) {
let { player: n } = t;
- y9(t), X7 = null, b9(), n.el().classList.remove("vjs-peach-mini"), d8(e), e.append(n.el()), O6(n);
+ y9(t), X7 = null, b9(), n.el().classList.remove("vjs-peach-mini"), f8(e), e.append(n.el()), k6(n);
let r = {
player: n,
kind: t.kind,
@@ -79790,22 +79862,22 @@ function DWe(e, t) {
key: t.key
};
Z7 = r;
- let i = f8(n, e);
- return k6(n), () => {
- Z7 === r && (Z7 = null), i(), X7?.player !== n && (D6() === n && O6(null), G6(n), $6());
+ let i = p8(n, e);
+ return A6(n), () => {
+ Z7 === r && (Z7 = null), i(), X7?.player !== n && (O6() === n && k6(null), K6(n), e8());
};
}
var l9 = () => {
let e = Z7?.player;
return e && !e.isDisposed() ? e : null;
};
-function OWe(e) {
+function FWe(e) {
let t = e9;
e9 = !1, X7?.pending && x9();
let n = Z7, r = n?.player, i = Q7;
if (!n || !r || r.isDisposed() || !i || !$7) return;
let a = o9().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && NWe({
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && BWe({
player: r,
kind: n.kind,
item: n.item,
@@ -79813,7 +79885,7 @@ function OWe(e) {
key: n.key
}, i);
}
-function kWe(e, t) {
+function IWe(e, t) {
if (e9 = !1, X7) {
if (X7.kind === e && X7.item.id === t) {
X7.pending = !0, b9();
@@ -79826,11 +79898,11 @@ function u9(e) {
$7 = e, $7 && _9();
}
var d9 = () => !!X7 && !X7.pending && !X7.player.isDisposed();
-function AWe() {
+function LWe() {
return d9() ? $7?.frame.querySelector("video") ?? null : null;
}
-function jWe() {
- return r9() ? document.getElementById("stage")?.querySelector("video") ?? null : AWe();
+function RWe() {
+ return r9() ? document.getElementById("stage")?.querySelector("video") ?? null : LWe();
}
function f9(e) {
$7 && ($7.title.textContent = e.title || "", $7.sub.textContent = e.sub || "", $7.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
@@ -79879,7 +79951,7 @@ function v9(e) {
function y9(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function MWe() {
+function zWe() {
let e = $7?.root;
if (!e) return;
let t = e.hidden;
@@ -79900,7 +79972,7 @@ function b9() {
e.style.transform = "";
}
}
-function NWe(e, t) {
+function BWe(e, t) {
if (!$7) return;
let n = {
...e,
@@ -79908,13 +79980,13 @@ function NWe(e, t) {
off: [],
pending: !1
};
- X7 = n, t9++, e.player.el().classList.add("vjs-peach-mini"), $7.frame.prepend(e.player.el()), f9(t), v9(n), MWe(), k6(e.player);
+ X7 = n, t9++, e.player.el().classList.add("vjs-peach-mini"), $7.frame.prepend(e.player.el()), f9(t), v9(n), zWe(), A6(e.player);
}
function x9() {
let e = X7;
e && y9(e), X7 = null, t9++;
let t = e?.player ?? null;
- t && D6() === t && O6(null), G6(t), t && $6(), $7?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), T6(), b9();
+ t && O6() === t && k6(null), K6(t), t && e8(), $7?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), E6(), b9();
}
function S9() {
if (!d9() || !X7) return;
@@ -79928,7 +80000,7 @@ function C9() {
}
r9() && l9() && n9 && (e9 = !0, n9());
}
-function PWe() {
+function VWe() {
let e = X7?.player;
!e || e.isDisposed() || (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
@@ -79941,7 +80013,7 @@ function w9(e) {
function T9(e) {
return !(!d9() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || o9().sourceOffline(String(e.location ?? "")));
}
-async function FWe(e) {
+async function HWe(e) {
if (!d9() || !X7 || !$7) return;
let n = ++t9, r = await t(`/api/item?id=${e}`).catch(() => null);
if (n !== t9 || !d9() || !X7 || !$7 || !r || r.error) return;
@@ -79951,7 +80023,7 @@ async function FWe(e) {
}
o9().cache(r);
let i = X7;
- y9(i), D6() === i.player && O6(null), G6(i.player), $6(), $7.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ y9(i), O6() === i.player && k6(null), K6(i.player), e8(), $7.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let a = document.createElement("video");
a.className = "video-js", a.setAttribute("playsinline", ""), a.preload = "metadata", $7.frame.prepend(a);
let o = {
@@ -79960,14 +80032,14 @@ async function FWe(e) {
title: String(r.title || r.name || ""),
sub: String(r.performers?.[0] || r.creator || "未归属")
};
- f9(o), p8(a, {
+ f9(o), m8(a, {
kind: "item",
item: r,
autoplay: !0,
chrome: !1,
onPlayer: (t) => {
if (n !== t9) {
- t && D6() === t && O6(null), G6(t);
+ t && O6() === t && k6(null), K6(t);
return;
}
if (!t) {
@@ -79995,9 +80067,9 @@ var E9 = ({ name: e }) => /* @__PURE__ */ (0, R.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, R.jsx)("use", { href: `#i-${e}` })
-}), IWe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, D9 = (e) => (t) => {
+}), UWe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, D9 = (e) => (t) => {
t.stopPropagation(), e();
-}, LWe = (0, L.memo)(function() {
+}, WWe = (0, L.memo)(function() {
let e = (0, L.useRef)(null), t = (0, L.useRef)(null), n = (0, L.useRef)(null), r = (0, L.useRef)(null), i = (0, L.useRef)(null), a = (0, L.useRef)(null), o = (0, L.useRef)(null), s = (0, L.useRef)(null), c = (0, L.useRef)(null), l = (0, L.useRef)(null);
return (0, L.useLayoutEffect)(() => (u9({
root: e.current,
@@ -80009,7 +80081,7 @@ var E9 = ({ name: e }) => /* @__PURE__ */ (0, R.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => u9(null)), []), (0, L.useEffect)(() => zWe(e.current, t.current), []), /* @__PURE__ */ (0, R.jsx)("aside", {
+ }), () => u9(null)), []), (0, L.useEffect)(() => KWe(e.current, t.current), []), /* @__PURE__ */ (0, R.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -80059,8 +80131,8 @@ var E9 = ({ name: e }) => /* @__PURE__ */ (0, R.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: D9(PWe),
- dangerouslySetInnerHTML: IWe
+ onClick: D9(VWe),
+ dangerouslySetInnerHTML: UWe
}),
/* @__PURE__ */ (0, R.jsx)("button", {
ref: o,
@@ -80099,7 +80171,7 @@ var E9 = ({ name: e }) => /* @__PURE__ */ (0, R.jsx)("svg", {
})
});
});
-function RWe(e, t, n) {
+function GWe(e, t, n) {
let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {
left: r.left - t,
top: r.top - n
@@ -80121,7 +80193,7 @@ function RWe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function zWe(e, t) {
+function KWe(e, t) {
let n = null, r = (e) => {
if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {
n = {
@@ -80147,7 +80219,7 @@ function zWe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), RWe(e, i.dx, i.dy));
+ }, 0), GWe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -80167,21 +80239,21 @@ function L9() {
if (!O9) throw Error("舞台还没有接上宿主(configureStage)");
return O9;
}
-function BWe() {
- return (!k9 || !A9?.isConnected) && (k9?.unmount(), A9 = document.createElement("div"), A9.dataset.stageHost = "", document.body.append(A9), k9 = (0, at.createRoot)(A9)), k9;
+function qWe() {
+ return (!k9 || !A9?.isConnected) && (k9?.unmount(), A9 = document.createElement("div"), A9.dataset.stageHost = "", document.body.append(A9), k9 = (0, lt.createRoot)(A9)), k9;
}
function R9() {
- let e = BWe();
- (0, it.flushSync)(() => e.render(/* @__PURE__ */ (0, R.jsx)(VF, { children: /* @__PURE__ */ (0, R.jsx)(VWe, { view: j9 }) })));
+ let e = qWe();
+ (0, ct.flushSync)(() => e.render(/* @__PURE__ */ (0, R.jsx)(VF, { children: /* @__PURE__ */ (0, R.jsx)(JWe, { view: j9 }) })));
}
-function VWe({ view: e }) {
- return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [e ? /* @__PURE__ */ (0, R.jsx)(HWe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, R.jsx)(LWe, {})] });
+function JWe({ view: e }) {
+ return /* @__PURE__ */ (0, R.jsxs)(R.Fragment, { children: [e ? /* @__PURE__ */ (0, R.jsx)(YWe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, R.jsx)(WWe, {})] });
}
var z9 = () => /* @__PURE__ */ (0, R.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: OUe() }
+ dangerouslySetInnerHTML: { __html: FUe() }
});
function B9(e) {
let t = e.currentTarget;
@@ -80189,7 +80261,7 @@ function B9(e) {
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function HWe({ view: e }) {
+function YWe({ view: e }) {
let t = (0, L.useRef)(null);
(0, L.useLayoutEffect)(() => {
let e = t.current, n = (e) => {
@@ -80197,7 +80269,7 @@ function HWe({ view: e }) {
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, R.jsx)(sWe, { ...r.props }) : /* @__PURE__ */ (0, R.jsx)(YUe, { ...r.props });
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, R.jsx)(mWe, { ...r.props }) : /* @__PURE__ */ (0, R.jsx)(nWe, { ...r.props });
return /* @__PURE__ */ (0, R.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -80236,7 +80308,7 @@ function H9(e, t) {
let n = I9();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function UWe(e) {
+function XWe(e) {
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
@@ -80298,7 +80370,7 @@ function UWe(e) {
}
};
}
-function WWe(e, t) {
+function ZWe(e, t) {
let n = e.querySelector(":scope > [data-stage-fade]");
e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");
let r = 0, i = () => {
@@ -80311,13 +80383,13 @@ function WWe(e, t) {
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-async function GWe(e) {
+async function QWe(e) {
j9 && U9({ miniplayer: !1 });
let t = ++M9, n = new AbortController();
- N9 = n, P9 = !1, F9 = !1, kWe(e.kind, e.id ?? NaN), j9 = {
+ N9 = n, P9 = !1, F9 = !1, IWe(e.kind, e.id ?? NaN), j9 = {
generation: t,
request: e,
- content: UWe(e),
+ content: XWe(e),
phase: "skeleton"
}, R9();
let r = I9();
@@ -80325,7 +80397,7 @@ async function GWe(e) {
w(r), document.body.setAttribute("data-detail-open", ""), r.open || r.showModal();
let i = j9.content;
try {
- i.kind === "item" ? await EVe(i.props, n.signal) : await MUe(i.props, n.signal);
+ i.kind === "item" ? await NVe(i.props, n.signal) : await zUe(i.props, n.signal);
} catch {
if (n.signal.aborted) return;
}
@@ -80334,11 +80406,11 @@ async function GWe(e) {
j9 = {
...j9,
phase: a ? "content" : "reveal"
- }, R9(), a || WWe(r, t), ee(r, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, R9(), a || ZWe(r, t), ee(r, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let o = document.activeElement;
(o === r || !r.contains(o)) && r.querySelector("#closeStage")?.focus();
}
-function KWe() {
+function $We() {
let e = I9();
return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {
let n = 0, r = () => {
@@ -80350,11 +80422,11 @@ function KWe() {
}));
}
function U9({ miniplayer: e = !0 } = {}) {
- if (M9++, N9?.abort(), N9 = null, OWe(e), !j9) return;
+ if (M9++, N9?.abort(), N9 = null, FWe(e), !j9) return;
let t = I9();
- t && De(t), T6(), t?.open && t.close(), j9 = null, P9 = !1, F9 = !1, R9(), s9(null), document.body.removeAttribute("data-detail-open");
+ t && De(t), E6(), t?.open && t.close(), j9 = null, P9 = !1, F9 = !1, R9(), s9(null), document.body.removeAttribute("data-detail-open");
}
-function qWe(e) {
+function eGe(e) {
!j9 || j9.content.kind !== "item" || (j9 = {
...j9,
content: {
@@ -80366,60 +80438,60 @@ function qWe(e) {
}
}, R9());
}
-function JWe() {
- let e = EWe(), t = e?.kind === "item" ? e.item : null, n = t ? L9().player.posterUrl(t) : "";
+function tGe() {
+ let e = NWe(), t = e?.kind === "item" ? e.item : null, n = t ? L9().player.posterUrl(t) : "";
if (!n) return;
let r = l9();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var YWe = {
- open: GWe,
- update: qWe,
- exit: KWe,
+var nGe = {
+ open: QWe,
+ update: eGe,
+ exit: $We,
dispose: U9,
requestClose: V9,
- repaintPoster: JWe,
+ repaintPoster: tGe,
isOpen: () => !!j9,
- activeVideo: () => jWe(),
+ activeVideo: () => RWe(),
toggleTheater: () => {
- j9 && W6(!L9().player.settings().theaterMode);
+ j9 && G6(!L9().player.settings().theaterMode);
},
toggleMiniplayer: () => C9(),
closeMiniplayer: () => x9(),
miniplayerActive: () => d9(),
miniplayerTakesCard: (e) => T9(e),
miniplayerPlay: (e) => {
- FWe(e);
+ HWe(e);
}
};
-function XWe(e) {
- return O9 = e, TWe(e, {
+function rGe(e) {
+ return O9 = e, MWe(e, {
isOpen: () => !!j9,
requestClose: V9
- }), R9(), YWe;
+ }), R9(), nGe;
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function ZWe(e) {
+function iGe(e) {
if (!e || typeof document > "u") return;
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
}
-var QWe = (e) => {
+var aGe = (e) => {
switch (e) {
- case "success": return tGe;
- case "info": return rGe;
- case "warning": return nGe;
- case "error": return iGe;
+ case "success": return cGe;
+ case "info": return uGe;
+ case "warning": return lGe;
+ case "error": return dGe;
default: return null;
}
-}, $We = Array(12).fill(0), eGe = ({ visible: e, className: t }) => /*#__PURE__*/ L.createElement("div", {
+}, oGe = Array(12).fill(0), sGe = ({ visible: e, className: t }) => /*#__PURE__*/ L.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ L.createElement("div", { className: "sonner-spinner" }, $We.map((e, t) => /*#__PURE__*/ L.createElement("div", {
+}, /*#__PURE__*/ L.createElement("div", { className: "sonner-spinner" }, oGe.map((e, t) => /*#__PURE__*/ L.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), tGe = /*#__PURE__*/ L.createElement("svg", {
+})))), cGe = /*#__PURE__*/ L.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -80430,7 +80502,7 @@ var QWe = (e) => {
fillRule: "evenodd",
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
clipRule: "evenodd"
-})), nGe = /*#__PURE__*/ L.createElement("svg", {
+})), lGe = /*#__PURE__*/ L.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -80441,7 +80513,7 @@ var QWe = (e) => {
fillRule: "evenodd",
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
clipRule: "evenodd"
-})), rGe = /*#__PURE__*/ L.createElement("svg", {
+})), uGe = /*#__PURE__*/ L.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -80452,7 +80524,7 @@ var QWe = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
clipRule: "evenodd"
-})), iGe = /*#__PURE__*/ L.createElement("svg", {
+})), dGe = /*#__PURE__*/ L.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -80463,7 +80535,7 @@ var QWe = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
clipRule: "evenodd"
-})), aGe = /*#__PURE__*/ L.createElement("svg", {
+})), fGe = /*#__PURE__*/ L.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -80484,7 +80556,7 @@ var QWe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), oGe = () => {
+})), pGe = () => {
let [e, t] = L.useState(document.hidden);
return L.useEffect(() => {
let e = () => {
@@ -80492,7 +80564,7 @@ var QWe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, sGe = 1, cGe = 100, W9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : sGe++, G9 = new class {
+}, mGe = 1, hGe = 100, W9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : mGe++, G9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -80502,7 +80574,7 @@ var QWe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - cGe;
+ let e = this.toasts.length - hGe;
e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));
}, this.create = (e) => {
let { message: t, ...n } = e, r = W9(e), i = this.pendingDismissals.get(r);
@@ -80580,7 +80652,7 @@ var QWe = (e) => {
type: "default",
message: e
});
- else if (uGe(e) && !e.ok) {
+ else if (_Ge(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !L.isValidElement(r) ? r : { message: r };
this.create({
@@ -80633,7 +80705,7 @@ var QWe = (e) => {
}), n;
}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();
}
-}(), lGe = (e, t) => G9.message(e, t), uGe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", K9 = Object.assign(lGe, {
+}(), gGe = (e, t) => G9.message(e, t), _Ge = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", K9 = Object.assign(gGe, {
success: G9.success,
info: G9.info,
warning: G9.warning,
@@ -80647,20 +80719,20 @@ var QWe = (e) => {
getHistory: () => G9.toasts,
getToasts: () => G9.getActiveToasts()
});
-ZWe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
+iGe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
function q9(e) {
return e.label !== void 0;
}
-var dGe = 3, fGe = "24px", pGe = "16px", J9 = 4e3, mGe = 356, hGe = 14, gGe = 45, _Ge = 200;
+var vGe = 3, yGe = "24px", bGe = "16px", J9 = 4e3, xGe = 356, SGe = 14, CGe = 45, wGe = 200;
function Y9(...e) {
return e.filter(Boolean).join(" ");
}
-function vGe(e) {
+function TGe(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var yGe = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = L.useState(null), [O, k] = L.useState(null), [A, j] = L.useState(!1), [M, N] = L.useState(!1), [P, ee] = L.useState(!1), [F, te] = L.useState(!1), [ne, re] = L.useState(!1), [ie, ae] = L.useState(0), [oe, se] = L.useState(0), ce = L.useRef(n.duration || y || J9), le = L.useRef(null), ue = L.useRef(null), de = c === 0, I = c + 1 <= o, fe = n.type, pe = fe ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = L.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = L.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = L.useMemo(() => n.duration || y || J9, [n.duration, y]), be = L.useRef(0), xe = L.useRef(0), Se = L.useRef(0), Ce = L.useRef(null), [we, Te] = b.split("-"), Ee = L.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = oGe(), Oe = L.useMemo(() => e.swipeDirections ?? vGe(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = fe === "loading";
+var EGe = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = L.useState(null), [O, k] = L.useState(null), [A, j] = L.useState(!1), [M, N] = L.useState(!1), [P, ee] = L.useState(!1), [F, te] = L.useState(!1), [ne, re] = L.useState(!1), [ie, ae] = L.useState(0), [oe, se] = L.useState(0), ce = L.useRef(n.duration || y || J9), le = L.useRef(null), ue = L.useRef(null), de = c === 0, I = c + 1 <= o, fe = n.type, pe = fe ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = L.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = L.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = L.useMemo(() => n.duration || y || J9, [n.duration, y]), be = L.useRef(0), xe = L.useRef(0), Se = L.useRef(0), Ce = L.useRef(null), [we, Te] = b.split("-"), Ee = L.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = pGe(), Oe = L.useMemo(() => e.swipeDirections ?? TGe(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = fe === "loading";
xe.current = L.useMemo(() => _e * x + Ee, [_e, Ee]), L.useEffect(() => {
ce.current = ye;
}, [ye]), L.useEffect(() => {
@@ -80701,7 +80773,7 @@ var yGe = (e) => {
let je = L.useCallback(() => {
N(!0), ae(xe.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, _Ge);
+ }, wGe);
}, [
n,
d,
@@ -80734,12 +80806,12 @@ var yGe = (e) => {
return w?.loading ? /*#__PURE__*/ L.createElement("div", {
className: Y9(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": fe === "loading"
- }, w.loading) : /*#__PURE__*/ L.createElement(eGe, {
+ }, w.loading) : /*#__PURE__*/ L.createElement(sGe, {
className: Y9(C?.loader, n?.classNames?.loader),
visible: fe === "loading"
});
}
- let Ne = n.icon || w?.[fe] || QWe(fe);
+ let Ne = n.icon || w?.[fe] || aGe(fe);
return /*#__PURE__*/ L.createElement("li", {
tabIndex: 0,
ref: ue,
@@ -80786,7 +80858,7 @@ var yGe = (e) => {
if (F || !me) return;
Ce.current = null;
let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= gGe || a > .11)) {
+ if ((E === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= CGe || a > .11)) {
ae(xe.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), te(!0);
return;
}
@@ -80827,7 +80899,7 @@ var yGe = (e) => {
je(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: Y9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? aGe) : null, (fe || n.icon || n.promise) && n.icon !== null && (w?.[fe] !== null || n.icon) ? /*#__PURE__*/ L.createElement("div", {
+ }, w?.close ?? fGe) : null, (fe || n.icon || n.promise) && n.icon !== null && (w?.[fe] !== null || n.icon) ? /*#__PURE__*/ L.createElement("div", {
"data-icon": "",
className: Y9(C?.icon, n?.classNames?.icon)
}, fe === "loading" ? n.icon || Me() : n.promise ? Me() : null, fe === "loading" ? null : Ne) : null, /*#__PURE__*/ L.createElement("div", {
@@ -80862,10 +80934,10 @@ function X9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function bGe(e, t) {
+function DGe(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? pGe : fGe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? bGe : yGe;
function o(e) {
[
"top",
@@ -80886,8 +80958,8 @@ function bGe(e, t) {
}) : o(a);
}), n;
}
-var xGe = /*#__PURE__*/ L.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = dGe, toastOptions: g, dir: _ = X9(), gap: v = hGe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = L.useState([]), w = L.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = L.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = L.useState([]), [O, k] = L.useState(!1), [A, j] = L.useState(!1), [M, N] = L.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), P = L.useRef(null), ee = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), F = L.useRef(null), te = L.useRef(!1), ne = L.useCallback((e) => {
+var OGe = /*#__PURE__*/ L.forwardRef(function(e, t) {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = vGe, toastOptions: g, dir: _ = X9(), gap: v = SGe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = L.useState([]), w = L.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = L.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = L.useState([]), [O, k] = L.useState(!1), [A, j] = L.useState(!1), [M, N] = L.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), P = L.useRef(null), ee = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), F = L.useRef(null), te = L.useRef(!1), ne = L.useCallback((e) => {
C((t) => (t.find((t) => t.id === e.id)?.delete || G9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return L.useEffect(() => G9.subscribe((e) => {
@@ -80901,7 +80973,7 @@ var xGe = /*#__PURE__*/ L.forwardRef(function(e, t) {
return;
}
setTimeout(() => {
- it.flushSync(() => {
+ ct.flushSync(() => {
C((t) => {
let n = t.findIndex((t) => t.id === e.id);
return n === -1 ? [e, ...t] : [
@@ -80973,10 +81045,10 @@ var xGe = /*#__PURE__*/ L.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${mGe}px`,
+ "--width": `${xGe}px`,
"--gap": `${v}px`,
...m,
- ...bGe(l, u)
+ ...DGe(l, u)
},
onBlur: (e) => {
te.current && !e.currentTarget.contains(e.relatedTarget) && (te.current = !1, F.current &&= (F.current.focus({ preventScroll: !0 }), null));
@@ -80994,7 +81066,7 @@ var xGe = /*#__PURE__*/ L.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ L.createElement(yGe, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ L.createElement(EGe, {
key: n.id,
icons: y,
index: i,
@@ -81028,8 +81100,8 @@ var xGe = /*#__PURE__*/ L.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), Q9 = !1, SGe = (e, t) => {
- Q9 || (Q9 = !0, (0, at.createRoot)(e).render(/* @__PURE__ */ (0, R.jsx)(xGe, {
+}), Q9 = !1, kGe = (e, t) => {
+ Q9 || (Q9 = !0, (0, lt.createRoot)(e).render(/* @__PURE__ */ (0, R.jsx)(OGe, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -81050,7 +81122,7 @@ var xGe = /*#__PURE__*/ L.forwardRef(function(e, t) {
error: Z9(t.error, !1)
}
})));
-}, CGe = (e, t) => {
+}, AGe = (e, t) => {
let n = t.alert ? K9.error : K9.success, r = t.action;
n(/* @__PURE__ */ (0, R.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
@@ -81067,94 +81139,94 @@ var xGe = /*#__PURE__*/ L.forwardRef(function(e, t) {
//#region src/react/entry.tsx
function $9(e) {
return (t, n) => {
- let r = (0, at.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, R.jsx)(VF, { children: /* @__PURE__ */ (0, R.jsx)(e, { ...t }) }));
- return (0, it.flushSync)(() => i(n)), {
+ let r = (0, lt.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, R.jsx)(VF, { children: /* @__PURE__ */ (0, R.jsx)(e, { ...t }) }));
+ return (0, ct.flushSync)(() => i(n)), {
update: i,
unmount: () => r.unmount()
};
};
}
-var wGe = {
+var jGe = {
activity: {
- prefetch: (e, t) => one(t),
- mount: $9(Dne)
+ prefetch: (e, t) => rne(t),
+ mount: $9(wne)
},
"catalog-grid": {
- prefetch: Fne,
- mount: $9(Yb)
+ prefetch: Mne,
+ mount: $9(Kb)
},
configuration: {
prefetch: (e, t) => oI(t),
- mount: $9(O_e)
+ mount: $9(N_e)
},
"data-cleanup": {
- prefetch: (e, t) => kie(t),
+ prefetch: (e, t) => pie(t),
mount: $9(ole)
},
duplicates: {
- prefetch: (e, t) => rre(t),
- mount: $9(hle)
+ prefetch: (e, t) => dre(t),
+ mount: $9(ek)
},
"catalog-filter": {
prefetch: async () => {},
- mount: $9(Tle)
+ mount: $9(Cle)
},
"entity-page": {
- prefetch: (e) => Xk(e),
- mount: $9(Pue)
+ prefetch: (e) => Yle(e),
+ mount: $9(dde)
},
"feed-new": {
- prefetch: Fk,
- mount: $9(Rue)
+ prefetch: Wle,
+ mount: $9(hde)
},
"follow-feed": {
- prefetch: Cde,
- mount: $9(qde)
+ prefetch: efe,
+ mount: $9(wfe)
},
"follow-manage": {
- prefetch: (e, t) => hde(t, e.tab),
- mount: $9(ahe)
+ prefetch: (e, t) => Kde(t, e.tab),
+ mount: $9(uhe)
},
index: {
- prefetch: (e, t) => vA(e, t),
- mount: $9(vhe)
+ prefetch: (e, t) => oue(e, t),
+ mount: $9(Che)
},
"junk-queue": {
prefetch: async () => {},
- mount: $9(Nhe)
+ mount: $9(Rhe)
},
"library-processing": {
- prefetch: (e, t) => ux(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, R.jsx)(zhe, { ...e }) : /* @__PURE__ */ (0, R.jsx)(_O, { ...e }))
+ prefetch: (e, t) => sx(t),
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, R.jsx)(Whe, { ...e }) : /* @__PURE__ */ (0, R.jsx)(bO, { ...e }))
},
playlists: {
- prefetch: (e, t) => Vhe(t),
- mount: $9($he)
+ prefetch: (e, t) => Khe(t),
+ mount: $9(ige)
},
"quality-goals": {
- prefetch: (e, t) => xre(t),
- mount: $9(tge)
+ prefetch: (e, t) => kre(t),
+ mount: $9(oge)
},
review: {
- prefetch: (e, t) => Hre(t),
- mount: $9(vge)
+ prefetch: (e, t) => Fx(t),
+ mount: $9(Cge)
},
search: {
prefetch: async () => {},
- mount: $9(xk)
+ mount: $9(Ile)
},
scraping: {
- prefetch: (e, t) => Tge(t),
- mount: $9(Mge)
+ prefetch: (e, t) => Age(t),
+ mount: $9(Lge)
},
stats: {
- prefetch: (e, t) => A_e(t),
- mount: $9(vze)
+ prefetch: (e, t) => F_e(t),
+ mount: $9(Cze)
},
taste: {
- prefetch: (e, t) => Hze("all", t),
- mount: $9(HBe)
+ prefetch: (e, t) => qze("all", t),
+ mount: $9(qBe)
}
};
//#endregion
-export { GBe as configureBatchDock, vHe as configureImmerse, EHe as configureManageHeader, eUe as configureSettingsPanel, hUe as configureSidebar, XWe as configureStage, SGe as mountToaster, wGe as pages, CGe as showToast };
+export { XBe as configureBatchDock, QBe as configureGlowPicker, THe as configureImmerse, PHe as configureManageHeader, sUe as configureSettingsPanel, SUe as configureSidebar, rGe as configureStage, kGe as mountToaster, jGe as pages, AGe as showToast };
diff --git a/web/dist/peach-ui.js b/web/dist/peach-ui.js
index 8a6c00a9a..cd184f29e 100644
--- a/web/dist/peach-ui.js
+++ b/web/dist/peach-ui.js
@@ -1,8 +1,8 @@
import { api as e, esc as t, icon as n } from "/js/core.js";
-import { DEFAULT_ACCENT as r, DEFAULT_HOME_GLOW as i, normalizeAccent as a, normalizeHomeGlow as o } from "/js/home-glow.js";
-import { SKELETON_REVEAL_DELAY as s, emptyStateHtml as c, iconSwapHtml as l, loadingDotsHtml as u, moveGlidePane as d, noteHtml as f, scrollMovesAnchor as p, setIconSwap as m } from "/js/ui-components.js";
+import { ACCENTS as r, DEFAULT_ACCENT as i, DEFAULT_HOME_GLOW as a, HOME_GLOW_PRESETS as o, HOME_GLOW_SPOTS as s, glowAccent as c, glowChipFill as l, glowPalette as u, isNativeGlass as d, normalizeAccent as f, normalizeHomeGlow as p, paintGlassFaces as m, paintHomeGlow as h } from "/js/home-glow.js";
+import { SKELETON_REVEAL_DELAY as ee, emptyStateHtml as g, iconSwapHtml as _, loadingDotsHtml as v, moveGlidePane as te, noteHtml as y, scrollMovesAnchor as ne, setIconSwap as re } from "/js/ui-components.js";
//#region src/sort-preferences.ts
-var h = [
+var ie = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -11,7 +11,7 @@ var h = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], g = ["release", "发行时间"], _ = [...h, g].map(([e]) => e), v = {
+], ae = ["release", "发行时间"], oe = [...ie, ae].map(([e]) => e), b = {
rating: ["从高到低", "从低到高"],
o: ["从多到少", "从少到多"],
plays: ["从多到少", "从少到多"],
@@ -20,21 +20,21 @@ var h = [
new: ["从新到旧", "从旧到新"],
played: ["从近到远", "从远到近"],
release: ["从新到旧", "从旧到新"]
-}, y = {
+}, se = {
big: ["size", "desc"],
short: ["dur", "asc"],
long: ["dur", "desc"]
-}, ee = (e, t, n = v) => (n[e] || [])[+(t === "asc")] || "", b = (e, t = v) => t[e] ? "desc" : "";
-function te(e, t, n, r = v) {
+}, ce = (e, t, n = b) => (n[e] || [])[+(t === "asc")] || "", le = (e, t = b) => t[e] ? "desc" : "";
+function ue(e, t, n, r = b) {
return e === t ? r[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
sort: e,
- dir: b(e, r)
+ dir: le(e, r)
};
}
-function ne(e, t, n) {
+function de(e, t, n) {
return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";
}
//#endregion
@@ -46,7 +46,7 @@ function x(e) {
"preview"
].includes(String(e)) ? "small" : "big";
}
-function re(e) {
+function fe(e) {
return {
javLayout: x(e.javLayout),
javImage: S(e.javLayout === "preview" ? "thumbnail" : e.javImage)
@@ -55,11 +55,11 @@ function re(e) {
function S(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
-function ie(e, t) {
+function pe(e, t) {
return e.is_jav && e.code && e.has_cover && (S(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
}
-var ae = .704;
-function oe(e, t) {
+var me = .704;
+function he(e, t) {
let n = Number(e?.px?.[0]), r = Number(e?.px?.[1]), i = Number(e?.x0);
if (!(n > 0 && r > 0 && t > 0) || !Number.isFinite(i)) return null;
let a = (e, t, n) => Math.min(n, Math.max(0, Number.isFinite(Number(e)) ? Number(e) : t)), o = a(i, 0, n), s = Math.max(o, a(e?.x1, n, n)), c = a(e?.y0, 0, r), l = Math.max(c, a(e?.y1, r, r)), u = s - o, d = l - c;
@@ -79,13 +79,13 @@ function oe(e, t) {
height: m(r / d)
};
}
-function se(e, t) {
+function ge(e, t) {
e.querySelectorAll("img[data-jav-image]").forEach((e) => {
let n = e.dataset.javCover || "", r = e.dataset.javThumb || "", i = !!(n && (S(t) === "cover" || !r)), a = i ? n : r;
e.classList.toggle("cover", i), e.classList.toggle("whole", i && e.dataset.javImageLayout !== "big"), e.classList.toggle("front", i && e.dataset.javImageLayout === "big"), e.classList.remove("panel"), e.removeAttribute("style"), e.closest(".pic,[data-media-pic]")?.style.removeProperty("--cover-blur"), a && e.getAttribute("src") !== a && (e.src = a);
});
}
-function ce(e, t) {
+function _e(e, t) {
let n = [];
return e.querySelectorAll("img[data-jav-image]").forEach((e) => {
e.dataset.javImageLayout !== t && (e.dataset.javImageLayout = t, e.classList.contains("cover") && (e.classList.toggle("whole", t !== "big"), e.classList.toggle("front", t === "big"), e.classList.remove("panel"), e.removeAttribute("style"), e.closest(".pic,[data-media-pic]")?.style.removeProperty("--cover-blur"), e.complete && e.naturalWidth && n.push(e)));
@@ -98,7 +98,7 @@ function C(e, t, n, r) {
}
//#endregion
//#region src/settings-store.ts
-function le(e, t) {
+function ve(e, t) {
let n = /* @__PURE__ */ new Set(), r = 0, i = () => {
r += 1, n.forEach((e) => e());
};
@@ -127,7 +127,7 @@ var w = [
"studios",
"flagged",
"manage"
-], ue = [
+], ye = [
"playlists",
"immerse",
"stats",
@@ -136,12 +136,12 @@ var w = [
"trash",
"follow-manage",
"quality"
-], de = /* @__PURE__ */ new Set([...w, ...ue]), fe = (e) => e === "ads" || e === "dupes" ? "data-cleanup" : e;
-function pe(e) {
- let t = Array.isArray(e) ? e.filter((e) => typeof e == "string") : [], n = [...new Set(t.map(fe))].filter((e) => de.has(e));
+], be = /* @__PURE__ */ new Set([...w, ...ye]), xe = (e) => e === "ads" || e === "dupes" ? "data-cleanup" : e;
+function Se(e) {
+ let t = Array.isArray(e) ? e.filter((e) => typeof e == "string") : [], n = [...new Set(t.map(xe))].filter((e) => be.has(e));
return n.length ? n : [...w];
}
-function me(e) {
+function Ce(e) {
return [
"/",
"/unseen",
@@ -151,32 +151,32 @@ function me(e) {
"/junk-files"
].includes(e) || /^\/(item|mix|parts|editions)\//.test(e) || /^\/playlists\/\d+\/\d+$/.test(e) || /^\/(performers|studios|creators|series|agencies)\/.+/.test(e);
}
-function he(e) {
+function we(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of new Set(n.tags || [])) t.set(e, (t.get(e) || 0) + 1);
return [...t].sort((e, t) => t[1] - e[1]).slice(0, 30);
}
//#endregion
//#region src/appearance/settings.ts
-var ge = "peach.settings.v1", _e = [
+var Te = "peach.settings.v1", Ee = [
"system",
"light",
"dark"
-], ve = [
+], De = [
0,
7,
30,
90
-], ye = [
+], Oe = [
0,
7,
30,
90
-], be = [
+], ke = [
"feedHideGroupCompilations",
"feedHideSoloCompilations",
"feedHideExcerpts"
-], xe = {
+], Ae = {
batchSize: 60,
defaultSort: "seed",
sortDefaultsVersion: 3,
@@ -196,48 +196,48 @@ var ge = "peach.settings.v1", _e = [
theme: "system",
groupCollapse: !0,
sidebarOrder: [...w],
- homeGlow: i,
- accent: r
+ homeGlow: a,
+ accent: i
}, T = (e, t, n) => t.includes(e) ? e : n;
-function Se(e) {
+function je(e) {
let t = e && typeof e == "object" ? e : {}, n = {
- ...xe,
+ ...Ae,
...t
};
- n.followInitialDays = ve.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
+ n.followInitialDays = De.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
let r = !1, i = +n.sortDefaultsVersion || 0;
i < 2 && n.defaultSort === "new" && (n.defaultSort = "seed", r = !0);
- let s = y[n.defaultSort];
- return i < 3 && s && (n.defaultSort = s[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = C(+n.batchSize, 1, 200, 60), n.defaultSort = T(n.defaultSort, _, "seed"), n.hoverDelaySeconds = C(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = C(+n.seekSeconds, 1, 300, 10), delete n.loginDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = C(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = C(+n.relatedLimit, 0, 60, 20), n.metadataRefreshDays = T(+n.metadataRefreshDays, ye, 30), Object.assign(n, re(n)), n.theme = T(n.theme, _e, "system"), n.homeGlow = o(n.homeGlow), n.accent = a(n.accent), n.sidebarOrder = pe(n.sidebarOrder), {
+ let a = se[n.defaultSort];
+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = C(+n.batchSize, 1, 200, 60), n.defaultSort = T(n.defaultSort, oe, "seed"), n.hoverDelaySeconds = C(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = C(+n.seekSeconds, 1, 300, 10), delete n.loginDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = C(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = C(+n.relatedLimit, 0, 60, 20), n.metadataRefreshDays = T(+n.metadataRefreshDays, Oe, 30), Object.assign(n, fe(n)), n.theme = T(n.theme, Ee, "system"), n.homeGlow = p(n.homeGlow), n.accent = f(n.accent), n.sidebarOrder = Se(n.sidebarOrder), {
settings: n,
migrated: r
};
}
-function Ce(e) {
+function Me(e) {
let t = {};
try {
t = JSON.parse(e.getItem("peach.settings.v1") || "{}");
} catch {}
- return Se(t);
+ return je(t);
}
var E = null;
function D() {
if (E) return E;
- let { settings: e, migrated: t } = Ce(localStorage);
- return E = le(ge, e), t && E.save(), E;
+ let { settings: e, migrated: t } = Me(localStorage);
+ return E = ve(Te, e), t && E.save(), E;
}
-function we(e, t, n = D()) {
+function Ne(e, t, n = D()) {
let r = n.value, i = e && e.followInitialDays;
- ve.includes(i) && (r.followInitialDays = i, n.save());
+ De.includes(i) && (r.followInitialDays = i, n.save());
let a = e && e.metadataRefreshDays;
- ye.includes(a) && a !== r.metadataRefreshDays && (r.metadataRefreshDays = a, n.save());
- for (let t of be) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
+ Oe.includes(a) && a !== r.metadataRefreshDays && (r.metadataRefreshDays = a, n.save());
+ for (let t of ke) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
let o = e && e.searchHistoryLimit;
- Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = C(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== xe.searchHistoryLimit && Te(n);
+ Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = C(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== Ae.searchHistoryLimit && Pe(n);
let s = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;
!s || !s.length || s.join(",") === r.sidebarOrder.join(",") || (r.sidebarOrder = s, n.save());
}
-function Te(t = D()) {
+function Pe(t = D()) {
return e("/api/settings", {
method: "POST",
body: JSON.stringify({ searchHistoryLimit: t.value.searchHistoryLimit })
@@ -245,7 +245,7 @@ function Te(t = D()) {
}
//#endregion
//#region src/appearance/theme.ts
-var Ee = [
+var Fe = [
[
"system",
"跟随系统",
@@ -261,24 +261,24 @@ var Ee = [
"深色",
"moon"
]
-], De = null, Oe = () => De ??= matchMedia("(prefers-color-scheme: dark)");
-function ke(e = D().value.theme) {
+], Ie = null, Le = () => Ie ??= matchMedia("(prefers-color-scheme: dark)");
+function Re(e = D().value.theme) {
let t = document.documentElement;
e === "system" ? delete t.dataset.theme : t.dataset.theme = e;
- let n = e === "dark" || e === "system" && Oe().matches;
+ let n = e === "dark" || e === "system" && Le().matches;
t.classList.toggle("dark", n), document.querySelectorAll("[data-board-theme]").forEach((e) => e.setAttribute("aria-pressed", String(e.dataset.boardTheme === "dark" === n))), document.querySelector(".board-theme-toggle")?.classList.toggle("is-dark", n), document.querySelectorAll("meta[data-theme-color]").forEach((e) => {
e.media = e.dataset.themeColor === "dark" === n ? "all" : "not all";
});
}
-var Ae = !1;
-function je() {
- Ae || (Ae = !0, Oe().addEventListener("change", () => {
- D().value.theme === "system" && ke();
+var ze = !1;
+function Be() {
+ ze || (ze = !0, Le().addEventListener("change", () => {
+ D().value.theme === "system" && Re();
}));
}
//#endregion
//#region src/appearance/layout.ts
-var Me = [[
+var Ve = [[
"big",
"大图",
"maximize"
@@ -286,7 +286,7 @@ var Me = [[
"small",
"小图",
"layout-grid"
-]], Ne = [[
+]], He = [[
"big",
"大图",
"maximize"
@@ -294,7 +294,7 @@ var Me = [[
"small",
"小图",
"layout-grid"
-]], Pe = [[
+]], Ue = [[
"fixed",
"固定比例",
"layout-grid"
@@ -302,75 +302,121 @@ var Me = [[
"masonry",
"瀑布流",
"columns-2"
-]], Fe = .75, O = () => D().value, Ie = (e = O()) => x(e.javLayout), Le = (e = O()) => x(e.homeLayout), Re = (e, t = O()) => e ? Le(t) : Ie(t), ze = Ne.map(([e]) => e), Be = Pe.map(([e]) => e), Ve = (e = O()) => T(e.photoSize, ze, "small"), He = (e = O()) => T(e.photoLayout, Be, "masonry"), Ue = null;
-function We(e, t = O()) {
+]], We = .75, O = () => D().value, Ge = (e = O()) => x(e.javLayout), Ke = (e = O()) => x(e.homeLayout), qe = (e, t = O()) => e ? Ke(t) : Ge(t), Je = He.map(([e]) => e), Ye = Ue.map(([e]) => e), Xe = (e = O()) => T(e.photoSize, Je, "small"), Ze = (e = O()) => T(e.photoLayout, Ye, "masonry"), Qe = null;
+function $e(e, t = O()) {
let n = {
active: e.active,
- size: Re(e.home, t),
+ size: qe(e.home, t),
portrait: e.portrait,
javImage: t.javImage
- }, r = Ue;
- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (Ue = n), Ue;
+ }, r = Qe;
+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (Qe = n), Qe;
}
-function Ge(e) {
- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? Fe : 16 / 9;
+function et(e) {
+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? We : 16 / 9;
}
-function Ke(e, t = D()) {
+function tt(e, t = D()) {
t.value.homeLayout = x(e), t.save();
}
-function qe(e, t = D()) {
+function nt(e, t = D()) {
t.value.javLayout = x(e), t.save();
}
-function Je(e, t = D()) {
+function rt(e, t = D()) {
t.value.homeLayout = t.value.javLayout = x(e), t.save();
}
-function Ye(e, t = D()) {
- t.value.photoSize = T(e, ze, "small"), t.save();
+function it(e, t = D()) {
+ t.value.photoSize = T(e, Je, "small"), t.save();
}
-function Xe(e, t = D()) {
- t.value.photoLayout = T(e, Be, "masonry"), t.save();
+function at(e, t = D()) {
+ t.value.photoLayout = T(e, Ye, "masonry"), t.save();
}
//#endregion
//#region src/appearance/density.ts
-var Ze = "density", Qe = {
+var ot = "density", st = {
big: "336px",
dense: "168px"
-}, $e = () => localStorage.getItem(Ze) === "dense" ? "dense" : "big";
-function et(e, t) {
- let [n, r] = Ne;
- e.querySelector("[data-icon-swap]") ? m(e, t === r[0] ? "b" : "a") : e.innerHTML = l(n[2], r[2], t === r[0] ? "b" : "a"), e.setAttribute("aria-label", t === "big" ? "切换为小图" : "切换为大图");
+}, ct = () => localStorage.getItem(ot) === "dense" ? "dense" : "big";
+function lt(e, t) {
+ let [n, r] = He;
+ e.querySelector("[data-icon-swap]") ? re(e, t === r[0] ? "b" : "a") : e.innerHTML = _(n[2], r[2], t === r[0] ? "b" : "a"), e.setAttribute("aria-label", t === "big" ? "切换为小图" : "切换为大图");
}
-var tt = () => document.querySelector("#density");
-function nt(e = $e()) {
- document.documentElement.style.setProperty("--tile", Qe[e]), document.body.dataset.density = e;
- let t = tt();
- t && (t.setAttribute("aria-pressed", String(e === "dense")), t.title = "当前:" + (e === "big" ? "大图" : "密集"), et(t, e === "big" ? "big" : "small"));
+var ut = () => document.querySelector("#density");
+function dt(e = ct()) {
+ document.documentElement.style.setProperty("--tile", st[e]), document.body.dataset.density = e;
+ let t = ut();
+ t && (t.setAttribute("aria-pressed", String(e === "dense")), t.title = "当前:" + (e === "big" ? "大图" : "密集"), lt(t, e === "big" ? "big" : "small"));
}
-function rt() {
- let e = $e() === "big" ? "dense" : "big";
- localStorage.setItem(Ze, e), nt(e);
+function ft() {
+ let e = ct() === "big" ? "dense" : "big";
+ localStorage.setItem(ot, e), dt(e);
}
-function it(e) {
- let t = tt();
- t && (t.setAttribute("aria-pressed", String(e === "small")), t.title = "当前:" + (e === "big" ? "大图" : "小图"), et(t, e));
+function pt(e) {
+ let t = ut();
+ t && (t.setAttribute("aria-pressed", String(e === "small")), t.title = "当前:" + (e === "big" ? "大图" : "小图"), lt(t, e));
+}
+//#endregion
+//#region src/appearance/glow.ts
+function mt(e = D()) {
+ h(document.querySelector(".glowlayer"), e.value.homeGlow);
+}
+var ht = 0;
+function gt(e = D()) {
+ ht ||= requestAnimationFrame(() => {
+ ht = 0, mt(e);
+ });
+}
+function _t(e = D()) {
+ m(document.documentElement, e.value.homeGlow);
+}
+function k(e = D()) {
+ document.documentElement.dataset.accent = e.value.accent;
+}
+var vt = (e, t, n) => ({
+ key: e,
+ label: t,
+ native: d(e),
+ fill: d(e) ? "" : l(n)
+});
+function yt(e) {
+ let t = o.map(([e, t, n]) => vt(e, t, s.map((e) => n[e].color)));
+ return e.preset === "custom" && t.push(vt("custom", "自定义", s.map((t) => e[t].color))), t;
+}
+var bt = r;
+function xt(e, t = D()) {
+ if (e === "custom") return;
+ let n = t.value.homeGlow;
+ n.preset = e, Object.assign(n, u(e)), t.value.accent = c(e), t.save(), gt(t), _t(t), k(t);
+}
+function St(e, t = D()) {
+ t.value.accent = f(e), t.save(), k(t);
+}
+function Ct(e = D()) {
+ let t = e.value.homeGlow;
+ t.preset = a.preset, Object.assign(t, u(t.preset)), e.value.accent = i, e.save(), gt(e), _t(e), k(e);
+}
+function wt(e, t) {
+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && d(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
+}
+function Tt(e, t = D()) {
+ return wt(e, t.value.homeGlow), t.subscribe(() => wt(e, t.value.homeGlow));
}
//#endregion
//#region src/board-controls.ts
-function k(e) {
+function A(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
}
-function at() {
+function Et() {
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(k), lt(e), st(e);
+ e.querySelectorAll("input[type=range]").forEach(A), At(e), Ot(e);
};
e(document), new MutationObserver((t) => {
- for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && k(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && A(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && k(e.target);
+ e.target instanceof HTMLInputElement && e.target.type === "range" && A(e.target);
});
let t = document.createElement("div");
t.className = "board-tooltip", t.id = "board-control-tooltip", t.role = "tooltip", t.hidden = !0, document.body.append(t);
@@ -390,11 +436,11 @@ function at() {
}), document.addEventListener("focusin", (e) => s(e.target, 0)), document.addEventListener("focusout", o), document.addEventListener("keydown", (e) => {
e.key === "Escape" && o();
}), document.addEventListener("scroll", (e) => {
- n && p(e, n) && o();
+ n && ne(e, n) && o();
}, !0), window.addEventListener("resize", o);
}
-var ot = /* @__PURE__ */ new Map();
-function st(e) {
+var Dt = /* @__PURE__ */ new Map();
+function Ot(e) {
let t = ".board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-tabs")) return;
@@ -408,8 +454,8 @@ function st(e) {
left: r.offsetLeft,
width: r.offsetWidth
};
- n(i), ot.set(t, i);
- }, i = ot.get(t);
+ n(i), Dt.set(t, i);
+ }, i = Dt.get(t);
i ? n(i) : r(), requestAnimationFrame(() => {
e.classList.add("board-tabs-ready"), requestAnimationFrame(r);
});
@@ -429,15 +475,15 @@ function st(e) {
o.observe(e);
});
}
-var ct = /* @__PURE__ */ new Map();
-function lt(e) {
+var kt = /* @__PURE__ */ new Map();
+function At(e) {
let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;
e.dataset.boardSegments = "true";
let t = document.createElement("span");
t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);
- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = ct.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = kt.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -446,7 +492,7 @@ function lt(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- d(t, r, a, "x"), r = a, ct.set(n, a);
+ te(t, r, a, "x"), r = a, kt.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -467,15 +513,15 @@ function lt(e) {
}
//#endregion
//#region src/theme-transition.ts
-var ut = !1;
-async function dt(e, t) {
- if (ut) return;
+var jt = !1;
+async function Mt(e, t) {
+ if (jt) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
return;
}
let n = e.getBoundingClientRect(), r = n.left + n.width / 2, i = n.top + n.height / 2, a = Math.hypot(Math.max(r, innerWidth - r), Math.max(i, innerHeight - i)) * 2.5, o = document.createElement("style");
- o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, ut = !0, document.head.append(o);
+ o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, jt = !0, document.head.append(o);
let s = document.documentElement;
s.dataset.themeSnapshot = "true";
let c = !1, l = () => {
@@ -486,78 +532,78 @@ async function dt(e, t) {
} catch {
l();
} finally {
- delete s.dataset.themeSnapshot, o.remove(), ut = !1;
+ delete s.dataset.themeSnapshot, o.remove(), jt = !1;
}
}
//#endregion
//#region src/sidebar-skeleton.ts
-var A = (e) => e.replace(/[&<>"']/g, (e) => ({
+var j = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function ft(e, t, n) {
+function Nt(e, t, n) {
let r = new Map(t.map((e) => [e[0], e]));
return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {
- let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${A(r)}"/></svg>`;
- return `<button type="button" data-nav="${A(e)}" aria-pressed="${n(e)}" aria-label="${A(t)}">${i}<span>${A(t)}</span></button>`;
+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${j(r)}"/></svg>`;
+ return `<button type="button" data-nav="${j(e)}" aria-pressed="${n(e)}" aria-label="${j(t)}">${i}<span>${j(t)}</span></button>`;
}).join("")}</div>`;
}
//#endregion
//#region src/manage-header.ts
-var pt = {
+var Pt = {
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/scraping": "来源和凭证"
-}, mt = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), ht = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;
-function gt(e) {
+}, Ft = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), It = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;
+function Lt(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = pt[e.path] ?? "";
+ let n = Pt[e.path] ?? "";
return {
title: e.section === "cleanup" && n || t[1],
crumb: n,
- compact: mt.has(e.path) || e.section === "configuration",
+ compact: Ft.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: ht(e.trash),
+ text: It(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var j = (e) => e.replace(/[&<>"']/g, (e) => ({
+var M = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
-})[e]), _t = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${j(e)}"/></svg>`, vt = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
-function yt(e) {
- let t = gt(e);
+})[e]), Rt = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${M(e)}"/></svg>`, zt = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
+function Bt(e) {
+ let t = Lt(e);
if (!t) return "";
let n = e.menu.map(([t, n, r]) => {
let i = t === e.section;
- return `<button type="button" data-manage="${j(t)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${_t(r)}<span>${j(n)}</span></button>`;
- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${_t("chevron-right")}</li><li aria-current="true"><span>${j(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? vt : `<span data-lede-text="">${j(t.lede.text)}</span>${t.lede.total ? bt : ""}`}</p>`;
- return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}<span data-manage-indicator="" aria-hidden="true"></span></div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${j(t.title)}</h2>` + i;
+ return `<button type="button" data-manage="${M(t)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${Rt(r)}<span>${M(n)}</span></button>`;
+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${Rt("chevron-right")}</li><li aria-current="true"><span>${M(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? zt : `<span data-lede-text="">${M(t.lede.text)}</span>${t.lede.total ? Vt : ""}`}</p>`;
+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}<span data-manage-indicator="" aria-hidden="true"></span></div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${M(t.title)}</h2>` + i;
}
-var bt = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
+var Vt = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
//#endregion
//#region src/jobs.ts
-function xt(e, n, r) {
+function Ht(e, n, r) {
if (!Number.isFinite(r) || r <= 0) return "";
let i = Math.max(0, Math.min(r, Number.isFinite(n) ? n : 0)), a = i / r * 100;
return `<div class="board-job-progress" role="progressbar" aria-label="${t(e)}" aria-valuemin="0" aria-valuemax="${r}" aria-valuenow="${i}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="board-job-track" cx="18" cy="18" r="15"/><circle class="board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${a} ${100 - a}" transform="rotate(-90 18 18)"/></svg><span>${t(e)}<small>${Math.round(a)}%</small></span></div>`;
}
-function St(e, t = 0, n = 0) {
- return n > 0 ? xt(e, t, n) : u(e);
+function Ut(e, t = 0, n = 0) {
+ return n > 0 ? Ht(e, t, n) : v(e);
}
-async function Ct(e) {
+async function Wt(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -572,14 +618,14 @@ async function Ct(e) {
await t(2e3);
}
}
-function wt(e) {
- let t = e.note || ((e) => f(e, {
+function Gt(e) {
+ let t = e.note || ((e) => y(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || u, r = e.progress || ((e, t, n) => St(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
+ })), n = e.loading || v, r = e.progress || ((e, t, n) => Ut(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
e.host.hidden = !0, a.dataset.followJob = "", a.setAttribute("aria-live", "polite"), e.host.prepend(a);
let o = e.storageKey || "peach-follow-job", s = sessionStorage.getItem(o) || void 0, c = !1;
- Ct({
+ Wt({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -605,11 +651,11 @@ function wt(e) {
}
//#endregion
//#region src/selection.ts
-function Tt(e, t, n, r, i, a = i || !e.has(r)) {
+function Kt(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
-function Et(e, t) {
+function qt(e, t) {
let n = t.filter((t) => e.has(t)).length;
return {
count: n,
@@ -617,14 +663,14 @@ function Et(e, t) {
mixed: n > 0 && n < t.length
};
}
-function Dt(e, t, n) {
+function Jt(e, t, n) {
t.forEach((t) => n ? e.add(t) : e.delete(t));
}
-function Ot({ count: e, label: t, all: n, summary: r, actions: i, locked: a = !1 }) {
+function Yt({ count: e, label: t, all: n, summary: r, actions: i, locked: a = !1 }) {
e && (e.textContent = t), n && (n.checked = r.all, n.indeterminate = r.mixed);
for (let e of i) e.disabled = !r.count || a;
}
-function kt(e, t, n = 1) {
+function Xt(e, t, n = 1) {
let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
if (n * 2 + 5 >= t) return r(1, t);
let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;
@@ -644,15 +690,15 @@ function kt(e, t, n = 1) {
t
];
}
-function At(e, t) {
+function Zt(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function jt(e, t) {
+function Qt(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
-function Mt(e, t, n) {
+function $t(e, t, n) {
if (t <= 1) return "";
- let r = kt(e, t).map((t) => t === "…" ? "<li class=\"board-page-dots\" aria-hidden=\"true\">…</li>" : `<li><button type="button" class="board-page" data-page="${t}" aria-label="第 ${t} 页"${t === e ? " aria-current=\"page\"" : ""}>${t}</button></li>`).join("");
+ let r = Xt(e, t).map((t) => t === "…" ? "<li class=\"board-page-dots\" aria-hidden=\"true\">…</li>" : `<li><button type="button" class="board-page" data-page="${t}" aria-label="第 ${t} 页"${t === e ? " aria-current=\"page\"" : ""}>${t}</button></li>`).join("");
return `<nav class="board-pagination" aria-label="${n}">
<button type="button" class="geist-button" data-page="${e - 1}"${e <= 1 ? " disabled" : ""}><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-chevron-left"></use></svg>上一页</button>
<ul>${r}</ul>
@@ -661,20 +707,20 @@ function Mt(e, t, n) {
}
//#endregion
//#region src/card-art/face-frame.ts
-var Nt = .32, Pt = 13, Ft = .6;
-function It(e) {
+var en = .32, tn = 13, nn = .6;
+function rn(e) {
return e ? Number.isFinite(e.cx) && Number.isFinite(e.cy) && Number(e.faceW) > 0 && Number(e.imgW) > 0 && Number(e.imgH) > 0 : !1;
}
-function Lt(e, t, n = 1, r = Nt, i = Ft) {
- if (!It(e) || !(t && t.w > 0 && t.h > 0)) return 1;
+function an(e, t, n = 1, r = en, i = nn) {
+ if (!rn(e) || !(t && t.w > 0 && t.h > 0)) return 1;
let a = n > 0 ? n : 1, o = Math.max(t.w / e.imgW, t.h / e.imgH), s = e.faceW * o;
if (!(s > 0)) return 1;
let c = Math.min(t.w, t.h), l = Math.max(r, 13 / c) * c / s, u = Math.max(t.w / (2 * Math.min(e.cx, 1 - e.cx) * e.imgW * o), t.h / (2 * Math.min(e.cy, 1 - e.cy) * e.imgH * o)), d = e.faceW / (s * a);
return Math.max(1, Math.min(Math.max(l, Math.min(u, i * c / s)), d));
}
-function Rt(e, t, n = 1, r = Nt, i = Ft) {
- let a = Lt(e, t, n, r, i);
- if (a <= 1 || !It(e) || !t) return null;
+function on(e, t, n = 1, r = en, i = nn) {
+ let a = an(e, t, n, r, i);
+ if (a <= 1 || !rn(e) || !t) return null;
let o = Math.max(t.w / e.imgW, t.h / e.imgH) * a, s = e.imgW * o, c = e.imgH * o, l = Math.min(0, Math.max(t.w - s, t.w / 2 - e.cx * s)), u = Math.min(0, Math.max(t.h - c, t.h / 2 - e.cy * c)), d = (e, t) => Math.round(e / t * 1e4) / 100;
return {
zoom: Math.round(a * 1e3) / 1e3,
@@ -686,48 +732,48 @@ function Rt(e, t, n = 1, r = Nt, i = Ft) {
}
//#endregion
//#region src/card-art/image-fallback.ts
-var zt = "|", Bt = "closest:";
-function Vt(e) {
- return String(e ?? "").split(zt).map((e) => e.trim()).filter(Boolean);
+var sn = "|", cn = "closest:";
+function ln(e) {
+ return String(e ?? "").split(sn).map((e) => e.trim()).filter(Boolean);
}
-function Ht({ drop: e = "self", fallbacks: n = [], initial: r = "", dropClass: i = "", dropStyle: a = !1 } = {}) {
+function un({ drop: e = "self", fallbacks: n = [], initial: r = "", dropClass: i = "", dropStyle: a = !1 } = {}) {
let o = (Array.isArray(n) ? n : [n]).filter(Boolean);
return [
`data-drop="${t(e)}"`,
- o.length ? `data-fallbacks="${t(o.join(zt))}"` : "",
+ o.length ? `data-fallbacks="${t(o.join(sn))}"` : "",
r ? `data-initial="${t(r)}"` : "",
i ? `data-drop-class="${t(i)}"` : "",
a ? "data-drop-style" : ""
].filter(Boolean).join(" ");
}
-function Ut(e) {
+function dn(e) {
if (!e || !e.dataset || !e.dataset.drop) return "";
- let t = Vt(e.dataset.fallbacks);
+ let t = ln(e.dataset.fallbacks);
if (t.length) {
let [n = "", ...r] = t;
- return "dropStyle" in e.dataset && e.removeAttribute("style"), delete e.dataset.facebox, r.length ? e.dataset.fallbacks = r.join(zt) : delete e.dataset.fallbacks, e.src = n, "retry";
+ return "dropStyle" in e.dataset && e.removeAttribute("style"), delete e.dataset.facebox, r.length ? e.dataset.fallbacks = r.join(sn) : delete e.dataset.fallbacks, e.src = n, "retry";
}
let n = e.dataset.drop;
- if (n.startsWith(Bt)) return (e.closest(n.slice(8)) || e).remove(), "drop";
+ if (n.startsWith(cn)) return (e.closest(n.slice(8)) || e).remove(), "drop";
if (n === "initial") {
let t = document.createElement("span");
return t.className = e.dataset.dropClass || "", t.textContent = e.dataset.initial || "", e.replaceWith(t), "drop";
}
return e.remove(), "drop";
}
-function Wt(e) {
+function fn(e) {
e.addEventListener("error", (e) => {
- e.target instanceof HTMLImageElement && Ut(e.target);
+ e.target instanceof HTMLImageElement && dn(e.target);
}, !0);
}
//#endregion
//#region src/card-art/native-image.ts
-function Gt(e, t, n, r) {
+function pn(e, t, n, r) {
if (!(e > 0 && t > 0 && n > 0 && r > 0)) return 0;
let i = e / n, a = t / r;
return i > 1.001 || a > 1.001 || Math.abs(i - a) > Math.max(i, a) * .01 ? 0 : i;
}
-function Kt(e, t, n, r, i = 1) {
+function mn(e, t, n, r, i = 1) {
let a = Number.isFinite(i) && i > 0 ? i : 1;
e /= a, t /= a;
let o = [
@@ -744,33 +790,33 @@ function Kt(e, t, n, r, i = 1) {
}
//#endregion
//#region src/card-art/representatives.ts
-var qt = /* @__PURE__ */ new Map();
-function Jt(e) {
+var hn = /* @__PURE__ */ new Map();
+function gn(e) {
(e || []).forEach((e) => {
- e.rep && e.has_avatar && qt.set(e.k, e.rep);
+ e.rep && e.has_avatar && hn.set(e.k, e.rep);
});
}
-function M(e) {
- return qt.get(e);
+function N(e) {
+ return hn.get(e);
}
//#endregion
//#region src/card-art/markup.ts
-var N = (e, t) => t ? `${e}&v=${encodeURIComponent(t)}` : e, P = (e, t = !1) => N(`/cover?code=${encodeURIComponent(e.code || "")}${t ? "&thumb=1" : ""}`, e.cover_version), Yt = (e, t, n) => N(`/logo?studio=${encodeURIComponent(e)}&variant=${t}`, n), Xt = (e) => e && typeof e == "object" ? e : null;
-function Zt(e) {
+var P = (e, t) => t ? `${e}&v=${encodeURIComponent(t)}` : e, F = (e, t = !1) => P(`/cover?code=${encodeURIComponent(e.code || "")}${t ? "&thumb=1" : ""}`, e.cover_version), _n = (e, t, n) => P(`/logo?studio=${encodeURIComponent(e)}&variant=${t}`, n), vn = (e) => e && typeof e == "object" ? e : null;
+function yn(e) {
return e && e.is_jav ? "女优" : "艺人";
}
-function Qt({ kind: e = "performer", id: t = null, hasImage: n = !1, version: r = "", rep: i = null, mark: a = null, logo: o = "", logoVersion: s = "", logoVariant: c = "logo", alt: l = "", lazy: u = !0, style: d = "", dropStyle: f = !1, focus: p = null, thumb: m = !1 } = {}) {
- let h = !!(t && n), g = h ? N(`/entity-image?kind=${e}&id=${t}${m ? "&thumb=1" : ""}`, r) : "", _ = i ? `/avatar?id=${i}` : "", v = !!o, y = v ? Yt(o, c, s) : g || _ || (a ? `/link-mark?id=${a}` : "");
- if (!y) return "";
- let ee = v ? [g, _].filter(Boolean) : h && _ ? [_] : [], b = h && !v, te = b ? nn(p) : "", ne = d || tn(p);
- return `<img src="${y}" alt="${l}"${u ? " loading=\"lazy\"" : ""} decoding="async"${b ? ne : ""} ${te}${Ht({
- dropStyle: (f || !!te || !!ne) && b,
- fallbacks: ee
+function bn({ kind: e = "performer", id: t = null, hasImage: n = !1, version: r = "", rep: i = null, mark: a = null, logo: o = "", logoVersion: s = "", logoVariant: c = "logo", alt: l = "", lazy: u = !0, style: d = "", dropStyle: f = !1, focus: p = null, thumb: m = !1 } = {}) {
+ let h = !!(t && n), ee = h ? P(`/entity-image?kind=${e}&id=${t}${m ? "&thumb=1" : ""}`, r) : "", g = i ? `/avatar?id=${i}` : "", _ = !!o, v = _ ? _n(o, c, s) : ee || g || (a ? `/link-mark?id=${a}` : "");
+ if (!v) return "";
+ let te = _ ? [ee, g].filter(Boolean) : h && g ? [g] : [], y = h && !_, ne = y ? wn(p) : "", re = d || Cn(p);
+ return `<img src="${v}" alt="${l}"${u ? " loading=\"lazy\"" : ""} decoding="async"${y ? re : ""} ${ne}${un({
+ dropStyle: (f || !!ne || !!re) && y,
+ fallbacks: te
})}>`;
}
-function F(e, n, r, i = "performer", a = null, o = "", s = "icon", c = void 0, l = !1) {
+function I(e, n, r, i = "performer", a = null, o = "", s = "icon", c = void 0, l = !1) {
let u = c === void 0 ? n && n.avatar_focus || null : c;
- return `<span class="ini">${t((e || "?").slice(0, 1))}</span>` + Qt({
+ return `<span class="ini">${t((e || "?").slice(0, 1))}</span>` + bn({
kind: i,
id: n && n.id,
hasImage: !!(n && n.has_image),
@@ -784,19 +830,19 @@ function F(e, n, r, i = "performer", a = null, o = "", s = "icon", c = void 0, l
thumb: l
});
}
-function $t(e, t, n) {
- return F(e, t, n ? M(e) : null, n || "performer");
+function xn(e, t, n) {
+ return I(e, t, n ? N(e) : null, n || "performer");
}
-function en(e) {
- let t = Xt(e);
+function Sn(e) {
+ let t = vn(e);
return t && t.axis === "x" ? `${t.pct}% 50%` : t && t.axis === "y" ? `50% ${t.pct}%` : "";
}
-function tn(e) {
- let t = en(e);
+function Cn(e) {
+ let t = Sn(e);
return t ? ` style="object-position:${t}"` : "";
}
-function nn(e) {
- let t = Xt(e)?.box;
+function wn(e) {
+ let t = vn(e)?.box;
return t ? ` data-facebox="${[
t.cx,
t.cy,
@@ -805,8 +851,8 @@ function nn(e) {
t.imgH
].map(Number).join(" ")}"` : "";
}
-function rn(e, t, n = !1) {
- let r = P(e, !0), i = e.cover_frame || {}, a = [i.cx == null ? "" : ` data-cx="${i.cx}"`, i.cy == null ? "" : ` data-cy="${Math.min(.6, Math.max(.05, i.cy))}"`].join(""), o = e.poster_box, s = o ? ` data-posterbox="${[
+function Tn(e, t, n = !1) {
+ let r = F(e, !0), i = e.cover_frame || {}, a = [i.cx == null ? "" : ` data-cx="${i.cx}"`, i.cy == null ? "" : ` data-cy="${Math.min(.6, Math.max(.05, i.cy))}"`].join(""), o = e.poster_box, s = o ? ` data-posterbox="${[
o.x0,
(o.px || [])[0],
(o.px || [])[1],
@@ -817,39 +863,39 @@ function rn(e, t, n = !1) {
return `<img class="poster cover ${t === "small" ? "whole" : "front"}" src="${r}"
alt="" loading="${n ? "eager" : "lazy"}"${a}${s} data-drop="self">`;
}
-var an = {
+var En = {
kind: "",
html: ""
};
-function on(e, n, r, i) {
- let a = ie(e, i);
- if (!a) return an;
- let o = e.has_cover && e.code ? P(e, !0) : "", s = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "", c = rn(e, n, r), l = (c.match(/ data-(?:c[xy]|posterbox)="[^"]*"/g) || []).join(""), u = a === "cover" ? c : `<img class="poster" src="${s}" alt="" loading="${r ? "eager" : "lazy"}"${l}>`;
+function Dn(e, n, r, i) {
+ let a = pe(e, i);
+ if (!a) return En;
+ let o = e.has_cover && e.code ? F(e, !0) : "", s = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "", c = Tn(e, n, r), l = (c.match(/ data-(?:c[xy]|posterbox)="[^"]*"/g) || []).join(""), u = a === "cover" ? c : `<img class="poster" src="${s}" alt="" loading="${r ? "eager" : "lazy"}"${l}>`;
return {
kind: a === "cover" ? "cover" : "thumb",
html: u.replace("<img ", `<img data-jav-image="${e.id}" data-jav-cover="${t(o)}" data-jav-thumb="${t(s)}" data-jav-image-layout="${n}" `)
};
}
-function sn(e, n, r, i) {
- return e.is_jav ? on(e, n, r, i) : e.follow_thumb_url ? {
+function On(e, n, r, i) {
+ return e.is_jav ? Dn(e, n, r, i) : e.follow_thumb_url ? {
kind: "thumb",
html: `<img class="poster" src="${t(e.follow_thumb_url)}" alt="" loading="${r ? "eager" : "lazy"}" referrerpolicy="no-referrer">`
- } : cn(e, n, r, i);
+ } : kn(e, n, r, i);
}
-function cn(e, t, n, r) {
- return e.is_jav ? on(e, t, n, r) : !e.has_thumb && !e.has_local_poster ? an : {
+function kn(e, t, n, r) {
+ return e.is_jav ? Dn(e, t, n, r) : !e.has_thumb && !e.has_local_poster ? En : {
kind: "thumb",
html: `<img class="poster" src="/poster?id=${e.id}&c=4" alt="" loading="${n ? "eager" : "lazy"}">`
};
}
-function ln(e, t) {
- return cn(e, "small", !1, t).html || "<span class=\"nopic\">无预览</span>";
+function An(e, t) {
+ return kn(e, "small", !1, t).html || "<span class=\"nopic\">无预览</span>";
}
-function un(e, t) {
+function jn(e, t) {
let n = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "";
- return e.is_jav && ie(e, t) === "cover" ? P(e) : n;
+ return e.is_jav && pe(e, t) === "cover" ? F(e) : n;
}
-function dn(e) {
+function Mn(e) {
let t = e.performers || [], n = e.performer_entities || [], r = t[0] || "", i = e.is_jav && r ? "" : e.creator || "";
return {
kind: i ? "creator" : r ? "performer" : "",
@@ -860,18 +906,18 @@ function dn(e) {
total: e.performer_total || t.length
};
}
-function fn(e) {
- let { kind: t, name: n, coStarred: r, performers: i, refs: a } = dn(e);
- return r ? `<div class="mavstack">${i.slice(0, 5).map((e, t) => `<span class="mav">${F(e, a[t], M(e))}</span>`).join("")}</div>` : `<span class="mav">${F(n, t === "performer" ? a[0] : e.creator_entity, t ? M(n) : null, t || "performer")}</span>`;
+function Nn(e) {
+ let { kind: t, name: n, coStarred: r, performers: i, refs: a } = Mn(e);
+ return r ? `<div class="mavstack">${i.slice(0, 5).map((e, t) => `<span class="mav">${I(e, a[t], N(e))}</span>`).join("")}</div>` : `<span class="mav">${I(n, t === "performer" ? a[0] : e.creator_entity, t ? N(n) : null, t || "performer")}</span>`;
}
-function pn(e, t) {
+function Pn(e, t) {
let n = (e.performers || [])[0];
return (e.is_jav && n ? n : e.creator) || n || e.studio || e.code || t((e.tags || [])[0] || "") || "为你推荐";
}
//#endregion
//#region src/card-art/framing.ts
-var mn = () => window.devicePixelRatio || 1;
-function I(e) {
+var Fn = () => window.devicePixelRatio || 1;
+function L(e) {
let t = e.parentElement;
if (!t || ([
"position",
@@ -890,17 +936,17 @@ function I(e) {
delete e.dataset.faceFramed;
let n = new ResizeObserver(() => {
let r = t.getBoundingClientRect();
- r.width > 0 && r.height > 0 && (n.disconnect(), I(e));
+ r.width > 0 && r.height > 0 && (n.disconnect(), L(e));
});
n.observe(t);
return;
}
- let [r = NaN, i = NaN, a = NaN, o = NaN, s = NaN] = String(e.dataset.facebox).split(" ").map(Number), c = Gt(e.naturalWidth, e.naturalHeight, o, s);
+ let [r = NaN, i = NaN, a = NaN, o = NaN, s = NaN] = String(e.dataset.facebox).split(" ").map(Number), c = pn(e.naturalWidth, e.naturalHeight, o, s);
if (!c) {
e.style.objectPosition = "50% 50%";
return;
}
- let l = Rt({
+ let l = on({
cx: r,
cy: i,
faceW: a * c,
@@ -909,61 +955,61 @@ function I(e) {
}, {
w: n.width,
h: n.height
- }, mn());
+ }, Fn());
if (!l) return;
let u = e.style;
u.position = "absolute", u.right = "auto", u.bottom = "auto", u.left = `${l.left}%`, u.top = `${l.top}%`, u.width = `${l.width}%`, u.height = `${l.height}%`, u.maxWidth = "none", u.maxHeight = "none";
}
-function L(e) {
+function In(e) {
let t = e.naturalWidth / e.naturalHeight;
if (!t) return;
let n = new URL(e.currentSrc || e.src, location.href).searchParams.get("code") || "";
e.dataset.frame = /^FC2(?:-PPV)?-/i.test(n) || t >= 1.65 ? "still" : t > 1.2 ? "sleeve" : "front";
- let r = vn(e), i = (t, n, r) => {
+ let r = Bn(e), i = (t, n, r) => {
if (n == null || !(r > 0 && r < 1)) return;
let i = Math.min(1, Math.max(0, (n - r / 2) / (1 - r)));
e.style.setProperty(t, `${Math.round(i * 100)}%`);
};
- i("--cover-x", yn(e, "cx"), r / t), i("--cover-y", yn(e, "cy"), t / r), hn(e, r), (e.classList.contains("whole") || e.dataset.frame === "front") && Math.abs(t / r - 1) > .02 && gn(e);
+ i("--cover-x", Vn(e, "cx"), r / t), i("--cover-y", Vn(e, "cy"), t / r), Ln(e, r), (e.classList.contains("whole") || e.dataset.frame === "front") && Math.abs(t / r - 1) > .02 && Rn(e);
}
-function hn(e, t) {
+function Ln(e, t) {
if (e.dataset.frame === "front") return;
let [n = NaN, r = NaN, i = NaN, a = NaN, o = NaN, s = NaN] = String(e.dataset.posterbox || "").split(" ").map(Number);
- if (!e.dataset.posterbox && e.dataset.frame === "sleeve" && (r = e.naturalWidth, i = e.naturalHeight, n = Math.round(r - ae * i), a = 0, o = r, s = i), !Gt(e.naturalWidth, e.naturalHeight, r, i)) return;
- let c = oe({
+ if (!e.dataset.posterbox && e.dataset.frame === "sleeve" && (r = e.naturalWidth, i = e.naturalHeight, n = Math.round(r - me * i), a = 0, o = r, s = i), !pn(e.naturalWidth, e.naturalHeight, r, i)) return;
+ let c = he({
x0: n,
y0: a,
x1: o,
y1: s,
px: [r, i]
}, t);
- c && (e.classList.add("panel"), e.style.setProperty("--panel-clip", `${c.clip.top}% ${c.clip.right}% ${c.clip.bottom}% ${c.clip.left}%`), e.style.setProperty("--panel-left", `${c.left}%`), e.style.setProperty("--panel-top", `${c.top}%`), e.style.setProperty("--panel-height", `${c.height}%`), gn(e));
+ c && (e.classList.add("panel"), e.style.setProperty("--panel-clip", `${c.clip.top}% ${c.clip.right}% ${c.clip.bottom}% ${c.clip.left}%`), e.style.setProperty("--panel-left", `${c.left}%`), e.style.setProperty("--panel-top", `${c.top}%`), e.style.setProperty("--panel-height", `${c.height}%`), Rn(e));
}
-function gn(e) {
+function Rn(e) {
e.closest(".pic,[data-media-pic]")?.style.setProperty("--cover-blur", `url("${e.dataset.thumbSrc || e.currentSrc || e.src}")`);
}
-function _n(e) {
+function zn(e) {
if (!/[?&]thumb=1(&|$)/.test(e.src) || !e.naturalWidth) return;
let { width: t, height: n } = e.getBoundingClientRect();
- (getComputedStyle(e).objectFit === "contain" ? Math.min : Math.max)(t / e.naturalWidth, n / e.naturalHeight) * mn() > 1.01 && (e.dataset.thumbSrc = e.src, e.src = e.src.replace(/[?&]thumb=1(?=&|$)/, ""));
+ (getComputedStyle(e).objectFit === "contain" ? Math.min : Math.max)(t / e.naturalWidth, n / e.naturalHeight) * Fn() > 1.01 && (e.dataset.thumbSrc = e.src, e.src = e.src.replace(/[?&]thumb=1(?=&|$)/, ""));
}
-function vn(e) {
+function Bn(e) {
let t = getComputedStyle(e).getPropertyValue("--card-ratio").trim().split("/").map(Number), n = t.length === 2 ? Number(t[0]) / Number(t[1]) : Number(t[0]);
return Number.isFinite(n) && n > 0 ? n : 16 / 9;
}
-function yn(e, t) {
+function Vn(e, t) {
let n = parseFloat(e.dataset[t] ?? "");
return Number.isFinite(n) ? n : null;
}
-var bn = ".pic>img.poster,[data-media-art]>img,.ring>img,[data-tier-ring]>img,[data-person-ring]>img,[data-entity-portrait]>img,[data-hero-ring]>img", xn = /* @__PURE__ */ new WeakMap();
-function Sn(e) {
- let t = e.matches(bn) ? [e] : e.querySelectorAll(bn);
- for (let e of t) !e.complete && e.parentElement && (e.parentElement.classList.add("imgwait"), xn.set(e.parentElement, performance.now()));
+var Hn = ".pic>img.poster,[data-media-art]>img,.ring>img,[data-tier-ring]>img,[data-person-ring]>img,[data-entity-portrait]>img,[data-hero-ring]>img", Un = /* @__PURE__ */ new WeakMap();
+function Wn(e) {
+ let t = e.matches(Hn) ? [e] : e.querySelectorAll(Hn);
+ for (let e of t) !e.complete && e.parentElement && (e.parentElement.classList.add("imgwait"), Un.set(e.parentElement, performance.now()));
}
-function Cn(e) {
+function Gn(e) {
let t = e.parentElement;
if (!t?.classList.contains("imgwait")) return;
- if (performance.now() - (xn.get(t) ?? NaN) < s) {
+ if (performance.now() - (Un.get(t) ?? NaN) < ee) {
t.classList.remove("imgwait");
return;
}
@@ -973,71 +1019,71 @@ function Cn(e) {
};
t.addEventListener("transitionend", r), n = setTimeout(r, 1e3);
}
-function wn(e) {
+function Kn(e) {
let t = "img.cover,img[data-facebox]", n = e.matches(t) ? [e] : e.querySelectorAll(t);
for (let e of n) {
let t = e;
- t.complete && t.naturalWidth && (t.classList.contains("cover") ? L(t) : (R(t), I(t)));
+ t.complete && t.naturalWidth && (t.classList.contains("cover") ? In(t) : (R(t), L(t)));
}
}
function R(e) {
let t = e.closest("[data-fit-native]");
if (!t || !e.naturalWidth) return;
- let { small: n, width: r, height: i } = Kt(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight, mn());
+ let { small: n, width: r, height: i } = mn(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight, Fn());
t.dataset.nativeSmall = String(n), t.style.setProperty("--markw", n ? r + "px" : "100%"), t.style.setProperty("--markh", n ? i + "px" : "100%");
let a = (e.currentSrc || e.src).replace(/"/g, "%22");
t.style.setProperty("--markbg", n ? `url("${a}")` : "none");
}
-function Tn(e) {
+function qn(e) {
(e || document).querySelectorAll("[data-fit-native] img").forEach((e) => {
- R(e), e.dataset.facebox && I(e);
+ R(e), e.dataset.facebox && L(e);
});
}
-function En(e, t) {
- for (let n of ce(e, t)) L(n), _n(n);
+function Jn(e, t) {
+ for (let n of _e(e, t)) In(n), zn(n);
}
-var Dn = !1;
-function On() {
- Dn || (Dn = !0, document.addEventListener("load", (e) => {
+var Yn = !1;
+function Xn() {
+ Yn || (Yn = !0, document.addEventListener("load", (e) => {
let t = e.target;
- t instanceof HTMLImageElement && (Cn(t), R(t), t.classList.contains("cover") ? (L(t), _n(t)) : t.dataset.facebox && I(t));
+ t instanceof HTMLImageElement && (Gn(t), R(t), t.classList.contains("cover") ? (In(t), zn(t)) : t.dataset.facebox && L(t));
}, !0), new MutationObserver((e) => {
- for (let t of e) for (let e of t.addedNodes) e.nodeType === Node.ELEMENT_NODE && (Sn(e), wn(e));
+ for (let t of e) for (let e of t.addedNodes) e.nodeType === Node.ELEMENT_NODE && (Wn(e), Kn(e));
}).observe(document.body, {
childList: !0,
subtree: !0
}), document.addEventListener("error", (e) => {
let t = e.target;
- t instanceof HTMLImageElement && !t.dataset.fallbacks && Cn(t);
+ t instanceof HTMLImageElement && !t.dataset.fallbacks && Gn(t);
}, !0));
}
//#endregion
//#region src/card-art/hover.ts
-var kn = ".card,[data-media-card],[data-mix-card]", z = {
+var Zn = ".card,[data-media-card],[data-mix-card]", z = {
selecting: () => !1,
censored: () => !1,
delaySeconds: () => 0
};
-function An(e) {
+function Qn(e) {
z = e;
}
-var jn = () => !!window.__scrolling;
-function Mn(e = document, t = null) {
- !e || !e.querySelectorAll || (e.querySelectorAll(kn).forEach((e) => {
+var $n = () => !!window.__scrolling;
+function er(e = document, t = null) {
+ !e || !e.querySelectorAll || (e.querySelectorAll(Zn).forEach((e) => {
e !== t && e._stopHover && e._stopHover();
}), e.querySelectorAll("video.hv").forEach((e) => {
- e.closest(kn) !== t && (e._hop && clearInterval(e._hop), e.pause(), e.removeAttribute("src"), e.load(), e.remove());
+ e.closest(Zn) !== t && (e._hop && clearInterval(e._hop), e.pause(), e.removeAttribute("src"), e.load(), e.remove());
}), e.querySelectorAll("img.hvframes").forEach((e) => {
- e.closest(kn) !== t && (e.removeAttribute("src"), e.remove());
+ e.closest(Zn) !== t && (e.removeAttribute("src"), e.remove());
}));
}
-function Nn(e) {
- e._stopHover?.(), Mn(e);
+function tr(e) {
+ e._stopHover?.(), er(e);
}
function B(e, t, n) {
n ? e.dataset[t] = "" : delete e.dataset[t];
}
-function Pn(e, t) {
+function nr(e, t) {
let n = e, r = e.querySelector("[data-media-pic]");
if (!r) return;
e.dataset.hoverMode = t.location === "local" ? "video" : "frames";
@@ -1070,9 +1116,9 @@ function Pn(e, t) {
}
let s, c = null;
e.addEventListener("mouseenter", () => {
- z.selecting() || z.censored() || jn() || (s = setTimeout(() => {
- if (jn() || z.censored()) return;
- Mn(document, e);
+ z.selecting() || z.censored() || $n() || (s = setTimeout(() => {
+ if ($n() || z.censored()) return;
+ er(document, e);
let n = document.createElement("video");
c = n, n.className = "hv", n.muted = !0, n.playsInline = !0, n.loop = !0, n.preload = "metadata", n.src = "/stream?id=" + t.id;
let i = [
@@ -1102,7 +1148,7 @@ function Pn(e, t) {
}
//#endregion
//#region src/entity-skeleton.ts
-function Fn(e, t, n) {
+function rr(e, t, n) {
return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料">
<span class="sr-only">正在读取资料</span><div aria-hidden="true">
<section class="entityhero"><div class="entityprofile"><div class="entityportrait ${e === "studio" || e === "agency" ? "square " : ""}skeleton"></div>
@@ -1116,7 +1162,7 @@ function Fn(e, t, n) {
}
//#endregion
//#region src/follow-sort.ts
-var In = [
+var ir = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -1124,7 +1170,7 @@ var In = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], Ln = "checked", Rn = {
+], ar = "checked", or = {
checked: "desc",
added: "desc",
name: "asc",
@@ -1132,38 +1178,38 @@ var In = [
source: "asc",
provider: "asc",
status: "asc"
-}, zn = (e) => In.some(([t]) => t === e);
-function Bn(e, t) {
- let n = zn(e) ? e : Ln;
+}, sr = (e) => ir.some(([t]) => t === e);
+function cr(e, t) {
+ let n = sr(e) ? e : ar;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : Rn[n]
+ dir: t === "asc" || t === "desc" ? t : or[n]
};
}
//#endregion
//#region src/island-skeleton.ts
-var Vn = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", Hn = {
+var lr = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", ur = {
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
-}, Un = {
- medium: Hn.medium,
+}, dr = {
+ medium: ur.medium,
small: "size-8 rounded-lg p-0 text-body-medium"
-}, Wn = {
+}, fr = {
medium: "size-5 shrink-0",
small: "size-[18px] shrink-0"
-}, Gn = {
+}, pr = {
medium: "inline-flex items-center justify-center px-1 shrink-0",
small: "inline-flex items-center justify-center px-0.5 shrink-0"
-}, Kn = {
+}, mr = {
primary: "bg-button-primary text-text-white shadow-xs",
secondary: "bg-background-primary-default text-text-primary border border-border-button-default shadow-xs",
ghost: "bg-button-ghost-background text-button-ghost-foreground"
-}, qn = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;
+}, hr = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;
function V({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {
- let o = r ? Hn[t] : Un[t], s = n ? qn(n, Wn[t]) : "", c = r ? `<span class="${Gn[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";
- return `<button type="button" class="${Vn} ${o} ${Kn[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;
+ let o = r ? ur[t] : dr[t], s = n ? hr(n, fr[t]) : "", c = r ? `<span class="${pr[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";
+ return `<button type="button" class="${lr} ${o} ${mr[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;
}
-var Jn = {
+var gr = {
md: {
box: "gap-1.5 px-2.5 py-2 text-body-medium",
value: "gap-[5px]",
@@ -1175,32 +1221,32 @@ var Jn = {
chevron: "size-3.5"
}
};
-function Yn(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
- let i = Jn[t];
- return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${i.box}"><span class="flex min-w-0 items-center truncate ${i.value}">${e}</span>${qn("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;
+function _r(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
+ let i = gr[t];
+ return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${i.box}"><span class="flex min-w-0 items-center truncate ${i.value}">${e}</span>${hr("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;
}
-var Xn = "flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default", Zn = "flex min-w-0 flex-col gap-2", Qn = "text-body-regular text-text-secondary", $n = "text-display-4-medium tabular-nums text-text-primary", er = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";
-function tr(e) {
- return `<div data-collection-summary="" class="${Xn}"><div class="${Zn}"><span class="${Qn}">${e}</span><strong class="${$n}"><span data-skeleton="count" aria-hidden="true" class="${er}"></span></strong></div></div>`;
+var vr = "flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default", yr = "flex min-w-0 flex-col gap-2", br = "text-body-regular text-text-secondary", xr = "text-display-4-medium tabular-nums text-text-primary", Sr = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";
+function Cr(e) {
+ return `<div data-collection-summary="" class="${vr}"><div class="${yr}"><span class="${br}">${e}</span><strong class="${xr}"><span data-skeleton="count" aria-hidden="true" class="${Sr}"></span></strong></div></div>`;
}
//#endregion
//#region src/configuration-copy.ts
-var nr = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", rr = "仅填域名;留空使用默认地址", ir = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${V({
+var wr = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", Tr = "仅填域名;留空使用默认地址", Er = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}<div class="-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3">${V({
label: "保存配置",
attrs: "disabled data-skeleton-action"
-})}</div></div></section>`, ar = (e, t = "") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton configuration-skeleton-toggle"></span></div>`, or = (e) => `<div class="flex w-full flex-col gap-1"><p class="text-body-medium text-text-primary">${e} 地址</p><span class="skeleton configuration-skeleton-input"></span><p class="pt-px text-caption-1-medium text-text-secondary">${rr}</p></div>`;
-function sr() {
+})}</div></div></section>`, Dr = (e, t = "") => `<div class="flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5 border-b border-separator-border last:border-b-0"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div><span class="skeleton configuration-skeleton-toggle"></span></div>`, Or = (e) => `<div class="flex w-full flex-col gap-1"><p class="text-body-medium text-text-primary">${e} 地址</p><span class="skeleton configuration-skeleton-input"></span><p class="pt-px text-caption-1-medium text-text-secondary">${Tr}</p></div>`;
+function kr() {
return `<div class="peach-react"><div class="configpage">${`<div class="board-local-nav" data-section-nav data-section-items>${[
"通用",
"媒体",
"网络与访问",
"更新与维护"
- ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${ir("开机自启", `<div class="flex flex-col">${ar("开机后启动 Peach")}${ar("静默启动", "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。")}${ar("在桌面创建快捷方式", "双击图标打开 Peach 网页;卸载时一并移除。")}</div>`)}${ir("外部入口", `<div class="flex flex-col gap-4 py-4 pr-3"><p class="text-body-2-regular text-text-secondary">${nr}</p>${or("JavDB")}${or("MISSAV")}</div>`)}</div></div></div>`;
+ ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${Er("开机自启", `<div class="flex flex-col">${Dr("开机后启动 Peach")}${Dr("静默启动", "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。")}${Dr("在桌面创建快捷方式", "双击图标打开 Peach 网页;卸载时一并移除。")}</div>`)}${Er("外部入口", `<div class="flex flex-col gap-4 py-4 pr-3"><p class="text-body-2-regular text-text-secondary">${wr}</p>${Or("JavDB")}${Or("MISSAV")}</div>`)}</div></div></div>`;
}
//#endregion
//#region src/management-skeletons.ts
-var H = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", U = (e = "60%") => `<span class="${H} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, cr = "disabled data-skeleton-action", lr = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function ur() {
+var H = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", U = (e = "60%") => `<span class="${H} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, Ar = "disabled data-skeleton-action", jr = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function Mr() {
let e = [
"馆藏视频",
"看过",
@@ -1211,7 +1257,7 @@ function ur() {
<span class="flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3"><i class="${H} size-7 max-sm:size-6"></i>${e}</span>
<b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${U("4em")}</b>
<small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${U("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${lr}" data-stats-chart>
+ </div>`).join(""), t = (e) => `<section class="${jr}" data-stats-chart>
<header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${U("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
<svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[
76,
@@ -1228,7 +1274,7 @@ function ur() {
"时长",
"画质",
"文件类型"
- ].map((e) => `<section class="${lr}"><h3 class="text-title-2-medium">${e}</h3><div class="${H} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${jr}"><h3 class="text-title-2-medium">${e}</h3><div class="${H} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -1241,7 +1287,7 @@ function ur() {
</section>
</div></div>`;
}
-function dr() {
+function Nr() {
let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">
<span class="${H} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>
<span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${U("70%")}</span>
@@ -1258,18 +1304,18 @@ function dr() {
variant: "secondary",
size: "small",
label: e,
- attrs: cr
+ attrs: Ar
})).join("")}</span>
</div>${e.repeat(2)}</section>`;
return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5">
<div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">
<div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${U("4em")}</strong></div><p class="text-body-regular text-text-secondary">${U("12em")}</p>
</div>
- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${cr} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${Ar} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
${t.repeat(2)}
</div></div>`;
}
-function fr() {
+function Pr() {
let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">
<div class="flex min-w-0 gap-4"><span class="${H} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>
<div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${U("80%")}</h3><p class="text-body-2-regular">${U("60%")}</p></div>
@@ -1278,31 +1324,31 @@ function fr() {
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: cr
+ attrs: Ar
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
- ${tr("待升级")}
+ ${Cr("待升级")}
<ul class="card-grid-cover gap-5">${e.repeat(6)}</ul>
</div></div>`;
}
//#endregion
//#region src/board-skeleton.ts
-var W = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, G = () => `${W("80%")}${W("48%")}`, K = (e, t) => e.repeat(t), pr = (e, t = "metricstrip") => `<div class="${t}">${e.map((e) => `<div class="tastesummary"><span class="board-stat-label">${e}</span><b class="board-stat-value">${W("45%")}</b><small class="board-stat-footer">${W("60%")}</small></div>`).join("")}</div>`, mr = (e, t) => `<div class="${t} skeleton-segments" data-board-segments="true">${e.map((e, t) => `<span${t === 0 ? " class=\"skeleton-segment-selected\"" : ""}>${e}</span>`).join("")}</div>`, q = (e) => `<section class="insightpanel"><header>${e}</header><div class="insightpanelbody skeleton-lines">${K(G(), 3)}</div></section>`, J = "disabled data-skeleton-action", Y = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, X = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, hr = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", gr = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var W = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, G = () => `${W("80%")}${W("48%")}`, K = (e, t) => e.repeat(t), Fr = (e, t = "metricstrip") => `<div class="${t}">${e.map((e) => `<div class="tastesummary"><span class="board-stat-label">${e}</span><b class="board-stat-value">${W("45%")}</b><small class="board-stat-footer">${W("60%")}</small></div>`).join("")}</div>`, Ir = (e, t) => `<div class="${t} skeleton-segments" data-board-segments="true">${e.map((e, t) => `<span${t === 0 ? " class=\"skeleton-segment-selected\"" : ""}>${e}</span>`).join("")}</div>`, q = (e) => `<section class="insightpanel"><header>${e}</header><div class="insightpanelbody skeleton-lines">${K(G(), 3)}</div></section>`, J = "disabled data-skeleton-action", Y = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, X = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, Lr = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", Rr = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
"关注创作者",
"启用来源",
"检查失败",
"未看更新",
"JAV 订阅",
"未看新作"
-].map((e) => `<div class="${hr}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${Y("3em")}</b></div>`).join("")}</div>`, _r = () => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${[
+].map((e) => `<div class="${Lr}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${Y("3em")}</b></div>`).join("")}</div>`, zr = () => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${[
"关注列表",
"添加关注",
"JAV 订阅源",
"想要",
"来源和凭证"
-].map((e, t) => `<span class="whitespace-nowrap" aria-selected="${t === 0}">${e}</span>`).join("")}</div>`, vr = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, yr = ({ table: e, sort: t, dir: n }) => {
- let r = In.find(([e]) => e === t)[1];
+].map((e, t) => `<span class="whitespace-nowrap" aria-selected="${t === 0}">${e}</span>`).join("")}</div>`, Br = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, Vr = ({ table: e, sort: t, dir: n }) => {
+ let r = ir.find(([e]) => e === t)[1];
return `<div class="flex flex-wrap items-center gap-2 follow-skeleton-toolbar"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${Y("132px")}</span>${V({
glyph: "refresh-cw",
label: "检查全部",
@@ -1316,7 +1362,7 @@ var W = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, G =
variant: "ghost",
glyph: "table",
attrs: `aria-pressed="${e}"`
- })}</span>${Yn(r)}${V({
+ })}</span>${_r(r)}${V({
variant: "secondary",
glyph: n === "asc" ? "arrow-up" : "arrow-down"
})}${e ? "" : V({
@@ -1326,7 +1372,7 @@ var W = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, G =
compact: !0,
attrs: J
})}</div>`;
-}, br = () => `<span class="flex shrink-0 items-center gap-1">${V({
+}, Hr = () => `<span class="flex shrink-0 items-center gap-1">${V({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
@@ -1336,7 +1382,7 @@ var W = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, G =
size: "small",
glyph: "trash",
attrs: J
-})}</span>`, xr = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 follow-skeleton-source">${vr()}<span class="flex min-w-0 grow flex-col gap-0.5"><span class="text-body-medium">${Y("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${X(14, 14)}</span>${X(48, 24)}<span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary">${Y("113px")}</span>${br()}</div>`, Sr = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${X(32, 32, !0)}<b class="min-w-0 grow text-body-medium break-words text-text-primary">${Y("92px")}</b>${V({
+})}</span>`, Ur = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 follow-skeleton-source">${Br()}<span class="flex min-w-0 grow flex-col gap-0.5"><span class="text-body-medium">${Y("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${X(14, 14)}</span>${X(48, 24)}<span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary">${Y("113px")}</span>${Hr()}</div>`, Wr = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${X(32, 32, !0)}<b class="min-w-0 grow text-body-medium break-words text-text-primary">${Y("92px")}</b>${V({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
@@ -1353,13 +1399,13 @@ var W = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, G =
glyph: "chevron-up",
label: "收起",
attrs: J
-})}</div><div data-source-divider>${K(xr(), e)}</div></section>`, Cr = () => {
+})}</div><div data-source-divider>${K(Ur(), e)}</div></section>`, Gr = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, wr = [
+}, Kr = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -1367,58 +1413,58 @@ var W = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, G =
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], Tr = {
+], qr = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Er = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", Dr = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${wr.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${Tr[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Er}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${K(`<tr>${[
- vr(),
+}, Jr = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", Yr = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${Kr.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${qr[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Jr}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${K(`<tr>${[
+ Br(),
`<span class="flex min-w-0 items-center gap-2">${X(32, 32, !0)}${Y("5em")}</span>`,
Y("10em"),
`<span class="flex items-center gap-1.5">${X(14, 14)}${Y("4em")}</span>`,
X(48, 24),
Y("113px"),
- br()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, Or = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${Y("111px")}</span>${Yn(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${X(204, 32)}</div>`, kr = (e) => {
- let t = e.followLayout === "table", n = Bn(e.followSort, e.followDir), r = e.followPageSize || Cr(), i = t ? Dr(r, n) : `${vr("全选本页")}<div class="flex flex-col gap-3">${Sr(3)}${Sr(4)}${Sr(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${gr()}<div class="flex flex-col gap-6">${_r()}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 follow-skeleton-surface" data-layout="${t ? "table" : "default"}">${yr({
+ Hr()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, Xr = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${Y("111px")}</span>${_r(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${X(204, 32)}</div>`, Zr = (e) => {
+ let t = e.followLayout === "table", n = cr(e.followSort, e.followDir), r = e.followPageSize || Gr(), i = t ? Yr(r, n) : `${Br("全选本页")}<div class="flex flex-col gap-3">${Wr(3)}${Wr(4)}${Wr(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${Rr()}<div class="flex flex-col gap-6">${zr()}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 follow-skeleton-surface" data-layout="${t ? "table" : "default"}">${Vr({
table: t,
...n
- })}${i}${Or(t, r)}</div></div></div></div></div>`;
+ })}${i}${Xr(t, r)}</div></div></div></div></div>`;
};
-function Ar() {
+function Qr() {
return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${W("85%")}${W("65%")}${K(G(), 4)}</div></aside></div>`;
}
-function jr() {
- return `<div data-skeleton="detail" role="status" aria-label="正在读取作品详情">${Ar()}</div>`;
+function $r() {
+ return `<div data-skeleton="detail" role="status" aria-label="正在读取作品详情">${Qr()}</div>`;
}
-function Mr(e, t = {}) {
+function ei(e, t = {}) {
let n = "";
- if (e === "/stats") n = ur();
- else if (e === "/taste") n = `<div class="tastepage"><header class="tastehead">${mr(["浏览器记录", "Peach 内部"], "insightswitch")}${W("24%")}</header><div class="tastestate"></div>${pr([
+ if (e === "/stats") n = Mr();
+ else if (e === "/taste") n = `<div class="tastepage"><header class="tastehead">${Ir(["浏览器记录", "Peach 内部"], "insightswitch")}${W("24%")}</header><div class="tastestate"></div>${Fr([
"浏览记录",
"口味维度",
"浏览候选",
"私有导出"
], "tastesummaries")}<section class="tastehero"><div class="insightcopy"><span>浏览器画像</span><div class="skeleton skeleton-radar"></div></div><div class="tastebars skeleton-lines">${K(G(), 4)}</div></section>${q("口味分析")}<div class="board-activity-charts">${q("浏览活动")}${q("时间分布")}</div>${q("标签")}</div>`;
- else if (e === "/follow-manage") n = kr(t);
- else if (e === "/configuration") n = sr();
+ else if (e === "/follow-manage") n = Zr(t);
+ else if (e === "/configuration") n = kr();
else if (e === "/activity") n = `<div class="activitypage">${[
"正在进行",
"被挡下的",
"最近完成"
].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content skeleton-lines">${W("35%")}${G()}</div></article></div></section>`).join("")}</div>`;
- else if (e === "/duplicates") n = dr();
- else if (e === "/quality-goals") n = fr();
+ else if (e === "/duplicates") n = Nr();
+ else if (e === "/quality-goals") n = Pr();
else if (e === "/playlists") n = `<section class="playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate skeleton-lines"><span>新播放列表</span>${W("200px")}</div></header><div class="playlistcards">${K(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy skeleton-lines">${G()}</div></div></article>`, 6)}</div></section>`;
else return "";
return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;
}
//#endregion
//#region src/catalog-onboarding.ts
-var Nr = [
+var ti = [
"loc",
"creator",
"performer",
@@ -1436,9 +1482,9 @@ var Nr = [
"jav",
"thumb"
];
-async function Pr(e, t) {
+async function ni(e, t) {
let n = new URLSearchParams();
- for (let t of Nr) e[t] && n.set(t, e[t]);
+ for (let t of ti) e[t] && n.set(t, e[t]);
let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([
...r.creators || [],
...r.tagperformers || [],
@@ -1449,9 +1495,9 @@ async function Pr(e, t) {
return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";
}))).filter(Boolean);
}
-function Fr({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
+function ri({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
let a = r ? "<button class=\"geist-button primary\" data-empty-settings>添加内容</button>" : "", o = "<a class=\"geist-button" + (!r || i ? " primary" : "") + "\" href=\"/follow-manage?tab=add\">添加关注</a>";
- if (t || n) return c("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });
+ if (t || n) return g("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });
if (e !== "catalog") {
let t = (i ? {
tags: "标签",
@@ -1464,53 +1510,53 @@ function Fr({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:
agencies: "事务所",
series: "系列"
}[e] || "资料";
- return c(e === "tags" ? "tags" : "user-round", "还没有" + t, i ? "添加关注来源并获取内容后,这里会显示来源上的" + t + "。" : "添加内容并补充资料后,这里会显示对应信息。", { actions: i ? o : a + o });
+ return g(e === "tags" ? "tags" : "user-round", "还没有" + t, i ? "添加关注来源并获取内容后,这里会显示来源上的" + t + "。" : "添加内容并补充资料后,这里会显示对应信息。", { actions: i ? o : a + o });
}
- return c("play", "还没有视频", "添加媒体文件夹或关注来源,开始建立你的馆藏。", { actions: a + o });
+ return g("play", "还没有视频", "添加媒体文件夹或关注来源,开始建立你的馆藏。", { actions: a + o });
}
//#endregion
//#region src/catalog-filter-skeleton.ts
-var Ir = 64, Lr = (e) => e.replace(/[&<>"]/g, (e) => ({
+var ii = 64, ai = (e) => e.replace(/[&<>"]/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;"
-})[e]), Rr = (e) => e.repeat(Ir);
-function zr(e, t) {
- let n = e.map((e) => `<a href="${Lr(e.href)}" data-catalog-view="${Lr(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${Lr(e.label)}</a>`).join("");
- return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + Rr("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + Rr("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${n}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(Ir) + "</span></div></div></div><div data-filter-row=\"bottom\" aria-busy=\"true\" class=\"flex min-w-0 items-center gap-3 px-3 py-2 min-h-12\"><span data-catalog-readout=\"\"><span data-skeleton=\"count\" aria-hidden=\"true\" class=\"relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen\"></span></span></div></div></div></div>";
+})[e]), oi = (e) => e.repeat(ii);
+function si(e, t) {
+ let n = e.map((e) => `<a href="${ai(e.href)}" data-catalog-view="${ai(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${ai(e.label)}</a>`).join("");
+ return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + oi("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + oi("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${n}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(ii) + "</span></div></div></div><div data-filter-row=\"bottom\" aria-busy=\"true\" class=\"flex min-w-0 items-center gap-3 px-3 py-2 min-h-12\"><span data-catalog-readout=\"\"><span data-skeleton=\"count\" aria-hidden=\"true\" class=\"relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen\"></span></span></div></div></div></div>";
}
//#endregion
//#region src/management.ts
-var Br = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", Vr = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", Z = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", Hr = "type=\"button\" disabled data-skeleton-action", Ur = "disabled data-skeleton-action", Wr = "aria-disabled=\"true\"", Gr = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, Kr = (e, t) => `<div data-geist-fieldset-content>
+var ci = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", li = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", Z = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", ui = "type=\"button\" disabled data-skeleton-action", di = "disabled data-skeleton-action", fi = "aria-disabled=\"true\"", pi = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, mi = (e, t) => `<div data-geist-fieldset-content>
<h3 class="text-title-2-medium text-text-primary">${e}</h3>
<p class="text-body-2-regular text-text-secondary">${t}</p></div>`;
-function qr() {
- return Gr(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
- ${Kr("扫描与采集", Br)}
- <footer data-geist-fieldset-footer><a href="/scraping" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${qn("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${V({
+function hi() {
+ return pi(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
+ ${mi("扫描与采集", ci)}
+ <footer data-geist-fieldset-footer><a href="/scraping" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${hr("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${V({
glyph: "database",
label: "扫描并补全资料",
- attrs: Ur
+ attrs: di
})}${V({
glyph: "chevron-down",
- attrs: `${Ur} aria-label="更多扫描与采集方式"`
+ attrs: `${di} aria-label="更多扫描与采集方式"`
})}</span></footer>
</section>`);
}
-function Jr() {
- return Gr(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
- ${Kr("媒体修复", Vr)}
- <footer data-geist-fieldset-footer>${Yn(Z, {
+function gi() {
+ return pi(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
+ ${mi("媒体修复", li)}
+ <footer data-geist-fieldset-footer>${_r(Z, {
className: "w-48",
- attrs: Wr
+ attrs: fi
})}${V({
label: "开始修复",
- attrs: Ur
+ attrs: di
})}</footer>
</section>`);
}
-function Yr() {
+function _i() {
let e = [
["人工复核", "square-check-big"],
["高清版", "sparkles"],
@@ -1525,8 +1571,8 @@ function Yr() {
<span class="board-plain-stat-head"><span class="board-stat-tile">${n(t)}</span>${e}</span>
<strong>${Z}</strong><span class="cleanupmeta">${Z}</span></button>`).join("")}</div>
<div class="cleanupgrid">
- <div class="cleanupscraping">${qr()}</div>
- <div class="cleanupmediarepair">${Jr()}</div>
+ <div class="cleanupscraping">${hi()}</div>
+ <div class="cleanupmediarepair">${gi()}</div>
<section class="cleanupfieldset cleanuporganize" data-geist-fieldset data-cleanup-task aria-labelledby="cleanup-loading-organize">
<div class="geist-fieldset-content"><h3 class="geist-fieldset-title" id="cleanup-loading-organize">整理</h3>
<p>按模板给文件改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>
@@ -1537,7 +1583,7 @@ function Yr() {
<div class="organizepresets">${t}</div>
<p class="cleanupmeta">${Z}</p>
</div></div>
- <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${Hr}>预览</button></footer>
+ <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${ui}>预览</button></footer>
</section></div>
<section class="resourcesync" aria-labelledby="cleanup-loading-links">
<h2 id="cleanup-loading-links">链接管理</h2>
@@ -1549,19 +1595,19 @@ function Yr() {
"作品资料站"
].map((e) => `<div><span>${e}</span><b>${Z}</b></div>`).join("")}</div>
<div class="linkhosts"><span>主要站点</span><b>${Z}</b></div></div></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${Hr}>${n("unlink")}<span>检查死链</span></button></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${ui}>${n("unlink")}<span>检查死链</span></button></div>
</div></section>
<section class="resourcesync" aria-labelledby="cleanup-loading-sync">
<h2 id="cleanup-loading-sync">资源同步</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">文件与记录核对</h3>
<p>按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。</p></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${Hr}>${n("git-compare")}<span>检查文件</span></button></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${ui}>${n("git-compare")}<span>检查文件</span></button></div>
</div></section></div>`;
}
//#endregion
//#region src/junk-queue.ts
-var Xr = [
+var vi = [
[
"",
"全部",
@@ -1597,11 +1643,11 @@ var Xr = [
"其它",
"hard-drive"
]
-], Zr = (e) => Xr.find(([t]) => t === e)?.[0] ?? "";
-function Qr(e) {
+], yi = (e) => vi.find(([t]) => t === e)?.[0] ?? "";
+function bi(e) {
let t = new URLSearchParams(e);
return {
- kind: Zr(t.get("type")),
+ kind: yi(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
@@ -1611,7 +1657,7 @@ function Q(e = "", t = "pending") {
let r = n.toString();
return `/junk-files${r ? `?${r}` : ""}`;
}
-function $r(e) {
+function xi(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
@@ -1624,28 +1670,28 @@ function $r(e) {
href: Q("", "dismissed")
};
}
-var ei = (e) => e === "dismissed" ? "已排除" : "待判断", ti = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function ni({ kind: e, view: n }) {
- let r = Xr.map(([r, i, a]) => `<a href="${Q(r, n)}" data-junk-kind-link="${r}"${r === e ? " aria-current=\"page\"" : ""}>${ti(a)}${t(i)}</a>`).join(""), i = $r(n);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${tr(ei(n))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${r}<i data-junk-divider="" aria-hidden="true"></i><a href="${i.href}" data-junk-view-link="${i.view}"${n === "dismissed" ? " aria-current=\"page\"" : ""}>${ti(i.glyph)}${i.label}</a></nav></div></div></div>`;
+var Si = (e) => e === "dismissed" ? "已排除" : "待判断", Ci = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function wi({ kind: e, view: n }) {
+ let r = vi.map(([r, i, a]) => `<a href="${Q(r, n)}" data-junk-kind-link="${r}"${r === e ? " aria-current=\"page\"" : ""}>${Ci(a)}${t(i)}</a>`).join(""), i = xi(n);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Cr(Si(n))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${r}<i data-junk-divider="" aria-hidden="true"></i><a href="${i.href}" data-junk-view-link="${i.view}"${n === "dismissed" ? " aria-current=\"page\"" : ""}>${Ci(i.glyph)}${i.label}</a></nav></div></div></div>`;
}
//#endregion
//#region src/player/controls.ts
-function ri(e, t) {
+function Ti(e, t) {
e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();
}
//#endregion
//#region src/player/playback.ts
-function ii(e) {
+function Ei(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function ai(e, t) {
+function Di(e, t) {
let n = e.duration, r = (e.currentTime || 0) + t;
e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);
}
//#endregion
//#region src/islands.ts
-var oi = {
+var Oi = {
"catalog-filter": { react: "catalog-filter" },
"catalog-grid": { react: "catalog-grid" },
"data-cleanup": { react: "data-cleanup" },
@@ -1666,11 +1712,11 @@ var oi = {
activity: { react: "activity" },
stats: { react: "stats" },
taste: { react: "taste" }
-}, si = () => import("/dist/peach-react.js").then(() => void 0), ci = () => Object.keys(oi), $ = /* @__PURE__ */ new Map();
-async function li(e, t, n, r = {}) {
- let i = oi[e];
+}, ki = () => import("/dist/peach-react.js").then(() => void 0), Ai = () => Object.keys(Oi), $ = /* @__PURE__ */ new Map();
+async function ji(e, t, n, r = {}) {
+ let i = Oi[e];
if (!i) throw Error(`未注册的 island:${String(e)}`);
- pi(t);
+ Fi(t);
let a = { controller: new AbortController() };
$.set(t, a);
let o = (await import("/dist/peach-react.js")).pages[i.react];
@@ -1679,7 +1725,7 @@ async function li(e, t, n, r = {}) {
} catch {
if (a.controller.signal.aborted) return;
}
- if (!di(t, a, r)) return;
+ if (!Ni(t, a, r)) return;
let s = () => {
t.textContent = "";
let e = t.ownerDocument.createElement("div");
@@ -1691,52 +1737,55 @@ async function li(e, t, n, r = {}) {
};
r.reveal ? r.reveal(t, s) : s();
}
-function ui(e, t) {
+function Mi(e, t) {
let n = e ? $.get(e) : void 0;
!n?.update || !n.props || (n.props = {
...n.props,
...t
}, n.update(n.props));
}
-function di(e, t, n) {
+function Ni(e, t, n) {
return $.get(e) === t ? n.isCurrent && !n.isCurrent() ? ($.delete(e), !1) : !0 : !1;
}
-var fi = (e) => !!e && $.has(e);
-function pi(e) {
- for (let t of [...$.keys()]) (t === e || e.contains(t)) && mi(t);
+var Pi = (e) => !!e && $.has(e);
+function Fi(e) {
+ for (let t of [...$.keys()]) (t === e || e.contains(t)) && Ii(t);
}
-function mi(e) {
+function Ii(e) {
let t = $.get(e);
t && (t.controller.abort(), $.delete(e), t.dispose?.());
}
-var hi = null;
-function gi(e, t, n, r) {
- hi ??= import("/dist/peach-react.js").then((n) => (n.mountToaster(e, t), n)), hi.then((e) => e.showToast(n, r));
+var Li = null;
+function Ri(e, t, n, r) {
+ Li ??= import("/dist/peach-react.js").then((n) => (n.mountToaster(e, t), n)), Li.then((e) => e.showToast(n, r));
}
-var _i = null, vi = null;
-function yi(e) {
- return _i ??= import("/dist/peach-react.js").then((t) => (vi = t.configureStage(e), vi)), _i;
+var zi = null, Bi = null;
+function Vi(e) {
+ return zi ??= import("/dist/peach-react.js").then((t) => (Bi = t.configureStage(e), Bi)), zi;
}
-var bi = () => vi, xi = null, Si = null;
-function Ci(e) {
- return xi ??= import("/dist/peach-react.js").then((t) => (Si = t.configureSettingsPanel(e), Si)), xi;
+var Hi = () => Bi, Ui = null, Wi = null;
+function Gi(e) {
+ return Ui ??= import("/dist/peach-react.js").then((t) => (Wi = t.configureSettingsPanel(e), Wi)), Ui;
}
-var wi = () => Si, Ti = null, Ei = null;
-function Di(e) {
- return Ti ??= import("/dist/peach-react.js").then((t) => (Ei = t.configureImmerse(e), Ei)), Ti;
+var Ki = () => Wi, qi = null, Ji = null;
+function Yi(e) {
+ return qi ??= import("/dist/peach-react.js").then((t) => (Ji = t.configureImmerse(e), Ji)), qi;
}
-var Oi = () => Ei, ki = null, Ai = null;
-function ji(e) {
- return ki ??= import("/dist/peach-react.js").then((t) => (Ai = t.configureSidebar(e), Ai)), ki;
+var Xi = () => Ji, Zi = null, Qi = null;
+function $i(e) {
+ return Zi ??= import("/dist/peach-react.js").then((t) => (Qi = t.configureSidebar(e), Qi)), Zi;
}
-var Mi = () => Ai, Ni = null, Pi = null;
-function Fi(e) {
- return Ni ??= import("/dist/peach-react.js").then((t) => (Pi = t.configureManageHeader(e), Pi)), Ni;
+var ea = () => Qi, ta = null, na = null;
+function ra(e) {
+ return ta ??= import("/dist/peach-react.js").then((t) => (na = t.configureManageHeader(e), na)), ta;
+}
+var ia = () => na, aa = null, oa = null;
+function sa(e) {
+ return aa ??= import("/dist/peach-react.js").then((t) => (oa = t.configureBatchDock(e), oa)), aa;
}
-var Ii = () => Pi, Li = null, Ri = null;
-function zi(e) {
- return Li ??= import("/dist/peach-react.js").then((t) => (Ri = t.configureBatchDock(e), Ri)), Li;
+var ca = () => oa, la = null;
+function ua(e) {
+ return la ??= import("/dist/peach-react.js").then((t) => t.configureGlowPicker(e)), la;
}
-var Bi = () => Ri;
//#endregion
-export { Fe as COVER_FRONT_RATIO, xe as DEFAULT_SETTINGS, w as DEFAULT_SIDEBAR_ORDER, Ft as FACE_CEILING, Nt as FACE_TARGET, be as FEED_COMPILATION_KEYS, ve as FOLLOW_INITIAL_DAYS, Me as JAV_LAYOUTS, g as JAV_RELEASE_SORT, ye as METADATA_REFRESH_DAYS, Pt as MIN_FACE_PX, Pe as PHOTO_LAYOUTS, Ne as PHOTO_SIZES, ge as SETTINGS_KEY, h as SORTS, y as SORT_ALIASES, v as SORT_DIR_WORDS, _ as SORT_KEYS, _e as THEME_CHOICES, Ee as THEME_OPTIONS, Qe as TILES, Ut as advanceImageFallback, T as allowedSetting, D as appSettingsStore, nt as applyDensity, we as applySyncedSettings, ke as applyTheme, I as avatarFrame, F as avatarInner, Bi as batchDockApi, Mr as boardPageSkeleton, C as boundedPreference, sn as cardArtwork, dn as cardIdentity, Re as cardLayoutFor, Ge as cardRatio, Fr as catalogEmptyHtml, zr as catalogFilterSkeletonHtml, Pr as catalogSuggestions, jt as clampPage, Yr as cleanupSkeletonHtml, ri as clickPlayerControl, An as configureHoverPreview, L as coverAnchor, gn as coverBackdrop, yn as coverFace, rn as coverImage, vn as coverRatio, P as coverUrl, le as createSettingsStore, $e as currentDensity, b as defaultSortDir, un as detailPosterUrl, jr as detailSkeletonHtml, $t as entityAvatar, Qt as entityFaceImg, Fn as entitySkeletonHtml, nn as faceBoxAttrs, Rt as faceFrame, en as faceOrigin, tn as facePos, Gt as faceSourceScale, Lt as faceZoom, R as fitNativeImage, wt as followJobProgress, wn as frameCachedImages, We as gridLayout, It as hasFaceBox, Le as homeLayout, Ht as imageFallbackAttrs, Oi as immerseApi, at as initBoardControls, On as installCardArt, fi as islandMounted, ci as islandNames, on as javArtwork, ie as javImageKind, Ie as javLayout, St as jobActivityHtml, ni as junkCountSkeletonHtml, Q as junkPath, Qr as junkRoute, zi as loadBatchDock, Di as loadImmerse, Fi as loadManageHeader, Ci as loadSettingsPanel, ji as loadSidebar, yi as loadStage, Yt as logoUrl, Ii as manageHeaderApi, yt as manageHeaderSkeletonHtml, gt as manageHeaderView, cn as mixFace, pn as mixLabel, li as mountIsland, Kt as nativeImageFit, te as nextSortState, Se as normalizeAppSettings, S as normalizeJavImage, x as normalizeJavLayout, re as normalizeJavPreferences, pe as normalizeSidebarOrder, At as pageCount, Mt as paginationHtml, it as paintPhotoSizeButton, oe as panelFrame, Vt as parseFallbacks, Zt as performerLabel, He as photoLayout, Ve as photoSize, Te as postSearchHistoryLimit, hn as posterPanel, ne as preferredDirection, si as preloadIslands, fn as queueAvatarHtml, ln as queueThumbHtml, Ce as readAppSettings, Tn as refitNativeImages, En as relayoutCovers, ce as relayoutJavImages, Nn as releaseHover, Mn as releaseHoverPreviews, Jt as rememberRepresentatives, M as representativeOf, ai as seekVideoBy, Dt as selectGroup, Tt as selectRange, Et as selectionSummary, B as setHoverState, wi as settingsPanelApi, Cn as settleImage, gi as showToast, Mi as sidebarApi, me as sidebarHasCatalogContent, ft as sidebarSkeletonHtml, he as sidebarTagCounts, ee as sortDirWord, bi as stageApi, Ke as storeHomeLayout, qe as storeJavLayout, Xe as storePhotoLayout, Ye as storePhotoSize, Je as storeVideoLayout, k as syncBoardRange, se as syncJavImages, Ot as syncSelectionToolbar, rt as toggleDensity, ii as toggleVideoPlayback, dt as transitionTheme, pi as unmountIsland, ui as updateIsland, _n as upgradeCover, Ct as watchJob, Sn as watchPendingImages, je as watchSystemTheme, Pn as wireHover, Wt as wireImageFallbacks, N as withVersion };
+export { bt as ACCENT_CHOICES, We as COVER_FRONT_RATIO, Ae as DEFAULT_SETTINGS, w as DEFAULT_SIDEBAR_ORDER, nn as FACE_CEILING, en as FACE_TARGET, ke as FEED_COMPILATION_KEYS, De as FOLLOW_INITIAL_DAYS, Ve as JAV_LAYOUTS, ae as JAV_RELEASE_SORT, Oe as METADATA_REFRESH_DAYS, tn as MIN_FACE_PX, Ue as PHOTO_LAYOUTS, He as PHOTO_SIZES, Te as SETTINGS_KEY, ie as SORTS, se as SORT_ALIASES, b as SORT_DIR_WORDS, oe as SORT_KEYS, Ee as THEME_CHOICES, Fe as THEME_OPTIONS, st as TILES, dn as advanceImageFallback, T as allowedSetting, D as appSettingsStore, k as applyAccent, dt as applyDensity, _t as applyGlassFaces, gt as applyHomeGlow, Ne as applySyncedSettings, Re as applyTheme, L as avatarFrame, I as avatarInner, ca as batchDockApi, ei as boardPageSkeleton, On as cardArtwork, Mn as cardIdentity, qe as cardLayoutFor, et as cardRatio, ri as catalogEmptyHtml, si as catalogFilterSkeletonHtml, ni as catalogSuggestions, St as chooseAccent, xt as chooseGlowPreset, Qt as clampPage, _i as cleanupSkeletonHtml, Ti as clickPlayerControl, Qn as configureHoverPreview, In as coverAnchor, Rn as coverBackdrop, Vn as coverFace, Tn as coverImage, Bn as coverRatio, F as coverUrl, ct as currentDensity, le as defaultSortDir, jn as detailPosterUrl, $r as detailSkeletonHtml, xn as entityAvatar, bn as entityFaceImg, rr as entitySkeletonHtml, wn as faceBoxAttrs, on as faceFrame, Sn as faceOrigin, Cn as facePos, pn as faceSourceScale, an as faceZoom, R as fitNativeImage, Gt as followJobProgress, Kn as frameCachedImages, yt as glowChips, $e as gridLayout, rn as hasFaceBox, Ke as homeLayout, un as imageFallbackAttrs, Xi as immerseApi, Et as initBoardControls, Xn as installCardArt, Pi as islandMounted, Ai as islandNames, Dn as javArtwork, pe as javImageKind, Ge as javLayout, Ut as jobActivityHtml, wi as junkCountSkeletonHtml, Q as junkPath, bi as junkRoute, sa as loadBatchDock, ua as loadGlowPicker, Yi as loadImmerse, ra as loadManageHeader, Gi as loadSettingsPanel, $i as loadSidebar, Vi as loadStage, _n as logoUrl, ia as manageHeaderApi, Bt as manageHeaderSkeletonHtml, Lt as manageHeaderView, kn as mixFace, Pn as mixLabel, ji as mountIsland, mn as nativeImageFit, ue as nextSortState, je as normalizeAppSettings, S as normalizeJavImage, x as normalizeJavLayout, fe as normalizeJavPreferences, Se as normalizeSidebarOrder, Zt as pageCount, $t as paginationHtml, wt as paintGlowButton, mt as paintHomeGlowNow, pt as paintPhotoSizeButton, he as panelFrame, ln as parseFallbacks, yn as performerLabel, Ze as photoLayout, Xe as photoSize, Pe as postSearchHistoryLimit, Ln as posterPanel, de as preferredDirection, ki as preloadIslands, Nn as queueAvatarHtml, An as queueThumbHtml, Me as readAppSettings, qn as refitNativeImages, Jn as relayoutCovers, _e as relayoutJavImages, tr as releaseHover, er as releaseHoverPreviews, gn as rememberRepresentatives, N as representativeOf, Ct as resetGlowColors, Di as seekVideoBy, Jt as selectGroup, Kt as selectRange, qt as selectionSummary, B as setHoverState, Ki as settingsPanelApi, Gn as settleImage, Ri as showToast, ea as sidebarApi, Ce as sidebarHasCatalogContent, Nt as sidebarSkeletonHtml, we as sidebarTagCounts, ce as sortDirWord, Hi as stageApi, tt as storeHomeLayout, nt as storeJavLayout, at as storePhotoLayout, it as storePhotoSize, rt as storeVideoLayout, A as syncBoardRange, ge as syncJavImages, Yt as syncSelectionToolbar, ft as toggleDensity, Ei as toggleVideoPlayback, Mt as transitionTheme, Fi as unmountIsland, Mi as updateIsland, zn as upgradeCover, Wt as watchJob, Wn as watchPendingImages, Be as watchSystemTheme, Tt as wireGlowButton, nr as wireHover, fn as wireImageFallbacks, P as withVersion };