Skip to content

armgit / peach

Public Imported from GitHub
0

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

refactor(web): 删掉壳里的旧卡片实现,页面断言迁成行为与计算值验收

longmeidaodb7b78dede29
diff --git a/docs/FRONTEND.md b/docs/FRONTEND.md
index 1185153cf..247bfa8e3 100644
--- a/docs/FRONTEND.md
+++ b/docs/FRONTEND.md
@@ -65,6 +65,19 @@ island。原因是那一套一上来就打 `/api/items`,而未配置的机器
- 每份列表是共用的 Mix 卡 `components/mix-card.tsx`:纸边、黑底封面、玻璃徽标、叠放头像,几何写在 `styles.css` 的 `[data-mix-*]`;悬停翻页是 `components/use-stack-flip.ts`,时序同遗留层 `wireStackFlip`,翻页门槛(多选、遮挡、减少动效、滚动中)由壳经 `canFlip` 递进来。
- 改名弹层、换头像与裁剪封面共用 `components/modal-frame.tsx` 的外壳,`form` 档 540px 同 `.geist-modal`。
+### 馆藏网格
+
+目录(`/` 与筛选态、`/trash`)、资料页作品区和详情页的接着看都由 `catalog-grid` island 画(`frontend/src/react/catalog-grid/`)。作品卡是 `components/media-card.tsx`,Mix 卡用播放列表页那张 `components/mix-card.tsx`。三种取数按 `mode` 分:
+
+- `catalog` 挂在 `#grid` 上,筛选态是壳的 `state`,经 `filters` 递进;壳要求重读时走 `loadCatalog`,它把 `revision` 加一,查询换键重取、不重挂。读数行 `#count` 的结构归壳,读数那一格、`#loadSentinel` 的自动续页、Mix 落位、竖屏带与分卷/版次折叠都在岛里。
+- `entity` 挂在资料页作品区的 `[data-entity-grid]` 上:第一页随页头一起取来,作为 `initial`;续页经 `fetchPage` 回到壳的 `fetchEntityItems`。每画一次 `revision` 加一,每次进入各用一把查询键。
+- `items` 挂在 `#nrow` 上:壳手上已有那一批,岛只画卡。
+- 版式、选中态与快进秒数经 `updateIsland` 推进来:换版式只重画,已载入的分页原样保留。`selected` 每次推一个新的 `Set`。
+- 壳在卡上还做三件事:悬停预览(`wireHover`/`releaseHover` 经 `helpers` 递进,状态写在卡的 `data-previewing`/`data-longhover` 上)、封面取景、图片微光(`PENDING_IMAGES` 认 `[data-media-art]>img`)。卡片的结构钩子全是 `data-media-*`;壳插进封面格的 `video.hv`、`img.hvframes` 与封套 `img.poster` 用自己的类名,样式在 `12-cards.css`。
+- 离场:`claimSurface` 卸 `#grid` 与 `#nrow`;资料页作品区整块重写之前先卸(`releaseEntityGrid`);接着看在舞台清场时经 `onStageDispose` 卸。
+- 屏外卡用 `content-visibility` 跳过封面与元信息区的渲染,不做虚拟列表。
+- 单卡写操作都由用户点击触发:稍后看走 `actions.watchLater`,回收站卡的还原走 `actions.resourceOperation`,做完给撤销;彻底删除只在批量条上,先过 `confirmModal` 的危险档。
+
### 产物缓存
产物名字不带内容哈希:引用它的 `web/app.js` 不经过构建,构建时改不了那里的路径。
@@ -101,7 +114,7 @@ URL 都从它来,它被缓存住就没人看得到新产物。
| `09-skeleton.css` | Geist Skeleton 与各页骨架变体 |
| `10-photolight.css` | 灯箱的缩放条、详情、缩略带与窄屏 |
| `11-identity.css` | 身份组、演员与系列链接、重复项、质量清单、复核对照 |
-| `12-cards.css` | 主区网格与卡片,含悬停预览、密度、短片带 |
+| `12-cards.css` | 壳自己画的卡片(垃圾文件、关注、新作)、悬停预览层与密度 |
| `13-stage.css` | 就地展开的舞台与 Mix 队列 |
| `14-player.css` | video.js 定制、播放统计、播放器的脱盘占位 |
| `15-detail.css` | 详情侧栏、标签选择器、反馈条、相关推荐 |
diff --git a/docs/PRODUCT_BACKLOG.md b/docs/PRODUCT_BACKLOG.md
index 5f72e1194..07b7c5c36 100644
--- a/docs/PRODUCT_BACKLOG.md
+++ b/docs/PRODUCT_BACKLOG.md
@@ -6,14 +6,14 @@
还没迁到 React 的页面仍在 `web/app.js`。迁移按 [ADR-0031](adr/0031-frontend-react-boardui-tailwind.md) 逐页改写成 React + Tailwind v4 + BoardUI 原版源码:每次一到两个页面、独立分支集成,旧渲染函数、旧 CSS 与旧断言随页面一起删。控件映射见 [Board 适配](BOARD_UI.md)。迁移不包含版本号或其他分支发布工作。
-- 前端基础库随页面引入,取舍与时机见 ADR-0031「前端基础库」一节。TanStack Query 与 TanStack Table 已在用;React Router 在外壳与路由迁移那一步接管;TanStack Virtual 等馆藏网格迁到 React 时按实测决定。
+- 前端基础库随页面引入,取舍与时机见 ADR-0031「前端基础库」一节。TanStack Query 与 TanStack Table 已在用;React Router 在外壳与路由迁移那一步接管;馆藏网格已在 React 里、不用 TanStack Virtual,屏外卡靠 `content-visibility` 跳过渲染;要不要上虚拟列表按下一条的实测决定。
- `bg-card-footer` 与 `bg-card-hover` 取的是 `.peach-react` 里的真值,数据管理页整理卡、统计、活动、关注管理与设置的卡片页脚带都有底色,这几页还要逐页截图核对。
- 索引页取 BoardUI 的控件尺寸:过滤框 36px 高、底色与边框是 BoardUI 输入框那一档,遗留页的 Geist 搜索框是 38px;版式切换 66px 宽,遗留页的同类开关是 78px;名册格悬停掺 5% 主文字色,资料页名册格掺 6%。读数的逐位滚动(遗留层 `popCount`)、骨架换内容的淡入(`revealSkeleton`)与版式切换的弹簧滑块还没接进 React 那一侧。
- React 子树深色下的次要文字取 BoardUI 的 neutral-500(115),遗留页的 `--muted`、`--ink-2` 是 163 与 212。已迁各页都是这一档,要不要把 `text-secondary` 调亮是一次全局决定,不在单页里改。
- Remix Icon 候选在预览页 `/icon-review.html` 审查,用户筛选完之前保留现有已选图标。
- 安装后教程:右下角那张卡和清单渲染仍在 `web/app.js`,状态层(三个本地键、签名、请求代际)已在 `web/js/ui-components.js`。迁移时整块接管渲染,删掉遗留那一段。
-- 厂牌资料页视频视图卡片多时(如 Prestige,339 张卡),侧栏展开那一帧最长约 37ms。屏外卡已跳过封面与元信息区的渲染,剩下的开销在卡片盒本身的排版,这几页迁往 React 时用虚拟列表一起处理。
-- 首页 Mix 卡仍是遗留层 `mixCardHtml` 加 `wireStackFlip`,迁 React 时换用播放列表页那张 `components/mix-card.tsx`,翻的图由调用方现拉相关作品。资料页照片集卡(`.photosets`)仍借 `.playlistcard` 的遗留卡面,迁移时一并换掉,再删 `12-cards.css` 里那几条。
+- 厂牌资料页视频视图卡片多时(如 Prestige,339 张卡),侧栏展开那一帧最长约 37ms。屏外卡已跳过封面与元信息区的渲染,剩下的开销在卡片盒本身的排版;作品区已在 `catalog-grid` island 里,要上虚拟列表就在岛里做。
+- 资料页照片集卡(`.photosets`)仍借 `.playlistcard` 的遗留卡面,迁移时换掉,再删 `12-cards.css` 里那几条。
## 已有骨架、尚未完成(7 项)
diff --git a/frontend/e2e/design.test.ts b/frontend/e2e/design.test.ts
index 207ebcfe6..f844c8626 100644
--- a/frontend/e2e/design.test.ts
+++ b/frontend/e2e/design.test.ts
@@ -1077,9 +1077,9 @@ describe('设计决定', () => {
});
try {
await opened.page.emulateMedia({ reducedMotion: 'no-preference' });
- const stack = opened.page.locator('.card[data-id] .mavstack').first();
+ const stack = opened.page.locator('[data-media-card][data-id] [data-media-avatars]').first();
await stack.waitFor({ timeout: 5_000 });
- const avatars = stack.locator('.mav');
+ const avatars = stack.locator('[data-media-avatar]');
assert.equal(await avatars.count(), 5, 'API 给七位表演者时卡片没有收在五枚以内');
const before = await avatars.evaluateAll((items) => items.map((item) => item.getBoundingClientRect().x));
const left = (await stack.boundingBox())!.x;
@@ -1098,11 +1098,11 @@ describe('设计决定', () => {
await avatars.nth(2).hover();
await waitForAvatarMotion();
const after = await avatars.evaluateAll((items) => items.map((item) => item.getBoundingClientRect().x));
- const card = stack.locator('xpath=ancestor::*[contains(concat(" ", normalize-space(@class), " "), " card ")]').first();
+ const card = stack.locator('xpath=ancestor::article[@data-media-card]').first();
const bounds = await card.evaluate((cardElement) => {
- const stackRect = cardElement.querySelector('.mavstack')!.getBoundingClientRect();
- const lastRect = cardElement.querySelector('.mav:last-child')!.getBoundingClientRect();
- const firstRect = cardElement.querySelector('.mav')!.getBoundingClientRect();
+ const stackRect = cardElement.querySelector('[data-media-avatars]')!.getBoundingClientRect();
+ const lastRect = cardElement.querySelector('[data-media-avatar]:last-child')!.getBoundingClientRect();
+ const firstRect = cardElement.querySelector('[data-media-avatar]')!.getBoundingClientRect();
const cardRect = cardElement.getBoundingClientRect();
return {
stackLeft: stackRect.left,
@@ -1137,8 +1137,8 @@ describe('设计决定', () => {
await waitForAvatarMotion();
const narrow = await card.evaluate((cardElement) => {
const cardRect = cardElement.getBoundingClientRect();
- const firstRect = cardElement.querySelector('.mav')!.getBoundingClientRect();
- const lastRect = cardElement.querySelector('.mav:last-child')!.getBoundingClientRect();
+ const firstRect = cardElement.querySelector('[data-media-avatar]')!.getBoundingClientRect();
+ const lastRect = cardElement.querySelector('[data-media-avatar]:last-child')!.getBoundingClientRect();
let clip: Element | null = cardElement.parentElement;
while (clip && clip !== document.documentElement) {
const style = getComputedStyle(clip);
@@ -1247,7 +1247,7 @@ describe('设计决定', () => {
Object.assign(payload.items[0], { is_jav: true, code: 'ABC-123', display_code: 'ABC-123', has_cover: true });
});
const { page } = opened;
- const ratio = (index: number) => page.locator('#grid article.card[data-id]').nth(index).locator('.pic')
+ const ratio = (index: number) => page.locator('#grid [data-media-grid] > [data-media-card][data-id]').nth(index).locator('[data-media-pic]')
.evaluate((element) => element.getBoundingClientRect().width / element.getBoundingClientRect().height);
const choice = (value: string) => page.locator(`#count input[name="home-layout"][value="${value}"]`);
try {
@@ -1267,8 +1267,8 @@ describe('设计决定', () => {
it('卡片悬停反馈不在封面像素上描边', { timeout: 60_000 }, async () => {
const opened = await openCatalog(browser);
try {
- const card = opened.page.locator('article.card:not(.junkcard)').first();
- const picture = card.locator('.pic');
+ const card = opened.page.locator('#grid [data-media-card]').first();
+ const picture = card.locator('[data-media-pic]');
await card.hover();
const overlay = await picture.evaluate((element) => {
const style = getComputedStyle(element, '::after');
@@ -1278,13 +1278,146 @@ describe('设计决定', () => {
assert.equal(overlay.borderWidth, '0px', '悬停边线仍污染圆角边缘像素');
assert.match(await card.evaluate((element) => getComputedStyle(element).boxShadow),
/0px 0px 0px 8px/, '悬停底色没有在卡片四周向外多铺 8px');
- assert.equal(await card.locator('.later-tools').evaluate(
+ assert.equal(await card.locator('[data-media-later]').evaluate(
(element) => getComputedStyle(element).opacity), '1', '移除描边后没有保留悬停反馈');
} finally {
await opened.close();
}
});
+ it('馆藏卡片的字取页面正文那一档,角标、悬停控件、进度条、竖屏带、Mix 与回收站卡面按定下的样子画', { timeout: 90_000 }, async () => {
+ /* 演示库凑不出回收站里的非视频资源:回收站那一页把第二条换成一个压缩包。
+ 目录那一页给前三条挂半程观看进度,量进度条的颜色。 */
+ const opened = await openCatalogFixture(browser, (payload, url) => {
+ if (url.searchParams.get('state') !== 'trash') {
+ for (const item of payload.items.slice(0, 3)) Object.assign(item, { duration: 600, play_seconds: 300 });
+ return;
+ }
+ const item = payload.items[1];
+ if (!item) throw new Error('演示目录不够两条');
+ Object.assign(item, { medium: 'archive', name: '演示资料.zip', disposal: 'trash' });
+ payload.items[0].disposal = 'trash';
+ });
+ const { page } = opened;
+ /* 岛根是 `line-height:1.5`,卡里没写行高的格子会继承它;旧卡读的是页面正文 14px/20px。
+ 取值用同一个岛根下的空元素量 token,不在断言里抄像素。 */
+ const readStyles = (selectors: Record<string, string>) => page.evaluate((wanted) => {
+ const root = document.querySelector('#grid .peach-react')!;
+ const pick = (element: Element | null) => {
+ if (!element) return null;
+ const style = getComputedStyle(element);
+ return { fontSize: style.fontSize, lineHeight: style.lineHeight, fontFamily: style.fontFamily,
+ letterSpacing: style.letterSpacing, minHeight: style.minHeight, padding: style.padding,
+ display: style.display, place: `${style.alignItems} ${style.justifyItems}`, color: style.color,
+ background: style.backgroundColor, borderWidth: style.borderTopWidth, borderColor: style.borderTopColor,
+ leftRadius: style.borderTopLeftRadius, width: style.width, opacity: style.opacity };
+ };
+ const probe = (css: string) => {
+ const element = document.createElement('div');
+ element.style.cssText = css;
+ root.append(element);
+ const value = pick(element)!;
+ element.remove();
+ return value;
+ };
+ return {
+ body: probe('font: var(--board-body)'), caption: probe('font: var(--board-caption)'),
+ md: probe('font-size: var(--fs-md)'), muted: probe('color: var(--muted)'), text: probe(''),
+ ground: probe('background: var(--ground)'), tungsten: probe('background: var(--tungsten)'),
+ overlay: probe('background: var(--overlay-5); border: 1px solid var(--border-10)'),
+ ...Object.fromEntries(Object.entries(wanted).map(([key, selector]) => [key, pick(root.querySelector(selector))])),
+ };
+ }, selectors);
+ try {
+ await page.locator('#grid [data-shorts-strip]').first().waitFor({ timeout: 10_000 });
+ await page.locator('#grid [data-media-grid] > [data-media-card] [data-media-progress]').first().waitFor({ timeout: 10_000 });
+ const catalog = await readStyles({
+ card: '[data-media-grid] > [data-media-card]',
+ badge: '[data-media-grid] > [data-media-card] [data-media-badge]',
+ shorts: '[data-shorts-strip] > h2',
+ mix: '[data-media-grid] > [data-mix-card]',
+ mixTitle: '[data-media-grid] > [data-mix-card] [data-mix-title]',
+ mixGlyph: '[data-media-grid] > [data-mix-card] [data-mix-glyph]',
+ strip: '[data-shorts-strip]',
+ progress: '[data-media-grid] > [data-media-card] [data-media-progress] > i',
+ seekGlyph: '[data-media-grid] > [data-media-card] [data-media-seek] svg',
+ laterButton: '[data-media-grid] > [data-media-card] [data-media-later] button',
+ laterGlyph: '[data-media-grid] > [data-media-card] [data-media-later] svg',
+ });
+ const { body, caption, md, card, badge, shorts, mix, mixTitle } = catalog;
+ /* 竖屏带靠底色和网格区分,不描线;宽屏上往左铺过侧栏轨道,贴视口那一侧不留圆角。 */
+ assert.deepEqual([catalog.strip?.background, catalog.strip?.borderWidth], [catalog.ground.background, '0px'],
+ '竖屏带不是页面底色那一张面,或者描了一圈线');
+ assert.equal(catalog.strip?.leftRadius, '0px', '宽屏上竖屏带贴视口的那一侧还留着圆角');
+ const edges = await page.evaluate(() => ({
+ strip: document.querySelector('#grid [data-shorts-strip]')!.getBoundingClientRect().left,
+ grid: document.querySelector('#grid [data-media-grid]')!.getBoundingClientRect().left,
+ }));
+ assert.ok(edges.strip < edges.grid, `竖屏带左缘 ${edges.strip} 没有越过网格左缘 ${edges.grid} 铺到侧栏底下`);
+ /* 沉浸模式是一叠竖着翻的卡,入口用叠卡那一枚字形,不和别的动作共用。 */
+ assert.equal(await page.locator('#grid [data-shorts-enter] svg use').first().getAttribute('href'), '#i-gallery-vertical-end',
+ '竖屏带的「进入沉浸模式」换了字形');
+ assert.equal(catalog.progress?.background, catalog.tungsten.background, '观看进度条不是钨丝蓝');
+ assert.deepEqual([catalog.mixGlyph?.background, catalog.mixGlyph?.borderWidth, catalog.mixGlyph?.borderColor],
+ [catalog.overlay.background, '1px', catalog.overlay.borderColor], 'Mix 署名位那枚字形不是半透明底加细边');
+ /* 居中的快退快进和右下角「稍后看」是同一种控件,只是尺寸不同:58px 配 34px 图标,36px 配 21px。 */
+ assert.deepEqual([catalog.seekGlyph?.width, catalog.laterButton?.width, catalog.laterGlyph?.width], ['34px', '36px', '21px'],
+ '悬停控件的尺寸和图标比例变了');
+ const denseShort = await page.evaluate(() => {
+ document.body.dataset.density = 'dense';
+ const width = getComputedStyle(document.querySelector('#grid [data-shorts-strip] [data-media-card]')!).width;
+ delete document.body.dataset.density;
+ return width;
+ });
+ assert.equal(denseShort, '107px', '密集模式下竖屏带里的卡没有跟着缩到 214px 的一半');
+ assert.deepEqual([card?.fontSize, card?.lineHeight], ['14px', '20px'], '作品卡的字不是页面正文那一档,岛根的 1.5 行高漏了进来');
+ assert.deepEqual([badge?.fontSize, badge?.lineHeight], [caption.fontSize, caption.lineHeight], '来源角标的字不是 caption 那一档');
+ assert.equal(badge?.minHeight, '24px', '来源角标矮于 24px');
+ assert.deepEqual([shorts?.fontFamily, shorts?.lineHeight], [body.fontFamily, '20px'], '竖屏带标题的字体或行高不同页面正文');
+ assert.ok(mix && mixTitle, '夹具目录里没有插进 Mix');
+ assert.deepEqual([mix.fontSize, mix.lineHeight], ['14px', '20px'], '网格里的 Mix 卡没取页面正文那一档');
+ assert.equal(mixTitle.letterSpacing, 'normal', '网格里的 Mix 标题带着字距');
+ assert.ok(Math.abs(parseFloat(mixTitle.lineHeight) - parseFloat(md.fontSize) * 1.45) < .5,
+ `网格里的 Mix 标题行高 ${mixTitle.lineHeight},不是 --fs-md 的 1.45 倍`);
+
+ await page.goto(new URL('/trash', page.url()).href, { waitUntil: 'load' });
+ await page.locator('#grid [data-media-card][data-variant="resource"]').first().waitFor({ timeout: 15_000 });
+ await settle(page);
+ const trash = await readStyles({
+ meta: '[data-media-grid] > [data-media-card] [data-media-meta]',
+ glyph: '[data-variant="resource"] [data-media-glyph]',
+ kind: '[data-variant="resource"] [data-media-kind-glyph]',
+ });
+ assert.equal(trash.meta?.padding, '8px', '回收站卡的元信息区不是网格卡那 8px 内边距');
+ assert.deepEqual([trash.glyph?.display, trash.glyph?.place, trash.glyph?.color], ['grid', 'center center', trash.muted.color],
+ '回收站资源卡封面格里的字形没有居中或不是次要文字色');
+ assert.deepEqual([trash.kind?.display, trash.kind?.place, trash.kind?.color], ['grid', 'center center', trash.text.color],
+ '回收站资源卡头像位的字形没有居中或不是正文色');
+ /* 悬停扫视层是壳插进封面格的 `img.hvframes`:待删卡的灰化要连它一起,否则悬停时整卡「复活」成正常色。 */
+ const scan = await page.locator('#grid [data-media-card][data-pending-delete]:not([data-variant="resource"]) [data-media-pic]')
+ .first().evaluate((pic) => {
+ const layer = document.createElement('img');
+ layer.className = 'hvframes';
+ pic.append(layer);
+ const filter = getComputedStyle(layer).filter;
+ layer.remove();
+ return filter;
+ });
+ assert.match(scan, /grayscale\(0\.9\)/, '待删卡的悬停扫视层没有跟着灰化');
+ /* 待删卡整块压暗:元信息区降透明度,封面两侧那层模糊垫底也要重写一遍 blur 再灰化,
+ `filter` 不叠加,只写灰化会把模糊冲掉。 */
+ const pending = await page.locator('#grid [data-media-card][data-pending-delete]:not([data-variant="resource"])')
+ .first().evaluate((card) => ({
+ meta: getComputedStyle(card.querySelector('[data-media-meta]')!).opacity,
+ backdrop: getComputedStyle(card.querySelector('[data-media-pic]')!, '::before').filter,
+ }));
+ assert.equal(pending.meta, '0.58', '待删卡的元信息区没有压暗');
+ assert.match(pending.backdrop, /blur\(26px\) grayscale\(0\.9\) brightness\(0\.27\)/, '待删卡封面两侧的模糊垫底没有跟着灰化');
+ } finally {
+ await opened.close();
+ }
+ });
+
it('分卷卡不翻卡、悬停走分段预览,叠层纸边和封面同一档圆角', { timeout: 60_000 }, async () => {
/* 各卷共用同一个番号的封套,翻过去还是那张图。演示库没有分卷,给首张卡挂一个。 */
const opened = await openCatalogFixture(browser, (payload) => {
@@ -1295,25 +1428,26 @@ describe('设计决定', () => {
});
try {
const shapeOf = (selector: string) => opened.page.locator(selector).first().evaluate((element) => {
- const stack = element.querySelector('.partstack,.mixstack')!;
+ const stack = element.querySelector('[data-media-stack],[data-mix-stack]')!;
+ const cover = element.querySelector('[data-media-pic],[data-mix-cover]')!;
return {
- cover: getComputedStyle(element.querySelector('.pic')!).borderTopLeftRadius,
- ground: getComputedStyle(element.querySelector('.pic')!).backgroundColor,
+ cover: getComputedStyle(cover).borderTopLeftRadius,
+ ground: getComputedStyle(cover).backgroundColor,
layers: ['::before', '::after'].map((pseudo) => getComputedStyle(stack, pseudo).borderTopLeftRadius),
faces: element.querySelectorAll('[data-mix-faces]').length,
- preview: Boolean(element.querySelector('.previewcounter')),
+ preview: Boolean(element.querySelector('[data-media-preview]')),
};
});
- await opened.page.locator('article.card.partcard').first().waitFor({ timeout: 10_000 });
- const part = await shapeOf('article.card.partcard');
+ await opened.page.locator('[data-media-card][data-part-seed]').first().waitFor({ timeout: 10_000 });
+ const part = await shapeOf('[data-media-card][data-part-seed]');
assert.notEqual(part.cover, '0px', '封面没有圆角,比对失去意义');
assert.deepEqual(part.layers, [part.cover, part.cover], '分卷卡的叠层纸边和封面不是同一档圆角');
// 封面格背后压着纸边:格子是空的,纸边线条就从封面没盖住的地方透出来。
assert.notEqual(part.ground, 'rgba(0, 0, 0, 0)', '叠层卡的封面格是透明的,纸边会透进封面');
assert.equal(part.faces, 0, '分卷卡仍挂着翻卡面板');
assert.ok(part.preview, '分卷卡悬停没有分段预览入口');
- if (await opened.page.locator('article.mixcard').count()) {
- const mix = await shapeOf('article.mixcard');
+ if (await opened.page.locator('#grid [data-mix-card]').count()) {
+ const mix = await shapeOf('#grid [data-mix-card]');
assert.deepEqual(mix.layers, [mix.cover, mix.cover], 'Mix 卡的叠层纸边和封面不是同一档圆角');
}
assert.deepEqual(opened.problems, []);
@@ -1344,8 +1478,8 @@ describe('设计决定', () => {
payload.items[0] = { ...payload.items[0], tags: ['演示标签'] };
});
try {
- const card = opened.page.locator('article.card[data-id]').first();
- const opener = card.locator('.cardopenhit');
+ const card = opened.page.locator('#grid [data-media-card][data-id]').first();
+ const opener = card.locator('[data-media-open]');
const boxes = await Promise.all([card.boundingBox(), opener.boundingBox()]);
assert.deepEqual(boxes[1], boxes[0], '全卡入口没有覆盖图片、文字与卡内空白');
await card.hover();
@@ -1358,7 +1492,7 @@ describe('设计决定', () => {
assert.ok((narrow[0]?.x || 0) >= 0 && (narrow[0]?.x || 0) + (narrow[0]?.width || 0) <= 390,
'390px 下视频卡越出视口');
- const nested = card.locator('.tg:not(:disabled)').first();
+ const nested = card.locator('[data-media-tag]:not(:disabled)').first();
const tag = await nested.getAttribute('data-tag');
assert.ok(tag, '演示卡没有可操作的内部标签');
await nested.focus();
@@ -1385,7 +1519,7 @@ describe('设计决定', () => {
/* 目录网格画出来时 paintSelection 已经按当前页收好批量条的按钮;教程卡取数期间的
占位带 aria-busy,settle 等到的是最终那张卡。 */
await expectBody(opened.page, '/', [
- opened.page.locator('article.card[data-id]').first(),
+ opened.page.locator('#grid [data-media-card][data-id]').first(),
opened.page.locator('#postSetupTutorial .post-setup-notification'),
]);
await settle(opened.page);
@@ -2511,7 +2645,7 @@ describe('设计决定', () => {
try {
const page = opened.page;
const kinds = await stubSuggest(page);
- await expectBody(page, '/', [page.locator('article.card[data-id]').first()]);
+ await expectBody(page, '/', [page.locator('#grid [data-media-card][data-id]').first()]);
await settle(page);
if (viewport.mobile) await page.locator('#searchBtn').click();
await page.locator('#q').fill(SUGGEST.q);
@@ -2580,7 +2714,7 @@ describe('设计决定', () => {
try {
const page = opened.page;
await stubSuggest(page);
- await expectBody(page, '/', [page.locator('article.card[data-id]').first()]);
+ await expectBody(page, '/', [page.locator('article[data-media-card][data-id]').first()]);
await settle(page);
await page.locator('#q').fill(SUGGEST.q);
const menu = page.locator('#searchMenu');
@@ -2613,7 +2747,7 @@ describe('设计决定', () => {
const history = Array.from({ length: 10 }, (_, at) => `搜索记录 ${at + 1}`);
await page.route(/\/api\/search-history\?/, (route) => route.fulfill({ json: { items: history } }));
await page.reload({ waitUntil: 'load' });
- await expectBody(page, '/', [page.locator('article.card[data-id]').first()]);
+ await expectBody(page, '/', [page.locator('article[data-media-card][data-id]').first()]);
await settle(page);
await page.locator('#q').click();
await page.locator('#searchMenu .searchresults[data-split]').waitFor({ state: 'visible', timeout: 5_000 });
@@ -2872,14 +3006,14 @@ describe('设计决定', () => {
it('卡片悬停面不顶到邻卡,三处卡片网格同一副列距', { timeout: 60_000 }, async () => {
const opened = await openCatalog(browser);
try {
- const card = opened.page.locator('#grid .grid > article.card').first();
+ const card = opened.page.locator('#grid [data-media-grid] > [data-media-card]').first();
await card.hover();
const geometry = await card.evaluate((element) => {
const box = element.getBoundingClientRect();
const neighbor = [...element.parentElement!.children].find((other) => other !== element
&& Math.abs(other.getBoundingClientRect().top - box.top) < 1)!;
const spread = Number(/0px 0px 0px (\d+(?:\.\d+)?)px/.exec(getComputedStyle(element).boxShadow)?.[1]);
- // 人物页的作品网格和关注页的视频列表不在首页这叠卡里:各挂一个同类名的空壳读列距。
+ // 壳画的骨架网格和关注页的视频列表不在首页这叠卡里:各挂一个同类名的空壳读列距。
const columnGap = (className: string) => {
const probe = document.createElement('div');
probe.className = className;
@@ -2891,13 +3025,13 @@ describe('设计决定', () => {
return {
spread, clearance: neighbor.getBoundingClientRect().left - (box.right + spread),
home: parseFloat(getComputedStyle(element.parentElement!).columnGap),
- entity: columnGap('grid'), follow: columnGap('followlist'),
+ skeleton: columnGap('grid'), follow: columnGap('followlist'),
};
});
assert.ok(geometry.spread > 0, '卡片悬停面没有往盒外铺');
assert.ok(geometry.clearance >= geometry.spread,
`悬停面离邻卡只剩 ${geometry.clearance}px,比它自己往外铺的 ${geometry.spread}px 还窄`);
- assert.equal(geometry.entity, geometry.home, '人物页作品网格的列距和首页不一样');
+ assert.equal(geometry.skeleton, geometry.home, '壳画的骨架网格的列距和首页不一样,真卡换上来时整排挪位');
assert.equal(geometry.follow, geometry.home, '关注页视频列表的列距和首页不一样');
assert.deepEqual(opened.problems, []);
} finally {
@@ -2920,9 +3054,9 @@ describe('设计决定', () => {
几何照算,所以这里比的是描边外沿与 padding box,不是与内容盒。头像贴着内容盒的
左缘和上缘。这条不读 `overflow-clip-margin`:Safari 不认它,裁切边只能靠盒子本身。 */
const { page } = opened;
- const avatar = page.locator('#grid .grid > article.card .meta > button.mav').first();
+ const avatar = page.locator('#grid [data-media-grid] > [data-media-card] [data-media-meta] > button[data-media-avatar]').first();
const edges = () => avatar.evaluate((element) => {
- const meta = element.closest('.meta')!;
+ const meta = element.closest('[data-media-meta]')!;
const style = getComputedStyle(element);
const shadow = Number(/0px 0px 0px (\d+(?:\.\d+)?)px/.exec(style.boxShadow)?.[1] ?? 0);
const outline = style.outlineStyle === 'none' ? 0
diff --git a/frontend/e2e/offscreen-cards.test.ts b/frontend/e2e/offscreen-cards.test.ts
index f8d0b49a9..04c072b5a 100644
--- a/frontend/e2e/offscreen-cards.test.ts
+++ b/frontend/e2e/offscreen-cards.test.ts
@@ -15,6 +15,24 @@ const CLONES = 150;
const CLONE_BASE = 900_000;
const PROBE_TAG = '屏外探针';
+/** 卡片里各块的选择器。作品卡归 `catalog-grid` island,钩子是 `data-media-*`;关注卡仍是壳画的。 */
+interface CardShape {
+ card: string; pic: string; meta: string; avatar: string; text: string; tags: string;
+ avatarButton: string; tagButton: string;
+}
+const MEDIA: CardShape = {
+ card: '[data-media-card]', pic: '[data-media-pic]', meta: '[data-media-meta]', avatar: '[data-media-avatar]',
+ text: '[data-media-text]', tags: '[data-media-tags]',
+ avatarButton: '[data-media-meta]>button[data-media-avatar]', tagButton: '[data-media-tags]>button[data-media-tag]',
+};
+const FOLLOW: CardShape = {
+ card: '.card', pic: '.pic', meta: '.meta', avatar: '.mav', text: '.mtext', tags: '.ctags',
+ avatarButton: '.meta>button.mav', tagButton: '.ctags>button.tg',
+};
+const CATALOG_CARDS = '#grid [data-media-grid]>[data-media-card]';
+const ENTITY_CARDS = '#index [data-entity-grid] [data-media-grid]>[data-media-card]';
+const FOLLOW_CARDS = '.followlist>.card';
+
interface CatalogPayload {
total: number;
items: Array<Record<string, unknown>>;
@@ -63,8 +81,8 @@ async function openLongCatalog(browser: Browser, density = 'big'): Promise<Visit
await serveLongItems(page);
await page.evaluate((value) => localStorage.setItem('density', value), density);
await page.reload({ waitUntil: 'load' });
- await page.waitForFunction((count) => document.querySelectorAll('#grid .card').length >= count, CLONES,
- { timeout: 15_000 });
+ await page.waitForFunction(([selector, count]) => document.querySelectorAll(selector).length >= count,
+ [CATALOG_CARDS, CLONES] as const, { timeout: 15_000 });
await settle(page);
return opened;
}
@@ -82,8 +100,8 @@ async function openLongEntity(browser: Browser): Promise<Visit> {
} }));
await serveLongItems(page);
await page.goto(new URL(`/performers/${encodeURIComponent(name)}`, page.url()).href, { waitUntil: 'load' });
- await page.waitForFunction((count) => document.querySelectorAll('.entitysection>.grid>.card').length >= count,
- CLONES, { timeout: 15_000 });
+ await page.waitForFunction(([selector, count]) => document.querySelectorAll(selector).length >= count,
+ [ENTITY_CARDS, CLONES] as const, { timeout: 15_000 });
await settle(page);
return opened;
}
@@ -119,8 +137,8 @@ async function openLongFollow(browser: Browser): Promise<Visit> {
await page.route(/\/api\/follow(\?|$)/, (route) => route.fulfill({ status: 200, contentType: 'application/json',
body: JSON.stringify(body) }));
await page.goto(new URL('/follow', page.url()).toString(), { waitUntil: 'load' });
- await page.waitForFunction((count) => document.querySelectorAll('.followlist>.card').length >= count, CLONES,
- { timeout: 15_000 });
+ await page.waitForFunction(([selector, count]) => document.querySelectorAll(selector).length >= count,
+ [FOLLOW_CARDS, CLONES] as const, { timeout: 15_000 });
await settle(page);
return opened;
}
@@ -153,15 +171,15 @@ describe('视口外的卡片', () => {
});
for (const [where, open, selector] of [
- ['馆藏', openLongCatalog, '#grid .card'],
- ['女优资料页', openLongEntity, '.entitysection>.grid>.card'],
+ ['馆藏', openLongCatalog, CATALOG_CARDS],
+ ['女优资料页', openLongEntity, ENTITY_CARDS],
] as const) {
it(`${where}:跳过封面与元信息区的渲染,Ctrl+F 仍找得到屏外卡里的字`, { timeout: 60_000 }, async () => {
const opened = await open(browser);
try {
- const state = await opened.page.evaluate(([tag, cardSelector]) => {
+ const state = await opened.page.evaluate(([tag, cardSelector, shape]) => {
const last = [...document.querySelectorAll<HTMLElement>(cardSelector)].at(-1)!;
- const parts = [last.querySelector('.pic')!, last.querySelector('.meta')!];
+ const parts = [last.querySelector(shape.pic)!, last.querySelector(shape.meta)!];
// 跳过的是元素的内容,元素自己仍在排版里:查它的第一个子元素。
const skipped = parts.map((part) => !part.firstElementChild!.checkVisibility({ contentVisibilityAuto: true }));
const box = last.getBoundingClientRect();
@@ -179,7 +197,7 @@ describe('视口外的卡片', () => {
skipped, below: box.top - innerHeight, height: box.height,
hits, inLast: !!hit && last.contains(hit),
};
- }, [PROBE_TAG, selector] as const);
+ }, [PROBE_TAG, selector, MEDIA] as const);
assert.deepEqual(state.values, ['auto', 'auto'], '屏外卡的封面和元信息区没有交给浏览器按视口取舍');
assert.ok(state.below > 1000, `最后一张卡离视口只有 ${state.below}px,放大的列表不够长`);
assert.deepEqual(state.skipped, [true, true], '屏外卡的封面或元信息区仍在渲染');
@@ -192,25 +210,25 @@ describe('视口外的卡片', () => {
});
}
- for (const [where, open, selector] of [
- ['馆藏', openLongCatalog, '#grid .card'],
- ['馆藏密集一档', (b: Browser) => openLongCatalog(b, 'dense'), '#grid .card'],
- ['女优资料页', openLongEntity, '.entitysection>.grid>.card'],
- ['关注', openLongFollow, '.followlist>.card'],
+ for (const [where, open, selector, shape] of [
+ ['馆藏', openLongCatalog, CATALOG_CARDS, MEDIA],
+ ['馆藏密集一档', (b: Browser) => openLongCatalog(b, 'dense'), CATALOG_CARDS, MEDIA],
+ ['女优资料页', openLongEntity, ENTITY_CARDS, MEDIA],
+ ['关注', openLongFollow, FOLLOW_CARDS, FOLLOW],
] as const) {
it(`${where}:长距离往返之后整页高度和深处那张卡的位置不跳,屏外量到的几何与渲染后一致`, { timeout: 90_000 }, async () => {
const opened = await open(browser);
try {
const { page } = opened;
- const measure = () => page.evaluate((cardSelector) => {
+ const measure = () => page.evaluate(([cardSelector, metaSelector]) => {
const cards = [...document.querySelectorAll(cardSelector)];
const deep = cards[Math.floor(cards.length * .8)];
return { height: document.documentElement.scrollHeight,
deep: deep.getBoundingClientRect().top + scrollY, y: scrollY,
view: deep.getBoundingClientRect().top,
- skipping: getComputedStyle(deep.querySelector('.meta')!).contentVisibility,
- meta: deep.querySelector('.meta')!.getBoundingClientRect().height };
- }, selector);
+ skipping: getComputedStyle(deep.querySelector(metaSelector)!).contentVisibility,
+ meta: deep.querySelector(metaSelector)!.getBoundingClientRect().height };
+ }, [selector, shape.meta] as const);
/* 首屏之外的卡此刻都没渲染过,高度全按估计值;往返一趟之后每张都记住了自己的实际
尺寸。两次量到的差就是估计值的误差,一行差一点,累积到深处就是滚动条在跳。 */
const fresh = await measure();
@@ -245,11 +263,11 @@ describe('视口外的卡片', () => {
}
/* 关注卡的头像和标签是 `<span>`,不可聚焦,焦点环那一半只在作品卡上查。 */
- for (const [where, open, selector, focusable] of [
- ['馆藏', openLongCatalog, '#grid .card', true],
- ['馆藏密集一档', (b: Browser) => openLongCatalog(b, 'dense'), '#grid .card', true],
- ['女优资料页', openLongEntity, '.entitysection>.grid>.card', true],
- ['关注', openLongFollow, '.followlist>.card', false],
+ for (const [where, open, selector, shape, focusable] of [
+ ['馆藏', openLongCatalog, CATALOG_CARDS, MEDIA, true],
+ ['馆藏密集一档', (b: Browser) => openLongCatalog(b, 'dense'), CATALOG_CARDS, MEDIA, true],
+ ['女优资料页', openLongEntity, ENTITY_CARDS, MEDIA, true],
+ ['关注', openLongFollow, FOLLOW_CARDS, FOLLOW, false],
] as const) {
it(`${where}:元信息区垫出的裁切余量不改排版、不接指针,头像和标签的焦点环整圈可见`, { timeout: 60_000 }, async () => {
const opened = await open(browser);
@@ -260,7 +278,7 @@ describe('视口外的卡片', () => {
同一行里最高的那张卡,内容盒下面到卡片下缘(关注卡是到 `.fstate`)不留空,卡高
于是仍是封面、行距与内容三项之和。头像和文字列贴着内容盒。垫出去的那一圈伸出
卡片盒,指针落在那里不能算进这张卡。 */
- const frames = await page.evaluate((cardSelector) => {
+ const frames = await page.evaluate(([cardSelector, parts]) => {
const inFlow = (element: Element | null, step: 'previousElementSibling' | 'nextElementSibling') => {
let node = element?.[step] ?? null;
while (node && getComputedStyle(node).position === 'absolute') node = node[step];
@@ -268,9 +286,9 @@ describe('视口外的卡片', () => {
};
return [...document.querySelectorAll(cardSelector)].filter((card) => {
const box = card.getBoundingClientRect();
- return card.querySelector(':scope>.meta') && box.top >= 0 && box.bottom <= innerHeight;
+ return card.querySelector(`:scope>${parts.meta}`) && box.top >= 0 && box.bottom <= innerHeight;
}).map((card) => {
- const meta = card.querySelector(':scope>.meta')!;
+ const meta = card.querySelector(`:scope>${parts.meta}`)!;
const style = getComputedStyle(meta);
const border = meta.getBoundingClientRect();
const content = {
@@ -286,12 +304,12 @@ describe('视口外的卡片', () => {
const below = inFlow(meta, 'nextElementSibling');
const floor = below ? below.getBoundingClientRect().top - gap
: cardBox.bottom - parseFloat(cardStyle.paddingBottom);
- const mav = meta.querySelector(':scope>.mav')?.getBoundingClientRect();
- const mtext = meta.querySelector(':scope>.mtext')!;
+ const mav = meta.querySelector(`:scope>${parts.avatar}`)?.getBoundingClientRect();
+ const mtext = meta.querySelector(`:scope>${parts.text}`)!;
const textStyle = getComputedStyle(mtext);
const textBox = mtext.getBoundingClientRect();
/* 探的是垫出来的那几圈(元信息区 8px、标签行与密集一档的文字列 4px)里面的点。 */
- const tags = meta.querySelector('.ctags')?.getBoundingClientRect();
+ const tags = meta.querySelector(parts.tags)?.getBoundingClientRect();
const probes = [...[content.top + 10, (content.top + content.bottom) / 2, content.bottom - 4]
.flatMap((y) => [[cardBox.left - 2, y], [cardBox.right + 2, y]]),
[(content.left + content.right) / 2, cardBox.bottom + 2],
@@ -309,7 +327,7 @@ describe('视口外的卡片', () => {
claimed: outside.filter((hit) => hit && card.contains(hit)).length,
};
});
- }, selector);
+ }, [selector, shape] as const);
assert.ok(frames.length > 0, `${where}没有整张落在视口里的卡`);
for (const frame of frames) {
assert.ok(frame.padded.every((value) => value > 0), `${where}的元信息区没有垫裁切余量`);
@@ -326,12 +344,12 @@ describe('视口外的卡片', () => {
/* 焦点环画在元素外面,逐层往上找会裁切的祖先(`overflow` 不是 visible,或跳过渲染带来的
paint containment),环的外沿必须落在每一层的 padding box 以内。 */
- const room = (target: string) => page.locator(`${selector} ${target}`).first().evaluate((element) => {
+ const room = (target: string) => page.locator(`${selector} ${target}`).first().evaluate((element, cardSelector) => {
const style = getComputedStyle(element);
const ring = style.outlineStyle === 'none' ? 0 : parseFloat(style.outlineWidth) + parseFloat(style.outlineOffset);
const box = element.getBoundingClientRect();
let least = Infinity, clips = 0;
- for (let clip = element.parentElement; clip && !clip.matches('.card'); clip = clip.parentElement) {
+ for (let clip = element.parentElement; clip && !clip.matches(cardSelector); clip = clip.parentElement) {
const clipStyle = getComputedStyle(clip);
if (clipStyle.overflow === 'visible' && clipStyle.contentVisibility !== 'auto') continue;
clips++;
@@ -341,8 +359,8 @@ describe('视口外的卡片', () => {
left + clip.clientWidth - (box.right + ring), top + clip.clientHeight - (box.bottom + ring));
}
return { focused: element.matches(':focus-visible'), ring, least, clips };
- });
- for (const target of focusable ? ['.meta>button.mav', '.ctags>button.tg'] : []) {
+ }, shape.card);
+ for (const target of focusable ? [shape.avatarButton, shape.tagButton] : []) {
await page.keyboard.press('Tab');
await page.locator(`${selector} ${target}`).first().focus();
const edge = await room(target);
diff --git a/frontend/e2e/smoke.test.ts b/frontend/e2e/smoke.test.ts
index b0072b46b..1622b4737 100644
--- a/frontend/e2e/smoke.test.ts
+++ b/frontend/e2e/smoke.test.ts
@@ -41,7 +41,7 @@ const statsInventoryTab = (page: Page): Locator =>
page.locator('#stats').getByRole('tab', { name: /^馆藏视频/ });
const ROUTES: readonly Route[] = [
- { path: '/', body: (page) => [page.locator('#grid article.card').first()] },
+ { path: '/', body: (page) => [page.locator('#grid [data-media-card]').first()] },
{ path: '/performers', body: (page) => [heading(page, '#index', '艺人'), indexEntries(page)] },
{ path: '/creators', body: (page) => [heading(page, '#index', '创作者'), indexEntries(page)] },
{ path: '/studios', body: (page) => [heading(page, '#index', '厂牌'), indexEntries(page)] },
diff --git a/frontend/src/react/components/media-card.css b/frontend/src/react/components/media-card.css
index e5b8c1191..6b466d146 100644
--- a/frontend/src/react/components/media-card.css
+++ b/frontend/src/react/components/media-card.css
@@ -1,9 +1,9 @@
/* 馆藏作品卡与卡片网格(`media-card.tsx`、`../catalog-grid/`)。
*
- * 取值逐条照抄遗留层:卡片本身是 `web/css/12-cards.css` 的 `.card`/`.pic`/`.meta` 一族,
- * Board 覆盖层(`web/board.css`)给封面格的圆角、来源角标的玻璃底、选中描边和回收站那一
- * 屏的卡面,详情页接着看那一排的窄卡取 `web/css/15-detail.css` 的 `.ncard`。选择器全用
- * `data-media-*`:旧样式表不分层、排在后面,写旧类名就会被那边同名的规则接管。
+ * 卡片的几何与状态都写在这里,取值与壳里同形的卡一致:`web/css/12-cards.css` 的
+ * `.card`/`.pic`/`.meta` 一族(壳里的垃圾文件卡、关注卡与新作卡用它),以及 Board 覆盖层
+ * (`web/board.css`)的封面圆角、来源角标玻璃底与选中描边。选择器全用 `data-media-*`:
+ * 旧样式表不分层、排在后面,写旧类名就会被那边同名的规则接管。
*
* 封面格里的图、来源角标和头像圆框里的内容是遗留层拼的 HTML(取景链、来源图标和头像回落
* 都归壳),它们自己的类名照旧由旧样式表管:`.poster.cover` 的取景、`.src` 的图标尺寸。
@@ -358,6 +358,7 @@ body[data-surface="/trash"] .peach-react [data-media-card] [data-media-pic] { bo
}
.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] {
position: relative;
width: 14px;
diff --git a/frontend/src/react/components/media-card.tsx b/frontend/src/react/components/media-card.tsx
index 1fa3f6239..b679f204a 100644
--- a/frontend/src/react/components/media-card.tsx
+++ b/frontend/src/react/components/media-card.tsx
@@ -1,11 +1,11 @@
/* 馆藏里的一张作品卡:目录网格、资料页作品区、竖屏带与详情页的接着看都是它。
*
- * 形状同遗留层 `cardHtml`:封面格在上,下面一行头像、两行标题、一行署名与大小,再一行
+ * 形状:封面格在上,下面一行头像、两行标题、一行署名与大小,再一行
* 标签。封面格里是来源角标、时长、观看进度,悬停时右上角一圈倒计时、右下角「稍后看」,
* 停够了居中三颗快退、快进与打开详情。叠层纸边说明这张卡代表不止一条(分卷或版次)。
*
* 结构与样式钩子全用 `data-media-*`,不沿用旧类名:旧样式表不分层、排在后面,同名规则会
- * 落到这张卡上。取值照抄 `web/css/12-cards.css`,写在 `./media-card.css`。
+ * 落到这张卡上。样式写在 `./media-card.css`。
*
* 壳在这张卡上还做三件 React 看不见的事,状态因此都写成属性而不是类名(类名归 React 管,
* 重画一次就被冲掉):
@@ -14,7 +14,7 @@
* - 封面取景(`coverAnchor`)改的是封面格里那张图,见 `../catalog-grid/artwork.ts`。
* - 图片微光(`PENDING_IMAGES`)在 `[data-media-art]` 上加 `imgwait`/`imgdone`。
*
- * 点击的分流照抄遗留层 `wireCards`:多选与修饰键优先,然后是打开、实体链接、未归属、
+ * 点击的分流:多选与修饰键优先,然后是打开、实体链接、未归属、
* 标签,其余落到整张卡上就是打开。 */
import { memo, useCallback, useRef, useState, type CSSProperties, type MouseEvent, type ReactNode } from 'react';
import { esc, fmtDur, fmtSize } from '@peach/legacy/core';
@@ -26,7 +26,7 @@ import { cardArtwork } from '../catalog-grid/artwork';
/** 大图卡片的容器比例,同遗留层 `COVER_FRONT_RATIO`:正封宽高比 0.667~0.749,0.75 比最宽
* 的那张还宽,一张都不用从左边切。 */
export const COVER_FRONT_RATIO = 0.75;
-/** 竖屏一律同一个比例,同遗留层 `PORTRAIT_RATIO`:竖屏条与竖屏网格才高低一致。 */
+/** 竖屏一律同一个比例,不按每条视频的实际宽高:竖屏条与竖屏网格才高低一致。 */
export const PORTRAIT_RATIO = 9 / 16;
export type MediaCardVariant = 'grid' | 'short' | 'next' | 'resource';
diff --git a/frontend/test/react/catalog-grid.test.tsx b/frontend/test/react/catalog-grid.test.tsx
new file mode 100644
index 000000000..2a18a1b48
--- /dev/null
+++ b/frontend/test/react/catalog-grid.test.tsx
@@ -0,0 +1,239 @@
+/* 馆藏卡片网格:一屏卡片怎么排(取数的查询串、折叠、Mix 落位、竖屏带落点),以及一张卡
+ * 画出什么、点哪里去哪里。 */
+import { act } from 'react';
+import { describe, expect, it, vi } from 'vitest';
+
+import { MediaCard, cardRatio, type MediaCardVariant } from '../../src/react/components/media-card';
+import {
+ MIX_SLOT, SHORTS_BATCH, arrangeTiles, catalogParams, collapseGroups, fetchCatalogPage, mixSeed, nextOffset,
+ shortsBoundaries, shortsParams, type GridPage,
+} from '../../src/react/catalog-grid/catalog-grid';
+import type { MediaCardActions, MediaCardHelpers, MediaCardLayout, MediaItem } from '../../src/react/catalog-grid/types';
+
+import { click, mount } from './render';
+
+const SMALL: MediaCardLayout = { active: false, size: 'small', portrait: false, javImage: 'cover' };
+
+const item = (id: number, extra: Partial<MediaItem> = {}): MediaItem => ({ id, name: `作品 ${id}`, has_thumb: true, ...extra });
+const page = (items: MediaItem[], offset = 0, extra: Partial<GridPage> = {}): GridPage => ({ items, offset, ...extra });
+
+describe('目录取数', () => {
+ it('查询串只带有值的筛选,排除竖屏只在壳说要排除时加', () => {
+ expect(catalogParams({ sort: 'seed', q: '', tag: '苗条' }, false)).toBe('sort=seed&tag=%E8%8B%97%E6%9D%A1');
+ expect(new URLSearchParams(catalogParams({ sort: 'seed' }, true)).get('exclude_vertical')).toBe('1');
+ expect(new URLSearchParams(catalogParams({ q: '竖屏' }, false)).has('exclude_vertical')).toBe(false);
+ });
+
+ it('一页取「每批条数」那么多,往后的页不数总数', async () => {
+ const fetcher = vi.fn(async (_url: string) => ({ ok: true, status: 200, json: async () => ({ items: [item(1)], has_more: true }) }));
+ vi.stubGlobal('fetch', fetcher);
+ await fetchCatalogPage('sort=seed', 0, 48, false, new AbortController().signal);
+ await fetchCatalogPage('sort=seed', 48, 48, false, new AbortController().signal);
+ const first = new URL(fetcher.mock.calls[0]![0], 'http://peach.test').searchParams;
+ const second = new URL(fetcher.mock.calls[1]![0], 'http://peach.test').searchParams;
+ expect([first.get('limit'), first.get('offset'), first.has('count')]).toEqual(['48', '0', false]);
+ expect([second.get('limit'), second.get('offset'), second.get('count')]).toEqual(['48', '48', '0']);
+ });
+
+ it('第一页为空时再问一次整个馆藏是不是空的,回收站不问', async () => {
+ const fetcher = vi.fn(async (_url: string) => ({ ok: true, status: 200, json: async () => ({ items: [], total: 0 }) }));
+ vi.stubGlobal('fetch', fetcher);
+ const result = await fetchCatalogPage('tag=x', 0, 60, false, new AbortController().signal);
+ expect(fetcher.mock.calls[1]![0]).toBe('/api/items?limit=1&thumb=0');
+ expect(result.libraryEmpty).toBe(true);
+
+ fetcher.mockClear();
+ await fetchCatalogPage('state=trash', 0, 60, true, new AbortController().signal);
+ expect(fetcher).toHaveBeenCalledTimes(1);
+ });
+
+ it('下一页从哪儿取:第一页看总数,往后看 has_more', () => {
+ const next = nextOffset(60);
+ expect(next(page([item(1)], 0, { total: 100 }))).toBe(60);
+ expect(next(page([item(1)], 0, { total: 1 }))).toBeUndefined();
+ expect(next(page([item(1)], 60, { has_more: true }))).toBe(120);
+ expect(next(page([item(1)], 60, { has_more: false }))).toBeUndefined();
+ });
+
+ it('竖屏带跟着主列表的筛选走,一条取一批竖屏', () => {
+ const params = new URLSearchParams(shortsParams({ sort: 'seed', tag: '' }, 36));
+ expect(Object.fromEntries(params)).toEqual({ sort: 'seed', orient: '竖屏', limit: String(SHORTS_BATCH), offset: '36' });
+ });
+});
+
+describe('一屏卡片的排法', () => {
+ const parts = (key: string, seed: number) => ({ key, seed_id: seed, count: 2 });
+ const editions = (key: string, seed: number) => ({ key, seed_id: seed, count: 2, editions: ['原版', '无码'] });
+
+ it('分卷与版次各自折叠,跨页也只留第一次出现的那张;开关关掉就不折', () => {
+ const seen = { parts: new Set<string>(), editions: new Set<string>() };
+ const first = [item(1, { part_group: parts('P', 1) }), item(2, { part_group: parts('P', 1) }), item(3, { edition_group: editions('E', 3) })];
+ expect(collapseGroups(first, seen, true).map((x) => x.id)).toEqual([1, 3]);
+ expect(collapseGroups([item(4, { edition_group: editions('E', 3) }), item(5)], seen, true).map((x) => x.id)).toEqual([5]);
+ expect(collapseGroups(first, { parts: new Set(), editions: new Set() }, false).map((x) => x.id)).toEqual([1, 2, 3]);
+ });
+
+ it('每一页够 8 张就在第 8 位插一张 Mix;翻页重复出现的条目只画一次', () => {
+ const named = (id: number) => item(id, { creator: `作者 ${id}` });
+ const first = Array.from({ length: 20 }, (_, index) => named(index + 1));
+ const second = [named(20), ...Array.from({ length: 9 }, (_, index) => named(index + 21))];
+ const { tiles, pageStarts } = arrangeTiles([page(first), page(second, 20)], { collapse: true, mix: true, javImage: 'cover' });
+ expect(tiles[MIX_SLOT]?.kind).toBe('mix');
+ expect(pageStarts).toEqual([0, 21]);
+ const ids = tiles.flatMap((tile) => (tile.kind === 'card' ? [tile.item.id] : []));
+ expect(ids.filter((id) => id === 20)).toHaveLength(1);
+ expect(tiles[pageStarts[1]! + MIX_SLOT]?.kind).toBe('mix');
+ expect(arrangeTiles([page(first)], { collapse: true, mix: false, javImage: 'cover' }).tiles.some((tile) => tile.kind === 'mix')).toBe(false);
+ });
+
+ it('Mix 的种子不取它挨着的那张:从 Mix 位往下隔一屏找有图有署名的,都没署名就取末尾', () => {
+ const visible = Array.from({ length: 20 }, (_, index) => item(index + 1, { creator: `作者 ${index + 1}` }));
+ expect(mixSeed(visible, 'cover')?.id).toBe(MIX_SLOT + 9);
+ const anonymous = Array.from({ length: 20 }, (_, index) => item(index + 1, { has_thumb: false }));
+ expect(mixSeed(anonymous, 'cover')?.id).toBe(20);
+ });
+
+ it('竖屏带落在这一页新增那几行的行边界上,两端各留至少一行', () => {
+ expect(shortsBoundaries(20, 0, 4)).toEqual([4, 8, 12, 16]);
+ expect(shortsBoundaries(20, 10, 4)).toEqual([12, 16]);
+ expect(shortsBoundaries(4, 0, 4)).toEqual([]);
+ });
+});
+
+describe('比例', () => {
+ const jav = item(1, { is_jav: true, code: 'ABC-001', has_cover: true });
+ const ratio = (target: MediaItem, variant: MediaCardVariant, layout: Partial<MediaCardLayout>) =>
+ cardRatio(target, variant, { ...SMALL, ...layout });
+
+ it('一个列表里的卡等高:比例只由语境决定,不看单条视频的宽高', () => {
+ expect(ratio(item(2, { width: 1080, height: 1920 }), 'grid', {})).toBeCloseTo(16 / 9);
+ expect(ratio(item(2), 'short', {})).toBeCloseTo(9 / 16);
+ expect(ratio(item(2), 'grid', { portrait: true })).toBeCloseTo(9 / 16);
+ });
+
+ it('大图只拉长番号作品,番号版式没生效时照旧 16:9', () => {
+ expect(ratio(jav, 'grid', { active: true, size: 'big' })).toBe(0.75);
+ expect(ratio(item(2), 'grid', { active: true, size: 'big' })).toBeCloseTo(16 / 9);
+ expect(ratio(jav, 'grid', { active: false, size: 'big' })).toBeCloseTo(16 / 9);
+ expect(ratio(jav, 'grid', { active: true, size: 'small' })).toBeCloseTo(16 / 9);
+ });
+});
+
+describe('作品卡', () => {
+ const helpers: MediaCardHelpers = {
+ coverHtml: () => '<img class="poster cover whole" src="/cover" alt="">',
+ badgeHtml: (location) => `<span>${location}</span>`,
+ titleHtml: (_it, raw) => raw,
+ displayName: (_it, raw) => raw,
+ avatarHtml: (name) => name.slice(0, 1),
+ tagLabel: (tag) => `#${tag}`,
+ wireHover: vi.fn(),
+ releaseHover: vi.fn(),
+ };
+ const actionsFor = (): MediaCardActions => ({
+ open: vi.fn(), openResource: vi.fn(), openShort: vi.fn(), openShorts: vi.fn(), openMix: vi.fn(),
+ openEntity: vi.fn(), openUnowned: vi.fn(), toggleTag: vi.fn(), toggleSelection: vi.fn(),
+ watchLater: vi.fn(async (_it: MediaItem, onChange: (on: boolean) => void) => onChange(true)),
+ resourceOperation: vi.fn(async () => {}), mixRelated: vi.fn(async () => []), canFlip: () => true,
+ });
+ const render = async (target: MediaItem, options: { variant?: MediaCardVariant; selectMode?: boolean; layout?: MediaCardLayout } = {}) => {
+ const actions = actionsFor();
+ const onOpen = vi.fn();
+ const host = await mount(
+ <MediaCard item={target} variant={options.variant || 'grid'} layout={options.layout || SMALL} selected={false}
+ selectMode={!!options.selectMode} seekSeconds={10} helpers={helpers} actions={actions} onOpen={onOpen} />,
+ );
+ return { host, actions, onOpen, card: host.querySelector<HTMLElement>('[data-media-card]')! };
+ };
+
+ it('点标题打开,点署名进资料页,点「未归属」进那一批,点标签在这一屏筛它', async () => {
+ const credited = await render(item(7, { creator: '某某', tags: ['苗条'] }));
+ await click(credited.host.querySelector('[data-media-title]'));
+ expect(credited.onOpen).toHaveBeenCalledWith(expect.objectContaining({ id: 7 }), credited.card);
+ await click(credited.host.querySelector('[data-media-who]'));
+ expect(credited.actions.openEntity).toHaveBeenCalledWith('creator', '某某');
+ await click(credited.host.querySelector('[data-media-tag]'));
+ expect(credited.actions.toggleTag).toHaveBeenCalledWith('苗条');
+ expect(credited.onOpen).toHaveBeenCalledTimes(1);
+
+ const unowned = await render(item(8));
+ await click(unowned.host.querySelector('[data-open-unowned]'));
+ expect(unowned.actions.openUnowned).toHaveBeenCalledTimes(1);
+ expect(unowned.onOpen).not.toHaveBeenCalled();
+ });
+
+ it('多选模式或按着修饰键时,点哪里都是切换选中;Shift 是连选', async () => {
+ const plain = await render(item(9));
+ const title = plain.card.querySelector<HTMLElement>('[data-media-title]')!;
+ await act(async () => { title.dispatchEvent(new MouseEvent('click', { bubbles: true, shiftKey: true })) });
+ expect(plain.actions.toggleSelection).toHaveBeenCalledWith(9, true);
+ const selecting = await render(item(10), { selectMode: true });
+ await click(selecting.host.querySelector('[data-media-title]'));
+ expect(selecting.actions.toggleSelection).toHaveBeenCalledWith(10, false);
+ expect([plain.onOpen, selecting.onOpen].every((fn) => fn.mock.calls.length === 0)).toBe(true);
+ });
+
+ it('大小不明写「大小未知」,看过几次写出来,标签取作品自己的标签、至多三枚', async () => {
+ const { host } = await render(item(11, { size: 0, play_count: 3, performers: ['甲'], tags: ['a', 'b', 'c', 'd'] }));
+ expect(host.querySelector('[data-media-size]')?.textContent).toBe('大小未知');
+ expect(host.querySelector('[data-media-watch-count]')?.textContent).toBe('看过 3');
+ expect([...host.querySelectorAll('[data-media-tag]')].map((tag) => tag.textContent)).toEqual(['#a', '#b', '#c']);
+ });
+
+ it('悬停控件各用只代表自己的那枚字形:快退、快进是转向箭头,打开详情是摊开', async () => {
+ const { host } = await render(item(13));
+ const glyphs = [...host.querySelectorAll('[data-media-seek] button')]
+ .map((button) => [button.getAttribute('aria-label'), button.querySelector('use')?.getAttribute('href')]);
+ expect(glyphs).toEqual([
+ [expect.stringContaining('后退'), '#i-rotate-ccw'],
+ [expect.stringContaining('前进'), '#i-rotate-cw'],
+ ['打开详情', '#i-expand'],
+ ]);
+ });
+
+ it('关注来源保存的条目用来源的缩略图和标签,标签不可点', async () => {
+ const { host } = await render(item(12, { follow_thumb_url: 'https://example.test/t.jpg', follow_item_id: 5, tags: ['本地'], follow_tags: ['来源'] }));
+ expect(host.querySelector('[data-media-art] img')?.getAttribute('src')).toBe('https://example.test/t.jpg');
+ const tag = host.querySelector<HTMLButtonElement>('[data-media-tag]');
+ expect([tag?.textContent, tag?.disabled]).toEqual(['#来源', true]);
+ });
+
+ it('看到一半的画一条进度,分卷组不画;比例写进封面格', async () => {
+ const { host } = await render(item(13, { duration: 600, play_seconds: 150 }));
+ const bar = host.querySelector('[data-media-progress]');
+ expect([bar?.getAttribute('role'), bar?.getAttribute('aria-label'), bar?.getAttribute('aria-valuenow')]).toEqual(['progressbar', '观看进度', '25']);
+ expect(host.querySelector<HTMLElement>('[data-media-pic]')!.style.getPropertyValue('--card-ratio')).toBe(String(16 / 9));
+
+ const group = await render(item(14, { duration: 600, play_seconds: 150, part_group: { key: 'P', seed_id: 14, count: 2 } }));
+ expect(group.host.querySelector('[data-media-progress]')).toBeNull();
+ expect(group.card.dataset.partSeed).toBe('14');
+ expect(group.card.hasAttribute('data-stacked')).toBe(true);
+ expect(group.host.querySelector('[data-media-group]')?.textContent).toBe('2 卷');
+ });
+
+ it('待删的作品留在原位,标上回收站', async () => {
+ const { card, host } = await render(item(15, { disposal: 'trash' }));
+ expect(card.hasAttribute('data-pending-delete')).toBe(true);
+ expect(host.querySelector('[data-media-trash-mark]')?.textContent).toBe('回收站');
+ });
+
+ it('稍后看只写这一条,不打开详情;写成后按钮按下', async () => {
+ const { host, actions, onOpen } = await render(item(16));
+ await click(host.querySelector('[data-later]'));
+ expect(actions.watchLater).toHaveBeenCalledWith(expect.objectContaining({ id: 16 }), expect.any(Function));
+ expect(onOpen).not.toHaveBeenCalled();
+ expect(host.querySelector('[data-later]')?.getAttribute('aria-pressed')).toBe('true');
+ });
+
+ it('回收站里的资源按类型起名,卡上那枚键还原这一条,不打开它', async () => {
+ const archive = await render(item(17, { medium: 'archive', name: '资料.zip', disposal: 'trash' }), { variant: 'resource' });
+ expect(archive.host.querySelector('[data-media-who]')?.textContent).toBe('压缩包');
+ await click(archive.host.querySelector('[data-media-resource-action]'));
+ expect(archive.actions.resourceOperation).toHaveBeenCalledWith(expect.objectContaining({ id: 17 }), 'restore');
+ expect(archive.onOpen).not.toHaveBeenCalled();
+
+ const shortcut = await render(item(18, { medium: 'other', name: '入口.URL' }), { variant: 'resource' });
+ expect(shortcut.host.querySelector('[data-media-who]')?.textContent).toBe('网址快捷方式');
+ expect(shortcut.host.querySelector('[data-media-resource-action]')?.getAttribute('title')).toBe('移入回收站');
+ });
+});
diff --git a/frontend/test/settings-controls.test.ts b/frontend/test/settings-controls.test.ts
index 8ee44aa23..c4c4fc824 100644
--- a/frontend/test/settings-controls.test.ts
+++ b/frontend/test/settings-controls.test.ts
@@ -15,14 +15,14 @@ describe('悬停放大设置', () => {
const arm = new Function('el', 'appSettings', `${hoverStateSource} let longTimer; return ${armSource}`)(card, settings);
arm();
vi.advanceTimersByTime(10000);
- expect(card.className).toBe('');
+ expect(card.hasAttribute('data-previewing')).toBe(false);
settings.hoverDelaySeconds = 3;
arm();
- expect(card.classList.contains('previewing')).toBe(true);
+ expect(card.hasAttribute('data-previewing')).toBe(true);
vi.advanceTimersByTime(2999);
- expect(card.classList.contains('longhover')).toBe(false);
+ expect(card.hasAttribute('data-longhover')).toBe(false);
vi.advanceTimersByTime(1);
- expect(card.classList.contains('longhover')).toBe(true);
+ expect(card.hasAttribute('data-longhover')).toBe(true);
});
it('计时中关闭后不进入放大状态', () => {
vi.useFakeTimers();
@@ -32,6 +32,6 @@ describe('悬停放大设置', () => {
arm();
settings.hoverDelaySeconds = 0;
vi.advanceTimersByTime(3000);
- expect(card.classList.contains('longhover')).toBe(false);
+ expect(card.hasAttribute('data-longhover')).toBe(false);
});
});
diff --git a/frontend/test/stack-flip.test.ts b/frontend/test/stack-flip.test.ts
index d1d2010e0..1597afa69 100644
--- a/frontend/test/stack-flip.test.ts
+++ b/frontend/test/stack-flip.test.ts
@@ -4,7 +4,7 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
// 执行生产函数,隔离整页启动与网络请求。
const app = readFileSync(resolve(process.cwd(), '../web/app.js'), 'utf8');
-const source = app.slice(app.indexOf('function wireStackFlip('), app.indexOf('function wireMixFlip('));
+const source = app.slice(app.indexOf('function wireStackFlip('), app.indexOf('/* 分卷组每个 seed 只取一次'));
const wire = new Function('selectMode', 'censorOn', 'reduceMotion', 'syncJavImages', 'appSettings',
'MIX_FLIP_MS', 'MIX_FLIP_LEAD_MS', `${source};return wireStackFlip`)(
false, () => false, () => false, () => {}, {}, 1100, 420);
diff --git a/frontend/test/stubs/legacy-ui.ts b/frontend/test/stubs/legacy-ui.ts
index 9b4277919..c0e84bc85 100644
--- a/frontend/test/stubs/legacy-ui.ts
+++ b/frontend/test/stubs/legacy-ui.ts
@@ -15,6 +15,7 @@ export const emptyStateHtml = (
// @ts-expect-error 汇总行与索引骨架复用正式模板,折叠开合、覆盖式滚动条与滚动判据用正式实现。
export {attachOverlayScrollbar, collectionSummaryHtml, indexSkeletonHtml, scrollMovesAnchor, setCollapseOpen} from '../../../web/js/ui-components.js';
export const loadingDotsHtml = (label: string): string => `<span>${label}</span>`;
+export const spinnerHtml = (label: string): string => `<span role="status" aria-label="${label}"></span>`;
export const checkboxHtml = (attrs = ''): string => `<span class="pcheck"><input type="checkbox" ${attrs}></span>`;
export const progressHtml = (label: string, value: number, max = 100): string =>
`<progress role="progressbar" aria-label="${label}" value="${value}" max="${max}" aria-valuenow="${value}" aria-valuemax="${max}"></progress>`;
diff --git a/tests/test_source_assertion_ratchet.py b/tests/test_source_assertion_ratchet.py
index 5a0ea6f1f..a1eee4aaf 100644
--- a/tests/test_source_assertion_ratchet.py
+++ b/tests/test_source_assertion_ratchet.py
@@ -53,7 +53,7 @@ BASELINE: dict[str, int] = {
"test_web_e2e.py": 2,
"test_web_js.py": 1,
"test_web_settings.py": 8,
- "test_web_ui.py": 4212,
+ "test_web_ui.py": 4070,
"test_windows_update.py": 3,
}
diff --git a/tests/test_web_ui.py b/tests/test_web_ui.py
index 39b71c0dd..b520fe340 100644
--- a/tests/test_web_ui.py
+++ b/tests/test_web_ui.py
@@ -922,10 +922,6 @@ class WebUiSourceTests(unittest.TestCase):
card = css[start:css.index("}", start)]
self.assertNotIn("background:", card, "卡片不自带填色")
self.assertNotIn("border:", card, "卡片不自带描边")
- start = css.index(chr(10) + ".shorts-inline{")
- strip = css[start:css.index("}", start)]
- self.assertIn("background:var(--ground)", strip, "竖屏带和视频段同一张面")
- self.assertNotIn("var(--page)", strip, "底色一退就读成陷进去的一格")
# 选中态允许高对比反相的两处:都压在媒体画面上,画面本身会把 --hover 那层
# 7% 白吃掉,读不出按没按。
@@ -1293,7 +1289,7 @@ class WebUiSourceTests(unittest.TestCase):
flags=re.S)
pressed = sorted(chunk.rsplit("}", 1)[-1].strip()
for chunk in css.split("{scale:.96")[:-1])
- self.assertEqual(pressed, [".shorts-inline h2 button:active", ".tokbtns button:active"],
+ self.assertEqual(pressed, [".tokbtns button:active"],
"按下缩放只给手指直接拨的控件,表单按钮那一族不动")
# 描边那一档连边一起变灰;不描边的动作按钮只换填充和字色。
ringed = ("{background:var(--sunk);border-color:var(--line-soft);"
@@ -1930,10 +1926,7 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains('gap:3px;margin:-4px;padding:4px;height:calc(var(--card-meta-block) + 8px);overflow:hidden;')
self.assertPageContains('body[data-density="dense"] .card .meta .s{height:1.35em;min-height:0;flex-wrap:nowrap;overflow:hidden;white-space:nowrap}')
self.assertPageContains('body[data-density="dense"] .card .ctags{height:38px;align-items:flex-start;flex-wrap:nowrap;overflow:hidden}')
- self.assertPageContains('body[data-density="dense"] .card .meta .watchcount{display:none}')
- self.assertPageContains('小图与预览图都是 16:9 横图,只更换图片来源;元数据 DOM 和高度必须完全相同。')
self.assertPageLacks("jav-small")
- self.assertPageContains('<span class="watchcount">看过 ${it.play_count}</span>')
def test_every_face_slot_builds_its_image_through_one_helper(self):
# 顶栏圆头像、卡片署名、共演者、资料页大位共用 entityFaceImg;
@@ -2515,7 +2508,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("actionReceipt(r.better_version?'已标记寻找更好版本':'已取消寻找更好版本'")
self.assertPageContains("actionReceipt(`已删除标签「${tagLabel(tag)}」`,{undo:async()=>")
self.assertPageContains("actionReceipt(r.liked?'已保存喜欢偏好':'已取消喜欢'")
- self.assertPageContains("if(later){e.stopPropagation();setActionBusy(later)")
self.assertPageContains("if(kind==='o')await post('o-undo')")
def test_toast_callers_declare_whether_they_pass_text_or_html(self):
@@ -2549,9 +2541,9 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("if(isAbort(error))return null;throw error")
self.assertPageContains("if(signal)init.signal=signal")
# 用响应体之前必须先过期判定:被取消时 surfaceApi 返回的是 null。
- load_body = self.page.split("async function load(reset)", 1)[1].split("function wireCatalogLoadMore", 1)[0]
- guard = load_body.index("if(requestSeq!==loadRequestSeq||!surfaceCurrent(surface))return;\n offset=pageOffset")
- self.assertLess(guard, load_body.index("cache(d.items)"))
+ load_body = self.page.split("async function loadJunk(", 1)[1].split("renderJunkNavigation(adsBatch)", 1)[0]
+ guard = load_body.index("if(requestSeq!==loadRequestSeq||!surfaceCurrent(surface))return;\n adsBatch=nextAds")
+ self.assertLess(guard, load_body.index("cache(adsBatch.items)"))
def test_bulk_follow_updates_run_with_bounded_concurrency(self):
"""一千条串行 POST 全靠往返等,界面按住不放;一次全发出去又会挤满连接。
@@ -2623,8 +2615,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("if(it.location==='online'&&it.follow_item_id){")
self.assertPageContains('await openFollowDetail(it.follow_item_id,false,null,true)')
self.assertPageContains("if(location.pathname!=='/follow'){await restoreRoute();return}")
- self.assertPageContains('it.follow_thumb_url')
- self.assertPageContains('it.follow_tags||it.tags||[]')
self.assertPageLacks("这条内容从关注候选保存;媒体与原始页面在关注详情中查看。")
def test_follow_detail_has_an_explicit_download(self):
@@ -2707,16 +2697,11 @@ class WebUiSourceTests(unittest.TestCase):
`ar` 从写下起就没有被使用过:`.pic` 写死 `aspect-ratio:16/9`,于是 JAV 的两种
版式渲染出来一模一样,竖屏条的 `--card-ratio` 也永远取不到值。
"""
- self.assertPageContains('<div class="pic" style="--card-ratio:${ar}">')
self.assertPageContains(".pic{position:relative;aspect-ratio:var(--card-ratio,16/9)")
def test_card_hover_feedback_has_no_edge_over_the_cover(self):
"""整卡底色向外多铺 8px,封面像素上不覆盖一圈深色边。"""
self.assertPageLacks('.card:hover .pic::after{content:""')
- self.assertPageContains(
- "body .card:not(.junkcard,.resourcecard):hover{background:var(--hover);box-shadow:0 0 0 8px var(--hover)}")
- self.assertPageContains(
- "body .card:not(.junkcard,.resourcecard):hover .pic{filter:saturate(.9) brightness(.94)}")
def test_big_jav_layout_crops_to_the_front_cover(self):
"""大图=宽度不变、高度拉长,只留封套右侧那块正封。
@@ -2726,7 +2711,6 @@ class WebUiSourceTests(unittest.TestCase):
所以裁切必须由容器比例决定,不能只靠 object-position。
"""
self.assertPageContains("const COVER_FRONT_RATIO=0.75;")
- self.assertPageContains("(jav&&layout==='big'?COVER_FRONT_RATIO:16/9)")
self.assertPageContains(
'.poster.cover.front[data-frame="sleeve"]{object-position:100%',
"没有折痕数据的封套贴最右边缘")
@@ -2783,15 +2767,12 @@ class WebUiSourceTests(unittest.TestCase):
另一个元素上的自定义属性,所以 `syncJavImages` 里单写了一句。
"""
self.assertPageContains(
- "img.closest('.pic')?.style.setProperty('--cover-blur',\n"
+ "img.closest('.pic,[data-media-pic]')?.style.setProperty('--cover-blur',\n"
" `url(\"${img.dataset.thumbSrc||img.currentSrc||img.src}\")`);")
self.assertPageContains(
".pic::before{content:\"\";position:absolute;inset:-8%;pointer-events:none;")
self.assertPageContains("background:var(--cover-blur,none) center/cover no-repeat;"
"filter:blur(26px) brightness(.5)}")
- # 待删卡片整块压暗,只有留白还亮着会很显眼;`filter` 不叠加,只能重写一遍 blur。
- self.assertPageContains(
- ".card.pending-delete .pic::before{filter:blur(26px) grayscale(.9) brightness(.27)")
def test_wide_stills_frame_on_the_detected_face_instead_of_dead_centre(self):
"""16:9 官方剧照在大图容器里只会横向裁,横向锚点必须跟着人走。
@@ -2874,7 +2855,6 @@ class WebUiSourceTests(unittest.TestCase):
# 三个表面共用一个落点,筛选写在 state.owner 上。
self.assertPageContains("function openUnowned(){")
self.assertPageContains("resetHomeState();state.owner='none';")
- self.assertPageContains("const unownedLink=e.target.closest('[data-open-unowned]');")
self.assertPageContains("$('#stage').querySelectorAll('[data-open-unowned]')"
".forEach(b=>b.onclick=()=>openUnowned());")
self.assertPageContains("else openUnowned()};")
@@ -3075,8 +3055,6 @@ class WebUiSourceTests(unittest.TestCase):
" :`<span class=\"mono\"><span class=\"countskeleton\"></span></span>`+countSortsHtml();\n"
" if(junk)wireJunkNavigation();else wireCountRow();")
self.assertPageContains(" +(trash?'':countSortsHtml());")
- # 读数那一格换值时按位错峰长出来,接事件仍在同一次重画的末尾。
- self.assertPageContains(" popCount(readout,lastCountReadout);\n }\n wireCountRow();")
self.assertPageLacks("count.textContent=''",
"加载态不能清空整行,筛选条要留在原位")
# 数据到位后摘掉忙碌标记,屏幕阅读器不再把这一行当成还在读取。
@@ -3203,9 +3181,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains('<span class="mono" id="indexCount"><span class="countskeleton"></span></span>')
self.assertPageContains("showIndexSkeleton(indexRoute(path.slice(1)));")
- def test_inline_portrait_cards_follow_dense_mode(self):
- self.assertPageContains('body[data-density="dense"] .shorts-inline .scard{width:calc(214px * 168 / 336)}')
-
def test_the_top_bars_get_a_first_paint_skeleton_shaped_like_the_real_thing(self):
"""顶部三层与标签条的首屏骨架照真实几何画,形状按 Geist 的判据选。
@@ -3292,7 +3267,7 @@ class WebUiSourceTests(unittest.TestCase):
def test_unmatched_routes_do_not_leave_an_orphan_skeleton(self):
"""没有请求的未知地址不能显示一张永远等不到内容的目录骨架。"""
self.assertPageContains("if(!matchRoute(ROUTES,path)){")
- self.assertPageContains("$('#grid').innerHTML='';$('#count').textContent='';$('#loadSentinel').hidden=true;")
+ self.assertPageContains("clearCatalogGrid();$('#count').textContent='';$('#loadSentinel').hidden=true;")
def test_the_follow_skeleton_reuses_the_poster_card_shape_and_adds_its_own_rows(self):
"""关注页跟首页是同一种海报卡,几何共用一块;它自己多一条作者行和一块两排的浮层。
@@ -3499,7 +3474,7 @@ class WebUiSourceTests(unittest.TestCase):
# 表头只有一份写法和一处接线,重画忙碌态和重画结果不会走岔。
self.assertPageContains(
'section.innerHTML=`${collectionHeaderHtml({controls:entityCollectionSortsHtml(filters)})}')
- self.assertPageContains(" wireEntityCollectionHead(section,kind,name,filters);\n }else{")
+ self.assertPageContains(" wireEntityCollectionHead(section,kind,name,filters);\n const host=section.querySelector('[data-entity-grid]');")
def test_offline_sources_drop_out_of_the_default_filter(self):
"""脱盘的来源要从默认筛选里摘掉。
@@ -3912,11 +3887,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("animation:peach-spinner-left-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both")
self.assertPageContains("animation:peach-spinner-right-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both")
- def test_cards_show_blue_watched_progress_from_play_seconds(self):
- self.assertPageContains("const watchedRatio=!parts&&Number(it.play_seconds)>0&&Number(it.duration)>0")
- self.assertPageContains('class="watchprogress" role="progressbar" aria-label="观看进度"')
- self.assertPageContains(".watchprogress i{display:block;height:100%;background:var(--tungsten)}")
-
def test_player_stats_button_matches_the_round_player_controls(self):
self.assertPageContains(".playerstatsbtn{position:absolute;left:11px;top:11px;z-index:8;width:40px;height:40px")
self.assertPageContains("display:grid;place-items:center;border:0;border-radius:50%")
@@ -4117,7 +4087,7 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("disposeStage(true,false,{miniplayer:false});")
# 小窗开着时普通视频卡直接换片;展开回详情从同一时刻接着放,深链 `?t=` 走同一口子。
self.assertPageContains("function miniplayerTakesCard(it)")
- self.assertPageContains("miniplayerTakesCard(it)?miniplayerPlay(id):onClick?onClick(id,anchor)")
+ self.assertPageContains("if(miniplayerTakesCard(it)){miniplayerPlay(it.id);return}")
self.assertPageContains("queueDetailResume(kind,item.id,player.currentTime(),!player.paused());")
self.assertPageContains("const resume=takeDetailResume(options.source?'follow':'item',it.id);")
self.assertPageContains("if(resume?.time>0)player.one('loadedmetadata'")
@@ -4808,12 +4778,10 @@ class WebUiSourceTests(unittest.TestCase):
def test_multiselect_has_explicit_mode_range_and_toggle_controls(self):
self.assertPageContains('id="selectMode"')
- self.assertPageContains("e.shiftKey||e.ctrlKey||e.metaKey||selectMode")
self.assertPageContains("visibleCardIds()")
self.assertPageContains("lastSelectedId")
self.assertPageContains('class="selectionMark"')
- self.assertPageContains("if(selectMode||e.shiftKey||e.ctrlKey||e.metaKey)")
- self.assertPageContains(".select-mode .cardopenhit,.select-mode .hovertools,.select-mode .previewcounter")
+ self.assertPageContains(".select-mode .cardopenhit,.select-mode .hovertools{pointer-events:none!important}")
self.assertPageContains("if(selectMode)releaseHoverPreviews()")
def test_manage_collects_admin_entries_behind_one_top_level_icon(self):
@@ -5566,7 +5534,7 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("const claimSurface=path=>{")
self.assertPageContains("surfaceEpoch++;return surfaceToken(path)}")
self.assertPageContains("const surfaceCurrent=token=>token.epoch===surfaceEpoch&&surfacePath()===token.path")
- self.assertPageContains("const surface=reset?claimSurface(surfacePath()):surfaceToken(surfacePath())")
+ self.assertPageContains("const surface=claimSurface(surfacePath());")
self.assertPageContains("if(requestSeq!==loadRequestSeq||!surfaceCurrent(surface))return")
self.assertPageContains("const surface=claimSurface('/review')")
self.assertPageContains("if(!surfaceCurrent(surface))return")
@@ -5588,8 +5556,7 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains('.playlistpage>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}')
self.assertPageContains('.followfilters .sourcepill{width:34px;padding:0}')
self.assertPageContains("emptyState('trash','回收站是空的','删掉的内容会先到这里;确认不再需要后再清空。')")
- self.assertPageContains("$('#grid').innerHTML=catalogEmptyHtml(")
- self.assertPageContains("if(reset&&d.items.length)setGridCards(html)")
+ self.assertPageContains(":catalogEmptyHtml({jav:javActive()&&!libraryEmpty")
self.assertPageLacks('class="trashempty"')
def test_empty_follow_actions_open_the_add_workspace(self):
@@ -5636,19 +5603,18 @@ class WebUiSourceTests(unittest.TestCase):
def test_ads_queue_count_does_not_stick_and_disposal_reports_failures(self):
"""垃圾文件是处置队列;计数行不跟随滚动,写入冲突也不能伪装成成功。"""
- self.assertPageContains("countRow.classList.toggle('manage-static',staticManageCount)")
- self.assertPageContains("if(staticManageCount)countRow.classList.remove('is-stuck')")
+ self.assertPageContains("countRow.classList.add('manage-static','junkcount');")
+ self.assertPageContains("countRow.classList.remove('is-stuck');")
self.assertPageContains(".count.manage-static{position:relative;top:auto;z-index:1}")
self.assertPageContains("if(!response.ok){")
self.assertPageContains("throw new Error(requestErrorMessage(detail,response.status))")
self.assertPageContains("catch(error){setActionBusy(button,false);throw error}")
- self.assertPageContains("wireJunkCards($('#grid'));paintSelection();wireCatalogLoadMore(surface);return")
self.assertPageContains("actionFailure('操作',error)")
self.assertPageContains("kind==='dispose'&&r.disposal==='trash'&&state.state==='ads'")
def test_junk_empty_state_only_appears_after_the_loading_request_finishes(self):
"""待判断为空是请求终态;加载期间显示的是骨架,不能先闪空态。"""
- branch = self.app_js.split("if(state.state==='ads'){", 1)[1].split("adsBatch=null;", 1)[0]
+ branch = self.app_js.split("async function loadJunk(", 1)[1].split("renderJunkNavigation(adsBatch)", 1)[0]
request = "const nextAds=await surfaceApi(surface,'/api/ads?'+junkQuery)"
self.assertLess(branch.index(request), branch.index("emptyState('check'"))
@@ -5658,11 +5624,11 @@ class WebUiSourceTests(unittest.TestCase):
`.claude/skills/peach-web-ui/SKILL.md` 的判据:整页或大区块首次等待内容结构用
Skeleton,后台任务仍在推进才用 Loading Dots。垃圾文件页的正文就是一格一格的
`.junkcard`,跟目录网格同形;这里画 Loading Dots 等于把「等下会出现几张什么形状
- 的卡」换成了「还在跑」。两条进入路径——深链首屏和路由后的 `load(true)`——必须
+ 的卡」换成了「还在跑」。两条进入路径——深链首屏和路由后的 `loadCatalog()`——必须
说同一句话,否则整页刷新会连播两段动画:先骨架,再 dots。
"""
self.assertPageContains("renderCatalogLoading('正在读取垃圾文件');")
- self.assertPageContains("renderCatalogLoading(state.state==='ads'?'正在读取垃圾文件':'正在读取作品')")
+ self.assertPageContains("if(reset){clearCatalogGrid();renderCatalogLoading('正在读取垃圾文件')}")
self.assertPageLacks("loadingDotsHtml('正在读取垃圾文件…')")
self.assertPageLacks("junkloading")
@@ -5755,16 +5721,8 @@ class WebUiSourceTests(unittest.TestCase):
def test_junk_review_and_trash_render_every_physical_resource_type(self):
"""图片、网址快捷方式等不能复用视频播放器,但必须可预览、回收和还原。"""
- self.assertPageContains("const RESOURCE_MEDIUM_LABEL={image:'图片',audio:'音频',archive:'压缩包',other:'其它文件'}")
- self.assertPageContains("function resourceCardHtml(it)")
- self.assertPageContains("String(it.name||'').toLowerCase().endsWith('.url')?'网址快捷方式'")
self.assertPageContains('src="/photo-thumb?id=${it.id}"')
- self.assertPageContains('data-resource-operation="${action}"')
self.assertPageContains("await api('/api/batch',{method:'POST',body:JSON.stringify({ids:[id],operation})})")
- self.assertPageContains("if(it&&(!it.medium||it.medium==='video'))wireHover(el,it)")
- self.assertPageContains("state.state==='trash'?d.items.map(resourceCardHtml).join('')")
- self.assertPageContains("wireCards($('#grid'),state.state==='trash'?openResourceCard:undefined)")
- self.assertPageContains("if(state.state==='trash')wireResourceCardActions($('#grid'))")
self.assertPageContains("const emptyTrash=$('#emptyTrash');")
self.assertPageContains("if(emptyTrash)emptyTrash.onclick=async(e)=>{")
self.assertPageContains("function junkCardHtml(it)")
@@ -5812,7 +5770,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("button[hidden]{display:none}")
self.assertPageContains("querySelectorAll('[data-junk-batch]')")
self.assertPageContains("toggleSelection(id,event.shiftKey)")
- self.assertPageContains(".resourcecardaction{position:absolute")
def test_search_suggestions_come_from_real_data_in_bulk(self):
"""推荐取当前馆藏,并核对实际搜索命中。"""
@@ -5905,7 +5862,7 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("q:'',jav:'',thumb:'0'};")
self.assertPageContains("function openHome(scroll=false){")
self.assertPageContains("resetHomeState();route('/');clearSearchField();disposeStage(false);showHomeSurfaces();")
- self.assertPageContains("buildEdge();buildBars();load(true);")
+ self.assertPageContains("buildEdge();buildBars();loadCatalog();")
# 抽屉和窄栏已经共用 navTo,这一句只应该存在一处;
# 两份副本正是当初把追更入口漏在抽屉里的原因。
self.assertEqual(self.page.count("function navTo(k){"), 1,
@@ -5921,11 +5878,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains('<symbol id="i-alert" viewBox="0 0 24 24">')
self.assertPageContains("['cleanup','数据管理','hard-drive']")
- def test_pending_delete_is_visible_without_deleting_media(self):
- self.assertPageContains("it.disposal==='trash'?'pending-delete':''")
- self.assertPageContains(".card.pending-delete .poster")
- self.assertPageContains('<b>回收站</b>')
-
def test_sidebar_glow_lives_inside_the_drawer_and_drifts_like_its_glass(self):
"""光晕是侧栏玻璃面自带的那两团慢漂反光换成的三枚,长在 `.drawer` 里面。
@@ -6517,7 +6469,6 @@ class WebUiSourceTests(unittest.TestCase):
def test_beeg_evidence_driven_surfaces_are_translucent_and_rail_is_continuous(self):
self.assertPageContains(".brandpill{")
- self.assertPageContains("background:var(--overlay-5);border:1px solid var(--border-10)")
self.assertCode("border-radius:var(--pill-radius);background:transparent;"
"border:1px solid var(--field-ring)")
self.assertPageContains("--overlay-5:rgba(245,250,255,.05)")
@@ -6574,12 +6525,8 @@ class WebUiSourceTests(unittest.TestCase):
def test_every_home_navigation_restores_the_shared_facets(self):
self.assertPageContains("function showHomeSurfaces()")
self.assertPageContains("$('#tiers').style.display='';$('#tagbar').style.display=''")
- self.assertPageContains("function closeStats(push=true){if(push)route('/');showHomeSurfaces();load(true)}")
- self.assertPageContains("async function load(reset)")
- # 版次折叠的集合要和分卷那套一起清,见 test_both_collapse_sets_are_cleared_together。
- self.assertCode(
- "showHomeSurfaces();\n if(reset){offset=0;"
- "renderedPartGroups.clear();renderedEditionGroups.clear()}")
+ self.assertPageContains("function closeStats(push=true){if(push)route('/');showHomeSurfaces();loadCatalog()}")
+ self.assertPageContains("async function loadCatalog()")
self.assertPageContains("showHomeSurfaces();disposeStage(false)")
def test_entity_tags_filter_inside_the_current_entity_page(self):
@@ -7245,10 +7192,8 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains(
"scrollTo({top:0,behavior:matchMedia('(prefers-reduced-motion: reduce)').matches?'auto':'smooth'});")
self.assertIn("html.refiltering{overflow-anchor:none}", stylesheet_source())
- # 目录那边的骨架由 load(true) 铺;资料页的集合自己铺一份同样的。
- self.assertCode(" if(grid){grid.innerHTML=pageSkeletonHtml('正在读取作品',\n"
- " {cards:true,className:'catalog-skeleton postercard-skeleton'});fitSkeleton(section)}")
- self.assertPageContains(" if(more)more.hidden=true;")
+ # 目录那边的骨架由 loadCatalog() 铺;资料页的集合自己铺一份同样的。
+ self.assertCode(" if(host){releaseEntityGrid();host.innerHTML=entityGridSkeletonHtml();fitSkeleton(section)}")
def test_adding_a_filter_only_changes_the_list_underneath(self):
"""点一条筛选,动的只有底下那份名单;上面那几排原地改按下态。
@@ -7265,7 +7210,7 @@ class WebUiSourceTests(unittest.TestCase):
self.assertCode(
" mutate(state);route(homePath());\n"
" applyFilterStateInPlace(state);refreshFacetCounts(barsContext);\n"
- " load(true);")
+ " loadCatalog();")
self.assertCode(
" applyFilterStateInPlace(filters);refreshFacetCounts(barsContext);\n"
" updateEntityCollection(barsContext.kind,barsContext.name,filters,true);return")
@@ -7285,7 +7230,7 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains(" $('#drawer').querySelectorAll('.chip[data-key] .n').forEach(el=>{")
# 从详情回到列表是换语境,不是换一条筛选:那几排本来就要照新语境重新画。
detail = self.app_js.split("if(barsContext.type==='item'){", 1)[1]
- self.assertIn("buildBars();load(true);return", detail[:detail.index("\n}")])
+ self.assertIn("buildBars();loadCatalog();return", detail[:detail.index("\n}")])
def test_the_intersection_bar_grows_into_place_instead_of_shoving_the_page(self):
"""交集条从无到有是长出来的:高度从 0 走到 auto,二百来毫秒。
@@ -7314,7 +7259,7 @@ class WebUiSourceTests(unittest.TestCase):
"""
self.assertPageContains(" if(!isCatalogPath(path))unmountIsland($('#libraryProcessingNotice'));")
self.assertCode(
- " if(reset&&isCatalogPath(location.pathname)&&!islandMounted($('#libraryProcessingNotice')))\n"
+ " if(isCatalogPath(location.pathname)&&!islandMounted($('#libraryProcessingNotice')))\n"
" void mountIsland('library-processing',$('#libraryProcessingNotice'),"
"{toast,mode:'notice'},{isCurrent:()=>surfaceCurrent(surface)});")
board = (Path(__file__).resolve().parents[1] / "web/board.css").read_text(encoding="utf-8")
@@ -7477,7 +7422,7 @@ class WebUiSourceTests(unittest.TestCase):
晃眼,骨架留给从无到有的首屏。
"""
self.assertPageContains(" document.body.classList.add('refreshing');")
- self.assertPageContains(" try{await Promise.all([load(true),buildBars()])}")
+ self.assertPageContains(" try{await Promise.all([loadCatalog(),buildBars()])}")
self.assertPageContains(" finally{document.body.classList.remove('refreshing')}")
self.assertPageContains("body.refreshing #batchAction svg,")
# 标签条和顶部三层照旧留着旧内容等新内容,不进骨架。
@@ -7488,34 +7433,12 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("if(offset)p.set('count','0')")
self.assertPageContains('class="entitymore"')
self.assertPageContains("adsBatch.items.slice(pageOffset,pageOffset+appSettings.batchSize)")
- self.assertPageContains("p.set('limit',appSettings.batchSize)")
self.assertPageContains("const pageOffset=reset?0:offset+appSettings.batchSize")
- self.assertPageContains("if(!reset)p.set('count','0')")
self.assertPageContains("enabled:()=>!listLoading&&$('#stats').hidden&&$('#index').hidden")
self.assertPageContains("barsRequestSeq")
self.assertPageContains("async function getBarsData(context=barsContext)")
self.assertPageContains("Date.now()-barsDataAt<30000")
self.assertPageLacks("p.set('limit','120')")
- # 观察器收进了共用的 wireLoadMore(见 test_infinite_scroll_is_wired_through_one_helper);
- # 这里要保证的是实体合集确实接上了它,而不是自己又写一套。
- self.assertPageContains("read:signal=>fetchEntityItems(kind,name,filters,entityCollectionPage.items.length,signal)")
- self.assertPageContains("more.hidden=!entityCollectionPage.has_more")
-
- def test_mix_card_is_not_seeded_by_the_card_it_sits_next_to(self):
- """Mix 卡片插在第 8 位,seed 就不能再取本批第一张。
-
- 旧写法是 `visible.find(有署名)`。馆藏里几乎每条都有 creator,那个
- `find` 实际上恒等于 `visible[0]`,于是 Mix 卡片总是顶着同屏第一张
- 卡片的封面,看起来像渲染错了。它不是内容错(队列仍是 seed + related),
- 错的只是代表图的选取,所以修在选 seed 这一步,不动队列。
- """
- self.assertPageContains("const MIX_SLOT=7;")
- self.assertPageContains("visible.slice(MIX_SLOT+8).find(named)")
- self.assertPageContains("||visible.slice(MIX_SLOT+1).find(named)")
- # 都没署名时宁可取末尾一张,也不回到第一张。
- self.assertPageContains("||visible[visible.length-1];")
- self.assertPageLacks(
- "visible.find(it=>it.creator||(it.performers||[]).length||it.studio)")
def test_mix_card_flips_through_its_own_covers_on_hover(self):
"""悬浮 Mix 卡片翻动的是这个 Mix 里的封面,不是另做一套装饰动画。
@@ -7525,21 +7448,9 @@ class WebUiSourceTests(unittest.TestCase):
`releaseHoverPreviews` 统一收掉;相关作品只取一次,悬浮预取后点开
Mix 不再发第二个请求。
"""
- self.assertPageContains('<div class="mixfaces" data-mix-faces hidden></div>')
self.assertPageContains(".mixface.on{opacity:1;z-index:2;transform:none;transition:none}")
self.assertPageContains(".mixface.off{opacity:0;z-index:3;transform:translateY(-11%)")
- self.assertPageContains("function wireMixFlip(el,seedId){")
- self.assertPageContains("wireMixFlip(el,seedId);")
- # 翻动的封面必须 eager:它们插进的是一个 hidden 容器,lazy 图没有布局盒
- # 就不发请求,实测除第一张外四张全部 naturalWidth=0,一翻就是黑屏。
- self.assertPageContains(".map(x=>mixFacePoster(x,layout,true));")
self.assertPageContains("const load=eager?'eager':'lazy';")
- # 能不能画出图只有一个判据,seed 选择和翻动共用。分开写就会翻出
- # 或选中一张「无预览」:非 JAV 模式下 `has_cover` 并不代表卡片会画封套。
- self.assertPageContains("function mixHasPicture(it,layout){")
- self.assertPageContains(".filter(x=>mixHasPicture(x,layout)).slice(0,MIX_FLIP_FACES)")
- self.assertPageContains("const named=it=>mixHasPicture(it,layout)&&(it.creator")
- self.assertPageContains("||visible.slice(MIX_SLOT+1).find(it=>mixHasPicture(it,layout))")
self.assertCode('''loading="${eager?'eager':'lazy'}"''')
self.assertPageContains(
"if(selectMode||censorOn()||window.__scrolling||reduceMotion())return;")
@@ -7563,10 +7474,6 @@ class WebUiSourceTests(unittest.TestCase):
"""
self.assertPageLacks(".mixcard,.partcard{padding-top:7px}")
self.assertPageLacks(".followitem.collection{padding-top:7px}")
- self.assertPageContains(
- ".mixstack::before,.partstack::before{inset:0 12px 8px;transform:translateY(-7px)")
- self.assertPageContains(
- ".mixstack::after,.partstack::after{inset:0 6px 4px;transform:translateY(-4px)")
# 密集模式给整个网格统一留 7px,那是所有卡片一起下移,不破坏平齐。
self.assertPageContains('body[data-density="dense"] .grid>.card{padding-top:7px}')
@@ -7598,23 +7505,12 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageLacks('data-photo-size')
def test_mix_and_persistent_playlists_share_the_routed_side_queue(self):
- self.assertPageContains('class="card mixcard" data-mix-seed=')
- self.assertPageContains("cards.splice(MIX_SLOT,0,mixCardHtml(seed))")
self.assertPageContains(".mixstack::before,.mixstack::after")
- # Mix 是同一网格里的同级卡片,JAV 大图不能让它单独掉回 16:9;有封面时
- # 也应和普通作品卡共用同一张官方封套,而不是永远显示视频九宫格。
- self.assertPageContains("? javArtwork(it,jav?layout:'small')")
- self.assertPageContains("const ar=jav&&layout==='big'?COVER_FRONT_RATIO:16/9;")
- self.assertPageContains('<div class="mixstack"><div class="pic" style="--card-ratio:${ar}">')
- self.assertPageContains("? javArtwork(it,jav?layout:'small')")
- self.assertPageContains("const thumb=mixFacePoster(it,layout);")
- self.assertPageContains('<span class="mixbadge">${icon(\'play\')}Mix</span>')
self.assertPageContains("async function openMix(seedId,itemId=seedId,push=true,anchor=null)")
self.assertPageContains("route(`/mix/${seedId}/${itemId}`)")
self.assertPageContains('class="mixqueue"')
self.assertPageContains('class="mixitem ${x.id===itemId?\'current\':\'\'}"')
self.assertPageContains("data-queue-item")
- self.assertPageContains("if(!queueContext&&appSettings.relatedLimit>0)api('/api/related?id='")
self.assertPageContains("async function openPlaylists(push=true)")
self.assertPageContains("const surface=claimSurface('/playlists')")
self.assertPageContains("async function openPlaylist(playlistId,itemId=null,push=true)")
@@ -7629,19 +7525,14 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("data-pick-playlist")
self.assertPageContains("formModal({")
self.assertPageLacks("class=\"playlistpickrow\"")
- self.assertPageContains("batchWithMix(d.items,isCatalogPath(decodeURIComponent(location.pathname))&&state.state!=='trash')")
+ self.assertPageContains("mix:home&&!trash,")
# 竖屏条只在首页出现。JAV 模式也排除:番号发行物是横版,竖屏是另一类内容,
# 而主列表的 exclude_vertical 管不到这条——它是独立请求、独立插入的。
- self.assertPageContains("!isCatalogPath(decodeURIComponent(location.pathname))||javActive()||state.orient==='竖屏'")
- self.assertPageContains("||state.state==='ads'||state.state==='trash'")
+ self.assertPageContains("shorts:home&&!javActive()&&state.orient!=='竖屏'&&!trash,")
self.assertRoute('/trash', "section:'trash'", "openTrash(push)")
self.assertPageContains("/api/trash/empty")
def test_multipart_releases_use_a_distinct_group_card_and_queue(self):
- self.assertPageContains("function collapseMultipartItems(items)")
- self.assertPageContains("renderedPartGroups.clear()")
- self.assertPageContains("data-part-seed")
- self.assertPageContains('<span class="partbadge">${parts.count} 卷</span>')
self.assertPageContains("async function openParts(seedId,itemId=seedId,push=true,anchor=null)")
self.assertPageContains("api('/api/parts?id='+seedId)")
self.assertPageContains("title:`分卷 · ${group.title}`")
@@ -7649,7 +7540,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("queue.kind==='parts'?`${queue.items.length} 卷`")
self.assertPageContains("queueContext.kind==='parts'?openParts")
self.assertRoute('/parts/:seed/:item', "openParts(params.seed,params.item,push)")
- self.assertPageContains(".partstack::before,.partstack::after")
self.assertPageLacks("Mix · ${group.title}")
def test_filter_and_sort_rows_stay_visible_in_both_scroll_directions(self):
@@ -7686,23 +7576,15 @@ class WebUiSourceTests(unittest.TestCase):
".forEach(s=>wireDrag($(s)))")
self.assertPageContains("document.querySelectorAll('.tier,.srow').forEach(wireDrag)")
# 「接着看」每开一次详情就重建,启动时的登记落在旧节点上;推荐结果渲染完要当场再登记一次。
- self.assertPageContains("wireCards(n);wireDrag(n);});")
+ self.assertPageContains("wireDrag(nextRow);});")
self.assertPageContains(".nrow{display:flex;gap:11px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;")
# 同一个元素宽屏不溢出、窄屏才溢出,不判溢出就会在宽屏抢走滚轮和拖动。
self.assertPageContains("event.button!==0||el.scrollWidth-el.clientWidth<=1")
self.assertPageContains("Math.abs(event.deltaY)<=Math.abs(event.deltaX)||max<=0")
def test_entity_collection_posters_and_titles_open_item_details(self):
- self.assertPageContains('type="button" class="cardopenhit" data-open')
- self.assertPageContains('<button class="t cardtitle" data-open>')
- self.assertPageContains("const openCard=(id,anchor=el)=>miniplayerTakesCard(it)?miniplayerPlay(id):onClick?onClick(id,anchor):(it?.part_group")
- self.assertPageContains("if(e.target.closest('[data-open]')){e.stopPropagation();openCard(+el.dataset.id,el)")
self.assertPageContains(".cardopenhit{position:absolute;inset:0;z-index:1")
- self.assertPageContains(".card>.pic,.card>.partstack,.card>.meta{position:relative;z-index:2}")
- self.assertPageContains("el.querySelectorAll('[data-open]').forEach(opener=>")
- self.assertPageContains("opener.dataset.openWired='1'")
self.assertPageContains(".hovertools button{pointer-events:none")
- self.assertPageContains(".card.longhover .seektools button,.card:hover .later-tools button{pointer-events:auto}")
self.assertPageContains("section.querySelector('h3').textContent=`视频 ·")
self.assertPageLacks("的馆藏作品 ·")
@@ -7720,17 +7602,12 @@ class WebUiSourceTests(unittest.TestCase):
"border:1px solid rgba(255,255,255,.12);")
self.assertPageContains("background:rgba(0,0,0,.24);color:#fff;backdrop-filter:saturate(180%) blur(12px);")
self.assertPageContains(".hovertools button:hover{transform:scale(1.12);background:rgba(0,0,0,.34)}")
- self.assertPageContains(".hovertools.seektools button svg{width:34px;height:34px}")
- self.assertPageContains(".hovertools .laterbtn{width:36px;height:36px;padding:0;font-family:inherit}")
- self.assertPageContains(".hovertools .laterbtn svg{width:21px;height:21px}")
# 这一层里没有第二套外观:不画底和边、靠投影描边的写法一处都不留。
self.assertPageLacks(".hovertools.seektools button{border:0;background:none")
self.assertPageLacks("filter:drop-shadow(0 1px 4px rgba(0,0,0,.6))")
# 数字角标不在 DOM 里,样式也不留。
self.assertPageLacks("<b>${appSettings.seekSeconds}</b>")
self.assertPageLacks(".hovertools button b{")
- self.assertPageContains('title="后退 ${appSettings.seekSeconds} 秒"')
- self.assertPageContains('aria-label="前进 ${appSettings.seekSeconds} 秒"')
def test_jav_titles_hide_media_suffix_and_emphasize_the_code(self):
# 「后缀什么时候剥」「display_code 与 display_title 怎么取」「哪三个徽章算数」
@@ -7740,7 +7617,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains(".javedition.subtitle{color:var(--ink-2)}")
self.assertPageContains(".javedition.uncensored{color:var(--meter)}")
self.assertPageContains(".javedition.cracked{color:var(--drop)}")
- self.assertPageContains('<button class="t cardtitle" data-open>${shownTitle}</button>')
self.assertPageContains("<span class=\"stitletext\" data-detail-title>${srcBadge(it.location,it.cost,'srcbig')}"
"${javTitleHtml(it)}")
self.assertPageContains("$('#tokTitle').textContent=javDisplayName(it)")
@@ -7778,8 +7654,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertIn("img.hvframes{position:absolute;inset:0;width:100%;height:100%;"
"object-fit:contain;", css)
self.assertIn("background:#000;display:block}", css)
- # 待删卡片的灰化要连这一层一起,否则悬停时整卡「复活」成正常色。
- self.assertIn(".card.pending-delete .hvframes{", css)
def test_the_next_frame_is_loaded_before_it_is_shown(self):
"""下一格先拉到手再换上去,没拉到就停在当前这格。
@@ -7835,7 +7709,7 @@ class WebUiSourceTests(unittest.TestCase):
body.index("setGridCards(pageSkeletonHtml"),
"哨兵要在骨架铺上之前收掉,别让 dots 和骨架同时存在一帧")
# 目录这条链上收哨兵只有这一处:分支里再补一次就是又一个会漏掉的地方。
- ads = self.app_js.split("if(state.state==='ads'){", 1)[1].split("adsBatch=null;", 1)[0]
+ ads = self.app_js.split("async function loadJunk(", 1)[1].split("renderJunkNavigation(adsBatch)", 1)[0]
self.assertNotIn("$('#loadSentinel').hidden=true", ads)
boot = self.app_js.split("if(path==='/junk-files'){", 1)[1].split("return;", 1)[0]
self.assertNotIn("$('#loadSentinel').hidden=true", boot)
@@ -7862,7 +7736,7 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("pageSkeletonHtml('正在读取推荐',{cards:true,className:'related-skeleton'})")
# 「接着看」没有内容就整块不出现:推荐条数设为 0 时不生成,取回空列表时整块拿掉。
self.assertPageContains("${queueContext||!(appSettings.relatedLimit>0)?'':`<div class=\"next\"><h3>接着看</h3>")
- self.assertPageContains("if(!d.items.length){n.closest('.next')?.remove();return}")
+ self.assertPageContains("if(!d.items.length){nextRow.closest('.next')?.remove();return}")
self.assertPageLacks("'<span class=\"empty\">暂无</span>'")
self.assertPageLacks("count.innerHTML=`${spinnerHtml(label)}<span>载入中…</span>`")
self.assertPageLacks("function showItemDetailLoading(anchor,above)")
@@ -8032,10 +7906,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageLacks("试试:")
self.assertPageLacks("ABW 番号")
- def test_card_identity_is_not_repeated_as_a_content_tag(self):
- self.assertPageLacks("const perf=(it.performers||[])")
- self.assertPageContains('${tgs?`<div class="ctags">${tgs}</div>`')
-
def test_compact_card_title_is_one_line_and_identity_kind_matches_name(self):
self.assertPageContains('body[data-density="dense"] .card .meta .t{display:block;max-width:100%;min-height:1.35em;overflow:hidden;')
self.assertPageContains("performer?{kind:'performer',name:performer}")
@@ -8046,82 +7916,22 @@ class WebUiSourceTests(unittest.TestCase):
def test_creator_name_is_single_line_and_ellipsized(self):
self.assertPageContains('.meta .who{color:var(--ink-2);min-width:0;max-width:100%;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap')
- def test_every_card_kind_has_one_fixed_ratio(self):
- """三类卡片各自一个固定比例,卡片之间不能高低不齐。
-
- 竖屏按每条视频的实际宽高算的话,素材从 0.5 到 0.9 都有,竖屏条和竖屏网格
- 因此参差不齐。`.pic` 写死 16/9 时这段代码不生效,接上 `--card-ratio`
- 才起作用。比例不同的用 contain 上下留黑边。
- """
- self.assertPageContains("const PORTRAIT_RATIO=9/16;")
- self.assertPageLacks("Math.min(0.9,Math.max(0.5,it.width/it.height))")
- # 比例由列表语境决定,不能由单条媒体决定:混着横竖屏的资料页、相关推荐、
- # 搜索结果都会因为逐条算而高低不齐。
- self.assertPageContains("const portrait=cls==='scard'||state.orient==='竖屏';")
- self.assertPageLacks("it.ctx_orient==='竖屏'||cls==='scard'")
- self.assertPageContains("(jav&&layout==='big'?COVER_FRONT_RATIO:16/9)")
-
- def test_the_portrait_strip_lands_at_a_random_row_boundary_on_every_page(self):
- """每接一页出现一条竖屏带,落点在这一页新增的那几行里随机取一个行边界。
-
- 固定第几行的写法从第二屏起就成了可预期的栏目,而这条带子的作用正是打断节奏——
- 位置可预期,节奏就不再被打断。只在行边界上剪,否则上一行会被截断留下一段空白;
- 两端各留至少一行,剪在头尾就成了置顶或垫底,不是穿插。
- 余位不另拉一批横屏视频来补——那批 id 不在分页序列里,翻下一页必然重复,
- 而且被当作 `scard` 渲染会按竖屏比例压扁横屏画面。
- 静态标记里不留一份用不到的 `#shortsSec`:这一段只由 `loadShorts` 现画。
- """
- self.assertPageLacks('id="shortsSec"')
- self.assertPageLacks('id="tokBtn"')
- self.assertPageLacks("SHORTS_ROW_OFFSET")
- # 每一页都插,不再只在 reset 时插一条。
- self.assertPageContains("loadShorts(requestSeq,surface,{reset,addedFrom});")
- self.assertPageContains("function splitGridForShorts(html,addedFrom){")
- self.assertPageContains(
- " for(let i=Math.max(columns,Math.ceil(Math.max(0,addedFrom)/columns)*columns);"
- "i<cards.length;i+=columns)")
- self.assertPageContains(
- " const at=cards[boundaries[Math.floor(Math.random()*boundaries.length)]];")
- # 剪开当前这段:剪点之后的卡整段搬进新的 .grid,带子插在两段之间。
- self.assertPageContains(
- " for(let node=at;node;){const move=node;node=node.nextElementSibling;tail.append(move)}")
- self.assertPageContains(" section.after(tail);")
- self.assertPageContains(" tail.insertAdjacentHTML('beforebegin',html);")
- # 每条带子取不同的一批,翻下去不会反复看到同 18 个。
- self.assertPageContains("p.set('orient','竖屏');p.set('limit',SHORTS_BATCH);p.set('offset',shortsOffset);")
- self.assertPageContains("shortsOffset=d.has_more===false?0:shortsOffset+SHORTS_BATCH;")
- css = stylesheet_source()
- self.assertPageContains(".gridstack{display:flex;flex-direction:column;gap:16px}")
- start = css.index(chr(10) + ".shorts-inline{")
- strip = css[start:css.index("}", start)]
- for piece in ("background:var(--ground)", "border:1px solid var(--field-ring)",
- "border-radius:var(--floating-radius)"):
- self.assertIn(piece, strip, "竖屏带是这一叠卡里的一张,和上下两段视频平级")
- self.assertNotIn("grid-column", strip, "它不是网格里的一格,是叠在网格旁边的一张卡")
- self.assertPageLacks("fillerParams")
- self.assertPageLacks('const remainder=')
- # 竖屏比例只给 `scard`(和显式筛了竖屏时)。按 `it.ctx_orient` 逐条算的话,
- # 任何混着横竖屏的网格都会高低不齐——资料页、相关推荐、搜索结果全中招。
- self.assertPageContains("const portrait=cls==='scard'||state.orient==='竖屏';")
- self.assertPageContains('grid-template-columns:repeat(auto-fill,minmax(var(--tile),1fr))')
- self.assertPageContains('.srow .scard{flex:none;width:214px;cursor:pointer}')
-
def test_only_the_default_home_list_drops_portrait_videos(self):
"""搜索必须能命中竖屏作品;排除竖屏只是首页默认列表的取景,不是全局过滤。"""
- self.assertPageContains("if(isCatalogPath(decodeURIComponent(location.pathname))&&!state.q&&!state.orient)p.set('exclude_vertical','1')")
+ self.assertPageContains("excludeVertical:(home&&!state.q&&!state.orient)||state.jav==='1',")
self.assertPageLacks("if(!state.orient)p.set('exclude_vertical','1')")
def test_grid_count_and_range_select_read_across_sections_but_skip_the_strip(self):
"""目录是一叠 `.grid`,不是一个;竖屏带里的卡既不计入「显示 N」,也不参与范围选中。
- 判据统一写成 `#grid > .grid > .card[data-id]`:跨过分段这一层,同时把竖屏带
- 排除在外——它的卡在 `.srow` 里,不属于任何一段。
+ 判据统一写成网格的直接子卡(`[data-media-grid] > [data-media-card]`):跨过分段这一层,
+ 同时把竖屏带排除在外——它的卡在竖屏那一排里,不属于任何一段。
"""
self.assertPageContains(
- "const gridCards=()=>document.querySelectorAll('#grid > .grid > .card[data-id]');")
+ "'#grid > .grid > .card[data-id],:is(#grid,#index [data-entity-grid]) "
+ "[data-media-grid] > [data-media-card][data-id]');")
self.assertPageContains(
"function visibleCardIds(){return [...gridCards()].map(card=>+card.dataset.id)}")
- self.assertPageContains("const n=gridCards().length;")
def test_recycle_bin_has_its_own_route_and_reports_undeletable_files(self):
self.assertRoute('/trash', "section:'trash'", "openTrash(push)")
@@ -8155,8 +7965,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains('.card:hover .badge,.card:hover .dur{opacity:0}')
# max-height 兜住 WebKit:标题里的番号块是 inline-flex,line-clamp 在那里不截。
self.assertPageContains('.meta .t{font-size:var(--fs-md);line-height:1.35;min-height:2.7em;max-height:2.7em;')
- self.assertPageContains("const sizeText=Number(shownSize)>0?fmtSize(Number(shownSize)):'大小未知';")
- self.assertPageContains('<span class="size">${sizeText}</span>')
def test_tag_display_names_keep_the_common_spelling(self):
# 标签云与字母表两种摆法、类型筛选由 `frontend/test/react/index-page.test.tsx` 验。
@@ -8171,7 +7979,7 @@ class WebUiSourceTests(unittest.TestCase):
def test_state_routes_tag_multiselect_and_header_capabilities_are_explicit(self):
self.assertPageContains("const STATE_ROUTES={fresh:'/unseen',later:'/watch-later',flagged:'/flagged',ads:'/junk-files'}")
self.assertPageContains('href="${v.k?STATE_ROUTES[v.k]:\'/\'}" data-state="${v.k}"')
- self.assertPageContains("route(homePath());buildBars();load(true)")
+ self.assertPageContains("route(homePath());buildBars();loadCatalog()")
self.assertPageContains("const canSelect=catalog||entity||path==='/tags'")
self.assertPageContains("$('#selectMode').hidden=!canSelect;$('#density').hidden=!canDensity")
self.assertPageLacks("const canRefresh=")
@@ -8750,12 +8558,11 @@ class WebUiSourceTests(unittest.TestCase):
'id="photoDetailTitle" data-middle-truncate',
'<b data-middle-truncate>${esc(javDisplayName(media))}</b>',
'<b data-middle-truncate>${esc(javDisplayName(x))}</b>',
- 'class="t resourcecardtitle" data-middle-truncate',
'class="t junkcardtitle" type="button" data-junk-open data-middle-truncate',
'class="t junkcardtitle" data-middle-truncate'):
self.assertPageContains(consumer)
- # 高清版目标页、统计页、复核页、数据管理与重复文件页归 React 子树,由 frontend 的用例覆盖。
- self.assertEqual(self.app_js.count("data-middle-truncate"), 6)
+ # 高清版目标页、统计页、复核页、数据管理、重复文件页与回收站资源卡归 React 子树,由 frontend 的用例覆盖。
+ self.assertEqual(self.app_js.count("data-middle-truncate"), 5)
self.assertPageContains("if(element.dataset.middleTruncateWithin===undefined)return element.clientWidth;")
self.assertEqual(self.app_js.count('class="mixitemtext"'), 3)
# 关注合集队列卡的出处行是 flex 一行(`.fqmeta`),时间不收窄,不走尾部省略。
@@ -8788,7 +8595,6 @@ class WebUiSourceTests(unittest.TestCase):
# 小窗信息栏与播放器右键菜单:标题、来源和菜单标签都是语义文本,尾部省略。
".miniplayertitle", ".miniplayersub", ".playermenuitem>span",
".mixitemtext [data-truncate-end]", ".mixqueuehead h2",
- ".ncard .meta .why",
".pickrowtext b",
".playerstats dd", ".playerstatsmetric>span",
# 详情标题折成两行,尾部省略;溢出时旁边那枚展开键给出全文。
@@ -9085,11 +8891,9 @@ class WebUiSourceTests(unittest.TestCase):
'title="换一批" aria-label="换一批">${icon(\'shuffle\')}',
# 同步删除把这个目录在盘上和账本里对齐。
'aria-label="同步删除">${icon(\'folder-sync\')}',
- # 沉浸模式是一叠竖着翻的卡,保存为播放列表存的是一份列表。
- "icon('gallery-vertical-end')}<span>进入沉浸模式</span>",
+ # 保存为播放列表存的是一份列表。沉浸模式入口与卡上「打开详情」的字形
+ # 分别在 e2e 设计用例和 catalog-grid.test.tsx 里核对。
'aria-label="保存为播放列表">${icon(\'playlist\')}',
- # 打开详情把这一张摊开,不是把窗口最大化。
- 'title="打开详情" aria-label="打开详情">${icon(\'expand\')}',
# 缩放条两端步进的是倍数,加减号没说清加减的是什么。
'data-zoom-step="-1" aria-label="缩小">${icon(\'zoom-out\')}',
'data-zoom-step="1" aria-label="放大">${icon(\'zoom-in\')}',
@@ -9120,7 +8924,6 @@ class WebUiSourceTests(unittest.TestCase):
# 侧栏:已标记是书签,沉浸模式是一叠竖着翻的卡;`play` 留给真的起播。
self.assertPageContains("['flagged','已标记','bookmark'],")
self.assertPageContains("['immerse','沉浸模式','gallery-vertical-end'],")
- self.assertPageContains("<span>进入沉浸模式</span>")
# 三个名字里都带「管」「设」的入口各归各的:左上角那枚开的是左栏,所以是一块
# 被划出侧栏的面板;侧栏「管理」是收拾库里的东西,所以是扳手——圆柱只留给口味页
# 那几处「数据源」;管理里的「配置」配的是这台电脑的媒体文件夹与端口,所以是
@@ -9793,15 +9596,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertEqual(skeleton.count("data-cleanup-task"), 5,
"数据管理骨架要同步画出三张任务卡和两块 BoardUI 操作区")
- def test_the_shorts_band_is_told_apart_by_its_fill_not_a_line(self):
- """竖屏带靠底色和网格区分,不描一圈线。
-
- 它嵌在两段无边框的网格中间,一条线会把它读成一个可以点开的容器。
- """
- board = (Path(__file__).resolve().parents[1] / "web/board.css").read_text(encoding="utf-8")
- self.assertIn(".shorts-inline{border:0}", board)
- self.assertPageContains(".shorts-inline{padding:16px;background:var(--ground);")
-
def test_the_home_rows_keep_their_left_edge_and_pass_under_the_sidebar(self):
"""首页那几排横滚到右边时从侧栏底下穿过去,往左滚到头仍停在原对齐线上。
@@ -9817,17 +9611,6 @@ class WebUiSourceTests(unittest.TestCase):
" #tiers .tier{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}",
board,
)
- self.assertIn(
- " .shorts-inline{margin-left:calc(-1 * (var(--railW) + 16px));"
- "padding-left:calc(var(--railW) + 32px);\n"
- " border-radius:0 var(--floating-radius) var(--floating-radius) 0}",
- board,
- )
- self.assertIn(
- " .shorts-inline .srow{margin-left:calc(-1 * (var(--railW) + 32px));"
- "padding-left:calc(var(--railW) + 32px)}",
- board,
- )
def test_the_home_rows_keep_loading_as_they_scroll_toward_their_right_end(self):
"""首页三排横滚到右端接着续,首屏只画一屏够用的量。
@@ -10644,7 +10427,7 @@ class WebUiSourceTests(unittest.TestCase):
self.assertIn("rootMargin:'320px'", body)
self.assertEqual(self.page.count("new IntersectionObserver"), 1,
"共享分页只有这一个观察器")
- for consumer in ("function renderFollow", "function renderEntityCollection", "function renderPhotoWall", "function wireCatalogLoadMore"):
+ for consumer in ("function renderFollow", "function renderPhotoWall", "function loadJunk"):
self.assertIn("wireLoadMore(", self._js_function(consumer.split()[-1]))
def test_the_identity_name_leaves_room_for_descenders(self):
@@ -10683,26 +10466,9 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageLacks(".detailtag .tagfilter small{")
def test_editions_collapse_into_one_card_with_a_version_badge(self):
"""同番号的几个版次合成一张卡,角标写清有几个版本。"""
- self.assertPageContains("function collapseEditionGroups(items){")
- self.assertPageContains("const visible=collapseEditionGroups(collapseMultipartItems(items));")
- self.assertPageContains('${editions.count} 个版本')
- # 叠层纸边是「这张卡代表不止一条」的说法,分卷和版次都成立;只给分卷的话,
- # 同样被折叠过的版次卡长得和普通卡一模一样。
- self.assertPageContains("const stacked=parts||editions;")
- self.assertPageContains("${stacked?'<div class=\"partstack\">':''}")
- self.assertPageContains("${stacked?'</div>':''}")
- self.assertPageContains("openEditions(it.edition_group.seed_id,id,true,anchor)")
+ self.assertPageContains("if(it.edition_group){openEditions(it.edition_group.seed_id,it.id,true,anchor);return}")
self.assertRoute('/editions/:seed/:item', "openEditions(params.seed,params.item,push)")
- def test_entity_pages_collapse_edition_groups_too(self):
- """资料页的网格也要折叠版次组。
-
- 只折叠分卷的话,女优页上 `ABF-187` 与 `ABF-187-UN` 仍旧并排两张卡,
- 两张都挂着「2 个版本」角标——角标说已经合过,眼前却是没合的两张。
- """
- self.assertPageContains(
- "collapseEditionGroups(collapseMultipartItems(items.items)).map(it=>cardHtml(it))")
-
def test_the_edition_queue_is_labelled_and_clickable(self):
"""版次队列要认自己这一类:标题、计数、每条的版次徽章和点击都得对上。
@@ -10788,7 +10554,6 @@ class WebUiSourceTests(unittest.TestCase):
必须走不可点分支——嵌套 <button> 会被浏览器就地拆散。
"""
self.assertPageContains("function cardIdentity(it,linked=true)")
- self.assertPageContains("const {avatar,whoHtml}=cardIdentity(it);")
self.assertPageContains(
'<span class="mixitemmeta">${cardIdentity(x,false).avatar}<span class="mixitemtext">')
self.assertPageContains(
@@ -10808,28 +10573,20 @@ class WebUiSourceTests(unittest.TestCase):
元数据钉成一行:大小和观看次数不放,推荐理由留着截尾。不能拿固定高度
去裁——行高凑不出整行,第三行会露半截字,用户看到的就是被切掉的「399 MB」。
"""
- self.assertCode(
- ".ncard .mavstack .mav:nth-child(n+3),\n"
- ".sgrid.mixgrid>.mixqueue .mavstack .mav:nth-child(n+3){display:none}")
- self.assertPageContains(
- ".ncard .meta .s{flex-wrap:nowrap;overflow:hidden}")
- self.assertPageContains(
- ".ncard .meta .why{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}")
- self.assertPageContains(".ncard .meta .size,.ncard .meta .watchcount{display:none}")
- self.assertPageLacks(".ncard .meta .s{line-height:1.45;height:")
+ self.assertPageContains(".sgrid.mixgrid>.mixqueue .mavstack .mav:nth-child(n+3){display:none}")
def test_a_cold_deep_link_fills_the_catalog_below_the_detail(self):
"""深链冷启动时列表一次请求都没发过,排序条底下于是是一整屏空白。
从列表里点进详情时下面就是那份列表,直接刷新详情页的地址也该有同样的东西。
- 补的那一次请求必须走 `load(false)`:`reset` 那条开头就 `disposeStage()`,
+ 补的那一次请求直接挂网格(`paintCatalogGrid`):`loadCatalog()` 开头就 `disposeStage()`,
会把刚打开的这一屏详情一起收掉。
"""
self.assertPageContains("function fillIdleCatalog()")
self.assertPageContains("if(!grid.querySelector('.catalog-skeleton')&&!$('#stage').querySelector('[data-skeleton=\"detail\"]'))return;")
- self.assertPageContains("void load(false);")
+ self.assertPageContains("void paintCatalogGrid(surfaceToken(surfacePath()));")
self.assertPageContains("if(!returnSurfaceReady)fillIdleCatalog();")
- self.assertPageContains("if(reset){barsContext={type:'home',filters:state};"
+ self.assertPageContains("barsContext={type:'home',filters:state};"
"detailReturnBarsContext=null;disposeStage(false);")
def test_settings_sort_pair_and_hover_off(self):
@@ -10843,7 +10600,7 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("['hoverDelaySetting','悬停放大',[['0','关闭']")
self.assertPageContains('boundedPreference(+appSettings.hoverDelaySeconds,0,60,5)')
self.assertPageContains('if(!appSettings.hoverDelaySeconds)return;')
- self.assertPageContains("if(appSettings.hoverDelaySeconds)el.classList.add('longhover')")
+ self.assertPageContains("if(appSettings.hoverDelaySeconds)setHoverState(el,'longhover',true)")
def test_group_collapse_is_a_setting_and_defaults_to_on(self):
"""合并分卷与版本可以关掉,关掉后同番号的每一卷/每一版各占一张卡。
@@ -10858,18 +10615,8 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains(
"$('#groupCollapseSetting').onchange=e=>{appSettings.groupCollapse=!!e.target.checked;"
"saveSettings();reloadCurrentSurface()};")
- self.assertEqual(self.page.count("if(!appSettings.groupCollapse)return items;"), 2,
- "分卷和版次两套折叠都要认这个开关")
-
- def test_both_collapse_sets_are_cleared_together(self):
- """折叠用的集合必须和分卷那套一起清。
-
- 漏掉的话,第一屏之后每次重画都会把版次卡当成「已经渲染过」直接过滤掉——
- 卡片会凭空消失,而且只在翻页或换筛选之后才出现,最难对上原因。
- """
- self.assertEqual(self.page.count("renderedEditionGroups.clear()"),
- self.page.count("renderedPartGroups.clear()"),
- "两套折叠集合的重置点必须一一对应")
+ self.assertEqual(self.page.count("groupCollapse:appSettings.groupCollapse"), 2,
+ "目录与资料页两处网格都要认这个开关")
def test_the_player_asks_the_one_duration_judge_instead_of_trusting_the_field(self):
"""播放器不许自己判「什么算真时长」,要问 realDuration。
@@ -10949,7 +10696,7 @@ class WebUiSourceTests(unittest.TestCase):
"判据要在拼 HTML 之前,不能画完再擦")
# 铺开索引页/资料页与进入管理页是同一件事的两侧,各自的共用函数都要收掉芯片。
self.assertPageContains(
- "$('#stats').hidden=true;$('#index').hidden=false;$('#grid').innerHTML='';"
+ "$('#stats').hidden=true;$('#index').hidden=false;clearCatalogGrid();"
"$('#combo').innerHTML='';",
"索引页与资料页的共用铺开函数必须收掉目录的筛选芯片")
for name, loader in (("openIndex", "showIndexSkeleton("), ("openEntity", "showEntityLoading(")):
@@ -10982,13 +10729,7 @@ class WebUiSourceTests(unittest.TestCase):
".forEach(b=>b.onclick=()=>{toggleTag(b.dataset.tag)});")
self.assertCode("$('#index').querySelectorAll('[data-entity-tag]').forEach(b=>b.onclick=()=>\n"
" toggleTag(b.dataset.entityTag));")
- self.assertCode("commitContextFilter(filters=>{\n"
- " filters.tag=tagPressed(filters.tag,tg.dataset.tag)?'':tg.dataset.tag});")
- # 卡片上的实体链接必须限定在卡片自己身上。资料页把 `data-entity-kind` 写在
- # `#index` 上,无界的 closest 会一路找到它:卡片上点标签只会把这一页重开一遍,
- # 标签分支永远轮不到。
- self.assertPageContains("if(ent&&el.contains(ent)){e.stopPropagation();"
- "openEntity(ent.dataset.entityKind,ent.dataset.entityName);return}")
+ self.assertPageContains("commitContextFilter(filters=>{filters.tag=tagPressed(filters.tag,tag)?'':tag});")
self.assertPageContains("$('#index').dataset.entityKind=kind;$('#index').dataset.entityName=name;")
self.assertPageContains("root.querySelectorAll('[data-untag]')"
".forEach(b=>b.onclick=()=>toggleTag(b.dataset.untag));")
@@ -11443,7 +11184,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains('entityCollectionSortsHtml=filters=>sortControlsHtml(')
self.assertPageContains("extra:javActive()?javLayoutButtons():''")
self.assertPageContains("wireJavLayoutButtons(section)")
- self.assertPageContains("renderEntityCollection(kind,name,{...entityCollectionPage,items:[...entityCollectionPage.items]}")
# 版式开关和关注列表的紧凑开关是同一个控件:共用 iconSwitchHtml 与 .iconswitch
# 样式,.javlayout 只留排序行里的位置微调。
self.assertPageContains("iconSwitchHtml('jav-layout','JAV 卡片版式',JAV_LAYOUTS,javLayout(),")
@@ -11455,30 +11195,24 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("let entityRequestSeq=0,entityJavLayout=false")
self.assertPageContains("(items.items||[]).some(item=>item.is_jav)")
self.assertPageContains("return state.jav==='1'||entityJavLayout")
- self.assertPageContains("const jav=cardLayoutActive()&&!!it.is_jav,layout=cardLayout()")
+ self.assertPageContains("active:cardLayoutActive(),size:cardLayout()")
def test_switching_the_jav_layout_repaints_cards_without_a_request(self):
"""版式是纯展示层的开关:不发请求,也就没有等待态可放。
- 卡片 HTML 完全由 CACHE 里那条媒体决定,`load(true)` 会先把整屏换成骨架、再取一遍
+ 卡片完全由缓存里那条媒体决定,`loadCatalog()` 会先把整屏换成骨架、再取一遍
同样的数据;用户点「大图」看到的是列表整屏消失、骨架闪一下、内容再回来。
- 逐张换 outerHTML 而不是重跑 batchWithMix:顺序、Mix 落位和分卷/版次折叠都是前几批
- 累积下来的,重跑分组会把它们重排。
+ 所以只把新版式推给正挂着的网格:顺序、Mix 落位和分卷/版次折叠都是已取回的几页
+ 算出来的,网格按原样重画,不重取。
"""
body = self.app_js.split("function setJavLayout(value){", 1)[1].split("\n}", 1)[0]
- self.assertIn("repaintCatalogCards()", body)
- self.assertNotIn("load(true)", body)
- self.assertPageContains("function repaintCatalogCards(){")
- self.assertPageContains("if(state.state==='trash'||state.state==='ads')return;")
- self.assertPageContains(
- "grid.querySelectorAll('.card[data-id],.card[data-mix-seed]').forEach(card=>{")
- self.assertPageContains("if(it)card.outerHTML=seed?mixCardHtml(it):cardHtml(it);")
- self.assertPageContains("wireCards(grid);wireMixCards(grid);paintSelection();")
- repaint = self.app_js.split("function repaintCatalogCards(){", 1)[1].split("\n}", 1)[0]
- self.assertIn("releaseHoverPreviews(grid)", repaint)
+ self.assertIn("repaintCatalogGrid()", body)
+ self.assertNotIn("loadCatalog()", body)
+ repaint = self.app_js.split("function repaintCatalogGrid(){", 1)[1].split("\n}", 1)[0]
+ self.assertIn("releaseHoverPreviews(host)", repaint)
+ self.assertIn("updateIsland(host,{layout:catalogGridLayout(),seekSeconds:appSettings.seekSeconds})", repaint)
self.assertNotIn("renderCatalogLoading", repaint)
self.assertNotIn("await", repaint)
- self.assertNotIn("batchWithMix", repaint)
def test_the_people_index_offers_a_big_and_a_compact_layout(self):
"""艺人索引页的两个版式,与 JAV 大图同一条思路、同一个控件。"""
@@ -11985,8 +11719,6 @@ class MotionRecipeTests(unittest.TestCase):
"""首屏那一次不放动画,值没变也不放:同一次重绘里把同样的字再写一遍是常态。"""
self.assertPageContains("if(previous===undefined||previous===next)return;")
self.assertPageContains("if(previous===undefined||previous===next){write();return}")
- # 整行重画时读数那一格跟着重建,靠上一次的值判断自己是刚出现还是换了数。
- self.assertPageContains("if(lastCountReadout)readout.dataset.popCount=lastCountReadout;")
self.assertPageContains(".digits.popping>span{animation:digit-pop-in var(--motion-count) both;")
self.assertPageContains("animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))")
diff --git a/web/app.js b/web/app.js
index e407452b0..c2f9a82bf 100644
--- a/web/app.js
+++ b/web/app.js
@@ -255,9 +255,8 @@ function wireCountRow(){
`.count:empty` 还会让整行折叠,网格跟着往上跳一截。计数骨架宽高固定、行本身有
`min-height:var(--sortH)` 兜底,所以数字回来时不发生位移。上方的标签条和已选条件
同理不动——它们本来就不随这次请求变。 */
-/* 目录列表是一叠 `.grid`,不是一个:竖屏带把当前这段从行边界剪开后,上下两半各自
- 是一段。所有「本页有哪些卡」的判断都按 `#grid > .grid > .card` 走,跨过分段这一层,
- 同时把竖屏带里的 `.scard` 排除在外——它们在 `.srow` 里,不属于任何一段。 */
+/* 壳自己画的那几屏(骨架、垃圾文件队列)把卡片写进 `#grid > .grid`,续页追加在最后
+ 一段里。目录与回收站的作品卡归 `catalog-grid` island。 */
const lastGridSection=()=>{
const grid=$('#grid'),last=grid.lastElementChild;
if(last&&last.classList.contains('grid'))return last;
@@ -266,7 +265,10 @@ const lastGridSection=()=>{
内容(翻页、换筛选)不走这条——`revealSkeleton` 自己看出去的那一屏里有没有占位。 */
const setGridCards=html=>revealSkeleton($('#grid'),()=>{$('#grid').innerHTML=`<div class="grid">${html}</div>`});
const appendGridCards=html=>lastGridSection().insertAdjacentHTML('beforeend',html);
-const gridCards=()=>document.querySelectorAll('#grid > .grid > .card[data-id],#grid [data-media-grid] > [data-media-card][data-id]');
+/* 「本页有哪些卡」,Shift 连选按这个顺序:垃圾文件的卡、目录与资料页网格里的作品卡。竖屏带
+ 和接着看那一排不在其中,它们不在网格的分段里。 */
+const gridCards=()=>document.querySelectorAll(
+ '#grid > .grid > .card[data-id],:is(#grid,#index [data-entity-grid]) [data-media-grid] > [data-media-card][data-id]');
function renderCatalogLoading(label='正在读取作品'){
const count=$('#count');
count.setAttribute('aria-busy','true');
@@ -853,7 +855,7 @@ const SETTING_SELECTS=[
['hoverDelaySetting','悬停放大',[['0','关闭'],['3','3 秒'],['5','5 秒'],['8','8 秒']],
()=>appSettings.hoverDelaySeconds,
value=>{appSettings.hoverDelaySeconds=boundedPreference(+value,0,60,5);
- if(!appSettings.hoverDelaySeconds)document.querySelectorAll('.previewing,.longhover,[data-previewing],[data-longhover]')
+ if(!appSettings.hoverDelaySeconds)document.querySelectorAll('[data-previewing],[data-longhover]')
.forEach(el=>{setHoverState(el,'previewing',false);setHoverState(el,'longhover',false)});
document.documentElement.style.setProperty('--hover-delay',`${appSettings.hoverDelaySeconds}s`);saveSettings()}],
['seekSecondsSetting','快进 / 快退',[['5','5 秒'],['10','10 秒'],['30','30 秒']],
@@ -2999,11 +3001,10 @@ function releaseHoverPreviews(root=document,except=null){
if(im.closest(HOVER_CARDS)===except)return;
im.removeAttribute('src');im.remove()});
}
-/* 悬停态按卡的来源写:壳拼的卡认类名;React 卡的类名归 React 管、不往上加,
- 只写 `data-previewing`/`data-longhover`。 */
-function setHoverState(el,name,on){if(!el.matches('[data-media-card],[data-mix-card]')){el.classList.toggle(name,on);return}if(on)el.dataset[name]='';else delete el.dataset[name]}
+/* 悬停态写在卡上的 `data-previewing`/`data-longhover`:卡的类名归 React 管,壳不往上加。 */
+function setHoverState(el,name,on){if(on)el.dataset[name]='';else delete el.dataset[name]}
function wireHover(el,it){
- const pic=el.querySelector('.pic,[data-media-pic]'); if(!pic)return;
+ const pic=el.querySelector('[data-media-pic]'); if(!pic)return;
el.dataset.hoverMode=it.location==='local'?'video':'frames';
let longTimer=null;
const armLong=()=>{clearTimeout(longTimer);if(!appSettings.hoverDelaySeconds)return;setHoverState(el,'previewing',true);longTimer=setTimeout(()=>{if(appSettings.hoverDelaySeconds)setHoverState(el,'longhover',true)},appSettings.hoverDelaySeconds*1000)};
@@ -3011,7 +3012,7 @@ function wireHover(el,it){
if(it.location!=='local'){ // 远端源:只在接触印相的格子间扫视,零网络流量
/* 扫视图是叠在画面之上新建的一层,不改任何已有 `<img>` 的 src。JAV 大图和小图
版式里画面就是封面本身(`.poster.cover`),改它的 src 等于把封面当场换掉;
- 按类名把封面排掉又等于这两种版式整个没有悬停预览,连 `.longhover` 都不进,
+ 按类名把封面排掉又等于这两种版式整个没有悬停预览,连 `data-longhover` 都不进,
快退快进那三颗也跟着永远不出现。叠一层对三种版式是同一条路。
这一层用 contain 加黑底:大图版式的容器是 0.75 的竖比例,16:9 的接触印相格子
在里面居中、上下留黑,和本地视频的 `.hv` 同一个口径。 */
@@ -3400,10 +3401,6 @@ window.addEventListener('resize',()=>{
最大 5.6%。
取 0.72 会让 10 张被切掉最多 3.8%,取 0.76 同样一张不切但留白到每边中位 3.7%。 */
const COVER_FRONT_RATIO=0.75;
-/* 竖屏一律用同一个比例,不按每条视频的实际宽高。竖屏素材从 0.5 到 0.9 都有,
- 按各自比例渲染会让竖屏条和竖屏网格高低不齐;比例不同的用 contain 上下留黑边
- (`.poster` 本来就是 contain + 黑底)。 */
-const PORTRAIT_RATIO=9/16;
function coverImage(it,layout,eager){
const src=`/cover?code=${encodeURIComponent(it.code||'')}&thumb=1`;
// 人脸位置原样交给页面,锚点由 `coverAnchor` 在加载后算:哪个轴被裁、要推多远,
@@ -3494,98 +3491,6 @@ function cardIdentity(it,linked=true){
:`<span class="who">${esc(who)}</span>`);
return {avatar,whoHtml};
}
-function cardHtml(it,cls){
- /* 资料页可能同时收录番号和非番号作品;版式按钮属于页面,但封套比例只施加给
- 真实 `is_jav` 卡片,不能把同页的创作者视频也拉成竖封。 */
- const jav=cardLayoutActive()&&!!it.is_jav,layout=cardLayout();
- const parts=it.part_group||null;
- const editions=it.edition_group||null;
- /* 卡片比例,写进 `--card-ratio` 交给 CSS 消费。`.pic` 写死 16/9 的话,JAV 的两种
- 版式看起来一模一样。 */
- /* 一个列表里所有卡片必须同高,比例只能由**列表的语境**决定,不能由单条媒体决定。
- 按 `it.ctx_orient` 逐条算的话,任何混着横屏和竖屏的网格都会高低不齐——资料页、
- 相关推荐、搜索结果全中招。竖屏比例只留给两种整列都是竖屏的场合:竖屏条,
- 以及用户显式筛了竖屏的时候。比例对不上的用 contain 上下留黑边。 */
- const portrait=cls==='scard'||state.orient==='竖屏';
- const ar=portrait
- ? PORTRAIT_RATIO
- /* 大图只留右侧正封,宽度不变、高度拉长;小图和预览图保持 16:9。
- 没有封面的那些也跟着拉长:一行里高矮混排同样会把网格撕成锯齿状,
- 缺封面的用 16:9 预览图上下留黑边即可(`.poster` 本来就是 contain + 黑底)。 */
- : (jav&&layout==='big'?COVER_FRONT_RATIO:16/9);
-
- const thumb=it.is_jav
- ? javArtwork(it,jav?layout:'small')
- : it.follow_thumb_url
- ? `<img class="poster" src="${esc(it.follow_thumb_url)}" alt="" loading="lazy" referrerpolicy="no-referrer">`
- : (it.has_thumb||it.has_local_poster
- ? `<img class="poster" src="/poster?id=${it.id}&c=4" alt="" loading="lazy">`
- : `<span class="nopic">无预览</span>`);
- const fl=[it.feedback==='dislike'&&'dislike',it.feedback==='seen'&&'seen',
- it.disposal==='trash'&&'dispose',it.watch_later&&'later']
- .filter(Boolean).map(c=>`<i class="${c}"></i>`).join('');
- const {avatar,whoHtml}=cardIdentity(it);
- const rawShownName=parts?.title||it.name;
- const shownName=javDisplayName(it,rawShownName);
- const shownTitle=javTitleHtml(it,rawShownName);
- const shownSize=parts?.total_size??it.size;
- const shownDuration=parts?.total_duration??it.duration;
- const watchedRatio=!parts&&Number(it.play_seconds)>0&&Number(it.duration)>0
- ? Math.min(Number(it.play_seconds)/Number(it.duration),1):0;
- const tr=watchedRatio>0
- ? `<div class="watchprogress" role="progressbar" aria-label="观看进度" aria-valuemin="0" aria-valuemax="100" aria-valuenow="${Math.round(watchedRatio*100)}"><i style="width:${(watchedRatio*100).toFixed(1)}%"></i></div>`
- : (it.leave_ratio!=null?`<div class="scrub"><i style="width:${Math.round(it.leave_ratio*100)}%"></i></div>`:'');
- const sizeText=Number(shownSize)>0?fmtSize(Number(shownSize)):'大小未知';
- const tgs=(it.follow_tags||it.tags||[]).slice(0,3).map(x=>`<button type="button" class="tg general"${it.follow_item_id?' disabled':` data-tag="${esc(x)}"`}>${esc(tagLabel(x))}</button>`).join('');
- const laterTool=`<div class="hovertools later-tools"><button class="laterbtn" data-later aria-pressed="${!!it.watch_later}" title="稍后看" aria-label="稍后看">
- ${it.watch_later?icon('check'):icon('bookmark-plus')}</button></div>`;
- const tools=`<button class="previewcounter" data-open title="打开预览" aria-label="打开预览">
- <svg viewBox="-18 -18 36 36"><circle r="17"></circle><circle r="17"></circle></svg>${icon('play','ringplay')}</button>
- ${laterTool}
- <div class="hovertools seektools">
- <button data-seek="-${appSettings.seekSeconds}" title="后退 ${appSettings.seekSeconds} 秒" aria-label="后退 ${appSettings.seekSeconds} 秒">${icon('rotate-ccw')}</button>
- <button data-seek="${appSettings.seekSeconds}" title="前进 ${appSettings.seekSeconds} 秒" aria-label="前进 ${appSettings.seekSeconds} 秒">${icon('rotate-cw')}</button>
- <button data-open title="打开详情" aria-label="打开详情">${icon('expand')}</button></div>`;
- /* 小图与预览图都是 16:9 横图,只更换图片来源;元数据 DOM 和高度必须完全相同。 */
- /* 叠层纸边是「这张卡代表不止一条」的视觉说法,分卷和版次都成立。只给分卷的话,
- 同样被折叠过的版次卡长得和普通卡一模一样,只有角标能看出来。
- 两种都不翻卡:各卷与各版次共用同一个番号的封套,翻过去还是那张图,看着像卡住了。
- 悬停照普通卡走分段视频预览。 */
- const stacked=parts||editions;
- return `<article class="card ${stacked?'partcard ':''}${cls||''} ${it.disposal==='trash'?'pending-delete':''}" data-id="${it.id}"${parts?` data-part-seed="${parts.seed_id}"`:''}>
- <button type="button" class="cardopenhit" data-open aria-label="打开 ${esc(shownName)}${parts?'分卷':editions?'版本':'详情'}"></button>
- ${stacked?'<div class="partstack">':''}<div class="pic" style="--card-ratio:${ar}">${thumb}
- <div class="badge mono">${srcBadge(it.location,it.cost)}</div>
- <span class="selectionMark">${icon('check')}</span><span class="deleteMark">${icon('trash')}<b>回收站</b></span>
- ${parts?`<span class="partbadge">${parts.count} 卷</span>`:''}${editions?`<span class="partbadge editionbadge" title="${esc(editions.editions.join(' · '))}">${editions.count} 个版本</span>`:''}<span class="dur mono">${fmtDur(shownDuration)}</span>${tr}${tools}</div>${stacked?'</div>':''}
- <div class="meta">${avatar}<div class="mtext"><button class="t cardtitle" data-open>${shownTitle}</button>
- <div class="s mono">${whoHtml}
- ${it.why?`<span class="why">${esc(it.why)}</span>`:''}
- <span class="size">${sizeText}</span>
- ${it.play_count?`<span class="watchcount">看过 ${it.play_count}</span>`:''}
- <span class="flags">${fl}</span></div>
- ${tgs?`<div class="ctags">${tgs}</div>`:''}</div></div></article>`;
-}
-const RESOURCE_MEDIUM_LABEL={image:'图片',audio:'音频',archive:'压缩包',other:'其它文件'};
-function resourceCardHtml(it){
- if(!it.medium||it.medium==='video')return cardHtml(it);
- const image=it.medium==='image'&&it.location!=='online';
- const label=(String(it.name||'').toLowerCase().endsWith('.url')?'网址快捷方式'
- :RESOURCE_MEDIUM_LABEL[it.medium]||'其它文件');
- const glyph=image?'pics':label==='网址快捷方式'?'globe':'hard-drive';
- const action=it.disposal==='trash'?'restore':'dispose';
- const actionLabel=action==='restore'?'还原':'移入回收站';
- return `<article class="card resourcecard ${it.disposal==='trash'?'pending-delete':''}" data-id="${it.id}" data-medium="${esc(it.medium||'other')}">
- <div class="pic" style="--card-ratio:16/9"><span class="resourceglyph">${icon(glyph)}<b>${esc(label)}</b></span>
- ${image?`<img class="poster" src="/photo-thumb?id=${it.id}" alt="" loading="lazy" data-drop="self">`:''}
- <div class="badge mono">${srcBadge(it.location,it.cost)}</div>
- <span class="selectionMark">${icon('check')}</span><span class="deleteMark">${icon('trash')}<b>回收站</b></span>
- <button class="resourcecardaction" type="button" data-resource-operation="${action}" aria-label="${actionLabel} ${esc(it.name||'')}" title="${actionLabel}">${icon(action==='restore'?'rotate-ccw':'trash')}<span>${actionLabel}</span></button></div>
- <div class="meta"><span class="mav resourcekind" aria-hidden="true">${icon(glyph)}</span><div class="mtext">
- <span class="t resourcecardtitle" data-middle-truncate title="${esc(it.name||'')}">${esc(it.name||'未命名资源')}</span>
- <div class="s mono"><span class="who">${esc(label)}</span>${it.why?`<span class="why">${esc(it.why)}</span>`:''}<span class="size">${Number(it.size)>0?fmtSize(Number(it.size)):'大小未知'}</span></div>
- </div></div></article>`;
-}
const JUNK_KIND_META={
video:['视频','play'],image:['图片','pics'],archive:['压缩包','file-archive'],
audio:['音频','file-audio'],url:['网址快捷方式','globe'],other:['其它文件','hard-drive'],
@@ -3701,44 +3606,12 @@ function openResourceCard(id,anchor=null){
}
toggleSelection(id);
}
-function wireResourceCardActions(root){
- root.querySelectorAll('[data-resource-operation]').forEach(button=>{
- if(button.dataset.wired)return;button.dataset.wired='1';
- button.onclick=async event=>{
- event.preventDefault();event.stopPropagation();
- const card=button.closest('[data-id]'),operation=button.dataset.resourceOperation;
- if(!card)return;
- setActionBusy(button);
- button.innerHTML=`${spinnerHtml(operation==='restore'?'正在还原':'正在移入回收站')}<span>${operation==='restore'?'正在还原':'正在处理'}</span>`;
- try{
- const id=+card.dataset.id;
- await api('/api/batch',{method:'POST',body:JSON.stringify({ids:[id],operation})});
- await loadCatalog();
- const inverse=operation==='restore'?'dispose':'restore';
- actionReceipt(operation==='restore'?'已还原':'已移入回收站',{undo:async()=>{
- await api('/api/batch',{method:'POST',body:JSON.stringify({ids:[id],operation:inverse})});
- await loadCatalog();
- }});
- }catch(error){
- actionFailure('操作',error);
- setActionBusy(button,false);
- const label=operation==='restore'?'还原':'移入回收站';
- button.innerHTML=`${icon(operation==='restore'?'rotate-ccw':'trash')}<span>${label}</span>`;
- }
- };
- });
-}
function mixLabel(it){
const performer=(it.performers||[])[0];
return (it.is_jav&&performer?performer:it.creator)||performer||it.studio||it.code||tagLabel((it.tags||[])[0])||'为你推荐';
}
-/* 这一条真能画出图吗。必须和下面 mixFacePoster 的分支一致:只看 has_cover 会把
- 非 JAV 模式下只有官方封套的条目当成有图,选它做 seed 或翻到它都是一张「无预览」。 */
-function mixHasPicture(it,layout){
- return !!it&&Boolean(javImageKind(it,appSettings.javImage));
-}
-/* Mix 卡片的静止封面和悬浮翻动的每一张都走这里:翻进来的那张必须和静止的
- 那张长得一样,否则一翻就露出比例和取景的差别。 */
+/* 播放队列每一行的小图。取图的判据同网格里 Mix 卡的画面(`catalog-grid` 的 `mixFace`):
+ 番号作品走封套链,其余取本地预览格,同一条在两处长得一样。 */
function mixFacePoster(it,layout,eager){
const jav=cardLayoutActive()&&!!it.is_jav;
/* 翻动的那几张必须 eager:它们是悬浮时才插进一个 hidden 容器的,
@@ -3750,60 +3623,6 @@ function mixFacePoster(it,layout,eager){
? `<img class="poster" src="/poster?id=${it.id}&c=4" alt="" loading="${load}">`
: `<span class="nopic">无预览</span>`);
}
-function mixCardHtml(it){
- const jav=cardLayoutActive()&&!!it.is_jav,layout=cardLayout();
- const ar=jav&&layout==='big'?COVER_FRONT_RATIO:16/9;
- const thumb=mixFacePoster(it,layout);
- const label=mixLabel(it);
- return `<article class="card mixcard" data-mix-seed="${it.id}">
- <div class="mixstack"><div class="pic" style="--card-ratio:${ar}">${thumb}<div class="mixfaces" data-mix-faces hidden></div><button class="cardopenhit" data-open-mix aria-label="打开 Mix · ${esc(label)}"></button>
- <span class="mixbadge">${icon('play')}Mix</span></div></div>
- <div class="mixmeta"><span class="mixglyph">${icon('play')}</span><div class="mixcopy">
- <b>Mix · ${esc(label)}</b><span>${esc(javDisplayName(it))}及相似作品</span></div></div></article>`;
-}
-let renderedPartGroups=new Set();
-/* 版次组和分卷组各自折叠。分卷是「一部片被切成几段」,版次是「同一部片的几个来源」
- ——有码、中字、无码。它们能同时出现在一个番号上,所以两套 key 分开记,不共用。 */
-let renderedEditionGroups=new Set();
-function collapseMultipartItems(items){
- if(!appSettings.groupCollapse)return items;
- return items.filter(it=>{
- const key=it.part_group?.key;
- if(!key)return true;
- if(renderedPartGroups.has(key))return false;
- renderedPartGroups.add(key);return true;
- });
-}
-function collapseEditionGroups(items){
- if(!appSettings.groupCollapse)return items;
- return items.filter(it=>{
- const key=it.edition_group?.key;
- if(!key)return true;
- if(renderedEditionGroups.has(key))return false;
- renderedEditionGroups.add(key);return true;
- });
-}
-const MIX_SLOT=7; // Mix 卡片插在这一位,也就是每批的第 8 张
-/* seed 决定 Mix 的封面和署名。旧写法取「本批第一个有署名的作品」,而几乎
- 每条都有 creator,于是 seed 恒等于第一张卡片:Mix 卡片永远显示它上面几行那张
- 同样的图,看起来像渲染错了。改成从 Mix 位再往下隔一屏开始找:仍然是本批里的
- 一部作品,语义不变,但不会和同屏可见的卡片撞图。 */
-function mixSeed(visible){
- const layout=cardLayout();
- const named=it=>mixHasPicture(it,layout)&&(it.creator||(it.performers||[]).length||it.studio);
- return visible.slice(MIX_SLOT+8).find(named)
- ||visible.slice(MIX_SLOT+1).find(named)
- ||visible.slice(MIX_SLOT+1).find(it=>mixHasPicture(it,layout))
- ||visible[visible.length-1];
-}
-function batchWithMix(items,enabled=true){
- const visible=collapseEditionGroups(collapseMultipartItems(items));
- const cards=visible.map(it=>cardHtml(it));
- if(!enabled)return cards.join('');
- const seed=mixSeed(visible);
- if(seed&&visible.length>=8)cards.splice(MIX_SLOT,0,mixCardHtml(seed));
- return cards.join('');
-}
/* 相关作品每个 seed 只取一次:悬浮翻动和点开后的队列用的是同一份,
悬浮过再点开 Mix 不会再发一次请求。 */
const mixRelatedCache=new Map();
@@ -3881,14 +3700,6 @@ function wireStackFlip(el,loadFaces){
el.addEventListener('mouseleave',stop);
el._stopHover=stop;
}
-function wireMixFlip(el,seedId){
- wireStackFlip(el,async()=>{
- const related=await mixRelated(seedId),layout=cardLayout();
- return [CACHE[seedId],...related]
- .filter(x=>mixHasPicture(x,layout)).slice(0,MIX_FLIP_FACES)
- .map(x=>mixFacePoster(x,layout,true));
- });
-}
/* 分卷组每个 seed 只取一次:同一组的分卷队列反复打开不再发第二个请求。 */
const partGroupCache=new Map();
function partGroup(seedId){
@@ -3908,14 +3719,6 @@ function wireFollowStackFlip(card){
wireStackFlip(card,async()=>urls.map(url=>
`<img class="poster" src="${esc(url)}" alt="" loading="eager" referrerpolicy="no-referrer">`));
}
-function wireMixCards(root){
- root.querySelectorAll('[data-mix-seed]').forEach(el=>{
- if(el.dataset.wired)return;el.dataset.wired='1';
- const seedId=+el.dataset.mixSeed;
- el.onclick=()=>openMix(seedId,seedId,true,el);
- wireMixFlip(el,seedId);
- });
-}
/* 一个标签是否生效、按一下变成什么,全站只有这一份判据。目录、资料页和详情页各自
存着自己的筛选,谁在那里手写一次 `split(',')` 或 `=== filters.tag`,谁就会与其余
几处漂开:按下态按多选算、点击按单选写,同一枚标签的显示和行为对不上。 */
@@ -3923,57 +3726,6 @@ const tagList=(value=state.tag)=>String(value||'').split(',').filter(Boolean);
const tagPressed=(value,tag)=>tagList(value).includes(String(tag));
const withTagToggled=(value,tag)=>{const cur=tagList(value);const index=cur.indexOf(tag);
index>=0?cur.splice(index,1):cur.push(tag);return cur.join(',')};
-function wireCards(root,onClick){
- root.querySelectorAll('[data-id]').forEach(el=>{
- if(el.dataset.wired)return; el.dataset.wired='1';
- const it=CACHE[el.dataset.id];
- // 小窗开着时普通视频卡直接在小窗里换片;分卷/版次组和要先过门的条目照旧走详情。
- const openCard=(id,anchor=el)=>miniplayerTakesCard(it)?miniplayerPlay(id):onClick?onClick(id,anchor):(it?.part_group
- ?openParts(it.part_group.seed_id,id,true,anchor)
- :it?.edition_group
- ?openEditions(it.edition_group.seed_id,id,true,anchor)
- :openItem(id,true,null,anchor));
- el.onclick=e=>{
- const seek=e.target.closest('[data-seek]');
- if(seek){e.stopPropagation();const v=el.querySelector('video.hv');
- if(v&&Number.isFinite(v.duration)){if(v._hop){clearInterval(v._hop);v._hop=null}
- v.currentTime=Math.max(0,Math.min(v.duration,v.currentTime+(+seek.dataset.seek)))}return}
- const later=e.target.closest('[data-later]');
- if(later){e.stopPropagation();setActionBusy(later);api('/api/watch-later',{method:'POST',body:JSON.stringify({id:it.id})})
- .then(r=>{it.watch_later=r.watch_later;later.setAttribute('aria-pressed',r.watch_later);
- later.innerHTML=r.watch_later?icon('check'):icon('bookmark-plus');
- actionReceipt(r.watch_later?'已加入稍后看':'已移出稍后看',{undo:async()=>{
- const restored=await api('/api/watch-later',{method:'POST',body:JSON.stringify({id:it.id})});
- it.watch_later=restored.watch_later;if(!later.isConnected)return;
- later.setAttribute('aria-pressed',restored.watch_later);
- later.innerHTML=restored.watch_later?icon('check'):icon('bookmark-plus');
- }})}).catch(error=>actionFailure('更新稍后看',error)).finally(()=>setActionBusy(later,false));return}
- if(selectMode||e.shiftKey||e.ctrlKey||e.metaKey){e.preventDefault();e.stopPropagation();toggleSelection(it.id,e.shiftKey);return}
- if(e.target.closest('[data-open]')){e.stopPropagation();openCard(+el.dataset.id,el);return}
- /* 只认卡片自己身上的实体链接。资料页把 `data-entity-kind` 写在 `#index` 上,
- 无界的 `closest` 会一路找到它:卡片上任何一次点击都变成「再打开一次这一页」,
- 底下的标签和播放分支一个都轮不到。 */
- const ent=e.target.closest('[data-entity-kind]');
- if(ent&&el.contains(ent)){e.stopPropagation();openEntity(ent.dataset.entityKind,ent.dataset.entityName);return}
- const unownedLink=e.target.closest('[data-open-unowned]');
- if(unownedLink&&el.contains(unownedLink)){e.stopPropagation();openUnowned();return}
- /* 卡片上的标签是「只看这个标签」,已经在筛它就取消。在哪一屏点就在哪一屏
- 生效:目录上换成这个标签,资料页上是在这个人/厂牌内部换。 */
- const tg=e.target.closest('.tg');
- if(tg){e.stopPropagation();
- commitContextFilter(filters=>{
- filters.tag=tagPressed(filters.tag,tg.dataset.tag)?'':tg.dataset.tag});
- window.scrollTo({top:0,behavior:'smooth'});return}
- if(e.shiftKey||e.ctrlKey||e.metaKey||selectMode){e.preventDefault();toggleSelection(it.id,e.shiftKey);return}
- openCard(+el.dataset.id,el);
- };
- el.querySelectorAll('[data-open]').forEach(opener=>{
- opener.dataset.openWired='1';
- opener.onclick=e=>{e.stopPropagation();if(selectMode||e.shiftKey||e.ctrlKey||e.metaKey){e.preventDefault();toggleSelection(it.id,e.shiftKey);return}openCard(+el.dataset.id,el)};
- });
- if(it&&(!it.medium||it.medium==='video'))wireHover(el,it);
- });
-}
/* 馆藏卡片网格(`catalog-grid` island)用的助手与动作。各只有一份、身份不变:卡片按引用
比较,每次推新对象进去就是整屏重画。 */
const gridHelpers={
@@ -3986,8 +3738,8 @@ const gridHelpers={
wireHover:(el,it)=>wireHover(el,it),
releaseHover:el=>{el._stopHover?.();releaseHoverPreviews(el)},
};
-/* 打开一张作品卡,同 `wireCards` 的 `openCard`:小窗开着时普通视频卡直接在小窗里换片,
- 分卷/版次组和要先过门的条目照旧走详情。 */
+/* 打开一张作品卡:小窗开着时普通视频卡直接在小窗里换片,分卷/版次组各进自己的队列,
+ 其余打开详情。 */
function openGridCard(it,anchor){
if(miniplayerTakesCard(it)){miniplayerPlay(it.id);return}
if(it.part_group){openParts(it.part_group.seed_id,it.id,true,anchor);return}
@@ -8296,24 +8048,6 @@ function setHomeLayout(value){
if(!$('#grid').hidden)repaintCatalogGrid();
}
function wireJavLayoutButtons(root){wireIconSwitch(root,'data-jav-layout',setJavLayout)}
-/* 版式切换一次请求都不发。卡片 HTML 完全由 CACHE 里那条媒体决定,走 `loadCatalog()` 的话
- 会先把整屏换成骨架、再重新取一遍同样的数据,于是纯展示层的一个开关被演成了一次页面
- 加载:列表整屏消失、骨架闪一下、内容再回来。
- 逐张换 outerHTML,不重跑 batchWithMix:网格里的顺序、Mix 的落位和分卷/版次折叠都是
- 前几批累积下来的结果,重跑一遍分组会把它们重排。 */
-function repaintCatalogCards(){
- // 回收站和垃圾文件的卡片由 resourceCardHtml/junkCardHtml 画,形状和动作都不同,
- // 不能拿 cardHtml 重画;这两屏本来也没有版式开关。
- if(state.state==='trash'||state.state==='ads')return;
- const grid=$('#grid');
- releaseHoverPreviews(grid);
- grid.querySelectorAll('.card[data-id],.card[data-mix-seed]').forEach(card=>{
- const seed=card.dataset.mixSeed;
- const it=CACHE[seed||card.dataset.id];
- if(it)card.outerHTML=seed?mixCardHtml(it):cardHtml(it);
- });
- wireCards(grid);wireMixCards(grid);paintSelection();
-}
function setJavLayout(value){
appSettings.javLayout=normalizeJavLayout(value);
saveSettings();
@@ -8861,53 +8595,6 @@ $('#q').addEventListener('focus',()=>{Promise.all([loadSearchHistory(),loadSearc
// 带着 `?q=` 进来再点回输入框时,框里已经有词,补全该跟着这个词给。
renderSearchMenu();refreshSearchMenu()})});
-/* 竖屏带每接一页出现一条,位置在这一页新增的那几行里随机取一个行边界。
- 固定第几行的写法从第二屏起就成了可预期的栏目,而这条带子的作用正是打断节奏——
- 位置可预期,节奏就不再被打断。每条带子取不同的一批竖屏,翻下去不会反复看到同 18 个。 */
-const SHORTS_BATCH=18;
-let shortsOffset=0;
-async function loadShorts(requestSeq,surface,{reset=false,addedFrom=0}={}){
- // JAV 模式不插竖屏带:番号发行物本身是横版,竖屏是另一类内容。
- // 主列表的 exclude_vertical 管不到这条——它是独立请求、独立插入的。
- if(!isCatalogPath(decodeURIComponent(location.pathname))||javActive()||state.orient==='竖屏'
- ||state.state==='ads'||state.state==='trash')return;
- if(reset)shortsOffset=0;
- const p=new URLSearchParams(Object.entries(state).filter(([,v])=>v));
- /* 排序跟着主列表走,不再写死 sort=new;换一批时竖屏带也要一起换。 */
- p.set('orient','竖屏');p.set('limit',SHORTS_BATCH);p.set('offset',shortsOffset);
- const d=await surfaceApi(surface,'/api/items?'+p);
- if(requestSeq!==loadRequestSeq||!surfaceCurrent(surface))return;
- if(!d.items.length){shortsOffset=0;return}
- cache(d.items);
- const html=`<section class="shorts-inline"><h2 class="disp">竖屏 <span class="mono shortscount">${
- d.total.toLocaleString()} 个</span><button class="shorts-enter" type="button">${
- icon('gallery-vertical-end')}<span>进入沉浸模式</span></button></h2><div class="srow">${
- d.items.map(it=>cardHtml(it,'scard')).join('')}</div></section>`;
- const strip=splitGridForShorts(html,addedFrom);
- if(!strip)return;
- shortsOffset=d.has_more===false?0:shortsOffset+SHORTS_BATCH;
- strip.querySelector('.shorts-enter').onclick=()=>openTok();
- wireCards(strip.querySelector('.srow'),openTok); wireDrag(strip.querySelector('.srow'));
-}
-/* 从行边界剪开当前这段视频:剪点之后的卡整段搬进新的 `.grid`,竖屏带插在两段之间。
- 只在行边界上剪,否则上一行会被截断留下一段空白;两端各留至少一行,
- 剪在头尾就成了「置顶」或「垫底」,不是穿插。 */
-function splitGridForShorts(html,addedFrom){
- const section=lastGridSection();
- const cards=[...section.children].filter(x=>x.matches('.card[data-id]'));
- const columns=Math.max(1,getComputedStyle(section).gridTemplateColumns.split(' ').length);
- const boundaries=[];
- for(let i=Math.max(columns,Math.ceil(Math.max(0,addedFrom)/columns)*columns);i<cards.length;i+=columns)
- boundaries.push(i);
- if(!boundaries.length)return null;
- const at=cards[boundaries[Math.floor(Math.random()*boundaries.length)]];
- const tail=document.createElement('div');tail.className='grid';
- for(let node=at;node;){const move=node;node=node.nextElementSibling;tail.append(move)}
- section.after(tail);
- tail.insertAdjacentHTML('beforebegin',html);
- return tail.previousElementSibling;
-}
-
/* ── 就地展开播放 ── */
/* 版次徽章的配色跟卡片标题上的那套走。多一个 `有码`:卡片上正片不加角标是对的
(没角标就是正片),但队列里两条并排时「什么都不写」等于让人自己猜哪条是哪条。 */
diff --git a/web/board.css b/web/board.css
index 2e09c9f9d..741ff0c8b 100644
--- a/web/board.css
+++ b/web/board.css
@@ -671,9 +671,6 @@ body>.board-filter-frame{margin-inline:16px}
.entitymore{min-height:36px;height:36px;padding:0 12px;border-radius:10px;border-color:var(--line);font-size:14px;font-weight:500;color:var(--ink)}
#grid.gridstack{border:0;background:transparent;padding:0;box-shadow:none;border-radius:0}
#grid.gridstack>.grid{border:0;background:transparent;padding:0;box-shadow:none;border-radius:0}
-/* 竖屏带靠底色和网格区分,不再描一圈线:它嵌在两段无边框的网格中间,一条线反而
- 把它读成一个可以点开的容器。 */
-.shorts-inline{border:0}
@media(pointer:coarse){.board-filter-frame #tagbar .pill{height:36px}.board-filter-frame #tagbar{height:52px}.board-filter-frame .sorts button{height:36px}}
#applyUISetting{padding:8px 12px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
#applyUISetting[hidden]{display:none}
@@ -750,7 +747,7 @@ body>.board-filter-frame{margin-inline:16px}
.iconswitch label{border-radius:8px}
.iconswitch label:has(input:checked){background:var(--ground);box-shadow:0 1px 3px light-dark(#0002,#0009)}
.card{overflow:visible;border-radius:var(--surface-radius)}
-.card :is(.pic,.mixstack,.partstack){border-radius:var(--surface-radius)}
+.card :is(.pic,.mixstack){border-radius:var(--surface-radius)}
.card .info{background:transparent}
@media(max-width:760px){.sidecontent{padding:16px}.stage{border-radius:12px}.stage .side{border-left:0;border-top:1px solid var(--line-soft)}}
/* 单列时媒体、详情栏和队列上下排成一列,总高超过浮窗,滚的是里面那一格内容:`<dialog>`
@@ -1453,12 +1450,6 @@ body .followmanage .board-pagination>.geist-button{height:32px;min-height:32px;p
在留了轨道宽度的档位上开。 */
@media(min-width:761px){
#tiers .tier{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}
- /* 竖屏那一条是块有底的面板,跟着一起铺过去:只让里面那一排越界的话,卡片滑到面板左
- 边缘就从自己的底上掉出来,接缝是一条直上直下的硬边。面板铺到视口边上,左边那两个
- 圆角也就没有存在的理由了。 */
- .shorts-inline{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);
- border-radius:0 var(--floating-radius) var(--floating-radius) 0}
- .shorts-inline .srow{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}
}
/* 关注页顶上那两排跟首页这两排是同一个控件,所以规则一份写全:那边是「谁出的」加
「哪个厂牌」,这边是「谁发的」加「哪部作品」,人在两页看到的该是同一种东西。它们
@@ -1639,9 +1630,7 @@ body[data-surface="/junk-files"] .junkfilters{width:100%;padding:12px;gap:8px;bo
对不上的左边界。 */
body[data-surface="/junk-files"] :is(#count,#grid,#loadSentinel){width:100%;max-width:var(--board-content);margin-inline:auto}
body:is([data-surface="/junk-files"],[data-surface="/trash"]) .gridstack>.grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}
-body:is([data-surface="/junk-files"],[data-surface="/trash"]) .gridstack .card{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);overflow:hidden;gap:0}
-body[data-surface="/trash"] .gridstack .card .pic{border-radius:0}
-body[data-surface="/trash"] .gridstack .card>.meta{padding:16px 20px}
+body[data-surface="/junk-files"] .gridstack .card{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);overflow:hidden;gap:0}
body[data-surface="/trash"] #manageLede{padding:20px 24px;background:var(--color-background-primary-default);border-radius:var(--surface-radius);gap:16px;flex-wrap:wrap}
body[data-surface="/trash"] #manageLede>span{font:var(--board-heading)}
html:not(.dark) body[data-surface="/junk-files"] .junkfilters{background:var(--color-background-secondary-default)}
diff --git a/web/css/12-cards.css b/web/css/12-cards.css
index 4ee2d73ef..738202ec7 100644
--- a/web/css/12-cards.css
+++ b/web/css/12-cards.css
@@ -117,8 +117,9 @@ body.refreshing #batchAction svg,
玻璃挂在这枚键自己身上,键是它的定位基准,字形要压在它上面,跟媒体那几枚圆键同一条。 */
.count .sorts .followimagesonly{width:30px;padding:0;display:inline-grid;place-items:center;position:relative}
.count .sorts .followimagesonly svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;position:relative;z-index:1}
-/* 目录列表是一叠卡:连续的一段视频合成一个 `.grid`,竖屏带插进来时把那一段从行边界
- 剪开,上下两半于是各自成为一张独立的卡。`#grid` 本身只是这叠卡的容器,不再是网格。 */
+/* 壳自己画进 `#grid` 的那几屏(骨架、垃圾文件队列)是一叠卡:每一段卡合成一个 `.grid`,
+ `#grid` 本身只是这叠卡的容器,自己不排网格。目录、回收站与资料页的作品卡由 `catalog-grid`
+ island 自己排,版面写在 `frontend/src/react/components/media-card.css`。 */
.gridstack{display:flex;flex-direction:column;gap:16px}
/* 列距 16px 是给悬停面留的:卡片悬停时底色往盒外多铺 8px(见下方 `:hover`),列距再窄,
两张卡的悬停面就顶到邻卡上。关注页的视频列表 `.followlist` 用同一副间距。 */
@@ -126,10 +127,9 @@ body.refreshing #batchAction svg,
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--tile),1fr))}
.card{cursor:pointer;display:flex;flex-direction:column;gap:8px;min-width:0;border-radius:var(--surface-radius);
position:relative;transition:transform .18s ease,filter .18s ease,background-color .15s ease,box-shadow .15s ease;transform-origin:center}
-/* 馆藏、资料页作品和关注网格里,视口外的卡片跳过渲染:滚动和侧栏开合时要算的只剩屏上那几十张。
- 资料页(女优、厂牌、创作者、系列、事务所五种共用一处)的作品区是 `.entitysection>.grid`,
- 卡片出自首页同一个 `cardHtml()`、同一个 `--tile` 列宽和 JAV 版式开关,下面的估计原样成立;
- 标签页点进去落在首页 `#grid`,回收站也是,不另列。
+/* 垃圾文件队列和关注网格里,视口外的卡片跳过渲染:滚动和侧栏开合时要算的只剩屏上那几十张。
+ 目录、回收站与资料页作品区的作品卡归 `catalog-grid` island,同一份估计写在
+ `frontend/src/react/components/media-card.css`,取值与这里一致。
跳过的是卡里的两块,封面 `.pic` 和元信息区 `.meta`;卡片盒本身照常排版,所以屏外卡的
高度里只有元信息区一项是估计值。
- 封面高度由 `aspect-ratio` 从列宽推出,跳过渲染时照样成立,列宽随视口和侧栏开合怎么
@@ -140,40 +140,40 @@ body.refreshing #batchAction svg,
行距;有标签的卡再加一行标签(`.ctags` 的高度)和一道行距,关注卡的徽章行 `.fbadges`
同理(`.fbadge` 一行字加上下 2px 内边距和 1px 边框)。密集一档的高度是 `.mtext` 固定的
三行,同一个变量。
- 叠层纸边画在 `.pic` 外面,不在裁切范围里,Mix 卡、分卷/版次卡和竖屏带的卡一并适用。
+ 叠层纸边画在 `.pic` 外面,不在裁切范围里,关注页的 Mix 卡一并适用。
跳过渲染连带 paint containment,裁切边是元信息区的 padding box:贴着左缘的头像悬停
描边、头像与标签的 2px 焦点环都画在内容盒外面。所以元信息区四周垫 8px 内边距、再用
-8px 外边距抵消,裁切边往外扩 8px(和整张卡的悬停面同宽),内容盒、卡片尺寸和它与
- 封面的间距一个像素不动;`frontend/e2e/design.test.ts` 按几何检查。垫出来的那一圈伸到
+ 封面的间距一个像素不动;`frontend/e2e/design.test.ts` 按几何检查岛里的同一写法。垫出来的那一圈伸到
卡片盒外面,元信息区自己因此不接指针,只有它的子元素接:卡片的悬停面、点击区和悬停
预览的触发范围仍是卡片盒本身。元信息区没有背景,垫出来的一圈不画任何东西。
图片墙不在其内:它的封面没有固定比例,高度取自图片本身,跳过渲染时会按零高排版。
资料页的照片墙 `.photowall` 与名册 `.igrid` 同理不在其内,它们也不是 `.card`。资料页
- 新作那一行(`.feednew`)和详情页的接着看(`#nrow`)只有一行、往横向排,屏外的卡不改变
- 整页高度,标题字号也不是 `--fs-md`(`.feednewcard .meta .t` 是 `--fs-sm`),不套这份估计。 */
+ 新作那一行(`.feednew`)只有一行、往横向排,屏外的卡不改变整页高度,标题字号也不是
+ `--fs-md`(`.feednewcard .meta .t` 是 `--fs-sm`),不套这份估计。 */
.meta{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-badges:0px;
--card-meta-block:calc(var(--fs-md)*2.7 + 3px + var(--card-meta-byline) + var(--card-meta-badges) + var(--card-meta-tags))}
.meta:has(>.mtext>.ctags){--card-meta-tags:calc(var(--fs-xs)*1.45 + var(--tag-pad-y)*2 + 2px + 3px)}
.followitem .meta{--card-meta-byline:max(1lh,21px)}
.followitem .meta:has(>.mtext>.fbadges){--card-meta-badges:calc(1lh + 6px + 3px)}
-:is(#grid,.entitysection>.grid,.followlist:not(.followphotowall)) .card :is(.pic,.meta){content-visibility:auto}
+:is(#grid,.followlist:not(.followphotowall)) .card :is(.pic,.meta){content-visibility:auto}
/* `flex-shrink:0`:跳过渲染时元信息区的内容不参与最小尺寸,卡里有别的子元素要抢空间时它会
被压扁。关注卡的 `.fstate` 是 `flex:1 1 100%`,不钉住的话屏外关注卡的元信息区只剩 21px。
渲染时它本来就压不动(自动最小尺寸就是内容高度),钉住不改变屏上的排版。
估计高度作用在内容盒上,内边距另外加在外面,所以 `--card-meta-block` 只估内容。 */
-:is(#grid,.entitysection>.grid,.followlist:not(.followphotowall)) .card .meta{flex-shrink:0;
+:is(#grid,.followlist:not(.followphotowall)) .card .meta{flex-shrink:0;
margin:-8px;padding:8px;pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block)}
-:where(#grid,.entitysection>.grid,.followlist:not(.followphotowall)) .card .meta>*{pointer-events:auto}
+:where(#grid,.followlist:not(.followphotowall)) .card .meta>*{pointer-events:auto}
/* 叠层往上溢出到行间距里,卡片本体不为它留白。留白的写法(padding-top:7px)会把
- 整张卡压低 7px 并加高 7px,同一行里 Mix、分卷、版次卡的封面和下面的文字就比
- 邻居矮一截;往上堆之后卡片盒和普通卡完全同高,下沿自然平齐。
+ 整张卡压低 7px 并加高 7px,同一行里 Mix 卡的封面和下面的文字就比邻居矮一截;
+ 往上堆之后卡片盒和普通卡完全同高,下沿自然平齐。
纸边与封面是同一种表面,圆角同一档:容器取封面那一档,纸边继承容器。 */
-.mixstack,.partstack{position:relative;isolation:isolate;border-radius:var(--badge-radius)}
-.mixstack::before,.mixstack::after,.partstack::before,.partstack::after{content:"";position:absolute;border-radius:inherit;
+.mixstack{position:relative;isolation:isolate;border-radius:var(--badge-radius)}
+.mixstack::before,.mixstack::after{content:"";position:absolute;border-radius:inherit;
border:1px solid var(--border-15);background:color-mix(in srgb,var(--surface) 84%,var(--video-glow,#15202a));z-index:0}
-.mixstack::before,.partstack::before{inset:0 12px 8px;transform:translateY(-7px);opacity:.54}
-.mixstack::after,.partstack::after{inset:0 6px 4px;transform:translateY(-4px);opacity:.78}
-.mixstack .pic,.partstack .pic{z-index:1}
+.mixstack::before{inset:0 12px 8px;transform:translateY(-7px);opacity:.54}
+.mixstack::after{inset:0 6px 4px;transform:translateY(-4px);opacity:.78}
+.mixstack .pic{z-index:1}
/* 悬浮 Mix 卡片时逐张翻走:最上面那张向上抬起、轻转并淡出,下一张随即接管。
和静止时的叠层是同一个隐喻,不是另一套动效;滞后动画偏好下根本不启动(JS 侧拦下)。 */
.mixfaces{position:absolute;inset:0;z-index:2;pointer-events:none;background:#000} /* 遮住静止封面:不遮的话两张正在交接的时候它会从中间透出来 */
@@ -185,14 +185,8 @@ body.refreshing #batchAction svg,
min-height:28px;padding:4px 9px;border-radius:var(--control-radius);background:rgba(12,8,8,.72);color:#fff;
backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);font-size:var(--fs-xs);font-weight:600}
.mixbadge svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
-.partbadge{position:absolute;right:9px;top:9px;z-index:6;min-height:27px;padding:5px 9px;border-radius:var(--control-radius);
- background:rgba(12,8,8,.72);color:#fff;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
- font-size:var(--fs-xs);font-weight:600}
-.mixcard .mixmeta,.playlistcard .mixmeta{display:flex;min-width:0;gap:9px;align-items:flex-start}
+.playlistcard .mixmeta{display:flex;min-width:0;gap:9px;align-items:flex-start}
.playlistcard .mixcopy{flex:1}
-.mixglyph{width:40px;height:40px;flex:none;border-radius:50%;display:grid;place-items:center;
- color:var(--ink);background:var(--overlay-5);border:1px solid var(--border-10)}
-.mixglyph svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2}
.mixcopy{min-width:0}.mixcopy b,.mixcopy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mixcopy b{font-size:var(--fs-md);line-height:1.45}.mixcopy span{font-size:var(--fs-xs);color:var(--muted);margin-top:2px}
/* 标记是正圆,全站一个形状——复核缩略图那一枚已经是圆的,两处只差尺寸档。 */
@@ -203,18 +197,6 @@ body.refreshing #batchAction svg,
body.select-mode .selectionMark,.card.selected .selectionMark{display:grid}
.card.selected .selectionMark{background:var(--on-media);color:var(--on-media-ink);
border-color:var(--on-media);box-shadow:0 3px 12px #0008}
-.deleteMark{position:absolute;z-index:7;left:10px;bottom:10px;display:none;align-items:center;gap:5px;height:28px;padding:0 9px;
- border-radius:var(--badge-radius);background:rgba(0,0,0,.58);color:#FFB14A;border:1px solid rgba(255,177,74,.4);
- backdrop-filter:saturate(1.8) blur(12px);-webkit-backdrop-filter:saturate(1.8) blur(12px);font-size:var(--fs-xs);font-weight:600}
-.deleteMark svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
-.card.pending-delete .deleteMark{display:flex}
-.card.pending-delete .poster,.card.pending-delete .hv,
-.card.pending-delete .hvframes{filter:grayscale(.9) brightness(.54);opacity:.68}
-/* 模糊层要跟着一起暗下去,否则待删卡片上只有两条留白还是亮的。这条自带 blur(),
- `filter` 不能继承也不能叠加,只能把三个函数写在一起。 */
-.card.pending-delete .pic::before{filter:blur(26px) grayscale(.9) brightness(.27);opacity:.68}
-.card.pending-delete .meta{opacity:.58}
-.card.pending-delete:hover .meta{opacity:.76}
.pic{position:relative;aspect-ratio:var(--card-ratio,16/9);background:#000;border-radius:var(--badge-radius);
overflow:hidden;display:flex;align-items:center;justify-content:center}
/* 正封窄于卡片时两侧的留白,垫的是同一张封面的模糊放大版;`--cover-blur` 由
@@ -233,10 +215,10 @@ body.select-mode .selectionMark,.card.selected .selectionMark{display:grid}
/* 叠层卡的封面格背后压着两层纸边,不能是空的:模糊衬底贴边那一截是半透明的
(`blur()` 向内淡出),封面落地前整格也是空的,纸边的线条会从这两处透进封面。
垫一层页面底色,透出来的就和普通卡一样只是底色本身。 */
-:is(.mixstack,.partstack) .pic:has(.poster.cover){background:var(--page)}
+.mixstack .pic:has(.poster.cover){background:var(--page)}
.cardopenhit{position:absolute;inset:0;z-index:1;border:0;border-radius:inherit;background:transparent;padding:0;cursor:pointer}
.cardopenhit:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}
-.card>.pic,.card>.partstack,.card>.meta{position:relative;z-index:2}
+.card>.pic,.card>.meta{position:relative;z-index:2}
/* 悬停即播真视频(仅免费源,计费源永远不自动拉流) */
.hv{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000;
opacity:0;transition:opacity .2s}
@@ -248,19 +230,14 @@ img.hvframes{position:absolute;inset:0;width:100%;height:100%;object-fit:contain
background:#000;display:block}
/* 悬停面往卡片盒外多铺 8px:不动网格尺寸、不挤相邻卡,只让整张卡的命中反馈比内容
大一圈。背景仍落在卡本身,保留浏览器里可直接核验的悬停底色。 */
-body .card:not(.junkcard,.resourcecard):hover{background:var(--hover);box-shadow:0 0 0 8px var(--hover)}
-body .card:not(.junkcard,.resourcecard):hover .pic{filter:saturate(.9) brightness(.94)}
-body .card:not(.junkcard,.resourcecard):focus-within{background:var(--hover);box-shadow:0 0 0 8px var(--hover)}
+body .card:not(.junkcard):hover{background:var(--hover);box-shadow:0 0 0 8px var(--hover)}
+body .card:not(.junkcard):hover .pic{filter:saturate(.9) brightness(.94)}
+body .card:not(.junkcard):focus-within{background:var(--hover);box-shadow:0 0 0 8px var(--hover)}
.select-mode .card{cursor:default}
-.select-mode .cardopenhit,.select-mode .hovertools,.select-mode .previewcounter{pointer-events:none!important}
+.select-mode .cardopenhit,.select-mode .hovertools{pointer-events:none!important}
.card.selected .pic,.card.selected:hover .pic{box-shadow:inset 0 0 0 2px var(--on-media)}
-@media (hover:hover) and (pointer:fine){
- .card.longhover{transform:translateY(-7px) scale(1.065);z-index:8;filter:brightness(1.04)}
-}
.hovertools{position:absolute;z-index:4;display:flex;align-items:center;gap:14px;
opacity:0;transition:opacity .15s;pointer-events:none}
-.card.longhover .seektools,.card:hover .later-tools{opacity:1}
-.hovertools.seektools{inset:50% auto auto 50%;transform:translate(-50%,-50%)}
.hovertools button{pointer-events:none;width:58px;height:58px;border-radius:50%;border:1px solid rgba(255,255,255,.12);
background:rgba(0,0,0,.24);color:#fff;backdrop-filter:saturate(180%) blur(12px);
-webkit-backdrop-filter:saturate(180%) blur(12px);display:flex;align-items:center;
@@ -268,39 +245,9 @@ body .card:not(.junkcard,.resourcecard):focus-within{background:var(--hover);box
.hovertools button svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:2;
stroke-linecap:round;stroke-linejoin:round}
.hovertools button:hover{transform:scale(1.12);background:rgba(0,0,0,.34)}
-/* 居中那三颗和右下角的「稍后看」是同一种控件,只是尺寸不同:共用磨砂圆底、同一条
- 边框和同一档悬停填充,图标按 58/36 的比例放到 34px。裸图标在浅色封面上要靠投影
- 才读得出,而投影本身又是这一层里唯一一处没有面的写法。秒数交给 title/aria-label,
- 图标上不压数字。参考证据见 docs/reference-snapshots/hover-seek-controls-user-screenshot.md。 */
-.hovertools.seektools button svg{width:34px;height:34px}
-.hovertools.later-tools{right:12px;bottom:12px}
-.card.longhover .seektools button,.card:hover .later-tools button{pointer-events:auto}
-.hovertools .laterbtn{width:36px;height:36px;padding:0;font-family:inherit}
-.hovertools .laterbtn svg{width:21px;height:21px}.hovertools .laterbtn[aria-pressed="true"]{background:var(--ink);color:var(--ground)}
-.previewcounter{position:absolute;right:12px;top:12px;z-index:4;width:36px;height:36px;border:0;padding:0;
- border-radius:50%;display:grid;place-items:center;color:#fff;cursor:pointer;opacity:0;pointer-events:none;
- background:rgba(0,0,0,.24);backdrop-filter:saturate(180%) blur(12px);-webkit-backdrop-filter:saturate(180%) blur(12px);
- transition:transform .15s ease,opacity .15s}
-.card.previewing .previewcounter{opacity:1;pointer-events:auto}.card.longhover .previewcounter{opacity:0;pointer-events:none}
-.previewcounter:hover{transform:scale(1.2)}.previewcounter>svg{position:absolute;inset:0;width:36px;height:36px;transform:rotate(-90deg)}
-.previewcounter circle{fill:none;stroke-width:2}.previewcounter circle:first-child{stroke:rgba(255,255,255,.18)}
-.previewcounter circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814}
-.card.previewing .previewcounter circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.card.longhover .previewcounter circle:last-child{animation:none}
-.previewcounter .ringplay{position:relative;inset:auto;width:14px;height:14px;transform:none;stroke:#fff;fill:none;stroke-width:2;margin-left:1px}
-@keyframes preview-arc{to{stroke-dashoffset:0}}
.nopic{font-size:var(--fs-xs);letter-spacing:.12em;color:var(--muted);text-transform:uppercase}
.resourceglyph{display:grid;place-items:center;gap:8px;color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em}
.resourceglyph svg{width:32px;height:32px;stroke:currentColor;fill:none;stroke-width:2}
-.resourcecardaction{position:absolute;right:10px;bottom:10px;z-index:5;display:inline-flex;align-items:center;gap:6px;
- min-height:32px;padding:0 10px;border:1px solid rgba(255,255,255,.25);border-radius:var(--control-radius);
- background:rgba(0,0,0,.64);color:#fff;font:inherit;font-size:var(--fs-xs);cursor:pointer;
- backdrop-filter:saturate(1.5) blur(10px);-webkit-backdrop-filter:saturate(1.5) blur(10px)}
-.resourcecardaction:hover:not(:disabled){background:var(--hover);color:var(--ink)}
-.resourcecardaction:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}
-.resourcecardaction:disabled{cursor:wait;opacity:.72}.resourcecardaction svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
-.resourcekind{display:grid;place-items:center;color:var(--muted);border-radius:var(--control-radius)}
-.resourcekind svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2}
-.resourcecardtitle{cursor:default}
.junkcount{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px}
.junksummary{flex:none;font-size:var(--fs-sm);color:var(--muted);white-space:nowrap}
/* 两条分类切换共用一套外观,语义各自不同:复核那条在 10 个互不相同的候选数据集之间切
@@ -377,11 +324,6 @@ body[data-density="dense"] .junkcard .junkactions button span{display:none}
@media (hover:hover) and (pointer:fine){
.card:hover .badge,.card:hover .dur{opacity:0}
}
-.scrub{position:absolute;left:0;right:0;bottom:0;height:3px;z-index:2;
- background:color-mix(in srgb,#000 45%,transparent)}
-.scrub i{display:block;height:100%;background:var(--loupe)}
-.watchprogress{position:absolute;left:0;right:0;bottom:0;height:4px;z-index:5;background:rgba(255,255,255,.3)}
-.watchprogress i{display:block;height:100%;background:var(--tungsten)}
.meta{display:flex;gap:10px;min-width:0}
.mav{width:38px;height:38px;border-radius:50%;flex:none;overflow:hidden;background:var(--sunk);
position:relative;margin-top:2px;border:0;padding:0;cursor:pointer;color:inherit}
@@ -470,29 +412,9 @@ body[data-density="dense"] .card .meta .who{flex:0 1 auto}
body[data-density="dense"] .card .meta .whomore,
body[data-density="dense"] .card .meta .size{flex:none;white-space:nowrap}
body[data-density="dense"] .card .ctags{height:38px;align-items:flex-start;flex-wrap:nowrap;overflow:hidden}
-body[data-density="dense"] .card .meta .why,
-body[data-density="dense"] .card .meta .watchcount{display:none}
+body[data-density="dense"] .card .meta .why{display:none}
-/* 短片带是这一叠卡里的一张,和上下两段视频平级:同一张 --ground 面、同一圈发丝边、
- 同一个圆角,只有内容不同。它不套在视频框里,也不是把一个框从中间划开——划开的是
- 一张卡,两张卡之间那 16px 页面底才是分隔。 */
-.shorts-inline{padding:16px;background:var(--ground);
- border:1px solid var(--field-ring);border-radius:var(--floating-radius)}
-.shorts-inline h2{margin:0 0 11px;font-size:var(--fs-lg);display:flex;align-items:center;gap:10px}
-.shorts-inline .scard .pic{aspect-ratio:var(--card-ratio,9/16)}
-/* 竖屏计数的灰字。index.html 和 openItem 的内联片段原先各写一份,一模一样。 */
-.shortscount{color:var(--muted);font-size:var(--fs-xs)}
-.shorts-inline h2 button{margin-left:auto;min-height:48px;display:inline-flex;align-items:center;gap:7px;
- font-size:var(--fs-xs);background:var(--overlay-5);border:0;border-radius:var(--pill-radius);padding:0 16px;cursor:pointer;
- color:var(--ink);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transition:background .14s,translate .14s,scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}
-.shorts-inline h2 button:hover{background:color-mix(in srgb,var(--ink) 16%,transparent);translate:0 -1px}
-/* 抬起和缩放各占一个属性:两样都写在 `transform` 上时,按下那一刻抬起的那 1px 被顶
- 掉,按钮在缩小的同时还往下掉一格。 */
-.shorts-inline h2 button:active{scale:.96;transition:scale .06s ease-out}
-.shorts-inline h2 button svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2}
.srow{display:flex;gap:13px;overflow-x:auto;padding-bottom:7px}
-.srow .scard{flex:none;width:214px;cursor:pointer}
-body[data-density="dense"] .shorts-inline .scard{width:calc(214px * 168 / 336)}
/* 订阅源发现的新作(ADR-0041)。横排复用 `.srow`,卡片复用 `.card` 的封套与元数据;
* 这里只定宽度、淡出已读那一档,以及那两颗悬浮动作键——其余形态跟着资产卡走,
diff --git a/web/css/15-detail.css b/web/css/15-detail.css
index c6be05daf..08b1e13cf 100644
--- a/web/css/15-detail.css
+++ b/web/css/15-detail.css
@@ -147,16 +147,6 @@
.next h3{margin:0 0 8px;font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase}
/* 横滚写法与详情下方的切换带 `.mixlist` 同一份:竖向不滚,滑到头也不把手势交给外面那层浮窗。 */
.nrow{display:flex;gap:11px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;padding-bottom:6px}
-.ncard{flex:none;width:216px;cursor:pointer}
-.ncard .why{color:var(--loupe)}
-/* 216px 的窄卡上,第三个头像挤掉的正好是署名那一行的宽度,元数据于是折成三到四行,
- 整条横向带被最高的一张顶起来、矮的下面全是空。窄卡只放两个头像,元数据钉成一行不换行:
- 大小和观看次数干脆不放,推荐理由留着截尾——那才是这条带存在的理由。
- 不能用固定高度加 overflow 去裁:`.s` 的行高和 gap 凑不出整行,第三行会露半截字。 */
-.ncard .mavstack .mav:nth-child(n+3),
+/* Mix 切换带里的窄卡只放两个头像:第三个挤掉的正好是署名那一行的宽度,元数据会折成
+ 三到四行。接着看那一排的窄卡是同一个判据,写在 `media-card.css` 的 `next` 变体上。 */
.sgrid.mixgrid>.mixqueue .mavstack .mav:nth-child(n+3){display:none}
-.ncard .meta .s{flex-wrap:nowrap;overflow:hidden}
-.ncard .meta .who{flex:0 1 auto;max-width:55%}
-.ncard .meta .whomore{flex:none;white-space:nowrap}
-.ncard .meta .why{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
-.ncard .meta .size,.ncard .meta .watchcount{display:none}
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index 1becb80bf..dcbb5c1be 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-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-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.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{min-height:calc(var(--spacing) * 9)}.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-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-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.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-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}.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-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-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}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-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-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:min-h-10{min-height:calc(var(--spacing) * 10)}.review-tight\:w-review-cover{width:var(--container-review-cover)}.review-tight\:px-3{padding-inline:calc(var(--spacing) * 3)}.review-tight\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}}@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\:flex-nowrap{flex-wrap:nowrap}.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-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))}}@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-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-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]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}.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%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}@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 #00000080;--elevation-xs:0 1px 2px 0 #0000008c;--elevation-sm:0 1px 2px 0 #00000080, 0 2px 6px 0 #0006;--elevation-md:0 2px 4px -1px #00000080, 0 4px 10px -1px #00000073;--elevation-lg:0 4px 6px -2px #00000073, 0 10px 20px -3px #0000008c;--elevation-xl:0 10px 10px -5px #0006, 0 20px 30px -5px #0009;--elevation-card:0 1px 2px 0 #0009, 0 2px 8px 0 #00000073;--elevation-dropdown:0 1px 2px 0 #0009, 0 4px 12px 0 #00000073;--elevation-sidebar:0 1px 0 0 #0000004d, 0 1px 12px 0 #00000073, 0 0 1px 0 #000000b3;--elevation-waitlist:0 0 6px 0 #0000004d, 0 0 64px 0 #00000080, 0 0 1px 0 #000000b3, 0 1px 12px 0 #00000059, 0 1px 0 0 #0003}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);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[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-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-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.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{min-height:calc(var(--spacing) * 9)}.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-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-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.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-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}.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-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-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}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-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-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:min-h-10{min-height:calc(var(--spacing) * 10)}.review-tight\:w-review-cover{width:var(--container-review-cover)}.review-tight\:px-3{padding-inline:calc(var(--spacing) * 3)}.review-tight\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}}@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\:flex-nowrap{flex-wrap:nowrap}.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-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))}}@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-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]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-cover]:has(>[data-media-art=cover]){background:var(--page)}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}@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 #00000080;--elevation-xs:0 1px 2px 0 #0000008c;--elevation-sm:0 1px 2px 0 #00000080, 0 2px 6px 0 #0006;--elevation-md:0 2px 4px -1px #00000080, 0 4px 10px -1px #00000073;--elevation-lg:0 4px 6px -2px #00000073, 0 10px 20px -3px #0000008c;--elevation-xl:0 10px 10px -5px #0006, 0 20px 30px -5px #0009;--elevation-card:0 1px 2px 0 #0009, 0 2px 8px 0 #00000073;--elevation-dropdown:0 1px 2px 0 #0009, 0 4px 12px 0 #00000073;--elevation-sidebar:0 1px 0 0 #0000004d, 0 1px 12px 0 #00000073, 0 0 1px 0 #000000b3;--elevation-waitlist:0 0 6px 0 #0000004d, 0 0 64px 0 #00000080, 0 0 1px 0 #000000b3, 0 1px 12px 0 #00000059, 0 1px 0 0 #0003}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);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[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index 8b7602242..09c7a73f1 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -9255,7 +9255,7 @@ function Cg(e) {
}
function wg(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Rf(i).HTMLInputElement && !Og(i, n) || i instanceof Rf(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Cg(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Rf(i).HTMLInputElement && !Dg(i, n) || i instanceof Rf(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Cg(i)) && n !== "Enter");
}
function Tg(e, t) {
let n = t.clientX, r = t.clientY;
@@ -9274,9 +9274,9 @@ function uee(e) {
return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Cg(e);
}
function Eg(e, t) {
- return gp() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Og(e, t) : uee(e);
+ return gp() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Dg(e, t) : uee(e);
}
-var Dg = /* @__PURE__ */ new Set([
+var dee = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -9287,12 +9287,12 @@ var Dg = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Og(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Dg.has(e.type);
+function Dg(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : dee.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function kg(e, t) {
+function Og(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,
@@ -9341,7 +9341,7 @@ function kg(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var dee = class {
+var fee = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -9444,45 +9444,45 @@ var dee = class {
return null;
}
};
-function Ag(e, t, n, r) {
- return Kf() ? new dee(e, t, n, r) : e.createTreeWalker(t, n, r);
+function kg(e, t, n, r) {
+ return Kf() ? new fee(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var jg = /*#__PURE__*/ N.createContext(null), Mg = "react-aria-focus-scope-restore", Ng = null;
-function Pg(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, N.useRef)(null), o = (0, N.useRef)(null), s = (0, N.useRef)([]), { parentNode: c } = (0, N.useContext)(jg) || {}, l = (0, N.useMemo)(() => new Yg({ scopeRef: s }), [s]);
+var Ag = /*#__PURE__*/ N.createContext(null), jg = "react-aria-focus-scope-restore", Mg = null;
+function Ng(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, N.useRef)(null), o = (0, N.useRef)(null), s = (0, N.useRef)([]), { parentNode: c } = (0, N.useContext)(Ag) || {}, l = (0, N.useMemo)(() => new Jg({ scopeRef: s }), [s]);
sp(() => {
- let e = c || Xg.root;
- if (Xg.getTreeNode(e.scopeRef) && Ng && !Bg(Ng, e.scopeRef)) {
- let t = Xg.getTreeNode(Ng);
+ let e = c || Yg.root;
+ if (Yg.getTreeNode(e.scopeRef) && Mg && !zg(Mg, e.scopeRef)) {
+ let t = Yg.getTreeNode(Mg);
t && (e = t);
}
- e.addChild(l), Xg.addNode(l);
+ e.addChild(l), Yg.addNode(l);
}, [l, c]), sp(() => {
- let e = Xg.getTreeNode(s);
+ let e = Yg.getTreeNode(s);
e && (e.contain = !!n);
}, [n]), sp(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(Mg, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(jg, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(Mg, n);
+ for (let e of t) e.removeEventListener(jg, n);
};
- }, [t]), Gg(s, r, n), hee(s, n), _ee(s, r, n), Wg(s, i), (0, N.useEffect)(() => {
+ }, [t]), Wg(s, r, n), gee(s, n), vee(s, r, n), Ug(s, i), (0, N.useEffect)(() => {
let e = Jf(Lf(s.current ? s.current[0] : void 0)), t = null;
- if (Rg(e, s.current)) {
- for (let n of Xg.traverse()) n.scopeRef && Rg(e, n.scopeRef.current) && (t = n);
- t === Xg.getTreeNode(s) && (Ng = t.scopeRef);
+ if (Lg(e, s.current)) {
+ for (let n of Yg.traverse()) n.scopeRef && Lg(e, n.scopeRef.current) && (t = n);
+ t === Yg.getTreeNode(s) && (Mg = t.scopeRef);
}
}, [s]), sp(() => () => {
- let e = Xg.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === Ng || Bg(s, Ng)) && (!e || Xg.getTreeNode(e)) && (Ng = e), Xg.removeTreeNode(s);
+ let e = Yg.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === Mg || zg(s, Mg)) && (!e || Yg.getTreeNode(e)) && (Mg = e), Yg.removeTreeNode(s);
}, [s]);
- let u = (0, N.useMemo)(() => fee(s), []), d = (0, N.useMemo)(() => ({
+ let u = (0, N.useMemo)(() => pee(s), []), d = (0, N.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ N.createElement(jg.Provider, { value: d }, /*#__PURE__*/ N.createElement("span", {
+ return /*#__PURE__*/ N.createElement(Ag.Provider, { value: d }, /*#__PURE__*/ N.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -9492,68 +9492,68 @@ function Pg(e) {
ref: o
}));
}
-function fee(e) {
+function pee(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Jf(Lf(n[0] ?? void 0)), c = n[0].previousElementSibling, l = Jg(Fg(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Jf(Lf(n[0] ?? void 0)), c = n[0].previousElementSibling, l = qg(Pg(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Rg(s, n) ? s : c;
+ l.currentNode = Lg(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && Vg(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && Bg(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Jf(Lf(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = Jg(Fg(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Jf(Lf(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = qg(Pg(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Rg(s, n) ? s : c;
+ l.currentNode = Lg(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && Vg(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && Bg(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = Jg(Fg(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = qg(Pg(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && Vg(o, !0), o;
+ return o && Bg(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = Jg(Fg(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = qg(Pg(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && Vg(o, !0), o;
+ return o && Bg(o, !0), o;
}
};
}
-function Fg(e) {
+function Pg(e) {
return e[0].parentElement;
}
-function Ig(e) {
- let t = Xg.getTreeNode(Ng);
+function Fg(e) {
+ let t = Yg.getTreeNode(Mg);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function pee(e) {
+function mee(e) {
if (!e.form) return Array.from(Lf(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
let t = e.form.elements.namedItem(e.name), n = Rf(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function mee(e) {
+function hee(e) {
if (e.checked) return !0;
- let t = pee(e);
+ let t = mee(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function hee(e, t) {
+function gee(e, t) {
let n = (0, N.useRef)(void 0), r = (0, N.useRef)(void 0);
sp(() => {
let i = e.current;
@@ -9562,23 +9562,23 @@ function hee(e, t) {
return;
}
let a = Lf(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ig(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Fg(e) || t.isComposing) return;
let n = Jf(a), r = e.current;
- if (!r || !Rg(n, r)) return;
- let i = Jg(Fg(r), { tabbable: !0 }, r);
+ if (!r || !Lg(n, r)) return;
+ let i = qg(Pg(r), { tabbable: !0 }, r);
if (!n) return;
i.currentNode = n;
let o = t.shiftKey ? i.previousNode() : i.nextNode();
- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (Vg(o, !0), o instanceof Rf(o).HTMLInputElement && o.select());
+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (Bg(o, !0), o instanceof Rf(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!Ng || Bg(Ng, e)) && Rg(V(t), e.current) ? (Ng = e, n.current = V(t)) : Ig(e) && !zg(V(t), e) ? n.current ? Vg(n.current) : Ng && Ng.current && Ug(Ng.current) : Ig(e) && (n.current = V(t));
+ (!Mg || zg(Mg, e)) && Lg(V(t), e.current) ? (Mg = e, n.current = V(t)) : Fg(e) && !Rg(V(t), e) ? n.current ? Bg(n.current) : Mg && Mg.current && Hg(Mg.current) : Fg(e) && (n.current = V(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
let r = lm(), i = (r === "virtual" || r === null) && Cp() && Sp(), o = Jf(a);
- if (!i && o && Ig(e) && !zg(o, e)) {
- Ng = e;
+ if (!i && o && Fg(e) && !Rg(o, e)) {
+ Mg = e;
let r = V(t);
- r && r.isConnected ? (n.current = r, Vg(n.current)) : Ng.current && Ug(Ng.current);
+ r && r.isConnected ? (n.current = r, Bg(n.current)) : Mg.current && Hg(Mg.current);
}
});
};
@@ -9589,29 +9589,29 @@ function hee(e, t) {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function Lg(e) {
- return zg(e);
+function Ig(e) {
+ return Rg(e);
}
-function Rg(e, t) {
+function Lg(e, t) {
return !e || !t ? !1 : t.some((t) => qf(t, e));
}
-function zg(e, t = null) {
+function Rg(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of Xg.traverse(Xg.getTreeNode(t))) if (n && Rg(e, n.current)) return !0;
+ for (let { scopeRef: n } of Yg.traverse(Yg.getTreeNode(t))) if (n && Lg(e, n.current)) return !0;
return !1;
}
-function gee(e) {
- return zg(e, Ng);
+function _ee(e) {
+ return Rg(e, Mg);
}
-function Bg(e, t) {
- let n = Xg.getTreeNode(t)?.parent;
+function zg(e, t) {
+ let n = Yg.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function Vg(e, t = !1) {
+function Bg(e, t = !1) {
if (e != null && !t) try {
bm(e);
} catch {}
@@ -9619,27 +9619,27 @@ function Vg(e, t = !1) {
e.focus();
} catch {}
}
-function Hg(e, t = !0) {
- let n = e[0].previousElementSibling, r = Fg(e), i = Jg(r, { tabbable: t }, e);
+function Vg(e, t = !0) {
+ let n = e[0].previousElementSibling, r = Pg(e), i = qg(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = Fg(e), i = Jg(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = Pg(e), i = qg(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function Ug(e, t = !0) {
- Vg(Hg(e, t));
+function Hg(e, t = !0) {
+ Bg(Vg(e, t));
}
-function Wg(e, t) {
+function Ug(e, t) {
let n = N.useRef(t);
(0, N.useEffect)(() => {
- n.current && (Ng = e, !Rg(Jf(Lf(e.current ? e.current[0] : void 0)), Ng.current) && e.current && Ug(e.current)), n.current = !1;
+ n.current && (Mg = e, !Lg(Jf(Lf(e.current ? e.current[0] : void 0)), Mg.current) && e.current && Hg(e.current)), n.current = !1;
}, [e]);
}
-function Gg(e, t, n) {
+function Wg(e, t, n) {
sp(() => {
if (t || n) return;
let r = e.current, i = Lf(r ? r[0] : void 0), a = (t) => {
let n = V(t);
- Rg(n, e.current) ? Ng = e : Lg(n) || (Ng = null);
+ Lg(n, e.current) ? Mg = e : Ig(n) || (Mg = null);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
@@ -9650,21 +9650,21 @@ function Gg(e, t, n) {
n
]);
}
-function Kg(e) {
- let t = Xg.getTreeNode(Ng);
+function Gg(e) {
+ let t = Yg.getTreeNode(Mg);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function _ee(e, t, n) {
+function vee(e, t, n) {
let r = (0, N.useRef)(typeof document < "u" ? Jf(Lf(e.current ? e.current[0] : void 0)) : null);
sp(() => {
let r = e.current, i = Lf(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!Ng || Bg(Ng, e)) && Rg(Jf(i), e.current) && (Ng = e);
+ (!Mg || zg(Mg, e)) && Lg(Jf(i), e.current) && (Mg = e);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
@@ -9673,20 +9673,20 @@ function _ee(e, t, n) {
let r = Lf(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ig(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Fg(e) || t.isComposing) return;
let n = r.activeElement;
- if (!zg(n, e) || !Kg(e)) return;
- let i = Xg.getTreeNode(e);
+ if (!Rg(n, e) || !Gg(e)) return;
+ let i = Yg.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = Jg(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = qg(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 || !zg(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Rg(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (zg(s, e));
- t.preventDefault(), t.stopPropagation(), s ? Vg(s, !0) : Lg(a) ? Vg(a, !0) : n.blur();
+ while (Rg(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? Bg(s, !0) : Ig(a) ? Bg(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -9699,28 +9699,28 @@ function _ee(e, t, n) {
]), sp(() => {
let n = Lf(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = Xg.getTreeNode(e);
+ let i = Yg.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = Xg.getTreeNode(e);
+ let r = Yg.getTreeNode(e);
if (!r) return;
let i = r.nodeToRestore, a = Jf(n);
- if (t && i && (a && zg(a, e) || a === n.body && Kg(e))) {
- let t = Xg.clone();
+ if (t && i && (a && Rg(a, e) || a === n.body && Gg(e))) {
+ let t = Yg.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- qg(n.nodeToRestore);
+ Kg(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && Xg.getTreeNode(n.scopeRef)) {
- let e = Hg(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && Yg.getTreeNode(n.scopeRef)) {
+ let e = Vg(n.scopeRef.current, !0);
if (e) {
- qg(e);
+ Kg(e);
return;
}
}
@@ -9732,21 +9732,21 @@ function _ee(e, t, n) {
};
}, [e, t]);
}
-function qg(e) {
- e.dispatchEvent(new CustomEvent(Mg, {
+function Kg(e) {
+ e.dispatchEvent(new CustomEvent(jg, {
bubbles: !0,
cancelable: !0
- })) && Vg(e);
+ })) && Bg(e);
}
-function Jg(e, t, n) {
- let r = t?.tabbable ? ap : ip, i = Lf(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Ag(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return qf(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!mee(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Rg(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function qg(e, t, n) {
+ let r = t?.tabbable ? ap : ip, i = Lf(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = kg(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return qf(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!hee(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Lg(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var vee = class e {
+var yee = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new Yg({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new Jg({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -9757,7 +9757,7 @@ var vee = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new Yg({ scopeRef: e });
+ let i = new Jg({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -9768,7 +9768,7 @@ var vee = 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 && Rg(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && Lg(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
let r = t.children;
n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);
}
@@ -9780,7 +9780,7 @@ var vee = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, Yg = class {
+}, Jg = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -9790,13 +9790,13 @@ var vee = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, Xg = new vee(), Zg = 7e3, Qg = null;
-function $g(e, t = "assertive", n = Zg) {
- Qg ? Qg.announce(e, t, n) : (Qg = new yee(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Qg.announce(e, t, n) : setTimeout(() => {
- Qg?.isAttached() && Qg?.announce(e, t, n);
+}, Yg = new yee(), Xg = 7e3, Zg = null;
+function Qg(e, t = "assertive", n = Xg) {
+ Zg ? Zg.announce(e, t, n) : (Zg = new bee(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Zg.announce(e, t, n) : setTimeout(() => {
+ Zg?.isAttached() && Zg?.announce(e, t, n);
}, 100));
}
-var yee = class {
+var bee = 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,
@@ -9821,7 +9821,7 @@ var yee = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = Zg) {
+ announce(e, t = "assertive", n = Xg) {
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(() => {
@@ -9834,7 +9834,7 @@ var yee = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function e_(e, t) {
+function $g(e, t) {
let n = (0, N.useRef)(!0), r = (0, N.useRef)(null), i = Ih(e);
(0, N.useEffect)(() => (n.current = !0, () => {
n.current = !1;
@@ -9845,31 +9845,31 @@ function e_(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function t_(e, t) {
+function e_(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 n_(e, t) {
+function t_(e, t) {
let n = e;
- for (t_(n, t) && (n = n.parentElement); n && !t_(n, t);) n = n.parentElement;
+ for (e_(n, t) && (n = n.parentElement); n && !e_(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function r_(e, t) {
+function n_(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (t_(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (e_(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function i_(e, t, n = {}) {
- e !== t && bee(e, t, t.getBoundingClientRect(), n);
+function r_(e, t, n = {}) {
+ e !== t && xee(e, t, t.getBoundingClientRect(), n);
}
-function bee(e, t, n, r = {}) {
+function xee(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, F = e === d ? 0 : e.offsetWidth - e.clientWidth - N, I = e === d ? 0 : e.offsetHeight - e.clientHeight - P, ee = p + (f ? 0 : T) + x, te = m - (f ? 0 : E) - S - I, ne = h + (f ? 0 : D) + C, re = g - (f ? 0 : O) - w;
yp() && xp() || u.direction === "ltr" ? re -= F : u.direction === "rtl" && (ne += F);
let ie = k < ee || A > te, L = j < ne || M > re;
@@ -9892,7 +9892,7 @@ function bee(e, t, n, r = {}) {
top: o
});
}
-function a_(e, t = {}) {
+function i_(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -9905,46 +9905,46 @@ function a_(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = r_(e, !0);
- for (let t of i) i_(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = n_(e, !0);
+ for (let t of i) r_(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? r_(n, !0) : [];
- for (let e of i) i_(e, n, {
+ i = n ? n_(n, !0) : [];
+ for (let e of i) r_(e, n, {
block: "center",
inline: "center"
});
- for (let t of r_(e, !0)) i_(t, e);
+ for (let t of n_(e, !0)) r_(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var xee = 0, o_ = /* @__PURE__ */ new Map();
-function s_(e) {
+var See = 0, a_ = /* @__PURE__ */ new Map();
+function o_(e) {
let [t, n] = (0, N.useState)();
return sp(() => {
if (!e) return;
- let t = o_.get(e);
+ let t = a_.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${xee++}`;
+ let r = `react-aria-description-${See++}`;
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
- }, o_.set(e, t);
+ }, a_.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), o_.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), a_.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function c_(e, t, n) {
+function s_(e, t, n) {
let r = Ih((e) => {
n && !e.defaultPrevented && n(t);
});
@@ -9957,12 +9957,12 @@ function c_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function l_(e, t, n) {
+function c_(e, t, n) {
let { validationBehavior: r, focus: i } = e;
sp(() => {
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(d_(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(u_(n.current));
}
});
let a = (0, N.useRef)(!1), o = Ih(() => {
@@ -9970,7 +9970,7 @@ function l_(e, t, n) {
}), s = Ih((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && f_(r) === n.current && (i ? i() : n.current?.focus(), um("keyboard")), e.preventDefault();
+ !e.defaultPrevented && n && r && d_(r) === n.current && (i ? i() : n.current?.focus(), um("keyboard")), e.preventDefault();
}), c = Ih(() => {
t.commitValidation();
});
@@ -9985,7 +9985,7 @@ function l_(e, t, n) {
};
}, [n, r]);
}
-function u_(e) {
+function l_(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -10001,14 +10001,14 @@ function u_(e) {
valid: t.valid
};
}
-function d_(e) {
+function u_(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: u_(e),
+ validationDetails: l_(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function f_(e) {
+function d_(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -10017,7 +10017,7 @@ function f_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function p_(e = !0) {
+function f_(e = !0) {
let [t, n] = (0, N.useState)(e), r = (0, N.useRef)(!1), i = (0, N.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -10025,8 +10025,8 @@ function p_(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function m_(e = !0) {
- let t = Dm(), [n, r] = p_(e);
+function p_(e = !0) {
+ let t = Dm(), [n, r] = f_(e);
return {
id: r ? t : void 0,
ref: n
@@ -10034,7 +10034,7 @@ function m_(e = !0) {
}
//#endregion
//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var h_ = {
+var m_ = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -10046,18 +10046,18 @@ var h_ = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, g_ = {
- ...h_,
+}, h_ = {
+ ...m_,
customError: !0,
valid: !1
-}, __ = {
+}, g_ = {
isInvalid: !1,
- validationDetails: h_,
+ validationDetails: m_,
validationErrors: []
-}, v_ = (0, N.createContext)({}), y_ = "__reactAriaFormValidationState";
-function b_(e) {
+}, __ = (0, N.createContext)({}), v_ = "__reactAriaFormValidationState";
+function y_(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[y_];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[v_];
return {
realtimeValidation: t,
displayValidation: n,
@@ -10066,68 +10066,68 @@ function b_(e) {
commitValidation: a
};
}
- return See(e);
+ return Cee(e);
}
-function See(e) {
+function Cee(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: g_
- }, l = (0, N.useMemo)(() => !o || i == null ? null : S_(Cee(o, i)), [o, i]);
+ validationDetails: h_
+ }, l = (0, N.useMemo)(() => !o || i == null ? null : x_(wee(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, N.useContext)(v_), d = (0, N.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => x_(u[e])) : x_(u[r]) : [], [u, r]), [f, p] = (0, N.useState)(u), [m, h] = (0, N.useState)(!1);
+ let u = (0, N.useContext)(__), d = (0, N.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => b_(u[e])) : b_(u[r]) : [], [u, r]), [f, p] = (0, N.useState)(u), [m, h] = (0, N.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, N.useMemo)(() => S_(m ? [] : d), [m, d]), _ = (0, N.useRef)(__), [v, y] = (0, N.useState)(__), b = (0, N.useRef)(__), x = () => {
+ let g = (0, N.useMemo)(() => x_(m ? [] : d), [m, d]), _ = (0, N.useRef)(g_), [v, y] = (0, N.useState)(g_), b = (0, N.useRef)(g_), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- C_(e, b.current) || (b.current = e, y(e));
+ S_(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, N.useState)(!1);
return (0, N.useEffect)(x), {
- realtimeValidation: c || g || l || a || __,
+ realtimeValidation: c || g || l || a || g_,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !C_(v, e) ? y(e) : _.current = e;
+ s === "aria" && !S_(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = __;
- C_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = g_;
+ S_(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function x_(e) {
+function b_(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function Cee(e, t) {
+function wee(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return x_(n);
+ if (n && typeof n != "boolean") return b_(n);
}
return [];
}
-function S_(e) {
+function x_(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: g_
+ validationDetails: h_
} : null;
}
-function C_(e, t) {
+function S_(e, t) {
return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);
}
//#endregion
//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function w_(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 = b_({
+function C_(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 = y_({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- l_(e, b, n);
+ c_(e, b, n);
let w = (e) => {
e.stopPropagation(), t.setSelected(V(e).checked);
}, { pressProps: T, isPressed: E } = Sg({
@@ -10167,13 +10167,13 @@ function w_(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [y_]: i } = e, { commitValidation: a } = i || b;
+ let { [v_]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
}), { focusableProps: A } = $m(e, n), j = H(T, A), M = lg(e, { labelable: !0 });
- c_(n, t.defaultSelected, t.setSelected);
- let P = m_(), F = m_();
+ s_(n, t.defaultSelected, t.setSelected);
+ let P = p_(), F = p_();
return {
labelProps: H(k, { onClick: (e) => e.preventDefault() }),
inputProps: H(M, {
@@ -10210,8 +10210,8 @@ function w_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function T_(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 } = w_(e, t, n), { isIndeterminate: m } = e;
+function w_(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 } = C_(e, t, n), { isIndeterminate: m } = e;
return (0, N.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -10230,10 +10230,10 @@ function T_(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var wee = /* @__PURE__ */ new WeakMap();
+var Tee = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function E_(e) {
+function T_(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
t = Dm(t);
let o = Dm(), s = {};
@@ -10253,8 +10253,8 @@ function E_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function D_(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = E_(e), s = km([
+function E_(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = T_(e), s = km([
!!t,
!!n,
r,
@@ -10278,7 +10278,7 @@ function D_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function O_(e) {
+function D_(e) {
let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, N.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = _g(), c = (0, N.useCallback)((e) => {
qf(e.currentTarget, V(e)) && a.current.isFocusWithin && !qf(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
@@ -10319,14 +10319,14 @@ function O_(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var Tee = typeof document < "u" ? N.useInsertionEffect ?? N.useLayoutEffect : () => {};
-function k_(e, t, n) {
+var Eee = typeof document < "u" ? N.useInsertionEffect ?? N.useLayoutEffect : () => {};
+function O_(e, t, n) {
let [r, i] = (0, N.useState)(e || t), a = (0, N.useRef)(r), o = (0, N.useRef)(e !== void 0), s = e !== void 0;
(0, N.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- Tee(() => {
+ Eee(() => {
a.current = c;
});
let [, l] = (0, N.useReducer)(() => ({}), {});
@@ -10337,8 +10337,8 @@ function k_(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function A_(e = {}) {
- let { isReadOnly: t } = e, [n, r] = k_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, N.useState)(n);
+function k_(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = O_(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, N.useState)(n);
function a(e) {
t || r(e);
}
@@ -10354,26 +10354,26 @@ function A_(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function Eee(e, t, n) {
- let r = A_({
+function Dee(e, t, n) {
+ let r = k_({
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 } = wee.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Tee.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = b_({
+ let { realtimeValidation: l } = y_({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, N.useRef)(__), d = () => {
+ }), u = (0, N.useRef)(g_), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, N.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = T_({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = w_({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -10381,7 +10381,7 @@ function Eee(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [y_]: {
+ [v_]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -10405,12 +10405,12 @@ function Eee(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function j_(e, t = -Infinity, n = Infinity) {
+function A_(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
//#endregion
//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var M_ = {
+var j_ = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -10422,30 +10422,30 @@ var M_ = {
width: "1px",
whiteSpace: "nowrap"
};
-function N_(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, N.useState)(!1), { focusWithinProps: a } = O_({
+function M_(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, N.useState)(!1), { focusWithinProps: a } = D_({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, N.useMemo)(() => r ? t : t ? {
- ...M_,
+ ...j_,
...t
- } : M_, [r]);
+ } : j_, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function P_(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = N_(e);
+function N_(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = M_(e);
return /*#__PURE__*/ N.createElement(n, H(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function Dee(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = k_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = $m(e, t), d = b_({
+function Oee(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = O_(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = $m(e, t), d = y_({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = D_({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = E_({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
@@ -10453,7 +10453,7 @@ function Dee(e, t) {
type: o,
pattern: e.pattern
}, [x] = (0, N.useState)(c);
- return c_(t, e.defaultValue ?? x, l), l_(e, d, t), {
+ return s_(t, e.defaultValue ?? x, l), c_(e, d, t), {
labelProps: h,
inputProps: H(y, n === "input" ? b : void 0, {
disabled: r,
@@ -10500,13 +10500,13 @@ function Dee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var Oee = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function F_(e) {
+var kee = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function P_(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var I_ = /* @__PURE__ */ new WeakMap(), L_ = [];
-function R_(e, t) {
- let n = Rf(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Oee, 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 F_ = /* @__PURE__ */ new WeakMap(), I_ = [];
+function L_(e, t) {
+ let n = Rf(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && kee, 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 (Kf()) {
@@ -10522,19 +10522,19 @@ function R_(e, t) {
if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
for (let t of o) if (qf(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = Ag(Lf(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = kg(Lf(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 = I_.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), I_.set(e, t + 1));
+ let t = F_.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), F_.set(e, t + 1));
};
- L_.length && L_[L_.length - 1].disconnect(), d(i);
+ I_.length && I_[I_.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) => qf(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && F_(e) ? o.add(e) : e instanceof Element && d(e);
+ if (t.target.isConnected && ![...o, ...s].some((e) => qf(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && P_(e) ? o.add(e) : e instanceof Element && d(e);
if (Kf()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
@@ -10551,7 +10551,7 @@ function R_(e, t) {
if (Kf()) 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) => qf(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && F_(e) ? o.add(e) : e instanceof Element && d(e);
+ if (t.target.isConnected && ![...o, ...s].some((e) => qf(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && P_(e) ? o.add(e) : e instanceof Element && d(e);
if (Kf()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
@@ -10578,59 +10578,59 @@ function R_(e, t) {
p.disconnect();
}
};
- return L_.push(h), () => {
+ return I_.push(h), () => {
if (p.disconnect(), Kf()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = I_.get(e);
- t != null && (t === 1 ? (l(e, !1), I_.delete(e)) : I_.set(e, t - 1));
+ let t = F_.get(e);
+ t != null && (t === 1 ? (l(e, !1), F_.delete(e)) : F_.set(e, t - 1));
}
- h === L_[L_.length - 1] ? (L_.pop(), L_.length && L_[L_.length - 1].observe()) : L_.splice(L_.indexOf(h), 1);
+ h === I_[I_.length - 1] ? (I_.pop(), I_.length && I_[I_.length - 1].observe()) : I_.splice(I_.indexOf(h), 1);
};
}
-function kee(e) {
- let t = L_[L_.length - 1];
+function Aee(e) {
+ let t = I_[I_.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/utils.mjs
-var z_ = /* @__PURE__ */ new WeakMap();
-function Aee(e) {
+var R_ = /* @__PURE__ */ new WeakMap();
+function jee(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function jee(e, t) {
- let n = z_.get(e);
+function Mee(e, t) {
+ let n = R_.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${Aee(t)}`;
+ return `${n.id}-option-${jee(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function B_(e) {
+function z_(e) {
return bp() ? e.altKey : e.ctrlKey;
}
-function V_(e, t) {
+function B_(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 H_ = /* @__PURE__ */ new WeakMap();
-function U_(e) {
+var V_ = /* @__PURE__ */ new WeakMap();
+function H_(e) {
let t = Dm();
- return H_.set(e, t), t;
+ return V_.set(e, t), t;
}
-function W_(e) {
- return H_.get(e);
+function U_(e) {
+ return V_.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var G_ = class {
+var W_ = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : V_(this.ref, e);
+ let n = e == null ? null : B_(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -10656,12 +10656,12 @@ var G_ = class {
height: e?.clientHeight ?? 0
};
}
-}, K_ = class {
+}, G_ = 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 G_(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 G_(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 W_(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 W_(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -10701,14 +10701,14 @@ var G_ = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = V_(this.ref, e);
+ let t = this.getNextKey(e), n = B_(this.ref, e);
if (t != null) {
- let e = V_(this.ref, t);
+ let e = B_(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = V_(this.ref, r);
+ let e = B_(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -10742,7 +10742,7 @@ var G_ = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !t_(t)) return this.getFirstKey();
+ if (t && !e_(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -10757,7 +10757,7 @@ var G_ = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !t_(t)) return this.getLastKey();
+ if (t && !e_(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);
@@ -10780,184 +10780,184 @@ var G_ = class {
}
return null;
}
-}, q_ = {};
-q_ = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, K_ = {};
+K_ = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var J_ = {};
-J_ = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var q_ = {};
+q_ = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var Y_ = {};
-Y_ = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var J_ = {};
+J_ = { 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 X_ = {};
-X_ = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var Y_ = {};
+Y_ = { 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 Z_ = {};
-Z_ = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var X_ = {};
+X_ = { 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 Q_ = {};
-Q_ = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var Z_ = {};
+Z_ = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var $_ = {};
-$_ = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var Q_ = {};
+Q_ = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var ev = {};
-ev = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var $_ = {};
+$_ = { 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 tv = {};
-tv = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var ev = {};
+ev = { 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 nv = {};
-nv = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var tv = {};
+tv = { 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 rv = {};
-rv = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var nv = {};
+nv = { 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 iv = {};
-iv = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var rv = {};
+rv = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var av = {};
-av = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var iv = {};
+iv = { 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 ov = {};
-ov = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var av = {};
+av = { 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 sv = {};
-sv = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var ov = {};
+ov = { 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 cv = {};
-cv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var sv = {};
+sv = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var lv = {};
-lv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var cv = {};
+cv = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var uv = {};
-uv = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var lv = {};
+lv = { 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 dv = {};
-dv = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var uv = {};
+uv = { 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 fv = {};
-fv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var dv = {};
+dv = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var pv = {};
-pv = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var fv = {};
+fv = { 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 mv = {};
-mv = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var pv = {};
+pv = { 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 hv = {};
-hv = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var mv = {};
+mv = { 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 gv = {};
-gv = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var hv = {};
+hv = { 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 _v = {};
-_v = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var gv = {};
+gv = { 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 vv = {};
-vv = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var _v = {};
+_v = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var yv = {};
-yv = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var vv = {};
+vv = { 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 bv = {};
-bv = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var yv = {};
+yv = { 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 xv = {};
-xv = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var bv = {};
+bv = { 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 Sv = {};
-Sv = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var xv = {};
+xv = { 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 Cv = {};
-Cv = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var Sv = {};
+Sv = { 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 wv = {};
-wv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var Cv = {};
+Cv = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var Tv = {};
-Tv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var wv = {};
+wv = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var Ev = {};
-Ev = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var Tv = {};
+Tv = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var Dv = {};
-Dv = {
- "ar-AE": q_,
- "bg-BG": J_,
- "cs-CZ": Y_,
- "da-DK": X_,
- "de-DE": Z_,
- "el-GR": Q_,
- "en-US": $_,
- "es-ES": ev,
- "et-EE": tv,
- "fi-FI": nv,
- "fr-FR": rv,
- "he-IL": iv,
- "hr-HR": av,
- "hu-HU": ov,
- "it-IT": sv,
- "ja-JP": cv,
- "ko-KR": lv,
- "lt-LT": uv,
- "lv-LV": dv,
- "nb-NO": fv,
- "nl-NL": pv,
- "pl-PL": mv,
- "pt-BR": hv,
- "pt-PT": gv,
- "ro-RO": _v,
- "ru-RU": vv,
- "sk-SK": yv,
- "sl-SI": bv,
- "sr-SP": xv,
- "sv-SE": Sv,
- "tr-TR": Cv,
- "uk-UA": wv,
- "zh-CN": Tv,
- "zh-TW": Ev
+var Ev = {};
+Ev = {
+ "ar-AE": K_,
+ "bg-BG": q_,
+ "cs-CZ": J_,
+ "da-DK": Y_,
+ "de-DE": X_,
+ "el-GR": Z_,
+ "en-US": Q_,
+ "es-ES": $_,
+ "et-EE": ev,
+ "fi-FI": tv,
+ "fr-FR": nv,
+ "he-IL": rv,
+ "hr-HR": iv,
+ "hu-HU": av,
+ "it-IT": ov,
+ "ja-JP": sv,
+ "ko-KR": cv,
+ "lt-LT": lv,
+ "lv-LV": uv,
+ "nb-NO": dv,
+ "nl-NL": fv,
+ "pl-PL": pv,
+ "pt-BR": mv,
+ "pt-PT": hv,
+ "ro-RO": gv,
+ "ru-RU": _v,
+ "sk-SK": vv,
+ "sl-SI": yv,
+ "sr-SP": bv,
+ "sv-SE": xv,
+ "tr-TR": Sv,
+ "uk-UA": Cv,
+ "zh-CN": wv,
+ "zh-TW": Tv
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var Mee = 500;
-function Ov(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Mee, accessibilityDescription: s } = e, c = (0, N.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = _g(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Sg({
+var Nee = 500;
+function Dv(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Nee, accessibilityDescription: s } = e, c = (0, N.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = _g(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Sg({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -10985,12 +10985,12 @@ function Ov(e) {
});
}
});
- return { longPressProps: H(f, s_(a && !t ? s : void 0)) };
+ return { longPressProps: H(f, o_(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function Nee(e) {
- let { onContextMenu: t } = e, n = (0, N.useRef)(!1), { longPressProps: r } = Ov({
+function Pee(e) {
+ let { onContextMenu: t } = e, n = (0, N.useRef)(!1), { longPressProps: r } = Dv({
onLongPressStart() {
n.current = !1;
},
@@ -11033,13 +11033,13 @@ function Nee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var kv = /* @__PURE__ */ new WeakMap();
-function Pee(e) {
+var Ov = /* @__PURE__ */ new WeakMap();
+function Fee(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
(0, N.useEffect)(() => !n || r === null ? void 0 : Uf(Yf(t.current), "scroll", (e) => {
let n = V(e);
if (!t.current || n instanceof Node && !qf(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || kv.get(t.current);
+ let i = r || Ov.get(t.current);
i && i();
}, !0), [
n,
@@ -11049,10 +11049,10 @@ function Pee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function Fee(e, t, n) {
+function Iee(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, N.useEffect)(() => {
- n && n.current && kv.set(n.current, t.close);
+ n && n.current && Ov.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
@@ -11069,11 +11069,11 @@ function Fee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function Iee(e) {
+function Lee(e) {
return e && e.__esModule ? e.default : e;
}
-function Lee(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Dm(), { triggerProps: s, overlayProps: c } = Fee({ type: r }, t, n), l = (e, n, r = "first") => {
+function Ree(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Dm(), { triggerProps: s, overlayProps: c } = Iee({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
}, { keyboardProps: u } = Jm({
@@ -11088,7 +11088,7 @@ function Lee(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = sg(Iee(Dv), "@react-aria/menu"), { longPressProps: f } = Ov({
+ }), d = sg(Lee(Ev), "@react-aria/menu"), { longPressProps: f } = Dv({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -11107,7 +11107,7 @@ function Lee(e, t, n) {
}
};
delete s.onPress;
- let { contextMenuProps: m } = Nee({ onContextMenu(e) {
+ let { contextMenuProps: m } = Pee({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -11152,8 +11152,8 @@ function Lee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var Av = 1e3;
-function jv(e) {
+var kv = 1e3;
+function Av(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, N.useRef)({
search: "",
timeout: void 0
@@ -11172,11 +11172,11 @@ function jv(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Av);
+ }, kv);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = Mv(e.key);
+ let a = jv(e.key);
if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !qf(e.currentTarget, V(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
@@ -11188,17 +11188,17 @@ function jv(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, Av);
+ }, kv);
}
} : void 0
} };
}
-function Mv(e) {
+function jv(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function Nv(e, t) {
+function Mv(e, t) {
let n = (0, N.useRef)(!0), r = (0, N.useRef)(null);
sp(() => (n.current = !0, () => {
n.current = !1;
@@ -11208,14 +11208,14 @@ function Nv(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function Pv(e) {
+function Nv(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 } = Yh(), _ = Op(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !B_(e)) {
+ if (t.isLink(n) && m === "selection" && l && !z_(e)) {
(0, ch.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = V_(r, n), o = t.getItemProps(n);
+ let a = B_(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -11227,7 +11227,7 @@ function Pv(e) {
t.extendSelection(n);
return;
}
- if (l && !B_(e)) {
+ if (l && !z_(e)) {
t.replaceSelection(n);
return;
}
@@ -11327,7 +11327,7 @@ function Pv(e) {
return !1;
}, k = () => {
if (!f && r.current) {
- let e = Jg(r.current, { tabbable: !0 }), t, n;
+ let e = qg(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
@@ -11390,8 +11390,8 @@ function Pv(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 = F.current.top, p.current.scrollLeft = F.current.left);
if (t.focusedKey != null && p.current) {
- let e = V_(r, t.focusedKey);
- e instanceof HTMLElement && (!Xf(e) && !d && Mf(e), (i === "keyboard" || h && i === "virtual") && a_(e, { containingElement: r.current }));
+ let e = B_(r, t.focusedKey);
+ e instanceof HTMLElement && (!Xf(e) && !d && Mf(e), (i === "keyboard" || h && i === "virtual") && i_(e, { containingElement: r.current }));
}
}, ee = (e) => {
qf(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
@@ -11401,14 +11401,14 @@ function Pv(e) {
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (te.current = !0);
} : void 0);
let ne = n.getFirstKey?.() ?? null;
- Nv(() => {
+ Mv(() => {
if (te.current) {
if (ne == null) {
let e = Jf();
Oh(r.current), Ah(e, null), t.collection.size > 0 && (te.current = !1);
} else t.setFocusedKey(ne), te.current = !1;
}
- }, [ne, t.collection.size]), Nv(() => {
+ }, [ne, t.collection.size]), Mv(() => {
t.collection.size > 0 && (te.current = !1);
}, [t.focusedKey]), Lh(r, Eh, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
@@ -11431,10 +11431,10 @@ function Pv(e) {
let L = (0, N.useRef)(t.focusedKey), ae = (0, N.useRef)(null);
(0, N.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== L.current || ie.current) && p.current && r.current) {
- let e = lm(), n = V_(r, t.focusedKey);
+ let e = lm(), n = B_(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ie.current) && (ae.current && cancelAnimationFrame(ae.current), ae.current = requestAnimationFrame(() => {
- p.current && (i_(p.current, n), e !== "virtual" && a_(n, { containingElement: r.current }));
+ p.current && (r_(p.current, n), e !== "virtual" && i_(n, { containingElement: r.current }));
}));
}
!d && t.isFocused && t.focusedKey == null && L.current != null && r.current && bm(r.current), L.current = t.focusedKey, ie.current = !1;
@@ -11450,14 +11450,14 @@ function Pv(e) {
onMouseDown(e) {
p.current === V(e) && e.preventDefault();
}
- }, { typeSelectProps: se } = jv({
+ }, { typeSelectProps: se } = Av({
keyboardDelegate: n,
selectionManager: t
});
u || (oe = H(se, oe));
let ce;
d || (ce = t.focusedKey == null ? 0 : -1);
- let le = U_(t.collection);
+ let le = H_(t.collection);
return { collectionProps: H(oe, {
tabIndex: ce,
"data-collection": le
@@ -11465,13 +11465,13 @@ function Pv(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function Fv(e, t) {
+function Pv(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function Iv(e) {
- return Lv(e, 0);
+function Fv(e) {
+ return Iv(e, 0);
}
-function Lv(e, t) {
+function Iv(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -11479,81 +11479,81 @@ function Lv(e, t) {
n++;
}
}
-function Rv(e) {
+function Lv(e) {
let t;
for (let n of e) t = n;
return t;
}
-function zv(e, t, n) {
+function Rv(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...Bv(e, t), t], i = [...Bv(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...zv(e, t), t], i = [...zv(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 Bv(e, t) {
+function zv(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 Vv = /* @__PURE__ */ new WeakMap();
-function Hv(e) {
- let t = Vv.get(e);
+var Bv = /* @__PURE__ */ new WeakMap();
+function Vv(e) {
+ let t = Bv.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(Fv(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(Pv(i, e)) : i.type === "item" && n++;
};
- return r(e), Vv.set(e, n), n;
+ return r(e), Bv.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var Uv = /* @__PURE__ */ new Map();
-function Wv(e) {
+var Hv = /* @__PURE__ */ new Map();
+function Uv(e) {
let { locale: t } = Yh(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (Uv.has(n)) return Uv.get(n);
+ if (Hv.has(n)) return Hv.get(n);
let r = new Intl.Collator(t, e);
- return Uv.set(n, r), r;
+ return Hv.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-function Ree({ children: e }) {
+function zee({ children: e }) {
let t = (0, N.useMemo)(() => ({ register: () => {} }), []);
return /*#__PURE__*/ N.createElement(gg.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var Gv = /*#__PURE__*/ (0, N.createContext)({});
-function Kv(e) {
- let { getContainer: t } = e, { getContainer: n } = qv();
- return /*#__PURE__*/ N.createElement(Gv.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var Wv = /*#__PURE__*/ (0, N.createContext)({});
+function Gv(e) {
+ let { getContainer: t } = e, { getContainer: n } = Kv();
+ return /*#__PURE__*/ N.createElement(Wv.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function qv() {
- return (0, N.useContext)(Gv) ?? {};
+function Kv() {
+ return (0, N.useContext)(Wv) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var Jv = /*#__PURE__*/ N.createContext(null);
-function Yv(e) {
+var qv = /*#__PURE__*/ N.createContext(null);
+function Jv(e) {
let t = Gp(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, N.useState)(!1), o = (0, N.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = qv();
+ }), [i, a]), { getContainer: s } = Kv();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ N.createElement(Pg, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ N.createElement(Ng, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ N.createElement(Jv.Provider, { value: o }, /*#__PURE__*/ N.createElement(Ree, null, /*#__PURE__*/ N.createElement(Zm.Provider, { value: null }, c))), /*#__PURE__*/ ch.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ N.createElement(qv.Provider, { value: o }, /*#__PURE__*/ N.createElement(zee, null, /*#__PURE__*/ N.createElement(Zm.Provider, { value: null }, c))), /*#__PURE__*/ ch.createPortal(c, n);
}
-function Xv() {
- let e = (0, N.useContext)(Jv)?.setContain;
+function Yv() {
+ let e = (0, N.useContext)(qv)?.setContain;
sp(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function zee(e, t) {
+function Bee(e, t) {
let { role: n = "dialog" } = e, r = km();
r = e["aria-label"] ? void 0 : r;
let i = km();
@@ -11569,7 +11569,7 @@ function zee(e, t) {
clearTimeout(e);
};
}
- }, [t]), Xv(), (0, N.useRef)(!1), (0, N.useEffect)(() => {});
+ }, [t]), Yv(), (0, N.useRef)(!1), (0, N.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
@@ -11588,7 +11588,7 @@ function zee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function Zv(e = {}) {
+function Xv(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, N.useRef)({
isFocused: !1,
isFocusVisible: t || cm()
@@ -11604,7 +11604,7 @@ function Zv(e = {}) {
let { focusProps: d } = Pm({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = O_({
+ }), { focusWithinProps: f } = D_({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -11616,35 +11616,35 @@ function Zv(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function Bee(e = {}) {
+function Vee(e = {}) {
let { locale: t } = Yh();
return (0, N.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var Qv = !1, $v = 0;
-function Vee() {
- Qv = !0, setTimeout(() => {
- Qv = !1;
+var Zv = !1, Qv = 0;
+function Hee() {
+ Zv = !0, setTimeout(() => {
+ Zv = !1;
}, 500);
}
-function ey(e) {
- e.pointerType === "touch" && Vee();
+function $v(e) {
+ e.pointerType === "touch" && Hee();
}
-function Hee() {
+function Uee() {
let e = Lf(null);
- if (e !== void 0) return $v === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", ey), $v++, () => {
- $v--, !($v > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", ey);
+ if (e !== void 0) return Qv === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", $v), Qv++, () => {
+ Qv--, !(Qv > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", $v);
};
}
-function ty(e) {
+function ey(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, N.useState)(!1), s = (0, N.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, N.useEffect)(Hee, []);
+ (0, N.useEffect)(Uee, []);
let { addGlobalListener: c, removeAllGlobalListeners: l } = _g(), { hoverProps: u, triggerHoverEnd: d } = (0, N.useMemo)(() => {
let e = (e, r) => {
if (s.pointerType = r, i || r === "touch" || s.isHovered || !qf(e.currentTarget, V(e))) return;
@@ -11666,7 +11666,7 @@ function ty(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- Qv && t.pointerType === "mouse" || e(t, t.pointerType);
+ Zv && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
!i && qf(e.currentTarget, V(e)) && a(e, e.pointerType);
}), {
@@ -11691,12 +11691,12 @@ function ty(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function Uee(e) {
+function Wee(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, N.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
}), o = Ih((e) => {
- n && ny(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ n && ty(e, t) && (i && i(e), a.current.isPointerDown = !0);
}), s = Ih((e) => {
n && n(e);
});
@@ -11706,7 +11706,7 @@ function Uee(e) {
let n = t.current, i = Lf(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && ny(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && ty(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);
@@ -11714,7 +11714,7 @@ function Uee(e) {
}
}, [t, r]);
}
-function ny(e, t) {
+function ty(e, t) {
if (e.button > 0) return !1;
let n = V(e);
if (n) {
@@ -11725,8 +11725,8 @@ function ny(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var ry = {};
-ry = {
+var ny = {};
+ny = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -11740,8 +11740,8 @@ ry = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var iy = {};
-iy = {
+var ry = {};
+ry = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -11755,8 +11755,8 @@ iy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var ay = {};
-ay = {
+var iy = {};
+iy = {
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",
@@ -11770,8 +11770,8 @@ ay = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var oy = {};
-oy = {
+var ay = {};
+ay = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -11785,8 +11785,8 @@ oy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var sy = {};
-sy = {
+var oy = {};
+oy = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -11800,8 +11800,8 @@ sy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var cy = {};
-cy = {
+var sy = {};
+sy = {
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: "Επιλογή",
@@ -11815,8 +11815,8 @@ cy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var ly = {};
-ly = {
+var cy = {};
+cy = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -11830,8 +11830,8 @@ ly = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var uy = {};
-uy = {
+var ly = {};
+ly = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -11845,8 +11845,8 @@ uy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var dy = {};
-dy = {
+var uy = {};
+uy = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -11860,8 +11860,8 @@ dy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var fy = {};
-fy = {
+var dy = {};
+dy = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -11875,8 +11875,8 @@ fy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var py = {};
-py = {
+var fy = {};
+fy = {
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",
@@ -11890,8 +11890,8 @@ py = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var my = {};
-my = {
+var py = {};
+py = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -11905,8 +11905,8 @@ my = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var hy = {};
-hy = {
+var my = {};
+my = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -11920,8 +11920,8 @@ hy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var gy = {};
-gy = {
+var hy = {};
+hy = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -11935,8 +11935,8 @@ gy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var _y = {};
-_y = {
+var gy = {};
+gy = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -11950,8 +11950,8 @@ _y = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var vy = {};
-vy = {
+var _y = {};
+_y = {
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: "選択",
@@ -11965,8 +11965,8 @@ vy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var yy = {};
-yy = {
+var vy = {};
+vy = {
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: "선택",
@@ -11980,8 +11980,8 @@ yy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var by = {};
-by = {
+var yy = {};
+yy = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -11995,8 +11995,8 @@ by = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var xy = {};
-xy = {
+var by = {};
+by = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -12010,8 +12010,8 @@ xy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var Sy = {};
-Sy = {
+var xy = {};
+xy = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -12025,8 +12025,8 @@ Sy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var Cy = {};
-Cy = {
+var Sy = {};
+Sy = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -12040,8 +12040,8 @@ Cy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var wy = {};
-wy = {
+var Cy = {};
+Cy = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -12055,8 +12055,8 @@ wy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var Ty = {};
-Ty = {
+var wy = {};
+wy = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -12070,8 +12070,8 @@ Ty = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var Ey = {};
-Ey = {
+var Ty = {};
+Ty = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -12085,8 +12085,8 @@ Ey = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var Dy = {};
-Dy = {
+var Ey = {};
+Ey = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -12100,8 +12100,8 @@ Dy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var Oy = {};
-Oy = {
+var Dy = {};
+Dy = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -12115,8 +12115,8 @@ Oy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var ky = {};
-ky = {
+var Oy = {};
+Oy = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -12130,8 +12130,8 @@ ky = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var Ay = {};
-Ay = {
+var ky = {};
+ky = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -12145,8 +12145,8 @@ Ay = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var jy = {};
-jy = {
+var Ay = {};
+Ay = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -12160,8 +12160,8 @@ jy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var My = {};
-My = {
+var jy = {};
+jy = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -12175,8 +12175,8 @@ My = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var Ny = {};
-Ny = {
+var My = {};
+My = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -12190,8 +12190,8 @@ Ny = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var Py = {};
-Py = {
+var Ny = {};
+Ny = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -12205,8 +12205,8 @@ Py = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var Fy = {};
-Fy = {
+var Py = {};
+Py = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -12220,8 +12220,8 @@ Fy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var Iy = {};
-Iy = {
+var Fy = {};
+Fy = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -12235,55 +12235,55 @@ Iy = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var Ly = {};
-Ly = {
- "ar-AE": ry,
- "bg-BG": iy,
- "cs-CZ": ay,
- "da-DK": oy,
- "de-DE": sy,
- "el-GR": cy,
- "en-US": ly,
- "es-ES": uy,
- "et-EE": dy,
- "fi-FI": fy,
- "fr-FR": py,
- "he-IL": my,
- "hr-HR": hy,
- "hu-HU": gy,
- "it-IT": _y,
- "ja-JP": vy,
- "ko-KR": yy,
- "lt-LT": by,
- "lv-LV": xy,
- "nb-NO": Sy,
- "nl-NL": Cy,
- "pl-PL": wy,
- "pt-BR": Ty,
- "pt-PT": Ey,
- "ro-RO": Dy,
- "ru-RU": Oy,
- "sk-SK": ky,
- "sl-SI": Ay,
- "sr-SP": jy,
- "sv-SE": My,
- "tr-TR": Ny,
- "uk-UA": Py,
- "zh-CN": Fy,
- "zh-TW": Iy
+var Iy = {};
+Iy = {
+ "ar-AE": ny,
+ "bg-BG": ry,
+ "cs-CZ": iy,
+ "da-DK": ay,
+ "de-DE": oy,
+ "el-GR": sy,
+ "en-US": cy,
+ "es-ES": ly,
+ "et-EE": uy,
+ "fi-FI": dy,
+ "fr-FR": fy,
+ "he-IL": py,
+ "hr-HR": my,
+ "hu-HU": hy,
+ "it-IT": gy,
+ "ja-JP": _y,
+ "ko-KR": vy,
+ "lt-LT": yy,
+ "lv-LV": by,
+ "nb-NO": xy,
+ "nl-NL": Sy,
+ "pl-PL": Cy,
+ "pt-BR": wy,
+ "pt-PT": Ty,
+ "ro-RO": Ey,
+ "ru-RU": Dy,
+ "sk-SK": Oy,
+ "sl-SI": ky,
+ "sr-SP": Ay,
+ "sv-SE": jy,
+ "tr-TR": My,
+ "uk-UA": Ny,
+ "zh-CN": Py,
+ "zh-TW": Fy
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function Ry(e) {
+function Ly(e) {
return e && e.__esModule ? e.default : e;
}
-function zy(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = sg(Ry(Ly), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, N.useRef)(i), o = (0, N.useCallback)(() => {
+function Ry(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = sg(Ly(Iy), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, N.useRef)(i), o = (0, N.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = By(i, a.current), o = By(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = zy(i, a.current), o = zy(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)) {
@@ -12303,7 +12303,7 @@ function zy(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 && $g(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 && Qg(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -12314,7 +12314,7 @@ function zy(e, t) {
n,
r
]);
- e_(() => {
+ $g(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -12322,7 +12322,7 @@ function zy(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function By(e, t) {
+function zy(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);
@@ -12330,13 +12330,13 @@ function By(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function Vy(e, t) {
+function By(e, t) {
let n = t?.isDisabled, [r, i] = (0, N.useState)(!1);
return sp(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = Jg(e.current, { tabbable: !0 });
+ let t = qg(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -12355,12 +12355,12 @@ function Vy(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Hy(e) {
+function Vy(e) {
return e && e.__esModule ? e.default : e;
}
-function Uy(e) {
- let t = sg(Hy(Ly), "@react-aria/grid"), n = dm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return s_((0, N.useMemo)(() => {
+function Hy(e) {
+ let t = sg(Vy(Iy), "@react-aria/grid"), n = dm(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return o_((0, N.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;
}, [
@@ -12373,11 +12373,11 @@ function Uy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function Wy(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = Wv({
+function Uy(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = Uv({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, N.useMemo)(() => a || new K_({
+ }), l = t.disabledBehavior, u = (0, N.useMemo)(() => a || new G_({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -12394,7 +12394,7 @@ function Wy(e) {
c,
l,
s
- ]), { collectionProps: d } = Pv({
+ ]), { collectionProps: d } = Nv({
...e,
ref: i,
selectionManager: t,
@@ -12404,11 +12404,11 @@ function Wy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function Gy(e) {
+function Wy(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 = Op();
t = Dm(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && B_(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && z_(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -12451,22 +12451,22 @@ function Gy(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 || qy(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || Ky(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" && !Ky(e.key)) return;
+ if (e.pointerType === "keyboard" && !Gy(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 || qy(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || Ky(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && Ky(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 && Gy(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let A = W_(n.collection);
+ let A = U_(n.collection);
if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = H(k, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -12484,7 +12484,7 @@ function Gy(e) {
]) D[e] && (k[e] = xm(k[e], D[e]));
let { pressProps: j, isPressed: M } = Sg(k), P = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: F } = Ov({
+ } : void 0, { longPressProps: F } = Dv({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -12533,22 +12533,22 @@ function Gy(e) {
hasAction: S
};
}
-function Ky(e) {
+function Gy(e) {
return e === "Enter";
}
-function qy(e) {
+function Ky(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function Wee(e) {
+function Gee(e) {
return e && e.__esModule ? e.default : e;
}
-function Gee(e, t) {
+function Kee(e, t) {
let { key: n } = e, r = t.selectionManager, i = Dm(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": sg(Wee(Ly), "@react-aria/grid").format("select"),
+ "aria-label": sg(Gee(Iy), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -12556,22 +12556,22 @@ function Gee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function Kee(e, t, n) {
+function qee(e, t, n) {
let r = lg(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 } = Wy({
+ let { listProps: s } = Uy({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = O_({
+ }), { focusWithinProps: c } = D_({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
}), l = Dm(e.id);
- z_.set(t, {
+ R_.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -12581,7 +12581,7 @@ function Kee(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = E_({
+ let { labelProps: u, fieldProps: d } = T_({
...e,
id: l,
labelElementType: "span"
@@ -12597,7 +12597,7 @@ function Kee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function qee(e) {
+function Jee(e) {
let { heading: t, "aria-label": n } = e, r = Dm();
return {
itemProps: { role: "presentation" },
@@ -12617,8 +12617,8 @@ function qee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Jee(e, t, n) {
- let { key: r } = e, i = z_.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 = km(), f = km(), p = {
+function Yee(e, t, n) {
+ let { key: r } = e, i = R_.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 = km(), f = km(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -12628,9 +12628,9 @@ function Jee(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"] = Hv(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = Vv(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = jee(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Gy({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Mee(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Wy({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -12643,7 +12643,7 @@ function Jee(e, t, n) {
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = ty({
+ }), { hoverProps: S } = ey({
isDisabled: a || !c,
onHoverStart() {
cm() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
@@ -12670,15 +12670,15 @@ function Jee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function Yee() {
+function Xee() {
return window.ResizeObserver !== void 0;
}
-function Jy(e) {
+function qy(e) {
let { ref: t, box: n, onResize: r } = e, i = Ih(r);
(0, N.useEffect)(() => {
let e = t?.current;
if (e) {
- if (Yee()) {
+ if (Xee()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -12694,189 +12694,189 @@ function Jy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var Yy = {};
-Yy = { dismiss: "تجاهل" };
+var Jy = {};
+Jy = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var Xy = {};
-Xy = { dismiss: "Отхвърляне" };
+var Yy = {};
+Yy = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var Zy = {};
-Zy = { dismiss: "Odstranit" };
+var Xy = {};
+Xy = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var Qy = {};
-Qy = { dismiss: "Luk" };
+var Zy = {};
+Zy = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var $y = {};
-$y = { dismiss: "Schließen" };
+var Qy = {};
+Qy = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var eb = {};
-eb = { dismiss: "Απόρριψη" };
+var $y = {};
+$y = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var tb = {};
-tb = { dismiss: "Dismiss" };
+var eb = {};
+eb = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var nb = {};
-nb = { dismiss: "Descartar" };
+var tb = {};
+tb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var rb = {};
-rb = { dismiss: "Lõpeta" };
+var nb = {};
+nb = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var ib = {};
-ib = { dismiss: "Hylkää" };
+var rb = {};
+rb = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var ab = {};
-ab = { dismiss: "Rejeter" };
+var ib = {};
+ib = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var ob = {};
-ob = { dismiss: "התעלם" };
+var ab = {};
+ab = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var sb = {};
-sb = { dismiss: "Odbaci" };
+var ob = {};
+ob = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var cb = {};
-cb = { dismiss: "Elutasítás" };
+var sb = {};
+sb = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var lb = {};
-lb = { dismiss: "Ignora" };
+var cb = {};
+cb = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var ub = {};
-ub = { dismiss: "閉じる" };
+var lb = {};
+lb = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var db = {};
-db = { dismiss: "무시" };
+var ub = {};
+ub = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var fb = {};
-fb = { dismiss: "Atmesti" };
+var db = {};
+db = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var pb = {};
-pb = { dismiss: "Nerādīt" };
+var fb = {};
+fb = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var mb = {};
-mb = { dismiss: "Lukk" };
+var pb = {};
+pb = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var hb = {};
-hb = { dismiss: "Negeren" };
+var mb = {};
+mb = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var gb = {};
-gb = { dismiss: "Zignoruj" };
+var hb = {};
+hb = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var _b = {};
-_b = { dismiss: "Descartar" };
+var gb = {};
+gb = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var vb = {};
-vb = { dismiss: "Dispensar" };
+var _b = {};
+_b = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var yb = {};
-yb = { dismiss: "Revocare" };
+var vb = {};
+vb = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var bb = {};
-bb = { dismiss: "Пропустить" };
+var yb = {};
+yb = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var xb = {};
-xb = { dismiss: "Zrušiť" };
+var bb = {};
+bb = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var Sb = {};
-Sb = { dismiss: "Opusti" };
+var xb = {};
+xb = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var Cb = {};
-Cb = { dismiss: "Odbaci" };
+var Sb = {};
+Sb = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var wb = {};
-wb = { dismiss: "Avvisa" };
+var Cb = {};
+Cb = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var Tb = {};
-Tb = { dismiss: "Kapat" };
+var wb = {};
+wb = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var Eb = {};
-Eb = { dismiss: "Скасувати" };
+var Tb = {};
+Tb = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var Db = {};
-Db = { dismiss: "取消" };
+var Eb = {};
+Eb = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var Ob = {};
-Ob = { dismiss: "關閉" };
+var Db = {};
+Db = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var kb = {};
-kb = {
- "ar-AE": Yy,
- "bg-BG": Xy,
- "cs-CZ": Zy,
- "da-DK": Qy,
- "de-DE": $y,
- "el-GR": eb,
- "en-US": tb,
- "es-ES": nb,
- "et-EE": rb,
- "fi-FI": ib,
- "fr-FR": ab,
- "he-IL": ob,
- "hr-HR": sb,
- "hu-HU": cb,
- "it-IT": lb,
- "ja-JP": ub,
- "ko-KR": db,
- "lt-LT": fb,
- "lv-LV": pb,
- "nb-NO": mb,
- "nl-NL": hb,
- "pl-PL": gb,
- "pt-BR": _b,
- "pt-PT": vb,
- "ro-RO": yb,
- "ru-RU": bb,
- "sk-SK": xb,
- "sl-SI": Sb,
- "sr-SP": Cb,
- "sv-SE": wb,
- "tr-TR": Tb,
- "uk-UA": Eb,
- "zh-CN": Db,
- "zh-TW": Ob
+var Ob = {};
+Ob = {
+ "ar-AE": Jy,
+ "bg-BG": Yy,
+ "cs-CZ": Xy,
+ "da-DK": Zy,
+ "de-DE": Qy,
+ "el-GR": $y,
+ "en-US": eb,
+ "es-ES": tb,
+ "et-EE": nb,
+ "fi-FI": rb,
+ "fr-FR": ib,
+ "he-IL": ab,
+ "hr-HR": ob,
+ "hu-HU": sb,
+ "it-IT": cb,
+ "ja-JP": lb,
+ "ko-KR": ub,
+ "lt-LT": db,
+ "lv-LV": fb,
+ "nb-NO": pb,
+ "nl-NL": mb,
+ "pl-PL": hb,
+ "pt-BR": gb,
+ "pt-PT": _b,
+ "ro-RO": vb,
+ "ru-RU": yb,
+ "sk-SK": bb,
+ "sl-SI": xb,
+ "sr-SP": Sb,
+ "sv-SE": Cb,
+ "tr-TR": wb,
+ "uk-UA": Tb,
+ "zh-CN": Eb,
+ "zh-TW": Db
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Xee(e) {
+function Zee(e) {
return e && e.__esModule ? e.default : e;
}
-function Ab(e) {
- let { onDismiss: t, ...n } = e, r = Rh(n, sg(Xee(kb), "@react-aria/overlays").format("dismiss")), i = () => {
+function kb(e) {
+ let { onDismiss: t, ...n } = e, r = Rh(n, sg(Zee(Ob), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ N.createElement(P_, null, /*#__PURE__*/ N.createElement("button", {
+ return /*#__PURE__*/ N.createElement(N_, null, /*#__PURE__*/ N.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -12888,22 +12888,22 @@ function Ab(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var jb = [];
-function Mb(e, t) {
+var Ab = [];
+function jb(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, N.useRef)(void 0);
(0, N.useEffect)(() => {
- if (i && !jb.includes(t)) return jb.push(t), () => {
- let e = jb.indexOf(t);
- e >= 0 && jb.splice(e, 1);
+ if (i && !Ab.includes(t)) return Ab.push(t), () => {
+ let e = Ab.indexOf(t);
+ e >= 0 && Ab.splice(e, 1);
};
}, [i, t]);
let l = () => {
- jb[jb.length - 1] === t && n && n();
+ Ab[Ab.length - 1] === t && n && n();
}, u = (e) => {
- let n = jb[jb.length - 1];
+ let n = Ab[Ab.length - 1];
c.current = n, (!s || s(V(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(V(e))) && (jb[jb.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ (!s || s(V(e))) && (Ab[Ab.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
}, { keyboardProps: f } = Jm({ shortcuts: { Escape: () => {
if (!o) {
l();
@@ -12911,15 +12911,15 @@ function Mb(e, t) {
}
return !1;
} } });
- Uee({
+ Wee({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = O_({
+ let { focusWithinProps: p } = D_({
isDisabled: !r,
onBlurWithin: (e) => {
- !e.relatedTarget || gee(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
+ !e.relatedTarget || _ee(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -12932,23 +12932,23 @@ function Mb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var Nb = typeof document < "u" && window.visualViewport, Pb = 0, Fb;
-function Ib(e = {}) {
+var Mb = typeof document < "u" && window.visualViewport, Nb = 0, Pb;
+function Fb(e = {}) {
let { isDisabled: t } = e;
sp(() => {
- if (!t) return Pb++, Pb === 1 && (Fb = yp() && xp() ? Qee() : Zee()), () => {
- Pb--, Pb === 0 && Fb();
+ if (!t) return Nb++, Nb === 1 && (Pb = yp() && xp() ? $ee() : Qee()), () => {
+ Nb--, Nb === 0 && Pb();
};
}, [t]);
}
-function Zee() {
+function Qee() {
let e = window.innerWidth - document.documentElement.clientWidth;
return xm(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Wf(document.documentElement, "scrollbar-gutter", "stable") : Wf(document.documentElement, "padding-right", `${e}px`)), Wf(document.documentElement, "overflow", "hidden"));
}
-function Qee() {
+function $ee() {
let e = Wf(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = V(e);
- t = t_(r) ? r : n_(r, !0), n = !1;
+ t = e_(r) ? r : t_(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 = hg();
@@ -12963,7 +12963,7 @@ function Qee() {
}
}, s = (e) => {
let t = V(e), n = e.relatedTarget;
- n && Ph(n) ? (n.focus({ preventScroll: !0 }), Lb(n, Ph(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && Ph(n) ? (n.focus({ preventScroll: !0 }), Ib(n, Ph(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, c = HTMLElement.prototype.focus;
Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -12973,7 +12973,7 @@ function Qee() {
c.call(this, {
...e,
preventScroll: !0
- }), (!e || !e.preventScroll) && Lb(this, n);
+ }), (!e || !e.preventScroll) && Ib(this, n);
}
});
let l = xm(Uf(document, "touchstart", r, {
@@ -12991,18 +12991,18 @@ function Qee() {
});
};
}
-function Lb(e, t) {
- t || !Nb ? Rb(e) : Nb.addEventListener("resize", () => Rb(e), { once: !0 });
+function Ib(e, t) {
+ t || !Mb ? Lb(e) : Mb.addEventListener("resize", () => Lb(e), { once: !0 });
}
-function Rb(e) {
+function Lb(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
- let e = n_(n);
+ let e = t_(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;
- Nb && (n = Math.min(n, Nb.offsetTop + Nb.height));
+ Mb && (n = Math.min(n, Mb.offsetTop + Mb.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)),
@@ -13015,14 +13015,14 @@ function Rb(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function zb(e, t, n) {
- let { overlayProps: r, underlayProps: i } = Mb({
+function Rb(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = jb({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- return Ib({ isDisabled: !t.isOpen }), Xv(), (0, N.useEffect)(() => {
- if (t.isOpen && n.current) return R_([n.current], { shouldUseInert: !0 });
+ return Fb({ isDisabled: !t.isOpen }), Yv(), (0, N.useEffect)(() => {
+ if (t.isOpen && n.current) return L_([n.current], { shouldUseInert: !0 });
}, [t.isOpen, n]), {
modalProps: H(r),
underlayProps: i
@@ -13030,32 +13030,32 @@ function zb(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var Bb = {
+var zb = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, Vb = {
+}, Bb = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, Hb = {
+}, Vb = {
top: "left",
left: "top"
-}, Ub = {
+}, Hb = {
top: "height",
left: "width"
-}, Wb = {
+}, Ub = {
width: "totalWidth",
height: "totalHeight"
-}, Gb = {}, Kb = () => typeof document < "u" ? window.visualViewport : null;
-function qb(e, t) {
+}, Wb = {}, Gb = () => typeof document < "u" ? window.visualViewport : null;
+function Kb(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} = ix(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ } else ({width: n, height: r, top: o, left: s} = rx(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
return xp() && (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,
@@ -13066,7 +13066,7 @@ function qb(e, t) {
left: s
};
}
-function Jb(e) {
+function qb(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -13074,11 +13074,11 @@ function Jb(e) {
height: e.scrollHeight
};
}
-function Yb(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[Ub[e]], l = o[e] + r.scroll[Bb[e]] + a, u = o[e] + r.scroll[Bb[e]] + c - a, d = t - s + r.scroll[Bb[e]] + o[e] - r[Bb[e]], f = t - s + n + r.scroll[Bb[e]] + o[e] - r[Bb[e]];
+function Jb(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[Hb[e]], l = o[e] + r.scroll[zb[e]] + a, u = o[e] + r.scroll[zb[e]] + c - a, d = t - s + r.scroll[zb[e]] + o[e] - r[zb[e]], f = t - s + n + r.scroll[zb[e]] + o[e] - r[zb[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function Xb(e) {
+function Yb(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -13087,55 +13087,55 @@ function Xb(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function Zb(e) {
- if (Gb[e]) return Gb[e];
- let [t, n] = e.split(" "), r = Bb[t] || "right", i = Hb[r];
- Bb[n] || (n = "center");
- let a = Ub[r], o = Ub[i];
- return Gb[e] = {
+function Xb(e) {
+ if (Wb[e]) return Wb[e];
+ let [t, n] = e.split(" "), r = zb[t] || "right", i = Vb[r];
+ zb[n] || (n = "center");
+ let a = Hb[r], o = Hb[i];
+ return Wb[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, Gb[e];
+ }, Wb[e];
}
-function Qb(e, t, n, r, i, a, o, s, c, l, u) {
+function Zb(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] = j_(_[m], v, y), d === p) {
- let t = s ? u[h] : u[Wb[h]];
- _[Vb[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = A_(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[Ub[h]];
+ _[Bb[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function $b(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[Wb.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function Qb(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[Ub.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 ex(e, t, n, r, i, a, o, s) {
+function $b(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[Vb[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[Vb[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Bb[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[Bb[l]] - i);
}
-function tx(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = Zb(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Qb(t, s, n, v, u, d, l, f, m, h, c), T = u, E = ex(s, l, t, i, a + u, v, c, g);
+function ex(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = Xb(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Zb(t, s, n, v, u, d, l, f, m, h, c), T = u, E = $b(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = Zb(`${Vb[S]} ${C}`), r = Qb(t, s, n, e, u, d, l, f, m, h, c);
- ex(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = Xb(`${Bb[S]} ${C}`), r = Zb(t, s, n, e, u, d, l, f, m, h, c);
+ $b(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 = Yb(b, w[b], n[x], s, c, a, l);
+ let O = Jb(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = $b(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Qb(t, s, n, v, T, d, l, f, m, h, c), O = Yb(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[Bb[b]], M = j + .5 * t[x], N = m / 2 + h, P = Bb[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), F = n[x] - P - m / 2 - h;
- A[b] = j_(j_(M, t[b] + m / 2 - (w[b] + i[Bb[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Bb[b]])), N, F), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = Qb(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Zb(t, s, n, v, T, d, l, f, m, h, c), O = Jb(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[zb[b]], M = j + .5 * t[x], N = m / 2 + h, P = zb[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), F = n[x] - P - m / 2 - h;
+ A[b] = A_(A_(M, t[b] + m / 2 - (w[b] + i[zb[b]]), t[b] + t[x] - m / 2 - (w[b] + i[zb[b]])), N, F), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let I = S === "left" || S === "top" ? n[y] : 0, ee = {
x: S === "top" || S === "bottom" ? j : I,
y: S === "left" || S === "right" ? j : I
@@ -13149,17 +13149,17 @@ function tx(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: ee
};
}
-function nx(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 = Kb(), h = r instanceof HTMLElement ? ox(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? ix(n, !1, p) : ax(n, h, !1, p);
+function tx(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 = Gb(), h = r instanceof HTMLElement ? ax(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? rx(n, !1, p) : ix(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 = ix(r, !0), x = Xb(r);
+ let b = rx(r, !0), x = Yb(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = Jb(i), C = qb(s, m), w = qb(h, m), T;
+ let S = qb(i), C = Kb(s, m), w = Kb(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = rx(h, !1);
+ let e = nx(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -13171,11 +13171,11 @@ function nx(e) {
left: 0,
width: 0,
height: 0
- } : ax(s, h, !1);
+ } : ix(s, h, !1);
let E = qf(s, h);
- return tx(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ return ex(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function rx(e, t) {
+function nx(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,
@@ -13184,8 +13184,8 @@ function rx(e, t) {
height: a
};
}
-function ix(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || rx(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function rx(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || nx(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -13193,29 +13193,29 @@ function ix(e, t, n) {
height: o
};
}
-function ax(e, t, n, r) {
+function ix(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || rx(e, n);
+ if (i.position === "fixed") a = r || nx(e, n);
else {
- a = ix(e, n, r);
- let i = ix(t, n), o = window.getComputedStyle(t);
+ a = rx(e, n, r);
+ let i = rx(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 ox(e) {
+function ax(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !sx(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !sx(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !ox(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !ox(t);) t = t.parentElement;
return t || document.documentElement;
}
-function sx(e) {
+function ox(e) {
let t = window.getComputedStyle(e);
return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var cx = typeof document < "u" ? window.visualViewport : null;
-function lx(e) {
+var sx = typeof document < "u" ? window.visualViewport : null;
+function cx(e) {
let { direction: t } = Yh(), { 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, N.useState)(null), x = [
p,
s,
@@ -13233,12 +13233,12 @@ function lx(e) {
g,
_,
n
- ], S = (0, N.useRef)(cx?.scale);
+ ], S = (0, N.useRef)(sx?.scale);
(0, N.useEffect)(() => {
- m && (S.current = cx?.scale);
+ m && (S.current = sx?.scale);
}, [m]);
let C = (0, N.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || cx?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || sx?.scale !== S.current) return;
let e = null;
if (o.current && Xf(o.current)) {
let t = Jf()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
@@ -13249,8 +13249,8 @@ function lx(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 = nx({
- placement: dx(s, t),
+ let y = tx({
+ placement: ux(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -13260,7 +13260,7 @@ function lx(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? rx(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? nx(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
@@ -13273,10 +13273,10 @@ function lx(e) {
}
b(y);
}, x);
- sp(C, x), ux(C), Jy({
+ sp(C, x), lx(C), qy({
ref: i,
onResize: C
- }), Jy({
+ }), qy({
ref: r,
onResize: C
});
@@ -13289,16 +13289,16 @@ function lx(e) {
}, n = () => {
w.current && t();
};
- cx?.addEventListener("resize", t), cx?.addEventListener("scroll", n);
+ sx?.addEventListener("resize", t), sx?.addEventListener("scroll", n);
let r = Uf(Yf(window), "scroll", n);
return () => {
- cx?.removeEventListener("resize", t), cx?.removeEventListener("scroll", n), r();
+ sx?.removeEventListener("resize", t), sx?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, N.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return Pee({
+ return Fee({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -13324,25 +13324,25 @@ function lx(e) {
updatePosition: C
};
}
-function ux(e) {
+function lx(e) {
sp(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function dx(e, t) {
+function ux(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function fx(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 } = Mb({
+function dx(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 } = jb({
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 } = lx({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = cx({
...c,
targetRef: n,
overlayRef: r,
@@ -13350,15 +13350,15 @@ function fx(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)
});
- Ib({ isDisabled: a || !t.isOpen }), (0, N.useEffect)(() => {
- if (t.isOpen && r.current) return a ? kee(i?.current ?? r.current) : R_([i?.current ?? r.current], { shouldUseInert: !0 });
+ Fb({ isDisabled: a || !t.isOpen }), (0, N.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? Aee(i?.current ?? r.current) : L_([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = O_(e);
+ let { focusWithinProps: g } = D_(e);
return {
popoverProps: H(u, f, g),
arrowProps: p,
@@ -13369,10 +13369,10 @@ function fx(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var px = /* @__PURE__ */ new WeakMap();
+var fx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function mx(e, t, n) {
+function px(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: _ } = Sg({
@@ -13395,9 +13395,9 @@ function mx(e, t, n) {
}
}), { focusableProps: b } = $m(H(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = H(g, b), S = lg(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 } = px.get(t);
- c_(n, t.defaultSelectedValue, t.setSelectedValue), l_({ validationBehavior: O }, t, n);
- let k = m_();
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = fx.get(t);
+ s_(n, t.defaultSelectedValue, t.setSelectedValue), c_({ validationBehavior: O }, t, n);
+ let k = p_();
return {
labelProps: H(v, (0, N.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -13429,13 +13429,13 @@ function mx(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function hx(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Yh(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = D_({
+function mx(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Yh(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = E_({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = lg(e, { labelable: !0 }), { focusWithinProps: v } = O_({
+ }), _ = lg(e, { labelable: !0 }), { focusWithinProps: v } = D_({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -13443,7 +13443,7 @@ function hx(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = Jg(n.currentTarget, {
+ let r = qg(n.currentTarget, {
from: V(n),
accept: (e) => e instanceof Rf(e).HTMLInputElement && e.type === "radio"
}), i;
@@ -13458,7 +13458,7 @@ function hx(e, t) {
},
allowRepeats: !0
}), x = Dm(n);
- return px.set(t, {
+ return fx.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -13487,18 +13487,18 @@ function hx(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var gx = /* @__PURE__ */ new WeakMap();
-function _x(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = Wv({
+var hx = /* @__PURE__ */ new WeakMap();
+function gx(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = Uv({
usage: "search",
sensitivity: "base"
- }), u = (0, N.useMemo)(() => r || new K_(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, N.useMemo)(() => r || new G_(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = Lee({
+ ]), { menuTriggerProps: d, menuProps: f } = Ree({
isDisabled: i,
type: "listbox"
}, t, n), { keyboardProps: p } = Jm({
@@ -13517,13 +13517,13 @@ function _x(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = jv({
+ }), { typeSelectProps: m } = Av({
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 } = D_({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = E_({
...e,
labelElementType: "span",
isInvalid: h,
@@ -13531,7 +13531,7 @@ function _x(e, t, n) {
});
t.selectionManager.selectionMode === "multiple" && (m = {});
let S = lg(e, { labelable: !0 }), C = H(m, d, y), w = Dm();
- return gx.set(t, {
+ return hx.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -13592,13 +13592,13 @@ function _x(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function vx(e, t, n) {
- let r = gx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = N_({ style: {
+function _x(e, t, n) {
+ let r = hx.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = M_({ style: {
position: "fixed",
top: 0,
left: 0
} });
- c_(e.selectRef, t.defaultValue, t.setValue), l_({
+ s_(e.selectRef, t.defaultValue, t.setValue), c_({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -13628,8 +13628,8 @@ function vx(e, t, n) {
}
};
}
-function yx(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, N.useRef)(null), c = (0, N.useRef)(null), { containerProps: l, selectProps: u } = vx({
+function vx(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, N.useRef)(null), c = (0, N.useRef)(null), { containerProps: l, selectProps: u } = _x({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -13653,7 +13653,7 @@ function yx(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = gx.get(t) || {};
+ let { validationBehavior: e } = hx.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -13684,8 +13684,8 @@ function yx(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function bx(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = w_(e, t, n);
+function yx(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = C_(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -13699,10 +13699,10 @@ function bx(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var xx = class {
+var bx = 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 $ee(e.layout) : new G_(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new ete(e.layout) : new W_(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -13738,7 +13738,7 @@ var xx = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of Fv(n, this.collection)) {
+ for (let e of Pv(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -13772,13 +13772,13 @@ var xx = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = Fv(t, this.collection);
- return (this.direction === "rtl" ? Rv(e)?.key : Iv(e)?.key) ?? null;
+ let e = Pv(t, this.collection);
+ return (this.direction === "rtl" ? Lv(e)?.key : Fv(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = Fv(n, this.collection), i = (this.direction === "rtl" ? Lv(r, t.index - 1) : Lv(r, t.index + 1)) ?? null;
+ let r = Pv(n, this.collection), i = (this.direction === "rtl" ? Iv(r, t.index - 1) : Iv(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;
@@ -13787,13 +13787,13 @@ var xx = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = Fv(t, this.collection);
- return (this.direction === "rtl" ? Iv(e)?.key : Rv(e)?.key) ?? null;
+ let e = Pv(t, this.collection);
+ return (this.direction === "rtl" ? Fv(e)?.key : Lv(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = Fv(n, this.collection), i = (this.direction === "rtl" ? Lv(r, t.index + 1) : Lv(r, t.index - 1)) ?? null;
+ let r = Pv(n, this.collection), i = (this.direction === "rtl" ? Iv(r, t.index + 1) : Iv(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;
@@ -13804,13 +13804,13 @@ var xx = 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 ? Iv(Fv(e, this.collection))?.key ?? null : null;
+ return e ? Fv(Pv(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 = Iv(Fv(e, this.collection))?.key ?? null;
+ n = Fv(Pv(e, this.collection))?.key ?? null;
}
return n;
}
@@ -13820,13 +13820,13 @@ var xx = 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 ? Rv(Fv(e, this.collection))?.key ?? null : null;
+ return e ? Lv(Pv(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 = Rv(Fv(e, this.collection))?.key ?? null;
+ n = Lv(Pv(e, this.collection))?.key ?? null;
}
return n;
}
@@ -13862,13 +13862,13 @@ var xx = 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" ? Iv(Fv(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? Fv(Pv(t, this.collection))?.key ?? null : t.key;
}
n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);
}
return null;
}
-}, $ee = class {
+}, ete = class {
constructor(e) {
this.layout = e;
}
@@ -13881,16 +13881,16 @@ var xx = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, Sx = /* @__PURE__ */ new WeakMap();
+}, xx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function ete(e, t, n) {
+function tte(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 = Wv({
+ let h = Uv({
usage: "search",
sensitivity: "base"
- }), { direction: g } = Yh(), _ = t.selectionManager.disabledBehavior, v = (0, N.useMemo)(() => a || new xx({
+ }), { direction: g } = Yh(), _ = t.selectionManager.disabledBehavior, v = (0, N.useMemo)(() => a || new bx({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -13907,7 +13907,7 @@ function ete(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = Pv({
+ ]), { collectionProps: y } = Nv({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -13916,7 +13916,7 @@ function ete(e, t, n) {
disallowTypeAhead: i,
escapeKeyBehavior: d
}), b = Dm(e.id);
- Sx.set(t, {
+ xx.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -13925,7 +13925,7 @@ function ete(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = Uy({
+ let x = Hy({
selectionManager: m,
hasItemActions: !!(l || u)
}), S = lg(e, { labelable: !0 }), C = (0, N.useCallback)((e) => {
@@ -13937,36 +13937,36 @@ function ete(e, t, n) {
}, [m]), w = (0, N.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = Vy(n, { isDisabled: t.collection.size !== 0 }), E = H(S, {
+ }), [C, y.onBlur]), T = By(n, { isDisabled: t.collection.size !== 0 }), E = H(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), zy({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), Ry({ getRowText: c }, t), { gridProps: E };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var Cx = /* @__PURE__ */ new WeakMap();
-function wx(e) {
+var Sx = /* @__PURE__ */ new WeakMap();
+function Cx(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function tte(e, t) {
- let n = Cx.get(e);
+function nte(e, t) {
+ let n = Sx.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${wx(t)}`;
+ return `${n}-${Cx(t)}`;
}
-function Tx(e, t, n) {
- let r = Cx.get(e);
+function wx(e, t, n) {
+ let r = Sx.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${wx(t)}-${wx(n)}`;
+ return `${r}-${Cx(t)}-${Cx(n)}`;
}
-function Ex(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => Tx(e, t, n)).join(" ");
+function Tx(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => wx(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var Dx = {};
-Dx = {
+var Ex = {};
+Ex = {
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: "طي",
@@ -13981,8 +13981,8 @@ Dx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var Ox = {};
-Ox = {
+var Dx = {};
+Dx = {
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: "Свиване",
@@ -13997,8 +13997,8 @@ Ox = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var kx = {};
-kx = {
+var Ox = {};
+Ox = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -14013,8 +14013,8 @@ kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var Ax = {};
-Ax = {
+var kx = {};
+kx = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -14029,8 +14029,8 @@ Ax = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var jx = {};
-jx = {
+var Ax = {};
+Ax = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -14045,8 +14045,8 @@ jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var Mx = {};
-Mx = {
+var jx = {};
+jx = {
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: "Σύμπτυξη",
@@ -14061,8 +14061,8 @@ Mx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var Nx = {};
-Nx = {
+var Mx = {};
+Mx = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -14077,8 +14077,8 @@ Nx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var Px = {};
-Px = {
+var Nx = {};
+Nx = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -14093,8 +14093,8 @@ Px = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var Fx = {};
-Fx = {
+var Px = {};
+Px = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -14109,8 +14109,8 @@ Fx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var Ix = {};
-Ix = {
+var Fx = {};
+Fx = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -14125,8 +14125,8 @@ Ix = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var Lx = {};
-Lx = {
+var Ix = {};
+Ix = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -14141,8 +14141,8 @@ Lx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var Rx = {};
-Rx = {
+var Lx = {};
+Lx = {
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: "כווץ",
@@ -14157,8 +14157,8 @@ Rx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var zx = {};
-zx = {
+var Rx = {};
+Rx = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -14173,8 +14173,8 @@ zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var Bx = {};
-Bx = {
+var zx = {};
+zx = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -14189,8 +14189,8 @@ Bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Vx = {};
-Vx = {
+var Bx = {};
+Bx = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -14205,8 +14205,8 @@ Vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Hx = {};
-Hx = {
+var Vx = {};
+Vx = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -14221,8 +14221,8 @@ Hx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var Ux = {};
-Ux = {
+var Hx = {};
+Hx = {
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: "접기",
@@ -14237,8 +14237,8 @@ Ux = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var Wx = {};
-Wx = {
+var Ux = {};
+Ux = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -14253,8 +14253,8 @@ Wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var Gx = {};
-Gx = {
+var Wx = {};
+Wx = {
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",
@@ -14269,8 +14269,8 @@ Gx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var Kx = {};
-Kx = {
+var Gx = {};
+Gx = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -14285,8 +14285,8 @@ Kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var qx = {};
-qx = {
+var Kx = {};
+Kx = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -14301,8 +14301,8 @@ qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var Jx = {};
-Jx = {
+var qx = {};
+qx = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -14317,8 +14317,8 @@ Jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var Yx = {};
-Yx = {
+var Jx = {};
+Jx = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -14333,8 +14333,8 @@ Yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var Xx = {};
-Xx = {
+var Yx = {};
+Yx = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -14349,8 +14349,8 @@ Xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var Zx = {};
-Zx = {
+var Xx = {};
+Xx = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -14365,8 +14365,8 @@ Zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var Qx = {};
-Qx = {
+var Zx = {};
+Zx = {
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: "Свернуть",
@@ -14381,8 +14381,8 @@ Qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var $x = {};
-$x = {
+var Qx = {};
+Qx = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -14397,8 +14397,8 @@ $x = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var eS = {};
-eS = {
+var $x = {};
+$x = {
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",
@@ -14413,8 +14413,8 @@ eS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var tS = {};
-tS = {
+var eS = {};
+eS = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -14429,8 +14429,8 @@ tS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var nS = {};
-nS = {
+var tS = {};
+tS = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -14445,8 +14445,8 @@ nS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var rS = {};
-rS = {
+var nS = {};
+nS = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -14461,8 +14461,8 @@ rS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var iS = {};
-iS = {
+var rS = {};
+rS = {
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: "Згорнути",
@@ -14477,8 +14477,8 @@ iS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var aS = {};
-aS = {
+var iS = {};
+iS = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -14493,8 +14493,8 @@ aS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var oS = {};
-oS = {
+var aS = {};
+aS = {
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: "收合",
@@ -14509,46 +14509,46 @@ oS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var sS = {};
-sS = {
- "ar-AE": Dx,
- "bg-BG": Ox,
- "cs-CZ": kx,
- "da-DK": Ax,
- "de-DE": jx,
- "el-GR": Mx,
- "en-US": Nx,
- "es-ES": Px,
- "et-EE": Fx,
- "fi-FI": Ix,
- "fr-FR": Lx,
- "he-IL": Rx,
- "hr-HR": zx,
- "hu-HU": Bx,
- "it-IT": Vx,
- "ja-JP": Hx,
- "ko-KR": Ux,
- "lt-LT": Wx,
- "lv-LV": Gx,
- "nb-NO": Kx,
- "nl-NL": qx,
- "pl-PL": Jx,
- "pt-BR": Yx,
- "pt-PT": Xx,
- "ro-RO": Zx,
- "ru-RU": Qx,
- "sk-SK": $x,
- "sl-SI": eS,
- "sr-SP": tS,
- "sv-SE": nS,
- "tr-TR": rS,
- "uk-UA": iS,
- "zh-CN": aS,
- "zh-TW": oS
+var oS = {};
+oS = {
+ "ar-AE": Ex,
+ "bg-BG": Dx,
+ "cs-CZ": Ox,
+ "da-DK": kx,
+ "de-DE": Ax,
+ "el-GR": jx,
+ "en-US": Mx,
+ "es-ES": Nx,
+ "et-EE": Px,
+ "fi-FI": Fx,
+ "fr-FR": Ix,
+ "he-IL": Lx,
+ "hr-HR": Rx,
+ "hu-HU": zx,
+ "it-IT": Bx,
+ "ja-JP": Vx,
+ "ko-KR": Hx,
+ "lt-LT": Ux,
+ "lv-LV": Wx,
+ "nb-NO": Gx,
+ "nl-NL": Kx,
+ "pl-PL": qx,
+ "pt-BR": Jx,
+ "pt-PT": Yx,
+ "ro-RO": Xx,
+ "ru-RU": Zx,
+ "sk-SK": Qx,
+ "sl-SI": $x,
+ "sr-SP": eS,
+ "sv-SE": tS,
+ "tr-TR": nS,
+ "uk-UA": rS,
+ "zh-CN": iS,
+ "zh-TW": aS
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var nte = class extends xx {
+var rte = class extends bx {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -14556,7 +14556,7 @@ var nte = class extends xx {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = Iv(Fv(n, this.collection));
+ let e = Fv(Pv(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);
@@ -14577,13 +14577,13 @@ var nte = class extends xx {
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 Fv(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of Pv(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 = [...Fv(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...Pv(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -14612,7 +14612,7 @@ var nte = class extends xx {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of Fv(o, this.collection)) {
+ for (let r of Pv(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);
@@ -14626,14 +14626,14 @@ var nte = class extends xx {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function rte(e) {
+function ite(e) {
return e && e.__esModule ? e.default : e;
}
-function ite(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = Wv({
+function ate(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = Uv({
usage: "search",
sensitivity: "base"
- }), { direction: c } = Yh(), l = t.selectionManager.disabledBehavior, u = (0, N.useMemo)(() => r || new nte({
+ }), { direction: c } = Yh(), l = t.selectionManager.disabledBehavior, u = (0, N.useMemo)(() => r || new rte({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -14653,34 +14653,34 @@ function ite(e, t, n) {
a,
o
]), d = Dm(e.id);
- Cx.set(t, d);
- let { gridProps: f } = ete({
+ Sx.set(t, d);
+ let { gridProps: f } = tte({
...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 = sg(rte(sS), "@react-aria/table"), g = (0, N.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = sg(ite(oS), "@react-aria/table"), g = (0, N.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
- ]), _ = s_(g);
- return e_(() => {
- g && $g(g, "assertive", 500);
+ ]), _ = o_(g);
+ return $g(() => {
+ g && Qg(g, "assertive", 500);
}, [g]), { gridProps: H(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function cS(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Yh(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Sx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, N.useRef)(null), h = () => {
+function sS(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Yh(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = xx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, N.useRef)(null), h = () => {
if (n.current) {
- let e = Jg(n.current);
+ let e = qg(n.current);
if (p === "child") {
if (Xf(n.current) && n.current !== Jf(Lf(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? lS(e) : e.firstChild();
+ let r = t.selectionManager.childFocusStrategy === "last" ? cS(e) : e.firstChild();
if (r) {
bm(r);
return;
@@ -14688,7 +14688,7 @@ function cS(e, t, n) {
}
(m.current != null && r.key !== m.current || !Xf(n.current)) && bm(n.current);
}
- }, { itemProps: g, isPressed: _ } = Gy({
+ }, { itemProps: g, isPressed: _ } = Wy({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -14702,29 +14702,29 @@ function cS(e, t, n) {
onKeyDownCapture: f !== "tab" || o ? (e) => {
let i = Jf(Lf(n.current));
if (!qf(e.currentTarget, V(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = Jg(n.current);
+ let a = qg(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) bm(t), a_(t, { containingElement: n_(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) bm(t), i_(t, { containingElement: t_(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" ? (bm(n.current), a_(n.current, { containingElement: n_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : lS(a), t && (bm(t), a_(t, { containingElement: n_(n.current) })));
+ p === "cell" && l === "rtl" ? (bm(n.current), i_(n.current, { containingElement: t_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : cS(a), t && (bm(t), i_(t, { containingElement: t_(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) bm(t), a_(t, { containingElement: n_(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) bm(t), i_(t, { containingElement: t_(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" ? (bm(n.current), a_(n.current, { containingElement: n_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? lS(a) : a.firstChild(), t && (bm(t), a_(t, { containingElement: n_(n.current) })));
+ p === "cell" && l === "ltr" ? (bm(n.current), i_(n.current, { containingElement: t_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? cS(a) : a.firstChild(), t && (bm(t), i_(t, { containingElement: t_(n.current) })));
}
break;
}
@@ -14740,7 +14740,7 @@ function cS(e, t, n) {
return;
}
if (e.key === "Tab" && f === "tab") {
- let t = Jg(n.current, { tabbable: !0 });
+ let t = qg(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -14769,7 +14769,7 @@ function cS(e, t, n) {
isPressed: _
};
}
-function lS(e) {
+function cS(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -14778,20 +14778,20 @@ function lS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function ate(e, t, n) {
- let { gridCellProps: r, isPressed: i } = cS(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Tx(t, e.node.parentKey, a)), {
+function ote(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = sS(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = wx(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function ote(e) {
+function ste(e) {
return e && e.__esModule ? e.default : e;
}
-function ste(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = cS({
+function cte(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = sS({
focusMode: "child",
...e
}, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Sg({
@@ -14802,9 +14802,9 @@ function ste(e, t, n) {
ref: n
}), { focusableProps: l } = $m({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
r.props.allowsSorting && !Cp() && (u = d ? f : "none");
- let p = sg(ote(sS), "@react-aria/table"), m;
+ let p = sg(ste(oS), "@react-aria/table"), m;
i && (m = `${p.format("sortable")}`, d && f && Cp() && (m = `${m}, ${p.format(f)}`));
- let h = s_(m), g = t.collection.size === 0;
+ let h = o_(m), g = t.collection.size === 0;
return (0, N.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -14815,7 +14815,7 @@ function ste(e, t, n) {
columnHeaderProps: {
...H(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: tte(t, r.key),
+ id: nte(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -14824,14 +14824,14 @@ function ste(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function cte(e, t, n) {
+function lte(e, t, n) {
let { node: r, isVirtualized: i } = e, a = { role: "row" };
return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function lte(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Sx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Gy({
+function ute(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = xx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Wy({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -14852,10 +14852,10 @@ function lte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function ute(e) {
+function dte(e) {
return e && e.__esModule ? e.default : e;
}
-var uS = {
+var lS = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -14865,21 +14865,21 @@ var uS = {
rtl: "ArrowRight"
}
};
-function dte(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = lte(e, t, n), { direction: s } = Yh();
+function fte(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = ute(e, t, n), { direction: s } = Yh();
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 = sg(ute(sS), "@react-aria/table"), u = Rh({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = sg(dte(oS), "@react-aria/table"), u = Rh({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": Ex(t, r.key)
+ "aria-labelledby": Tx(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = dS(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 = dS(t.collection, a);
+ let n = uS(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 = uS(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === uS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === uS.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 === lS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === lS.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,
@@ -14901,41 +14901,41 @@ function dte(e, t, n) {
return {
rowProps: {
...H(a, d, m),
- "aria-labelledby": Ex(t, r.key)
+ "aria-labelledby": Tx(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function dS(e, t) {
+function uS(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function fte() {
+function pte() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function fS() {
- return fte();
+function dS() {
+ return pte();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function pte(e) {
+function mte(e) {
return e && e.__esModule ? e.default : e;
}
-function mte(e, t) {
- let { key: n } = e, { checkboxProps: r } = Gee(e, t);
+function hte(e, t) {
+ let { key: n } = e, { checkboxProps: r } = Kee(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${Ex(t, n)}`
+ "aria-labelledby": `${r.id} ${Tx(t, n)}`
} };
}
-function hte(e) {
+function gte(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": sg(pte(sS), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": sg(mte(oS), "@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,
@@ -14944,21 +14944,21 @@ function hte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var pS = /* @__PURE__ */ new WeakMap();
-function mS(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${pS.get(e)}-${n}-${t}`) : "";
+var fS = /* @__PURE__ */ new WeakMap();
+function pS(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${fS.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function gte(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 } = Gy({
+function _te(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 } = Wy({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = mS(t, r, "tab"), m = mS(t, r, "tabpanel"), { tabIndex: h } = d, g = lg(u?.props, { labelable: !0 });
+ }), p = pS(t, r, "tab"), m = pS(t, r, "tabpanel"), { tabIndex: h } = d, g = lg(u?.props, { labelable: !0 });
delete g.id;
let _ = Np(u?.props), { focusableProps: v } = $m({
...u?.props,
@@ -14980,7 +14980,7 @@ function gte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var _te = class {
+var vte = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -15024,11 +15024,11 @@ var _te = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function vte(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Yh(), { collectionProps: l } = Pv({
+function yte(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Yh(), { collectionProps: l } = Nv({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, N.useMemo)(() => new _te(a, c, r, s), [
+ keyboardDelegate: (0, N.useMemo)(() => new vte(a, c, r, s), [
a,
s,
r,
@@ -15039,7 +15039,7 @@ function vte(e, t, n) {
scrollRef: n,
linkBehavior: "selection"
}), u = Dm();
- return pS.set(t, u), { tabListProps: {
+ return fS.set(t, u), { tabListProps: {
...H(l, Rh({
...e,
id: u
@@ -15051,12 +15051,12 @@ function vte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function yte(e, t, n) {
- let r = Vy(n) ? void 0 : 0, i = mS(t, e.id ?? t?.selectedKey, "tabpanel");
+function bte(e, t, n) {
+ let r = By(n) ? void 0 : 0, i = pS(t, e.id ?? t?.selectedKey, "tabpanel");
return { tabPanelProps: H(Rh({
...e,
id: i,
- "aria-labelledby": mS(t, t?.selectedKey, "tab")
+ "aria-labelledby": pS(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -15066,7 +15066,7 @@ function yte(e, t, n) {
}
//#endregion
//#region node_modules/scheduler/cjs/scheduler.production.js
-var bte = /* @__PURE__ */ w(((e) => {
+var xte = /* @__PURE__ */ w(((e) => {
function t(e, t) {
var n = e.length;
e.push(t);
@@ -15265,10 +15265,10 @@ var bte = /* @__PURE__ */ w(((e) => {
}
};
};
-})), xte = /* @__PURE__ */ w(((e, t) => {
- t.exports = bte();
-})), Ste = /* @__PURE__ */ w(((e) => {
- var t = xte(), n = A(), r = ah();
+})), Ste = /* @__PURE__ */ w(((e, t) => {
+ t.exports = xte();
+})), Cte = /* @__PURE__ */ w(((e) => {
+ var t = Ste(), n = A(), r = ah();
function i(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -23678,7 +23678,7 @@ var bte = /* @__PURE__ */ w(((e) => {
var n = !1, r = "", o = wc, s = Tc, c = Ec;
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 = yh(e, 1, !1, null, null, n, r, null, o, s, c, $h), e[xt] = t.current, $f(e), new eg(t);
};
-})), hS = (/* @__PURE__ */ w(((e, t) => {
+})), mS = (/* @__PURE__ */ w(((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);
@@ -23686,8 +23686,8 @@ var bte = /* @__PURE__ */ w(((e) => {
console.error(e);
}
}
- n(), t.exports = Ste();
-})))(), Cte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+ n(), t.exports = Cte();
+})))(), wte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23695,7 +23695,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), wte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Tte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23703,7 +23703,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), gS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), hS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23711,7 +23711,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), _S = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), gS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23719,7 +23719,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), vS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), _S = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23727,7 +23727,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), Tte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), Ete = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23735,7 +23735,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), yS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), vS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23743,7 +23743,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), bS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), yS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23751,7 +23751,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), Ete = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), Dte = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23759,7 +23759,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), xS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), bS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23767,7 +23767,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), SS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), xS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23775,7 +23775,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), CS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), SS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23783,7 +23783,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), wS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), CS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23791,7 +23791,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), TS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), wS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23799,7 +23799,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), ES = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), TS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23807,7 +23807,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), DS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), ES = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23815,7 +23815,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), OS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), DS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23823,7 +23823,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), kS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), OS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23831,7 +23831,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), AS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), kS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23839,7 +23839,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), jS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), AS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23847,7 +23847,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), MS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), jS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23855,7 +23855,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), NS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), MS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23863,7 +23863,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), PS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), NS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23871,7 +23871,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), FS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), PS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23879,7 +23879,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), IS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), FS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23887,7 +23887,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), LS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), IS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23895,7 +23895,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), RS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), LS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23903,7 +23903,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), zS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), RS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23911,7 +23911,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), BS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), zS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23919,7 +23919,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), VS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), BS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23927,7 +23927,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), HS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), VS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23935,7 +23935,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), US = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), HS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23943,7 +23943,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), WS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), US = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23951,7 +23951,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), GS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), WS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23959,7 +23959,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), KS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), GS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23967,7 +23967,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), qS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), KS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23975,7 +23975,7 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), JS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
+}, N.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" })), qS = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => N.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -23983,100 +23983,100 @@ var bte = /* @__PURE__ */ w(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, N.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" })), YS = (e, t) => {
+}, N.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" })), JS = (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;
-}, XS = (e, t) => ({
+}, YS = (e, t) => ({
classGroupId: e,
validator: t
-}), ZS = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), XS = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), QS = "-", $S = [], eC = "arbitrary..", tC = (e) => {
- let t = iC(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), ZS = "-", QS = [], $S = "arbitrary..", eC = (e) => {
+ let t = rC(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return rC(e);
- let n = e.split(QS);
- return nC(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return nC(e);
+ let n = e.split(ZS);
+ return tC(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? YS(i, t) : t : i || $S;
+ return t ? i ? JS(i, t) : t : i || QS;
}
- return n[e] || $S;
+ return n[e] || QS;
}
};
-}, nC = (e, t, n) => {
+}, tC = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = nC(e, t + 1, i);
+ let n = tC(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(QS) : e.slice(t).join(QS), s = a.length;
+ let o = t === 0 ? e.join(ZS) : e.slice(t).join(ZS), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, rC = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, nC = (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 ? eC + r : void 0;
-})(), iC = (e) => {
+ return r ? $S + r : void 0;
+})(), rC = (e) => {
let { theme: t, classGroups: n } = e;
- return aC(n, t);
-}, aC = (e, t) => {
- let n = ZS();
+ return iC(n, t);
+}, iC = (e, t) => {
+ let n = XS();
for (let r in e) {
let i = e[r];
- oC(i, n, r, t);
+ aC(i, n, r, t);
}
return n;
-}, oC = (e, t, n, r) => {
+}, aC = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- sC(i, t, n, r);
+ oC(i, t, n, r);
}
-}, sC = (e, t, n, r) => {
+}, oC = (e, t, n, r) => {
if (typeof e == "string") {
- cC(e, t, n);
+ sC(e, t, n);
return;
}
if (typeof e == "function") {
- lC(e, t, n, r);
+ cC(e, t, n, r);
return;
}
- uC(e, t, n, r);
-}, cC = (e, t, n) => {
- let r = e === "" ? t : dC(t, e);
+ lC(e, t, n, r);
+}, sC = (e, t, n) => {
+ let r = e === "" ? t : uC(t, e);
r.classGroupId = n;
-}, lC = (e, t, n, r) => {
- if (fC(e)) {
- oC(e(r), t, n, r);
+}, cC = (e, t, n, r) => {
+ if (dC(e)) {
+ aC(e(r), t, n, r);
return;
}
- t.validators === null && (t.validators = []), t.validators.push(XS(n, e));
-}, uC = (e, t, n, r) => {
+ t.validators === null && (t.validators = []), t.validators.push(YS(n, e));
+}, lC = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- oC(o, dC(t, a), n, r);
+ aC(o, uC(t, a), n, r);
}
-}, dC = (e, t) => {
- let n = e, r = t.split(QS), i = r.length;
+}, uC = (e, t) => {
+ let n = e, r = t.split(ZS), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = ZS(), n.nextPart.set(t, i)), n = i;
+ i || (i = XS(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, fC = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, pC = (e) => {
+}, dC = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, fC = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -24094,19 +24094,19 @@ var bte = /* @__PURE__ */ w(((e) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, mC = "!", hC = ":", gC = [], _C = (e, t, n, r, i) => ({
+}, pC = "!", mC = ":", hC = [], gC = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), vC = (e) => {
+}), _C = (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 === hC) {
+ if (o === mC) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -24118,13 +24118,13 @@ var bte = /* @__PURE__ */ w(((e) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(mC) ? (c = s.slice(0, -1), l = !0) : s.startsWith(mC) && (c = s.slice(1), l = !0);
+ s.endsWith(pC) ? (c = s.slice(0, -1), l = !0) : s.startsWith(pC) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return _C(t, l, c, u);
+ return gC(t, l, c, u);
};
if (t) {
- let e = t + hC, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : _C(gC, !1, t, void 0, !0);
+ let e = t + mC, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : gC(hC, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -24134,7 +24134,7 @@ var bte = /* @__PURE__ */ w(((e) => {
});
}
return r;
-}, yC = (e) => {
+}, vC = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -24146,18 +24146,18 @@ var bte = /* @__PURE__ */ w(((e) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, bC = (e) => ({
- cache: pC(e.cacheSize),
- parseClassName: vC(e),
- sortModifiers: yC(e),
- postfixLookupClassGroupIds: xC(e),
- ...tC(e)
-}), xC = (e) => {
+}, yC = (e) => ({
+ cache: fC(e.cacheSize),
+ parseClassName: _C(e),
+ sortModifiers: vC(e),
+ postfixLookupClassGroupIds: bC(e),
+ ...eC(e)
+}), bC = (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;
-}, SC = /\s+/, CC = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(SC), l = "";
+}, xC = /\s+/, SC = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(xC), 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) {
@@ -24181,7 +24181,7 @@ var bte = /* @__PURE__ */ w(((e) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + mC : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + pC : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -24192,34 +24192,34 @@ var bte = /* @__PURE__ */ w(((e) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, wC = (...e) => {
+}, CC = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = TC(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = wC(n)) && (i && (i += " "), i += r);
return i;
-}, TC = (e) => {
+}, wC = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = TC(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = wC(e[r])) && (n && (n += " "), n += t);
return n;
-}, EC = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = bC(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, TC = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = yC(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 = CC(e, n);
+ let a = SC(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(wC(...e));
-}, DC = [], OC = (e) => {
- let t = (t) => t[e] || DC;
+ return a = o, (...e) => a(CC(...e));
+}, EC = [], DC = (e) => {
+ let t = (t) => t[e] || EC;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, kC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, AC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, jC = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, MC = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, NC = /\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$/, PC = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, FC = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, IC = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, LC = (e) => jC.test(e), RC = (e) => !!e && !Number.isNaN(Number(e)), zC = (e) => !!e && Number.isInteger(Number(e)), BC = (e) => e.endsWith("%") && RC(e.slice(0, -1)), VC = (e) => MC.test(e), HC = () => !0, UC = (e) => NC.test(e) && !PC.test(e), WC = () => !1, GC = (e) => FC.test(e), KC = (e) => IC.test(e), qC = (e) => !U(e) && !W(e), JC = (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)), YC = (e) => aw(e, lw, WC), U = (e) => kC.test(e), XC = (e) => aw(e, uw, UC), ZC = (e) => aw(e, Mte, RC), QC = (e) => aw(e, fw, HC), $C = (e) => aw(e, dw, WC), ew = (e) => aw(e, sw, WC), Dte = (e) => aw(e, cw, KC), tw = (e) => aw(e, pw, GC), W = (e) => AC.test(e), nw = (e) => ow(e, uw), Ote = (e) => ow(e, dw), rw = (e) => ow(e, sw), kte = (e) => ow(e, lw), Ate = (e) => ow(e, cw), iw = (e) => ow(e, pw, !0), jte = (e) => ow(e, fw, !0), aw = (e, t, n) => {
- let r = kC.exec(e);
+}, OC = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, kC = /^\((?:(\w[\w-]*):)?(.+)\)$/i, AC = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, jC = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, MC = /\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$/, NC = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, PC = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, FC = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, IC = (e) => AC.test(e), LC = (e) => !!e && !Number.isNaN(Number(e)), RC = (e) => !!e && Number.isInteger(Number(e)), zC = (e) => e.endsWith("%") && LC(e.slice(0, -1)), BC = (e) => jC.test(e), VC = () => !0, HC = (e) => MC.test(e) && !NC.test(e), UC = () => !1, WC = (e) => PC.test(e), GC = (e) => FC.test(e), KC = (e) => !U(e) && !W(e), qC = (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)), JC = (e) => iw(e, cw, UC), U = (e) => OC.test(e), YC = (e) => iw(e, lw, HC), XC = (e) => iw(e, Nte, LC), ZC = (e) => iw(e, dw, VC), QC = (e) => iw(e, uw, UC), $C = (e) => iw(e, ow, UC), Ote = (e) => iw(e, sw, GC), ew = (e) => iw(e, fw, WC), W = (e) => kC.test(e), tw = (e) => aw(e, lw), kte = (e) => aw(e, uw), nw = (e) => aw(e, ow), Ate = (e) => aw(e, cw), jte = (e) => aw(e, sw), rw = (e) => aw(e, fw, !0), Mte = (e) => aw(e, dw, !0), iw = (e, t, n) => {
+ let r = OC.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, ow = (e, t, n = !1) => {
- let r = AC.exec(e);
+}, aw = (e, t, n = !1) => {
+ let r = kC.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, sw = (e) => e === "position" || e === "percentage", cw = (e) => e === "image" || e === "url", lw = (e) => e === "length" || e === "size" || e === "bg-size", uw = (e) => e === "length", Mte = (e) => e === "number", dw = (e) => e === "family-name", fw = (e) => e === "number" || e === "weight", pw = (e) => e === "shadow", mw = () => {
- let e = OC("color"), t = OC("font"), n = OC("text"), r = OC("font-weight"), i = OC("tracking"), a = OC("leading"), o = OC("breakpoint"), s = OC("container"), c = OC("spacing"), l = OC("radius"), u = OC("shadow"), d = OC("inset-shadow"), f = OC("text-shadow"), p = OC("drop-shadow"), m = OC("blur"), h = OC("perspective"), g = OC("aspect"), _ = OC("ease"), v = OC("animate"), y = () => [
+}, ow = (e) => e === "position" || e === "percentage", sw = (e) => e === "image" || e === "url", cw = (e) => e === "length" || e === "size" || e === "bg-size", lw = (e) => e === "length", Nte = (e) => e === "number", uw = (e) => e === "family-name", dw = (e) => e === "number" || e === "weight", fw = (e) => e === "shadow", pw = () => {
+ let e = DC("color"), t = DC("font"), n = DC("text"), r = DC("font-weight"), i = DC("tracking"), a = DC("leading"), o = DC("breakpoint"), s = DC("container"), c = DC("spacing"), l = DC("radius"), u = DC("shadow"), d = DC("inset-shadow"), f = DC("text-shadow"), p = DC("drop-shadow"), m = DC("blur"), h = DC("perspective"), g = DC("aspect"), _ = DC("ease"), v = DC("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -24261,12 +24261,12 @@ var bte = /* @__PURE__ */ w(((e) => {
U,
c
], T = () => [
- LC,
+ IC,
"full",
"auto",
...w()
], E = () => [
- zC,
+ RC,
"none",
"subgrid",
W,
@@ -24275,15 +24275,15 @@ var bte = /* @__PURE__ */ w(((e) => {
"auto",
{ span: [
"full",
- zC,
+ RC,
W,
U
] },
- zC,
+ RC,
W,
U
], O = () => [
- zC,
+ RC,
"auto",
W,
U
@@ -24313,7 +24313,7 @@ var bte = /* @__PURE__ */ w(((e) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- LC,
+ IC,
"auto",
"full",
"dvw",
@@ -24328,7 +24328,7 @@ var bte = /* @__PURE__ */ w(((e) => {
...w()
], P = () => [
s,
- LC,
+ IC,
"screen",
"full",
"dvw",
@@ -24339,7 +24339,7 @@ var bte = /* @__PURE__ */ w(((e) => {
"fit",
...w()
], F = () => [
- LC,
+ IC,
"screen",
"full",
"lh",
@@ -24356,8 +24356,8 @@ var bte = /* @__PURE__ */ w(((e) => {
U
], ee = () => [
...b(),
- rw,
- ew,
+ nw,
+ $C,
{ position: [W, U] }
], te = () => ["no-repeat", { repeat: [
"",
@@ -24369,13 +24369,13 @@ var bte = /* @__PURE__ */ w(((e) => {
"auto",
"cover",
"contain",
- kte,
- YC,
+ Ate,
+ JC,
{ size: [W, U] }
], re = () => [
- BC,
- nw,
- XC
+ zC,
+ tw,
+ YC
], ie = () => [
"",
"none",
@@ -24385,9 +24385,9 @@ var bte = /* @__PURE__ */ w(((e) => {
U
], L = () => [
"",
- RC,
- nw,
- XC
+ LC,
+ tw,
+ YC
], ae = () => [
"solid",
"dashed",
@@ -24411,10 +24411,10 @@ var bte = /* @__PURE__ */ w(((e) => {
"color",
"luminosity"
], se = () => [
- RC,
- BC,
- rw,
- ew
+ LC,
+ zC,
+ nw,
+ $C
], ce = () => [
"",
"none",
@@ -24423,20 +24423,20 @@ var bte = /* @__PURE__ */ w(((e) => {
U
], le = () => [
"none",
- RC,
+ LC,
W,
U
], ue = () => [
"none",
- RC,
+ LC,
W,
U
], R = () => [
- RC,
+ LC,
W,
U
], z = () => [
- LC,
+ IC,
"full",
...w()
];
@@ -24450,17 +24450,17 @@ var bte = /* @__PURE__ */ w(((e) => {
"bounce"
],
aspect: ["video"],
- blur: [VC],
- breakpoint: [VC],
- color: [HC],
- container: [VC],
- "drop-shadow": [VC],
+ blur: [BC],
+ breakpoint: [BC],
+ color: [VC],
+ container: [BC],
+ "drop-shadow": [BC],
ease: [
"in",
"out",
"in-out"
],
- font: [qC],
+ font: [KC],
"font-weight": [
"thin",
"extralight",
@@ -24472,7 +24472,7 @@ var bte = /* @__PURE__ */ w(((e) => {
"extrabold",
"black"
],
- "inset-shadow": [VC],
+ "inset-shadow": [BC],
leading: [
"none",
"tight",
@@ -24489,11 +24489,11 @@ var bte = /* @__PURE__ */ w(((e) => {
"distant",
"none"
],
- radius: [VC],
- shadow: [VC],
- spacing: ["px", RC],
- text: [VC],
- "text-shadow": [VC],
+ radius: [BC],
+ shadow: [BC],
+ spacing: ["px", LC],
+ text: [BC],
+ "text-shadow": [BC],
tracking: [
"tighter",
"tight",
@@ -24507,7 +24507,7 @@ var bte = /* @__PURE__ */ w(((e) => {
aspect: [{ aspect: [
"auto",
"square",
- LC,
+ IC,
U,
W,
g
@@ -24520,9 +24520,9 @@ var bte = /* @__PURE__ */ w(((e) => {
W,
U
] }],
- "container-named": [JC],
+ "container-named": [qC],
columns: [{ columns: [
- RC,
+ LC,
"auto",
U,
W,
@@ -24622,13 +24622,13 @@ var bte = /* @__PURE__ */ w(((e) => {
"collapse"
],
z: [{ z: [
- zC,
+ RC,
"auto",
W,
U
] }],
basis: [{ basis: [
- LC,
+ IC,
"full",
"auto",
s,
@@ -24646,8 +24646,8 @@ var bte = /* @__PURE__ */ w(((e) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- RC,
LC,
+ IC,
"auto",
"initial",
"none",
@@ -24655,18 +24655,18 @@ var bte = /* @__PURE__ */ w(((e) => {
] }],
grow: [{ grow: [
"",
- RC,
+ LC,
W,
U
] }],
shrink: [{ shrink: [
"",
- RC,
+ LC,
W,
U
] }],
order: [{ order: [
- zC,
+ RC,
"first",
"last",
"none",
@@ -24778,15 +24778,15 @@ var bte = /* @__PURE__ */ w(((e) => {
"font-size": [{ text: [
"base",
n,
- nw,
- XC
+ tw,
+ YC
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- jte,
- QC
+ Mte,
+ ZC
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -24798,12 +24798,12 @@ var bte = /* @__PURE__ */ w(((e) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- BC,
+ zC,
U
] }],
"font-family": [{ font: [
- Ote,
- $C,
+ kte,
+ QC,
t
] }],
"font-features": [{ "font-features": [U] }],
@@ -24819,10 +24819,10 @@ var bte = /* @__PURE__ */ w(((e) => {
U
] }],
"line-clamp": [{ "line-clamp": [
- RC,
+ LC,
"none",
W,
- ZC
+ XC
] }],
leading: [{ leading: [
"none",
@@ -24860,15 +24860,15 @@ var bte = /* @__PURE__ */ w(((e) => {
],
"text-decoration-style": [{ decoration: [...ae(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- RC,
+ LC,
"from-font",
"auto",
W,
- XC
+ YC
] }],
"text-decoration-color": [{ decoration: I() }],
"underline-offset": [{ "underline-offset": [
- RC,
+ LC,
"auto",
W,
U
@@ -24892,7 +24892,7 @@ var bte = /* @__PURE__ */ w(((e) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- zC,
+ RC,
W,
U
] }],
@@ -24970,7 +24970,7 @@ var bte = /* @__PURE__ */ w(((e) => {
"l",
"tl"
] },
- zC,
+ RC,
W,
U
],
@@ -24981,13 +24981,13 @@ var bte = /* @__PURE__ */ w(((e) => {
],
conic: [
"",
- zC,
+ RC,
W,
U
]
},
- Ate,
- Dte
+ jte,
+ Ote
] }],
"bg-color": [{ bg: I() }],
"gradient-from-pos": [{ from: re() }],
@@ -25054,15 +25054,15 @@ var bte = /* @__PURE__ */ w(((e) => {
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- RC,
+ LC,
W,
U
] }],
"outline-w": [{ outline: [
"",
- RC,
- nw,
- XC
+ LC,
+ tw,
+ YC
] }],
"outline-color": [{ outline: I() }],
shadow: [{ shadow: [
@@ -25070,33 +25070,33 @@ var bte = /* @__PURE__ */ w(((e) => {
"inner",
"none",
u,
- iw,
- tw
+ rw,
+ ew
] }],
"shadow-color": [{ shadow: I() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- iw,
- tw
+ rw,
+ ew
] }],
"inset-shadow-color": [{ "inset-shadow": I() }],
"ring-w": [{ ring: L() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: I() }],
- "ring-offset-w": [{ "ring-offset": [RC, XC] }],
+ "ring-offset-w": [{ "ring-offset": [LC, YC] }],
"ring-offset-color": [{ "ring-offset": I() }],
"inset-ring-w": [{ "inset-ring": L() }],
"inset-ring-color": [{ "inset-ring": I() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- iw,
- tw
+ rw,
+ ew
] }],
"text-shadow-color": [{ "text-shadow": I() }],
opacity: [{ opacity: [
- RC,
+ LC,
W,
U
] }],
@@ -25120,7 +25120,7 @@ var bte = /* @__PURE__ */ w(((e) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [RC] }],
+ "mask-image-linear-pos": [{ "mask-linear": [LC] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": se() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": se() }],
"mask-image-linear-from-color": [{ "mask-linear-from": I() }],
@@ -25160,7 +25160,7 @@ var bte = /* @__PURE__ */ w(((e) => {
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [RC] }],
+ "mask-image-conic-pos": [{ "mask-conic": [LC] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": se() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": se() }],
"mask-image-conic-from-color": [{ "mask-conic-from": I() }],
@@ -25195,12 +25195,12 @@ var bte = /* @__PURE__ */ w(((e) => {
] }],
blur: [{ blur: ce() }],
brightness: [{ brightness: [
- RC,
+ LC,
W,
U
] }],
contrast: [{ contrast: [
- RC,
+ LC,
W,
U
] }],
@@ -25208,35 +25208,35 @@ var bte = /* @__PURE__ */ w(((e) => {
"",
"none",
p,
- iw,
- tw
+ rw,
+ ew
] }],
"drop-shadow-color": [{ "drop-shadow": I() }],
grayscale: [{ grayscale: [
"",
- RC,
+ LC,
W,
U
] }],
"hue-rotate": [{ "hue-rotate": [
- RC,
+ LC,
W,
U
] }],
invert: [{ invert: [
"",
- RC,
+ LC,
W,
U
] }],
saturate: [{ saturate: [
- RC,
+ LC,
W,
U
] }],
sepia: [{ sepia: [
"",
- RC,
+ LC,
W,
U
] }],
@@ -25248,45 +25248,45 @@ var bte = /* @__PURE__ */ w(((e) => {
] }],
"backdrop-blur": [{ "backdrop-blur": ce() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- RC,
+ LC,
W,
U
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- RC,
+ LC,
W,
U
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- RC,
+ LC,
W,
U
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- RC,
+ LC,
W,
U
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- RC,
+ LC,
W,
U
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- RC,
+ LC,
W,
U
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- RC,
+ LC,
W,
U
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- RC,
+ LC,
W,
U
] }],
@@ -25309,7 +25309,7 @@ var bte = /* @__PURE__ */ w(((e) => {
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- RC,
+ LC,
"initial",
W,
U
@@ -25322,7 +25322,7 @@ var bte = /* @__PURE__ */ w(((e) => {
U
] }],
delay: [{ delay: [
- RC,
+ LC,
W,
U
] }],
@@ -25367,7 +25367,7 @@ var bte = /* @__PURE__ */ w(((e) => {
"translate-z": [{ "translate-z": z() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- zC,
+ RC,
W,
U
] }],
@@ -25511,10 +25511,10 @@ var bte = /* @__PURE__ */ w(((e) => {
] }],
fill: [{ fill: ["none", ...I()] }],
"stroke-w": [{ stroke: [
- RC,
- nw,
- XC,
- ZC
+ LC,
+ tw,
+ YC,
+ XC
] }],
stroke: [{ stroke: ["none", ...I()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -25772,16 +25772,16 @@ var bte = /* @__PURE__ */ w(((e) => {
"selection"
]
};
-}, Nte = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (hw(e, "cacheSize", t), hw(e, "prefix", n), hw(e, "experimentalParseClassName", r), gw(e.theme, a.theme), gw(e.classGroups, a.classGroups), gw(e.conflictingClassGroups, a.conflictingClassGroups), gw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), hw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), hw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), _w(e.theme, i.theme), _w(e.classGroups, i.classGroups), _w(e.conflictingClassGroups, i.conflictingClassGroups), _w(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), vw(e, i, "postfixLookupClassGroups"), vw(e, i, "orderSensitiveModifiers"), e), hw = (e, t, n) => {
+}, Pte = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (mw(e, "cacheSize", t), mw(e, "prefix", n), mw(e, "experimentalParseClassName", r), hw(e.theme, a.theme), hw(e.classGroups, a.classGroups), hw(e.conflictingClassGroups, a.conflictingClassGroups), hw(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), mw(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), mw(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), gw(e.theme, i.theme), gw(e.classGroups, i.classGroups), gw(e.conflictingClassGroups, i.conflictingClassGroups), gw(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), _w(e, i, "postfixLookupClassGroups"), _w(e, i, "orderSensitiveModifiers"), e), mw = (e, t, n) => {
n !== void 0 && (e[t] = n);
+}, hw = (e, t) => {
+ if (t) for (let n in t) mw(e, n, t[n]);
}, gw = (e, t) => {
- if (t) for (let n in t) hw(e, n, t[n]);
-}, _w = (e, t) => {
- if (t) for (let n in t) vw(e, t, n);
-}, vw = (e, t, n) => {
+ if (t) for (let n in t) _w(e, t, n);
+}, _w = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, Pte = (e, ...t) => typeof e == "function" ? EC(mw, e, ...t) : EC(() => Nte(mw(), e), ...t), Fte = [
+}, Fte = (e, ...t) => typeof e == "function" ? TC(pw, e, ...t) : TC(() => Pte(pw(), e), ...t), Ite = [
"large-title",
"display-1",
"display-2",
@@ -25795,18 +25795,18 @@ var bte = /* @__PURE__ */ w(((e) => {
"body-2",
"caption-1",
"caption-2"
-], Ite = [
+], Lte = [
"regular",
"medium",
"semibold",
"bold"
-], yw = Pte({ extend: { classGroups: { "font-size": [{ text: Fte.flatMap((e) => Ite.map((t) => `${e}-${t}`)) }] } } });
-function bw(e) {
+], vw = Fte({ extend: { classGroups: { "font-size": [{ text: Ite.flatMap((e) => Lte.map((t) => `${e}-${t}`)) }] } } });
+function yw(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var xw = bw({
+var bw = yw({
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",
@@ -25825,16 +25825,16 @@ var xw = bw({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function Sw({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function xw({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, P.jsx)("span", {
ref: r,
- className: yw(xw.base, xw.variant[e], xw.color[t], n),
+ className: vw(bw.base, bw.variant[e], bw.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var Cw = bw({
+var Sw = yw({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -25893,40 +25893,40 @@ function G({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, P.jsxs)("button", {
ref: c,
type: s,
- className: yw(Cw.base, Cw.size[t], Cw.variant[e], n && Cw.iconOnlySize[t], o),
+ className: vw(Sw.base, Sw.size[t], Sw.variant[e], n && Sw.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, P.jsx)(r, {
- className: Cw.icon[t],
+ className: Sw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, P.jsx)("span", {
- className: Cw.label[t],
+ className: Sw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, P.jsx)(i, {
- className: Cw.icon[t],
+ className: Sw.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function ww({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function Cw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, P.jsxs)("a", {
ref: s,
- className: yw(Cw.base, Cw.size[t], Cw.variant[e], n && Cw.iconOnlySize[t], o),
+ className: vw(Sw.base, Sw.size[t], Sw.variant[e], n && Sw.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, P.jsx)(r, {
- className: Cw.icon[t],
+ className: Sw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, P.jsx)("span", {
- className: Cw.label[t],
+ className: Sw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, P.jsx)(i, {
- className: Cw.icon[t],
+ className: Sw.icon[t],
"aria-hidden": !0
}) : null
]
@@ -25934,13 +25934,13 @@ function ww({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/api.ts
-var Tw = class extends Error {
+var ww = class extends Error {
status;
body;
constructor(e, t, n = null) {
super(a(e, t)), this.name = "ApiError", this.status = t, this.body = n;
}
-}, Ew = (e) => {
+}, Tw = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -25953,7 +25953,7 @@ var Tw = class extends Error {
}
return "";
}, K = (e) => a(e);
-async function Dw(e, t) {
+async function Ew(e, t) {
let n = await fetch(e, {
headers: { Accept: "application/json" },
credentials: "same-origin",
@@ -25962,7 +25962,7 @@ async function Dw(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new Tw(Ew(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new ww(Tw(r) || `请求失败(${n.status})`, n.status);
return r;
}
async function q(e, t, n = "POST", r) {
@@ -25979,52 +25979,52 @@ async function q(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new Tw(Ew(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new ww(Tw(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/react/components/card.tsx
-var Lte = "min-w-0", Rte = {
+var Rte = "min-w-0", zte = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, zte = {
+}, Bte = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, Bte = {
+}, Vte = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, Vte = {
+}, Hte = {
none: "",
default: "p-5"
-}, Hte = "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", Ute = "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 Ow(e = {}) {
+}, Ute = "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", Wte = "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 Dw(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 [
- Lte,
- Rte[t],
- zte[s],
- Vte[n],
- a ? Bte[a] : "",
- r ? Hte : "",
- i ? Ute : "",
+ Rte,
+ zte[t],
+ Bte[s],
+ Hte[n],
+ a ? Vte[a] : "",
+ r ? Ute : "",
+ i ? Wte : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var Wte = {
+var Gte = {
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 kw({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function Ow({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
let a = i === "page";
return /* @__PURE__ */ (0, P.jsxs)("div", {
"data-empty-state": "",
- className: `flex flex-col items-center gap-2 text-center ${Wte[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${Gte[i]}`,
children: [
a ? /* @__PURE__ */ (0, P.jsx)("span", {
"aria-hidden": !0,
@@ -26054,7 +26054,7 @@ function kw({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function Aw({ label: e, inline: t = !1 }) {
+function kw({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, P.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex items-center gap-1",
@@ -26120,7 +26120,7 @@ function J({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function jw({ children: e }) {
+function Aw({ children: e }) {
return /* @__PURE__ */ (0, P.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -26128,31 +26128,32 @@ function jw({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
+var jw = 100, Kte = .4;
function Mw({ label: e, value: t, max: n = 100, stops: r = [] }) {
- let i = Math.min(Math.max(t, 0), n);
+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * jw;
return /* @__PURE__ */ (0, P.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": n,
"aria-valuenow": t,
- viewBox: `0 0 ${n} 1`,
+ viewBox: `0 0 ${jw} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, P.jsx)("rect", {
- width: n,
+ width: jw,
height: 1,
className: "fill-background-tertiary-default"
}),
/* @__PURE__ */ (0, P.jsx)("rect", {
- width: i,
+ width: a(t),
height: 1,
className: "fill-border-focus-ring"
}),
r.map((e) => /* @__PURE__ */ (0, P.jsx)("rect", {
- x: e,
- width: .4,
+ x: a(e),
+ width: Kte,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -26199,7 +26200,7 @@ var X = new ct({ defaultOptions: { queries: {
refetchOnWindowFocus: !1,
refetchOnMount: !1,
retryOnMount: !1
-} } }), Pw = "/api/tasks", Fw = ["tasks"], Gte = (e, t) => Dw(`${Pw}?${new URLSearchParams({
+} } }), Pw = "/api/tasks", Fw = ["tasks"], qte = (e, t) => Ew(`${Pw}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
@@ -26211,8 +26212,8 @@ function Iw(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Kte = 2e3, qte = 1e4, Jte = (e) => e?.running.length ? Kte : qte, Lw = (e) => Dw(Pw, e);
-async function Yte(e) {
+var Jte = 2e3, Yte = 1e4, Xte = (e) => e?.running.length ? Jte : Yte, Lw = (e) => Ew(Pw, e);
+async function Zte(e) {
await X.fetchQuery({
queryKey: Fw,
queryFn: () => Lw(e)
@@ -26223,14 +26224,14 @@ var Rw = {
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Xte = {
+}, Qte = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, Zte = (e) => Xte[e] || e, Qte = {
+}, $te = (e) => Qte[e] || e, ene = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -26260,7 +26261,7 @@ var Rw = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function $te(e) {
+function tne(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -26269,7 +26270,7 @@ function $te(e) {
}
return t;
}
-function ene(e, t) {
+function nne(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -26291,8 +26292,8 @@ function ene(e, t) {
}
return n;
}
-var tne = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), zw = (e) => e.status === "pending" || e.status === "running";
-function nne(e) {
+var rne = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), zw = (e) => e.status === "pending" || e.status === "running";
+function ine(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 || Hw(e.result_summary) || (zw(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
}
@@ -26313,7 +26314,7 @@ function Vw(e) {
minute: "2-digit"
});
}
-var rne = /* @__PURE__ */ new Set([
+var ane = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -26323,27 +26324,27 @@ var rne = /* @__PURE__ */ new Set([
"finished_at"
]);
function Hw(e) {
- return Object.entries(e || {}).filter(([e, t]) => !rne.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Qte[e] || e} ${t}`).join(" · ");
+ return Object.entries(e || {}).filter(([e, t]) => !ane.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${ene[e] || e} ${t}`).join(" · ");
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var ine = {
+var one = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
function Uw({ status: e }) {
- return /* @__PURE__ */ (0, P.jsx)(Sw, {
- color: ine[e] ?? "neutral",
- children: Zte(e)
+ return /* @__PURE__ */ (0, P.jsx)(xw, {
+ color: one[e] ?? "neutral",
+ children: $te(e)
});
}
-function ane({ rows: e }) {
+function sne({ rows: e }) {
return /* @__PURE__ */ (0, P.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = nne(e);
+ let t = ine(e);
return /* @__PURE__ */ (0, P.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -26368,7 +26369,7 @@ function Ww({ run: e, meta: t, children: n, footer: r, followups: i }) {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: Ow({
+ className: Dw({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -26391,7 +26392,7 @@ function Ww({ run: e, meta: t, children: n, footer: r, followups: i }) {
n
]
}),
- i?.length ? /* @__PURE__ */ (0, P.jsx)(ane, { rows: i }) : null,
+ i?.length ? /* @__PURE__ */ (0, P.jsx)(sne, { rows: i }) : null,
r ? /* @__PURE__ */ (0, P.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, P.jsx)("p", {
@@ -26402,7 +26403,7 @@ function Ww({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function one({ run: e, followups: t }) {
+function cne({ run: e, followups: t }) {
let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Bw(e.elapsed_seconds), o = [Rw[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, P.jsx)(Ww, {
run: e,
@@ -26425,7 +26426,7 @@ function one({ run: e, followups: t }) {
" 项"
]
})]
- }) : /* @__PURE__ */ (0, P.jsx)(Aw, { label: i })
+ }) : /* @__PURE__ */ (0, P.jsx)(kw, { label: i })
});
}
function Gw({ run: e, followups: t, runs: n }) {
@@ -26468,20 +26469,20 @@ function qw({ live: e = !1, children: t }) {
children: t
});
}
-function sne(e) {
+function lne(e) {
let t = xt({
queryKey: Fw,
queryFn: ({ signal: e }) => Lw(e),
- refetchInterval: (e) => Jte(e.state.data)
+ refetchInterval: (e) => Xte(e.state.data)
}), n = t.data, r = n?.finished, [i, a] = (0, N.useState)([]), [o, s] = (0, N.useState)(!1), [c, l] = (0, N.useState)(r);
r !== c && (l(r), i.length && c && a(Iw(i, c)));
let u = St({
- mutationFn: ({ oldest: e }) => Gte(e),
+ mutationFn: ({ oldest: e }) => qte(e),
onSuccess: (e, { shown: t }) => {
a((n) => Iw(n, t, e.finished || [])), s(!!e.finished_has_more);
}
}), d = t.error ? K(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, P.jsx)(jw, { children: /* @__PURE__ */ (0, P.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, P.jsx)(Aw, { children: /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
children: d || "读取任务中心失败"
}) });
@@ -26489,13 +26490,13 @@ function sne(e) {
...n.running || [],
...n.skipped || [],
...f
- ], m = $te(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 = tne(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(zw)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = ene(w, (e) => tne(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
- return /* @__PURE__ */ (0, P.jsxs)(jw, { children: [
+ }, x = _.filter((e) => m.get(e.id)?.some(zw)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = nne(w, (e) => rne(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
+ return /* @__PURE__ */ (0, P.jsxs)(Aw, { children: [
d ? /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
children: d
@@ -26504,9 +26505,9 @@ function sne(e) {
tone: "warning",
children: n.message || "账本上还没有任务中心的表"
}) : null,
- E ? /* @__PURE__ */ (0, P.jsx)(kw, {
+ E ? /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "plain",
- icon: jS,
+ icon: AS,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
@@ -26514,7 +26515,7 @@ function sne(e) {
title: "正在进行",
children: S.length || x.length ? /* @__PURE__ */ (0, P.jsxs)(qw, {
live: !0,
- children: [S.map((e) => /* @__PURE__ */ (0, P.jsx)(one, {
+ children: [S.map((e) => /* @__PURE__ */ (0, P.jsx)(cne, {
run: e,
followups: m.get(e.id)
}, e.id)), x.map((e) => /* @__PURE__ */ (0, P.jsx)(Gw, {
@@ -26548,7 +26549,7 @@ function sne(e) {
y ? /* @__PURE__ */ (0, P.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: gS,
+ leadingIcon: hS,
className: "self-start",
...Y(u.isPending),
onClick: b,
@@ -26645,7 +26646,7 @@ function eT(e) {
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function cne(e, t, n) {
+function une(e, t, n) {
let { render: r, ...i } = t, a = (0, N.useRef)(null), o = (0, N.useMemo)(() => Am(n, a), [n, a]);
sp(() => {}, [e, r]);
let s = {
@@ -26657,8 +26658,8 @@ function cne(e, t, n) {
var tT = {}, nT = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
let n = tT[t];
- return n || (n = /*#__PURE__*/ (0, N.forwardRef)(cne.bind(null, t)), tT[t] = n), n;
-} }), rT = /*#__PURE__*/ (0, N.createContext)(null), iT = /*#__PURE__*/ (0, N.createContext)(null), lne = /*#__PURE__*/ (0, N.createContext)(null), aT = {
+ return n || (n = /*#__PURE__*/ (0, N.forwardRef)(une.bind(null, t)), tT[t] = n), n;
+} }), rT = /*#__PURE__*/ (0, N.createContext)(null), iT = /*#__PURE__*/ (0, N.createContext)(null), dne = /*#__PURE__*/ (0, N.createContext)(null), aT = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
return oT(e, null, t);
},
@@ -26677,11 +26678,11 @@ function oT(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, une(e, t, n));
+ }), r, fne(e, t, n));
}
});
}
-function une(e, t, n) {
+function fne(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);
@@ -26701,12 +26702,12 @@ function une(e, t, n) {
return s;
}
var sT = /*#__PURE__*/ (0, N.createContext)(aT);
-function dne(e) {
+function pne(e) {
return (0, N.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var cT = /*#__PURE__*/ (0, N.createContext)({}), fne = /*#__PURE__*/ nh(function(e, t) {
+var cT = /*#__PURE__*/ (0, N.createContext)({}), mne = /*#__PURE__*/ nh(function(e, t) {
[e, t] = Qw(e, t, cT);
let { elementType: n = "label", ...r } = e, i = nT[n];
return /*#__PURE__*/ N.createElement(i, {
@@ -26714,11 +26715,11 @@ var cT = /*#__PURE__*/ (0, N.createContext)({}), fne = /*#__PURE__*/ nh(function
...r,
ref: t
});
-}), pne = /*#__PURE__*/ (0, N.createContext)(null), lT = /*#__PURE__*/ (0, N.createContext)({}), mne = /*#__PURE__*/ nh(function(e, t) {
+}), hne = /*#__PURE__*/ (0, N.createContext)(null), lT = /*#__PURE__*/ (0, N.createContext)({}), gne = /*#__PURE__*/ nh(function(e, t) {
[e, t] = Qw(e, t, lT);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = kg(e, t);
- i = gne(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = Zv(e), { hoverProps: l, isHovered: u } = ty({
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Og(e, t);
+ i = vne(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = Xv(e), { hoverProps: l, isHovered: u } = ey({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -26737,7 +26738,7 @@ var cT = /*#__PURE__*/ (0, N.createContext)({}), fne = /*#__PURE__*/ nh(function
let g = (0, N.useRef)(r);
(0, N.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && $g(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && Qg(e, "assertive"), g.current = r;
}, [
r,
s,
@@ -26759,11 +26760,11 @@ var cT = /*#__PURE__*/ (0, N.createContext)({}), fne = /*#__PURE__*/ nh(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ N.createElement(pne.Provider, { value: { id: m } }, f.children));
-}), hne = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function gne(e, t) {
+ }, /*#__PURE__*/ N.createElement(hne.Provider, { value: { id: m } }, f.children));
+}), _ne = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function vne(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !hne.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !_ne.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
@@ -26778,7 +26779,7 @@ var uT = /*#__PURE__*/ (0, N.createContext)({}), dT = /*#__PURE__*/ (0, N.forwar
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), fT = /*#__PURE__*/ (0, N.createContext)({}), _ne = /*#__PURE__*/ nh(function(e, t) {
+}), fT = /*#__PURE__*/ (0, N.createContext)({}), yne = /*#__PURE__*/ nh(function(e, t) {
[e, t] = Qw(e, t, fT);
let { elementType: n = "span", ...r } = e, i = nT[n];
return /*#__PURE__*/ N.createElement(i, {
@@ -26786,32 +26787,32 @@ var uT = /*#__PURE__*/ (0, N.createContext)({}), dT = /*#__PURE__*/ (0, N.forwar
...r,
ref: t
});
-}), pT = /*#__PURE__*/ (0, N.createContext)(null), mT = /*#__PURE__*/ (0, N.createContext)(null), hT = /*#__PURE__*/ (0, N.createContext)(null), gT = /*#__PURE__*/ (0, N.createContext)(null), vne = /*#__PURE__*/ (0, N.createContext)(null), _T = /*#__PURE__*/ (0, N.createContext)(null);
-function yne(e, t) {
- let { validationBehavior: n } = Zw(mT) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, N.useContext)(vne), a = Ym((0, N.useMemo)(() => Am(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+}), pT = /*#__PURE__*/ (0, N.createContext)(null), mT = /*#__PURE__*/ (0, N.createContext)(null), hT = /*#__PURE__*/ (0, N.createContext)(null), gT = /*#__PURE__*/ (0, N.createContext)(null), bne = /*#__PURE__*/ (0, N.createContext)(null), _T = /*#__PURE__*/ (0, N.createContext)(null);
+function xne(e, t) {
+ let { validationBehavior: n } = Zw(mT) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, N.useContext)(bne), a = Ym((0, N.useMemo)(() => Am(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
...eT(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? Eee(o, i, a) : T_(o, A_(e), a), a];
+ return [i ? Dee(o, i, a) : w_(o, k_(e), a), a];
}
-var bne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+var Sne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
[e, t] = Qw(r, t, hT);
- let [i, a] = yne(e, n);
+ let [i, a] = xne(e, n);
return /*#__PURE__*/ N.createElement(_T.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ N.createElement(xne, {
+ } }, /*#__PURE__*/ N.createElement(Cne, {
...e,
ref: t
}));
-}), xne = /*#__PURE__*/ (0, N.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, N.useContext)(_T), { isFocused: p, isFocusVisible: m, focusProps: h } = Zv(), g = a || o, { hoverProps: _, isHovered: v } = ty({
+}), Cne = /*#__PURE__*/ (0, N.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, N.useContext)(_T), { isFocused: p, isFocusVisible: m, focusProps: h } = Xv(), g = a || o, { hoverProps: _, isHovered: v } = ey({
...e,
isDisabled: g
}), y = Xw({
@@ -26844,20 +26845,20 @@ var bne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ N.createElement(P_, { elementType: "span" }, /*#__PURE__*/ N.createElement("input", {
+ }, /*#__PURE__*/ N.createElement(N_, { elementType: "span" }, /*#__PURE__*/ N.createElement("input", {
...H(r, h),
ref: l
})), y.children);
-}), vT = /*#__PURE__*/ (0, N.createContext)({}), Sne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+}), vT = /*#__PURE__*/ (0, N.createContext)({}), wne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
[e, t] = Qw(e, t, vT);
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 } = ty({
+ let { hoverProps: l, isHovered: u } = ey({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = Zv({ within: !0 }), m = Xw({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = Xv({ within: !0 }), m = Xw({
...e,
values: {
isHovered: u,
@@ -26881,15 +26882,15 @@ var bne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), yT = /*#__PURE__*/ (0, N.createContext)({}), Cne = (e) => {
+}), yT = /*#__PURE__*/ (0, N.createContext)({}), bT = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, bT = /*#__PURE__*/ nh(function(e, t) {
+}, xT = /*#__PURE__*/ nh(function(e, t) {
[e, t] = Qw(e, t, yT);
- let { hoverProps: n, isHovered: r } = ty({
+ let { hoverProps: n, isHovered: r } = ey({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = Zv({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = Xv({
isTextInput: !0,
autoFocus: e.autoFocus
}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Xw({
@@ -26904,7 +26905,7 @@ var bne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
defaultClassName: "react-aria-Input"
});
return /*#__PURE__*/ N.createElement(nT.input, {
- ...H(Cne(e), o, n),
+ ...H(bT(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -26913,8 +26914,8 @@ var bne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), xT = {};
-xT = {
+}), ST = {};
+ST = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -26922,8 +26923,8 @@ xT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var ST = {};
-ST = {
+var CT = {};
+CT = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -26931,8 +26932,8 @@ ST = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var CT = {};
-CT = {
+var wT = {};
+wT = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -26940,8 +26941,8 @@ CT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var wT = {};
-wT = {
+var TT = {};
+TT = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -26949,8 +26950,8 @@ wT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var TT = {};
-TT = {
+var ET = {};
+ET = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -26958,8 +26959,8 @@ TT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var ET = {};
-ET = {
+var DT = {};
+DT = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -26967,8 +26968,8 @@ ET = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var DT = {};
-DT = {
+var OT = {};
+OT = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -26976,8 +26977,8 @@ DT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var OT = {};
-OT = {
+var kT = {};
+kT = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -26985,8 +26986,8 @@ OT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var kT = {};
-kT = {
+var AT = {};
+AT = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -26994,8 +26995,8 @@ kT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var AT = {};
-AT = {
+var jT = {};
+jT = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -27003,8 +27004,8 @@ AT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var jT = {};
-jT = {
+var MT = {};
+MT = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -27012,8 +27013,8 @@ jT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var MT = {};
-MT = {
+var NT = {};
+NT = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -27021,8 +27022,8 @@ MT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var NT = {};
-NT = {
+var PT = {};
+PT = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -27030,8 +27031,8 @@ NT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var PT = {};
-PT = {
+var FT = {};
+FT = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -27039,8 +27040,8 @@ PT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var FT = {};
-FT = {
+var IT = {};
+IT = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -27048,8 +27049,8 @@ FT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var IT = {};
-IT = {
+var LT = {};
+LT = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -27057,8 +27058,8 @@ IT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var LT = {};
-LT = {
+var RT = {};
+RT = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -27066,8 +27067,8 @@ LT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var RT = {};
-RT = {
+var zT = {};
+zT = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -27075,8 +27076,8 @@ RT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var zT = {};
-zT = {
+var BT = {};
+BT = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -27084,8 +27085,8 @@ zT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var BT = {};
-BT = {
+var VT = {};
+VT = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -27093,8 +27094,8 @@ BT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var VT = {};
-VT = {
+var HT = {};
+HT = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -27102,8 +27103,8 @@ VT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var HT = {};
-HT = {
+var UT = {};
+UT = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -27111,8 +27112,8 @@ HT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var UT = {};
-UT = {
+var WT = {};
+WT = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -27120,8 +27121,8 @@ UT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var WT = {};
-WT = {
+var GT = {};
+GT = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -27129,8 +27130,8 @@ WT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var GT = {};
-GT = {
+var KT = {};
+KT = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -27138,8 +27139,8 @@ GT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var KT = {};
-KT = {
+var qT = {};
+qT = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -27147,8 +27148,8 @@ KT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var qT = {};
-qT = {
+var JT = {};
+JT = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -27156,8 +27157,8 @@ qT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var JT = {};
-JT = {
+var YT = {};
+YT = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -27165,8 +27166,8 @@ JT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var YT = {};
-YT = {
+var XT = {};
+XT = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -27174,8 +27175,8 @@ YT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var XT = {};
-XT = {
+var ZT = {};
+ZT = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -27183,8 +27184,8 @@ XT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var ZT = {};
-ZT = {
+var QT = {};
+QT = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -27192,8 +27193,8 @@ ZT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var QT = {};
-QT = {
+var $T = {};
+$T = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -27201,8 +27202,8 @@ QT = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var $T = {};
-$T = {
+var eE = {};
+eE = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -27210,8 +27211,8 @@ $T = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var eE = {};
-eE = {
+var tE = {};
+tE = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -27219,52 +27220,52 @@ eE = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var tE = {};
-tE = {
- "ar-AE": xT,
- "bg-BG": ST,
- "cs-CZ": CT,
- "da-DK": wT,
- "de-DE": TT,
- "el-GR": ET,
- "en-US": DT,
- "es-ES": OT,
- "et-EE": kT,
- "fi-FI": AT,
- "fr-FR": jT,
- "he-IL": MT,
- "hr-HR": NT,
- "hu-HU": PT,
- "it-IT": FT,
- "ja-JP": IT,
- "ko-KR": LT,
- "lt-LT": RT,
- "lv-LV": zT,
- "nb-NO": BT,
- "nl-NL": VT,
- "pl-PL": HT,
- "pt-BR": UT,
- "pt-PT": WT,
- "ro-RO": GT,
- "ru-RU": KT,
- "sk-SK": qT,
- "sl-SI": JT,
- "sr-SP": YT,
- "sv-SE": XT,
- "tr-TR": ZT,
- "uk-UA": QT,
- "zh-CN": $T,
- "zh-TW": eE
+var nE = {};
+nE = {
+ "ar-AE": ST,
+ "bg-BG": CT,
+ "cs-CZ": wT,
+ "da-DK": TT,
+ "de-DE": ET,
+ "el-GR": DT,
+ "en-US": OT,
+ "es-ES": kT,
+ "et-EE": AT,
+ "fi-FI": jT,
+ "fr-FR": MT,
+ "he-IL": NT,
+ "hr-HR": PT,
+ "hu-HU": FT,
+ "it-IT": IT,
+ "ja-JP": LT,
+ "ko-KR": RT,
+ "lt-LT": zT,
+ "lv-LV": BT,
+ "nb-NO": VT,
+ "nl-NL": HT,
+ "pl-PL": UT,
+ "pt-BR": WT,
+ "pt-PT": GT,
+ "ro-RO": KT,
+ "ru-RU": qT,
+ "sk-SK": JT,
+ "sl-SI": YT,
+ "sr-SP": XT,
+ "sv-SE": ZT,
+ "tr-TR": QT,
+ "uk-UA": $T,
+ "zh-CN": eE,
+ "zh-TW": tE
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var nE = /*#__PURE__*/ (0, N.createContext)({}), rE = /*#__PURE__*/ (0, N.createContext)(null), iE = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
- let { render: n } = (0, N.useContext)(rE);
+var rE = /*#__PURE__*/ (0, N.createContext)({}), iE = /*#__PURE__*/ (0, N.createContext)(null), aE = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+ let { render: n } = (0, N.useContext)(iE);
return /*#__PURE__*/ N.createElement(N.Fragment, null, n(e, t));
});
-function aE(e, t) {
+function oE(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, N.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ N.createElement(iE, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ N.createElement(aE, { target: e });
}, [
t?.target,
r,
@@ -27272,7 +27273,7 @@ function aE(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function oE(e, t, n) {
+function sE(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;
@@ -27295,14 +27296,14 @@ function oE(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var sE = /*#__PURE__*/ (0, N.createContext)({}), cE = /*#__PURE__*/ (0, N.createContext)(null);
-function lE(e) {
+var cE = /*#__PURE__*/ (0, N.createContext)({}), lE = /*#__PURE__*/ (0, N.createContext)(null);
+function uE(e) {
let t = (0, N.useRef)({});
- return /*#__PURE__*/ N.createElement(cE.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ N.createElement(lE.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var uE = /*#__PURE__*/ (0, N.createContext)({ isSelected: !1 }), dE = /*#__PURE__*/ (0, N.createContext)({});
+var dE = /*#__PURE__*/ (0, N.createContext)({ isSelected: !1 }), fE = /*#__PURE__*/ (0, N.createContext)({});
(class extends xf {
static {
this.type = "separator";
@@ -27318,13 +27319,13 @@ var uE = /*#__PURE__*/ (0, N.createContext)({ isSelected: !1 }), dE = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function fE(e) {
+function pE(e) {
let t = N.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 pE = class {
+var mE = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -27368,20 +27369,20 @@ var pE = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, mE = class e extends Set {
+}, hE = 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 hE(e, t) {
+function gE(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function gE(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, N.useRef)(!1), [, s] = (0, N.useState)(!1), c = (0, N.useRef)(null), l = (0, N.useRef)(null), [, u] = (0, N.useState)(null), [d, f] = k_((0, N.useMemo)(() => _E(e.selectedKeys), [e.selectedKeys]), (0, N.useMemo)(() => _E(e.defaultSelectedKeys, new mE()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, N.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, N.useState)(i);
+function _E(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, N.useRef)(!1), [, s] = (0, N.useState)(!1), c = (0, N.useRef)(null), l = (0, N.useRef)(null), [, u] = (0, N.useState)(null), [d, f] = O_((0, N.useMemo)(() => vE(e.selectedKeys), [e.selectedKeys]), (0, N.useMemo)(() => vE(e.defaultSelectedKeys, new hE()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, N.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, N.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, N.useRef)(i);
return (0, N.useEffect)(() => {
@@ -27408,18 +27409,18 @@ function gE(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !hE(e, d)) && f(e);
+ (r || !gE(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function _E(e, t) {
- return e ? e === "all" ? "all" : new mE(e) : t;
+function vE(e, t) {
+ return e ? e === "all" ? "all" : new hE(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var vE = class e {
+var yE = 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;
}
@@ -27475,7 +27476,7 @@ var vE = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && zv(this.collection, n, e) < 0) && (e = n);
+ (!e || n && Rv(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -27483,7 +27484,7 @@ var vE = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && zv(this.collection, n, e) > 0) && (e = n);
+ (!e || n && Rv(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -27502,10 +27503,10 @@ var vE = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new mE([t], t, t);
+ if (this.state.selectedKeys === "all") n = new hE([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new mE(e, r, t);
+ n = new hE(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);
}
@@ -27513,7 +27514,7 @@ var vE = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? zv(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? Rv(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);
@@ -27539,19 +27540,19 @@ var vE = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new mE(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new hE(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 mE([t], t, t) : new mE();
+ let n = this.canSelectItem(t) ? new hE([t], t, t) : new hE();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new mE();
+ let t = new hE();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -27563,7 +27564,7 @@ var vE = 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(Iv(Fv(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(Fv(Pv(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -27574,7 +27575,7 @@ var vE = 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 mE());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new hE());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -27615,9 +27616,9 @@ var vE = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, yE = class {
+}, bE = class {
build(e, t) {
- return this.context = t, bE(() => this.iterateCollection(e));
+ return this.context = t, xE(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -27699,10 +27700,10 @@ var vE = class e {
...a,
key: l,
index: s,
- wrapper: xE(e.wrapper, a.wrapper)
+ wrapper: SE(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 <${SE(t.type)}> in <${SE(r?.type ?? "unknown parent type")}>. Only <${SE(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 <${CE(t.type)}> in <${CE(r?.type ?? "unknown parent type")}>. Only <${CE(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -27724,7 +27725,7 @@ var vE = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: bE(function* () {
+ childNodes: xE(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -27743,7 +27744,7 @@ var vE = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function bE(e) {
+function xE(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -27751,18 +27752,18 @@ function bE(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function xE(e, t) {
+function SE(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function SE(e) {
+function CE(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function CE(e, t, n) {
- let r = (0, N.useMemo)(() => new yE(), []), { children: i, items: a, collection: o } = e;
+function wE(e, t, n) {
+ let r = (0, N.useMemo)(() => new bE(), []), { children: i, items: a, collection: o } = e;
return (0, N.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -27777,27 +27778,27 @@ function CE(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function wE(e) {
- let { filter: t, layoutDelegate: n } = e, r = gE(e), i = (0, N.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = CE(e, (0, N.useCallback)((e) => t ? new pE(t(e)) : new pE(e), [t]), (0, N.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, N.useMemo)(() => new vE(a, r, { layoutDelegate: n }), [
+function TE(e) {
+ let { filter: t, layoutDelegate: n } = e, r = _E(e), i = (0, N.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = wE(e, (0, N.useCallback)((e) => t ? new mE(t(e)) : new mE(e), [t]), (0, N.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, N.useMemo)(() => new yE(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return EE(a, o), {
+ return DE(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function TE(e, t) {
+function EE(e, t) {
let n = (0, N.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return EE(n, r), {
+ return DE(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function EE(e, t) {
+function DE(e, t) {
let n = (0, N.useRef)(null);
(0, N.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -27825,7 +27826,7 @@ function EE(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function DE(e, t) {
+function OE(e, t) {
let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, N.useRef)(null), s = Ih((e) => {
for (let t of e) t.isIntersecting && r && r();
});
@@ -27833,7 +27834,7 @@ function DE(e, t) {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: n_(t?.current),
+ root: t_(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -27849,42 +27850,42 @@ function DE(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var OE = /*#__PURE__*/ (0, N.createContext)(null), kE = /*#__PURE__*/ (0, N.createContext)(null), AE = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
- [e, t] = Qw(e, t, OE);
- let n = (0, N.useContext)(kE);
- return n ? /*#__PURE__*/ N.createElement(ME, {
+var kE = /*#__PURE__*/ (0, N.createContext)(null), AE = /*#__PURE__*/ (0, N.createContext)(null), jE = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+ [e, t] = Qw(e, t, kE);
+ let n = (0, N.useContext)(AE);
+ return n ? /*#__PURE__*/ N.createElement(NE, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ N.createElement(fh, { content: /*#__PURE__*/ N.createElement(wh, e) }, (n) => /*#__PURE__*/ N.createElement(jE, {
+ }) : /*#__PURE__*/ N.createElement(fh, { content: /*#__PURE__*/ N.createElement(wh, e) }, (n) => /*#__PURE__*/ N.createElement(ME, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function jE({ props: e, listBoxRef: t, collection: n }) {
+function ME({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, N.useContext)(sT), i = wE({
+ let { layoutDelegate: r } = (0, N.useContext)(sT), i = TE({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ N.createElement(ME, {
+ return /*#__PURE__*/ N.createElement(NE, {
state: i,
props: e,
listBoxRef: t
});
}
-function ME({ state: e, props: t, listBoxRef: n }) {
+function NE({ state: e, props: t, listBoxRef: n }) {
[t, n] = Qw(t, n, rT);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = TE(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Yh(), { disabledBehavior: p, disabledKeys: m } = l, h = Wv({
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = EE(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Yh(), { disabledBehavior: p, disabledKeys: m } = l, h = Uv({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, N.useContext)(sT), b = (0, N.useMemo)(() => t.keyboardDelegate || new K_({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, N.useContext)(sT), b = (0, N.useMemo)(() => t.keyboardDelegate || new G_({
collection: c,
collator: h,
ref: n,
@@ -27905,7 +27906,7 @@ function ME({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Kee({
+ ]), { listBoxProps: x } = qee({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -27937,7 +27938,7 @@ function ME({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = Zv(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = Xv(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -27956,7 +27957,7 @@ function ME({ state: e, props: t, listBoxRef: n }) {
style: { display: "contents" }
}, t.renderEmptyState(M)));
let I = lg(t, { global: !0 });
- return /*#__PURE__*/ N.createElement(Pg, null, /*#__PURE__*/ N.createElement(nT.div, {
+ return /*#__PURE__*/ N.createElement(Ng, null, /*#__PURE__*/ N.createElement(nT.div, {
...H(I, P, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -27968,28 +27969,28 @@ function ME({ state: e, props: t, listBoxRef: n }) {
"data-layout": t.layout || "stack",
"data-orientation": a
}, /*#__PURE__*/ N.createElement(Yw, { values: [
- [OE, t],
- [kE, s],
- [nE, {
+ [kE, t],
+ [AE, s],
+ [rE, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [dE, { elementType: "div" }],
- [rE, { render: FE }],
- [lne, {
+ [fE, { elementType: "div" }],
+ [iE, { render: IE }],
+ [dne, {
name: "ListBoxSection",
- render: NE
+ render: PE
}]
- ] }, /*#__PURE__*/ N.createElement(lE, null, /*#__PURE__*/ N.createElement(y, {
+ ] }, /*#__PURE__*/ N.createElement(uE, null, /*#__PURE__*/ N.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: oE(l, r, C),
- renderDropIndicator: aE(r, C)
+ persistedKeys: sE(l, r, C),
+ renderDropIndicator: oE(r, C)
}))), F, E));
}
-function NE(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, N.useContext)(kE), { dragAndDropHooks: a, dropState: o } = (0, N.useContext)(nE), { CollectionBranch: s } = (0, N.useContext)(sT), [c, l] = $w(), { headingProps: u, groupProps: d } = qee({
+function PE(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, N.useContext)(AE), { dragAndDropHooks: a, dropState: o } = (0, N.useContext)(rE), { CollectionBranch: s } = (0, N.useContext)(sT), [c, l] = $w(), { headingProps: u, groupProps: d } = Jee({
heading: l,
"aria-label": e["aria-label"] ?? void 0
}), f = Xw({
@@ -28002,20 +28003,20 @@ function NE(e, t, n, r = "react-aria-ListBoxSection") {
return delete p.id, /*#__PURE__*/ N.createElement(nT.section, {
...H(p, f, d),
ref: t
- }, /*#__PURE__*/ N.createElement(sE.Provider, { value: {
+ }, /*#__PURE__*/ N.createElement(cE.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ N.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: aE(a, o)
+ renderDropIndicator: oE(a, o)
})));
}
-var PE = /*#__PURE__*/ bh(wf, function(e, t, n) {
- let r = Ym(t), i = (0, N.useContext)(kE), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, N.useContext)(nE), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Jee({
+var FE = /*#__PURE__*/ bh(wf, function(e, t, n) {
+ let r = Ym(t), i = (0, N.useContext)(AE), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, N.useContext)(rE), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Yee({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = ty({
+ }, i, r), { hoverProps: p, isHovered: m } = ey({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
@@ -28067,19 +28068,19 @@ var PE = /*#__PURE__*/ bh(wf, function(e, t, n) {
[Jw]: u,
label: u,
description: d
- } }], [uE, { isSelected: f.isSelected }]] }, b.children));
+ } }], [dE, { isSelected: f.isSelected }]] }, b.children));
});
-function FE(e, t) {
+function IE(e, t) {
t = Ym(t);
- let { dragAndDropHooks: n, dropState: r } = (0, N.useContext)(nE), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ N.createElement(LE, {
+ let { dragAndDropHooks: n, dropState: r } = (0, N.useContext)(rE), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ N.createElement(RE, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function IE(e, t) {
+function LE(e, t) {
let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Xw({
...i,
defaultClassName: "react-aria-DropIndicator",
@@ -28093,10 +28094,10 @@ function IE(e, t) {
"data-drop-target": r || void 0
}));
}
-var LE = /*#__PURE__*/ (0, N.forwardRef)(IE);
+var RE = /*#__PURE__*/ (0, N.forwardRef)(LE);
bh(Cf, function(e, t, n) {
- let r = (0, N.useContext)(kE), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, N.useRef)(null);
- DE((0, N.useMemo)(() => ({
+ let r = (0, N.useContext)(AE), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, N.useRef)(null);
+ OE((0, N.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -28119,7 +28120,7 @@ bh(Cf, function(e, t, n) {
width: 0,
height: 0
},
- inert: fE(!0)
+ inert: pE(!0)
}, /*#__PURE__*/ N.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -28137,11 +28138,11 @@ bh(Cf, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var RE = /*#__PURE__*/ (0, N.createContext)({ placement: "bottom" });
+var zE = /*#__PURE__*/ (0, N.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function zE(e) {
- let [t, n] = k_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, N.useState)(null);
+function BE(e) {
+ let [t, n] = O_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, N.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -28160,13 +28161,13 @@ function zE(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function BE(e, t = !0) {
+function VE(e, t = !0) {
let [n, r] = (0, N.useState)(!0), i = n && t;
return sp(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, i]), HE(e, i, (0, N.useCallback)(() => r(!1), [])), i;
+ }, [e, i]), UE(e, i, (0, N.useCallback)(() => r(!1), [])), i;
}
-function VE(e, t) {
+function HE(e, t) {
let [n, r] = (0, N.useState)(t ? "open" : "closed");
switch (n) {
case "open":
@@ -28176,11 +28177,11 @@ function VE(e, t) {
case "exiting": t && r("open");
}
let i = n === "exiting";
- return HE(e, i, (0, N.useCallback)(() => {
+ return UE(e, i, (0, N.useCallback)(() => {
r((e) => e === "exiting" ? "closed" : e);
}, [])), i;
}
-function HE(e, t, n) {
+function UE(e, t, n) {
sp(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
@@ -28209,9 +28210,9 @@ function HE(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var UE = /*#__PURE__*/ (0, N.createContext)(null), WE = /*#__PURE__*/ (0, N.createContext)(null), GE = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
- [e, t] = Qw(e, t, UE);
- let n = (0, N.useContext)(JE), r = zE(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = VE(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = rh(), { direction: c } = Yh();
+var WE = /*#__PURE__*/ (0, N.createContext)(null), GE = /*#__PURE__*/ (0, N.createContext)(null), KE = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+ [e, t] = Qw(e, t, WE);
+ let n = (0, N.useContext)(YE), r = BE(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = HE(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = rh(), { direction: c } = Yh();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -28222,7 +28223,7 @@ var UE = /*#__PURE__*/ (0, N.createContext)(null), WE = /*#__PURE__*/ (0, N.crea
defaultChildren: null
})), /*#__PURE__*/ N.createElement(N.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ N.createElement(KE, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ N.createElement(qE, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -28231,13 +28232,13 @@ var UE = /*#__PURE__*/ (0, N.createContext)(null), WE = /*#__PURE__*/ (0, N.crea
dir: c
});
});
-function KE({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, N.useRef)(null), o = (0, N.useRef)(null), s = (0, N.useContext)(WE), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = fx({
+function qE({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, N.useRef)(null), o = (0, N.useRef)(null), s = (0, N.useContext)(GE), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = dx({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), m = i.popoverRef, h = BE(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = Xw({
+ }, e), m = i.popoverRef, h = VE(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = Xw({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -28263,7 +28264,7 @@ function KE({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
}, [_.children, r]), [S, C] = (0, N.useState)(null), w = (0, N.useCallback)(() => {
i.triggerRef.current && C(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- sp(w, [w]), Jy({
+ sp(w, [w]), qy({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: w
});
@@ -28288,17 +28289,17 @@ function KE({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
"data-placement": f,
"data-entering": g || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ N.createElement(Ab, { onDismiss: e.close }), /*#__PURE__*/ N.createElement(RE.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ N.createElement(kb, { onDismiss: e.close }), /*#__PURE__*/ N.createElement(zE.Provider, { value: {
...d,
placement: f,
ref: a
- } }, x), /*#__PURE__*/ N.createElement(Ab, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ N.createElement(Yv, {
+ } }, x), /*#__PURE__*/ N.createElement(kb, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ N.createElement(Jv, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, E) : /*#__PURE__*/ N.createElement(Yv, {
+ }, E) : /*#__PURE__*/ N.createElement(Jv, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -28313,17 +28314,17 @@ function KE({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
}), /*#__PURE__*/ N.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ N.createElement(WE.Provider, { value: o }, E)));
+ }, /*#__PURE__*/ N.createElement(GE.Provider, { value: o }, E)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var qE = /*#__PURE__*/ (0, N.createContext)(null), JE = /*#__PURE__*/ (0, N.createContext)(null), YE = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+var JE = /*#__PURE__*/ (0, N.createContext)(null), YE = /*#__PURE__*/ (0, N.createContext)(null), XE = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = Qw(e, t, qE);
- let { dialogProps: r, titleProps: i, contentProps: a } = zee({
+ [e, t] = Qw(e, t, JE);
+ let { dialogProps: r, titleProps: i, contentProps: a } = Bee({
...e,
"aria-labelledby": n
- }, t), o = (0, N.useContext)(JE);
+ }, t), o = (0, N.useContext)(YE);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
let s = Xw({
defaultClassName: "react-aria-Dialog",
@@ -28354,19 +28355,19 @@ var qE = /*#__PURE__*/ (0, N.createContext)(null), JE = /*#__PURE__*/ (0, N.crea
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), XE = typeof document < "u" && window.visualViewport;
-function ZE() {
+}), ZE = typeof document < "u" && window.visualViewport;
+function QE() {
let e = Gp(), [t, n] = (0, N.useState)(() => e ? {
width: 0,
height: 0
- } : QE());
+ } : $E());
return (0, N.useEffect)(() => {
let e = (e) => {
n((t) => e.width === t.width && e.height === t.height ? t : e);
}, t = () => {
- XE && XE.scale > 1 || e(QE());
+ ZE && ZE.scale > 1 || e($E());
}, r, i = (t) => {
- XE && XE.scale > 1 || Ph(V(t)) && (r = requestAnimationFrame(() => {
+ ZE && ZE.scale > 1 || Ph(V(t)) && (r = requestAnimationFrame(() => {
let t = Jf();
(!t || !Ph(t)) && e({
width: document.documentElement.clientWidth,
@@ -28374,26 +28375,26 @@ function ZE() {
});
}));
};
- return e(QE()), yp() && xp() && window.addEventListener("blur", i, !0), XE ? XE.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), yp() && xp() && window.removeEventListener("blur", i, !0), XE ? XE.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e($E()), yp() && xp() && window.addEventListener("blur", i, !0), ZE ? ZE.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), yp() && xp() && window.removeEventListener("blur", i, !0), ZE ? ZE.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
-function QE() {
+function $E() {
return {
- width: XE ? Math.min(XE.width * XE.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: XE ? XE.height * XE.scale : document.documentElement.clientHeight
+ width: ZE ? Math.min(ZE.width * ZE.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: ZE ? ZE.height * ZE.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var $E = /*#__PURE__*/ (0, N.createContext)(null), eD = /*#__PURE__*/ (0, N.createContext)(null), tD = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
- if ((0, N.useContext)(eD)) return /*#__PURE__*/ N.createElement(aD, {
+var eD = /*#__PURE__*/ (0, N.createContext)(null), tD = /*#__PURE__*/ (0, N.createContext)(null), nD = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+ if ((0, N.useContext)(tD)) return /*#__PURE__*/ N.createElement(oD, {
...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__*/ N.createElement(rD, {
+ return /*#__PURE__*/ N.createElement(iD, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -28403,15 +28404,15 @@ var $E = /*#__PURE__*/ (0, N.createContext)(null), eD = /*#__PURE__*/ (0, N.crea
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ N.createElement(aD, {
+ }, /*#__PURE__*/ N.createElement(oD, {
...f,
modalRef: t
}, s));
});
-function nD(e, t) {
- [e, t] = Qw(e, t, $E);
- let n = (0, N.useContext)(JE), r = zE(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Ym(t), o = (0, N.useRef)(null), s = VE(a, i.isOpen), c = VE(o, i.isOpen), l = s || c || e.isExiting || !1, u = Gp();
- return !i.isOpen && !l || u ? null : /*#__PURE__*/ N.createElement(iD, {
+function rD(e, t) {
+ [e, t] = Qw(e, t, eD);
+ let n = (0, N.useContext)(YE), r = BE(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Ym(t), o = (0, N.useRef)(null), s = HE(a, i.isOpen), c = HE(o, i.isOpen), l = s || c || e.isExiting || !1, u = Gp();
+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ N.createElement(aD, {
...e,
state: i,
isExiting: l,
@@ -28419,9 +28420,9 @@ function nD(e, t) {
modalRef: o
});
}
-var rD = /*#__PURE__*/ (0, N.forwardRef)(nD);
-function iD({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = zb(t, r, n), o = BE(t.overlayRef) || t.isEntering || !1, s = Xw({
+var iD = /*#__PURE__*/ (0, N.forwardRef)(rD);
+function aD({ UNSTABLE_portalContainer: e, ...t }) {
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Rb(t, r, n), o = VE(t.overlayRef) || t.isEntering || !1, s = Xw({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -28429,9 +28430,9 @@ function iD({ UNSTABLE_portalContainer: e, ...t }) {
isExiting: t.isExiting,
state: r
}
- }), c = ZE(), l, u;
+ }), c = QE(), l, u;
if (typeof document < "u") {
- let e = t_(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = e_(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 = {
@@ -28441,7 +28442,7 @@ function iD({ UNSTABLE_portalContainer: e, ...t }) {
"--page-width": l === void 0 ? void 0 : l + "px",
"--page-height": u === void 0 ? void 0 : u + "px"
};
- return /*#__PURE__*/ N.createElement(Yv, {
+ return /*#__PURE__*/ N.createElement(Jv, {
isExiting: t.isExiting,
portalContainer: e
}, /*#__PURE__*/ N.createElement(nT.div, {
@@ -28451,15 +28452,15 @@ function iD({ UNSTABLE_portalContainer: e, ...t }) {
ref: t.overlayRef,
"data-entering": o || void 0,
"data-exiting": t.isExiting || void 0
- }, /*#__PURE__*/ N.createElement(Yw, { values: [[eD, {
+ }, /*#__PURE__*/ N.createElement(Yw, { values: [[tD, {
modalProps: i,
modalRef: n,
isExiting: t.isExiting,
isDismissable: t.isDismissable
- }], [JE, r]] }, s.children)));
+ }], [YE, r]] }, s.children)));
}
-function aD(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, N.useContext)(eD), a = (0, N.useContext)(JE), o = Ym((0, N.useMemo)(() => Am(e.modalRef, n), [e.modalRef, n])), s = BE(o), c = Xw({
+function oD(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, N.useContext)(tD), a = (0, N.useContext)(YE), o = Ym((0, N.useMemo)(() => Am(e.modalRef, n), [e.modalRef, n])), s = VE(o), c = Xw({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -28474,13 +28475,13 @@ function aD(e) {
ref: o,
"data-entering": s || void 0,
"data-exiting": r || void 0
- }, i && /*#__PURE__*/ N.createElement(Ab, { onDismiss: a.close }), c.children);
+ }, i && /*#__PURE__*/ N.createElement(kb, { onDismiss: a.close }), c.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var oD = Math.round(Math.random() * 1e10), sD = 0;
-function cD(e) {
- let t = (0, N.useMemo)(() => e.name || `radio-group-${oD}-${++sD}`, [e.name]), [n, r] = k_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, N.useState)(n), [a, o] = (0, N.useState)(null), s = b_({
+var sD = Math.round(Math.random() * 1e10), cD = 0;
+function lD(e) {
+ let t = (0, N.useMemo)(() => e.name || `radio-group-${sD}-${++cD}`, [e.name]), [n, r] = O_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, N.useState)(n), [a, o] = (0, N.useState)(null), s = y_({
...e,
value: n
}), c = (t) => {
@@ -28503,12 +28504,12 @@ function cD(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var lD = /*#__PURE__*/ (0, N.createContext)(null), uD = /*#__PURE__*/ (0, N.createContext)(null), dD = /*#__PURE__*/ (0, N.createContext)(null), fD = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
- [e, t] = Qw(e, t, lD);
- let { validationBehavior: n } = Zw(mT) || {}, r = e.validationBehavior ?? n ?? "native", i = cD({
+var uD = /*#__PURE__*/ (0, N.createContext)(null), dD = /*#__PURE__*/ (0, N.createContext)(null), fD = /*#__PURE__*/ (0, N.createContext)(null), pD = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+ [e, t] = Qw(e, t, uD);
+ let { validationBehavior: n } = Zw(mT) || {}, r = e.validationBehavior ?? n ?? "native", i = lD({
...e,
validationBehavior: r
- }), [a, o] = $w(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = hx({
+ }), [a, o] = $w(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = mx({
...e,
label: o,
validationBehavior: r
@@ -28534,7 +28535,7 @@ var lD = /*#__PURE__*/ (0, N.createContext)(null), uD = /*#__PURE__*/ (0, N.crea
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
}, /*#__PURE__*/ N.createElement(Yw, { values: [
- [dD, i],
+ [fD, i],
[cT, {
...c,
ref: a,
@@ -28545,24 +28546,24 @@ var lD = /*#__PURE__*/ (0, N.createContext)(null), uD = /*#__PURE__*/ (0, N.crea
errorMessage: u
} }],
[pT, d]
- ] }, /*#__PURE__*/ N.createElement(lE, null, f.children)));
-}), pD = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+ ] }, /*#__PURE__*/ N.createElement(uE, null, f.children)));
+}), mD = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Qw(r, t, uD);
- let i = N.useContext(dD), a = Ym((0, N.useMemo)(() => Am(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = mx({
+ [e, t] = Qw(r, t, dD);
+ let i = N.useContext(fD), a = Ym((0, N.useMemo)(() => Am(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = px({
...eT(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ N.createElement(mD.Provider, { value: {
+ return /*#__PURE__*/ N.createElement(hD.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ N.createElement(hD, {
+ } }, /*#__PURE__*/ N.createElement(gD, {
...e,
ref: t
}));
-}), mD = /*#__PURE__*/ (0, N.createContext)(null), hD = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, N.useContext)(mD), l = N.useContext(dD), { isFocused: u, isFocusVisible: d, focusProps: f } = Zv(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = ty({
+}), hD = /*#__PURE__*/ (0, N.createContext)(null), gD = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, N.useContext)(hD), l = N.useContext(fD), { isFocused: u, isFocusVisible: d, focusProps: f } = Xv(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = ey({
...e,
isDisabled: p
}), g = Xw({
@@ -28592,19 +28593,19 @@ var lD = /*#__PURE__*/ (0, N.createContext)(null), uD = /*#__PURE__*/ (0, N.crea
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ N.createElement(P_, { elementType: "span" }, /*#__PURE__*/ N.createElement("input", {
+ }, /*#__PURE__*/ N.createElement(N_, { elementType: "span" }, /*#__PURE__*/ N.createElement("input", {
...H(r, f),
ref: c
})), g.children);
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function gD(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = zE(e), [i, a] = (0, N.useState)(null), o = (0, N.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function _D(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = BE(e), [i, a] = (0, N.useState)(null), o = (0, N.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = k_((0, N.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = O_((0, N.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -28616,12 +28617,12 @@ function gD(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = wE({
+ }, d = TE({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, N.useMemo)(() => _D(l), [l]),
+ selectedKeys: (0, N.useMemo)(() => vD(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -28631,7 +28632,7 @@ function gD(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, N.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = b_({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, N.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = y_({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, N.useState)(!1), [_] = (0, N.useState)(l);
@@ -28658,16 +28659,16 @@ function gD(e) {
setFocused: g
};
}
-function _D(e) {
+function vD(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 vD(e) {
+function yD(e) {
return e && e.__esModule ? e.default : e;
}
-var yD = /*#__PURE__*/ (0, N.createContext)(null), bD = /*#__PURE__*/ (0, N.createContext)(null), xD = /*#__PURE__*/ nh(function(e, t) {
- [e, t] = Qw(e, t, yD);
+var bD = /*#__PURE__*/ (0, N.createContext)(null), xD = /*#__PURE__*/ (0, N.createContext)(null), SD = /*#__PURE__*/ nh(function(e, t) {
+ [e, t] = Qw(e, t, bD);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, N.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -28682,23 +28683,23 @@ var yD = /*#__PURE__*/ (0, N.createContext)(null), bD = /*#__PURE__*/ (0, N.crea
i,
a
]);
- return /*#__PURE__*/ N.createElement(fh, { content: o }, (n) => /*#__PURE__*/ N.createElement(CD, {
+ return /*#__PURE__*/ N.createElement(fh, { content: o }, (n) => /*#__PURE__*/ N.createElement(wD, {
props: e,
collection: n,
selectRef: t
}));
-}), SD = [
+}), CD = [
cT,
lT,
fT
];
-function CD({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = Zw(mT) || {}, i = e.validationBehavior ?? r ?? "native", a = gD({
+function wD({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = Zw(mT) || {}, i = e.validationBehavior ?? r ?? "native", a = _D({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = Zv({ within: !0 }), c = (0, N.useRef)(null), [l, u] = $w(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = _x({
+ }), { isFocusVisible: o, focusProps: s } = Xv({ within: !0 }), c = (0, N.useRef)(null), [l, u] = $w(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = gx({
...eT(e),
label: u,
validationBehavior: i
@@ -28724,9 +28725,9 @@ function CD({ props: e, selectRef: t, collection: n }) {
delete x.id;
let S = (0, N.useRef)(null);
return /*#__PURE__*/ N.createElement(Yw, { values: [
- [yD, e],
- [bD, a],
- [wD, p],
+ [bD, e],
+ [xD, a],
+ [TD, p],
[cT, {
...d,
ref: l,
@@ -28738,20 +28739,20 @@ function CD({ props: e, selectRef: t, collection: n }) {
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [JE, a],
- [UE, {
+ [YE, a],
+ [WE, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: SD
+ clearContexts: CD
}],
- [OE, {
+ [kE, {
...m,
ref: S
}],
- [kE, a],
+ [AE, a],
[fT, { slots: {
description: h,
errorMessage: g
@@ -28767,14 +28768,14 @@ function CD({ 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__*/ N.createElement(yx, {
+ }, b.children, /*#__PURE__*/ N.createElement(vx, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var wD = /*#__PURE__*/ (0, N.createContext)(null), TD = /*#__PURE__*/ nh(function(e, t) {
- [e, t] = Qw(e, t, wD);
- let n = (0, N.useContext)(bD), { placeholder: r } = Zw(yD), i = n.selectedItems.map((e) => {
+for (var TD = /*#__PURE__*/ (0, N.createContext)(null), ED = /*#__PURE__*/ nh(function(e, t) {
+ [e, t] = Qw(e, t, TD);
+ let n = (0, N.useContext)(xD), { placeholder: r } = Zw(bD), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -28786,7 +28787,7 @@ for (var wD = /*#__PURE__*/ (0, N.createContext)(null), TD = /*#__PURE__*/ nh(fu
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = Bee(), o = (0, N.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, N.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = Vee(), o = (0, N.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, N.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -28801,7 +28802,7 @@ for (var wD = /*#__PURE__*/ (0, N.createContext)(null), TD = /*#__PURE__*/ nh(fu
a,
o,
i
- ]), u = sg(vD(tE), "react-aria-components"), d = Xw({
+ ]), u = sg(yD(nE), "react-aria-components"), d = Xw({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -28819,23 +28820,23 @@ for (var wD = /*#__PURE__*/ (0, N.createContext)(null), TD = /*#__PURE__*/ nh(fu
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
}, /*#__PURE__*/ N.createElement(fT.Provider, { value: void 0 }, d.children));
-}), ED = /*#__PURE__*/ (0, N.createContext)(null), DD = /*#__PURE__*/ (0, N.createContext)(null), OD = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+}), DD = /*#__PURE__*/ (0, N.createContext)(null), OD = /*#__PURE__*/ (0, N.createContext)(null), kD = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Qw(r, t, ED);
- let i = Ym((0, N.useMemo)(() => Am(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = A_(e), o = bx({
+ [e, t] = Qw(r, t, DD);
+ let i = Ym((0, N.useMemo)(() => Am(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = k_(e), o = yx({
...eT(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ N.createElement(Yw, { values: [[DD, a], [kD, {
+ return /*#__PURE__*/ N.createElement(Yw, { values: [[OD, a], [AD, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ N.createElement(AD, {
+ }]] }, /*#__PURE__*/ N.createElement(jD, {
...e,
ref: t
}));
-}), kD = /*#__PURE__*/ (0, N.createContext)(null), AD = /*#__PURE__*/ (0, N.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, N.useContext)(kD), { isFocused: f, isFocusVisible: p, focusProps: m } = Zv(), h = a || o, g = (0, N.useContext)(DD), { hoverProps: _, isHovered: v } = ty({
+}), AD = /*#__PURE__*/ (0, N.createContext)(null), jD = /*#__PURE__*/ (0, N.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, N.useContext)(AD), { isFocused: f, isFocusVisible: p, focusProps: m } = Xv(), h = a || o, g = (0, N.useContext)(OD), { hoverProps: _, isHovered: v } = ey({
...e,
isDisabled: h
}), y = Xw({
@@ -28867,11 +28868,11 @@ for (var wD = /*#__PURE__*/ (0, N.createContext)(null), TD = /*#__PURE__*/ nh(fu
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ N.createElement(P_, { elementType: "span" }, /*#__PURE__*/ N.createElement("input", {
+ }, /*#__PURE__*/ N.createElement(N_, { elementType: "span" }, /*#__PURE__*/ N.createElement("input", {
...H(r, m),
ref: l
})), y.children);
-}), jD = 10, MD = 5, ND = class {
+}), MD = 10, ND = 5, PD = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -28881,7 +28882,7 @@ for (var wD = /*#__PURE__*/ (0, N.createContext)(null), TD = /*#__PURE__*/ nh(fu
}
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) > MD && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > jD && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > ND && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > MD && (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);
@@ -28960,11 +28961,11 @@ for (var wD = /*#__PURE__*/ (0, N.createContext)(null), TD = /*#__PURE__*/ nh(fu
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > MD && i) {
+ if (Math.abs(r - c.lastSwitchY) > ND && 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 > jD && a) {
+ if (l > MD && 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;
}
@@ -28979,7 +28980,7 @@ for (var wD = /*#__PURE__*/ (0, N.createContext)(null), TD = /*#__PURE__*/ nh(fu
boundaryContext: null
};
}
-}, PD = class {
+}, FD = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -29049,8 +29050,8 @@ for (var wD = /*#__PURE__*/ (0, N.createContext)(null), TD = /*#__PURE__*/ nh(fu
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, FD = "row-header-column-" + Math.random().toString(36).slice(2), ID = "row-header-column-" + Math.random().toString(36).slice(2); FD === ID;) ID = "row-header-column-" + Math.random().toString(36).slice(2);
-function LD(e, t) {
+}, ID = "row-header-column-" + Math.random().toString(36).slice(2), LD = "row-header-column-" + Math.random().toString(36).slice(2); ID === LD;) LD = "row-header-column-" + Math.random().toString(36).slice(2);
+function RD(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -29134,13 +29135,13 @@ function LD(e, t) {
textValue: ""
}));
}
-var RD = class extends PD {
+var zD = class extends FD {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: FD,
+ key: ID,
value: null,
textValue: "",
level: 0,
@@ -29155,7 +29156,7 @@ var RD = class extends PD {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: ID,
+ key: LD,
value: null,
textValue: "",
level: 0,
@@ -29182,7 +29183,7 @@ var RD = class extends PD {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = LD(s, a);
+ let l = RD(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -29208,10 +29209,10 @@ var RD = class extends PD {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return Iv(this.body.childNodes)?.key ?? null;
+ return Fv(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return Rv(this.body.childNodes)?.key ?? null;
+ return Lv(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -29243,19 +29244,19 @@ var RD = class extends PD {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function zD(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || gE(e), i = (0, N.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function BD(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || _E(e), i = (0, N.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 = Fv(n, t);
- e = r === "last" ? Rv(i)?.key ?? null : Iv(i)?.key ?? null;
+ let i = Pv(n, t);
+ e = r === "last" ? Lv(i)?.key ?? null : Fv(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, N.useMemo)(() => new vE(t, r), [t, r]), s = (0, N.useRef)(null);
+ let o = (0, N.useMemo)(() => new yE(t, r), [t, r]), s = (0, N.useRef)(null);
return (0, N.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;
@@ -29275,7 +29276,7 @@ function zD(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...Fv(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...Pv(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);
}
@@ -29294,11 +29295,11 @@ function zD(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var BD = {
+var VD = {
ascending: "descending",
descending: "ascending"
};
-function VD(e) {
+function HD(e) {
let [t, n] = (0, N.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, N.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -29309,11 +29310,11 @@ function VD(e) {
i,
r,
a
- ]), c = CE(e, (0, N.useCallback)((e) => new RD(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = zD({
+ ]), c = wE(e, (0, N.useCallback)((e) => new zD(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = BD({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = k_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = O_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -29325,7 +29326,7 @@ function VD(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? BD[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? VD[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -29338,7 +29339,7 @@ function VD(e) {
treeColumn: o
};
}
-function HD(e, t) {
+function UD(e, t) {
let n = (0, N.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -29348,7 +29349,7 @@ function HD(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var UD = class extends Tf {
+var WD = class extends Tf {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -29389,7 +29390,7 @@ var UD = class extends Tf {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = LD(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 = RD(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;
@@ -29470,11 +29471,11 @@ var UD = class extends Tf {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new $D(-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 eO(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, WD = /*#__PURE__*/ (0, N.createContext)(null), GD = /*#__PURE__*/ (0, N.createContext)(null), KD = /*#__PURE__*/ (0, N.createContext)(null), qD = /*#__PURE__*/ (0, N.createContext)(null), JD = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
- [e, t] = Qw(e, t, GD);
- let n = gE(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, N.useMemo)(() => ({
+}, GD = /*#__PURE__*/ (0, N.createContext)(null), KD = /*#__PURE__*/ (0, N.createContext)(null), qD = /*#__PURE__*/ (0, N.createContext)(null), JD = /*#__PURE__*/ (0, N.createContext)(null), YD = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+ [e, t] = Qw(e, t, KD);
+ let n = _E(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, N.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -29484,17 +29485,17 @@ var UD = class extends Tf {
i,
a,
o
- ]), c = /*#__PURE__*/ N.createElement(QD.Provider, { value: s }, /*#__PURE__*/ N.createElement(wh, e));
+ ]), c = /*#__PURE__*/ N.createElement($D.Provider, { value: s }, /*#__PURE__*/ N.createElement(wh, e));
return /*#__PURE__*/ N.createElement(fh, {
content: c,
- createCollection: () => new UD()
- }, (r) => /*#__PURE__*/ N.createElement(ZD, {
+ createCollection: () => new WD()
+ }, (r) => /*#__PURE__*/ N.createElement(QD, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), YD = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+}), XD = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, N.useContext)(sT);
return n ? /*#__PURE__*/ N.createElement(nT.div, {
...e,
@@ -29503,7 +29504,7 @@ var UD = class extends Tf {
...e,
ref: t
});
-}), XD = {
+}), ZD = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -29513,26 +29514,26 @@ var UD = class extends Tf {
rtl: "ArrowRight"
}
};
-function ZD({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+function QD({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
[e, t] = Qw(e, t, rT);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, N.useContext)(WD);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, N.useContext)(GD);
t = Ym((0, N.useMemo)(() => Am(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = k_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ let [l, u] = O_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, N.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = VD({
+ let d = HD({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = HD(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, N.useContext)(sT), { dragAndDropHooks: _ } = e, { gridProps: v } = ite({
+ }), f = UD(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, N.useContext)(sT), { dragAndDropHooks: _ } = e, { gridProps: v } = ate({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, N.useRef)(b), (0, N.useRef)(x), (0, N.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, N.useRef)(null), { direction: O } = Yh(), [k] = (0, N.useState)(() => new ND());
+ let S, C, w, T = !1, E = null, D = (0, N.useRef)(null), { direction: O } = Yh(), [k] = (0, N.useState)(() => new PD());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -29547,7 +29548,7 @@ function ZD({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new K_({
+ let e = new G_({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -29567,12 +29568,12 @@ function ZD({ 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 === XD.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === XD.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === ZD.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === ZD.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 } = Zv(), P = Xw({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = Xv(), P = Xw({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -29590,17 +29591,17 @@ function ZD({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
}));
let te = lg(e, { global: !0 });
return /*#__PURE__*/ N.createElement(Yw, { values: [
- [KD, f],
- [qD, ee],
- [nE, {
+ [qD, f],
+ [JD, ee],
+ [rE, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [rE, { render: Mne }],
+ [iE, { render: Pne }],
[rT, null],
[iT, null]
- ] }, /*#__PURE__*/ N.createElement(Pg, null, /*#__PURE__*/ N.createElement(YD, {
+ ] }, /*#__PURE__*/ N.createElement(Ng, null, /*#__PURE__*/ N.createElement(XD, {
...H(te, P, v, A, w?.collectionProps),
style: I,
ref: t,
@@ -29610,17 +29611,17 @@ function ZD({ 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__*/ N.createElement(lE, null, /*#__PURE__*/ N.createElement(g, {
+ }, /*#__PURE__*/ N.createElement(uE, null, /*#__PURE__*/ N.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: oE(y, _, C)
+ persistedKeys: sE(y, _, C)
})))), E);
}
-var QD = /*#__PURE__*/ (0, N.createContext)(null), $D = class extends xf {
+var $D = /*#__PURE__*/ (0, N.createContext)(null), eO = class extends xf {
static {
this.type = "tableheader";
}
-}, eO = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+}, Tne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, N.useContext)(sT);
return n ? /*#__PURE__*/ N.createElement(nT.div, {
...e,
@@ -29629,16 +29630,16 @@ var QD = /*#__PURE__*/ (0, N.createContext)(null), $D = class extends xf {
...e,
ref: t
});
-}), tO = /*#__PURE__*/ xh($D, (e, t) => {
- let n = (0, N.useContext)(KD).collection, r = Af({
+}), tO = /*#__PURE__*/ xh(eO, (e, t) => {
+ let n = (0, N.useContext)(qD).collection, r = Af({
items: n.headerRows,
children: (0, N.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ N.createElement(Tne, { item: e });
+ case "headerrow": return /*#__PURE__*/ N.createElement(Dne, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = fS(), { hoverProps: a, isHovered: o } = ty({
+ }), { rowGroupProps: i } = dS(), { hoverProps: a, isHovered: o } = ey({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
@@ -29648,7 +29649,7 @@ var QD = /*#__PURE__*/ (0, N.createContext)(null), $D = class extends xf {
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ N.createElement(eO, {
+ return /*#__PURE__*/ N.createElement(Tne, {
...H(lg(e, { global: !0 }), i, a),
...s,
ref: t,
@@ -29657,7 +29658,7 @@ var QD = /*#__PURE__*/ (0, N.createContext)(null), $D = class extends xf {
}, (e) => /*#__PURE__*/ N.createElement(wh, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), wne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+}, e.children)), Ene = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, N.useContext)(sT);
return n ? /*#__PURE__*/ N.createElement("div", {
...e,
@@ -29667,12 +29668,12 @@ var QD = /*#__PURE__*/ (0, N.createContext)(null), $D = class extends xf {
ref: t
});
});
-function Tne({ item: e }) {
- let t = (0, N.useRef)(null), n = (0, N.useContext)(KD), { isVirtualized: r, CollectionBranch: i } = (0, N.useContext)(sT), { rowProps: a } = cte({
+function Dne({ item: e }) {
+ let t = (0, N.useRef)(null), n = (0, N.useContext)(qD), { isVirtualized: r, CollectionBranch: i } = (0, N.useContext)(sT), { rowProps: a } = lte({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = hte(n);
- return /*#__PURE__*/ N.createElement(wne, {
+ }, n, t), { checkboxProps: o } = gte(n);
+ return /*#__PURE__*/ N.createElement(Ene, {
...a,
ref: t
}, /*#__PURE__*/ N.createElement(Yw, { values: [[hT, { slots: { selection: o } }], [gT, { slots: { selection: o } }]] }, /*#__PURE__*/ N.createElement(i, {
@@ -29680,11 +29681,11 @@ function Tne({ item: e }) {
parent: e
})));
}
-var Ene = class extends xf {
+var One = class extends xf {
static {
this.type = "column";
}
-}, Dne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+}, kne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, N.useContext)(sT);
return n ? /*#__PURE__*/ N.createElement(nT.div, {
...e,
@@ -29693,15 +29694,15 @@ var Ene = class extends xf {
...e,
ref: t
});
-}), nO = /*#__PURE__*/ bh(Ene, (e, t, n) => {
- let r = Ym(t), i = (0, N.useContext)(KD), { isVirtualized: a } = (0, N.useContext)(sT), { columnHeaderProps: o, isPressed: s } = ste({
+}), nO = /*#__PURE__*/ bh(One, (e, t, n) => {
+ let r = Ym(t), i = (0, N.useContext)(qD), { isVirtualized: a } = (0, N.useContext)(sT), { columnHeaderProps: o, isPressed: s } = cte({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = Zv(), d = (0, N.useContext)(qD), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = Xv(), d = (0, N.useContext)(JD), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = ty({ isDisabled: !e.allowsSorting }), h = Xw({
+ let { hoverProps: p, isHovered: m } = ey({ isDisabled: !e.allowsSorting }), h = Xw({
...e,
id: void 0,
children: n.rendered,
@@ -29728,7 +29729,7 @@ var Ene = class extends xf {
width: d.getColumnWidth(n.key)
});
let _ = lg(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ N.createElement(Dne, {
+ return delete _.id, /*#__PURE__*/ N.createElement(kne, {
...H(_, o, u, p),
...h,
style: g,
@@ -29740,15 +29741,15 @@ var Ene = class extends xf {
"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__*/ N.createElement(Yw, { values: [[One, {
+ }, /*#__PURE__*/ N.createElement(Yw, { values: [[Ane, {
column: n,
triggerRef: r
}], [sT, aT]] }, h.children));
-}), One = /*#__PURE__*/ (0, N.createContext)(null), rO = class extends Sf {
+}), Ane = /*#__PURE__*/ (0, N.createContext)(null), rO = class extends Sf {
static {
this.type = "tablebody";
}
-}, kne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+}, jne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, N.useContext)(sT);
return n ? /*#__PURE__*/ N.createElement(nT.div, {
...e,
@@ -29758,7 +29759,7 @@ var Ene = class extends xf {
ref: t
});
}), iO = /*#__PURE__*/ xh(rO, (e, t, n) => {
- let r = (0, N.useContext)(KD), { isVirtualized: i } = (0, N.useContext)(sT), a = r.collection, { CollectionBranch: o } = (0, N.useContext)(sT), { dragAndDropHooks: s, dropState: c } = (0, N.useContext)(nE), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+ let r = (0, N.useContext)(qD), { isVirtualized: i } = (0, N.useContext)(sT), a = r.collection, { CollectionBranch: o } = (0, N.useContext)(sT), { dragAndDropHooks: s, dropState: c } = (0, N.useContext)(rE), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
}, p = Xw({
@@ -29780,15 +29781,15 @@ var Ene = class extends xf {
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = fS(), _ = lg(e, { global: !0 });
- return /*#__PURE__*/ N.createElement(kne, {
+ let { rowGroupProps: g } = dS(), _ = lg(e, { global: !0 });
+ return /*#__PURE__*/ N.createElement(jne, {
...H(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ N.createElement(Lne, null), /*#__PURE__*/ N.createElement(o, {
+ }, l && /*#__PURE__*/ N.createElement(zne, null), /*#__PURE__*/ N.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: aE(s, c)
+ renderDropIndicator: oE(s, c)
}), m);
});
(class extends Sf {
@@ -29796,7 +29797,7 @@ var Ene = class extends xf {
this.type = "tablefooter";
}
});
-var aO = /*#__PURE__*/ (0, N.createContext)({ isFocusVisibleWithinRow: !1 }), Ane = class extends xf {
+var aO = /*#__PURE__*/ (0, N.createContext)({ isFocusVisibleWithinRow: !1 }), Mne = class extends xf {
static {
this.type = "item";
}
@@ -29817,22 +29818,22 @@ var aO = /*#__PURE__*/ (0, N.createContext)({ isFocusVisibleWithinRow: !1 }), An
...e,
ref: t
});
-}), sO = /*#__PURE__*/ xh(Ane, (e, t, n) => {
- let r = Ym(t), i = (0, N.useContext)(KD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, N.useContext)(nE), { isVirtualized: c, CollectionBranch: l } = (0, N.useContext)(sT), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = dte({
+}), sO = /*#__PURE__*/ xh(Mne, (e, t, n) => {
+ let r = Ym(t), i = (0, N.useContext)(qD), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, N.useContext)(rE), { isVirtualized: c, CollectionBranch: l } = (0, N.useContext)(sT), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = fte({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = Zv(), { isFocusVisible: _, focusProps: v } = Zv({ within: !0 }), { hoverProps: y, isHovered: b } = ty({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = Xv(), { isFocusVisible: _, focusProps: v } = Xv({ within: !0 }), { hoverProps: y, isHovered: b } = ey({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = mte({ 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, N.useRef)(null), { visuallyHiddenProps: T } = N_();
+ let C, w = (0, N.useRef)(null), { visuallyHiddenProps: T } = M_();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -29910,7 +29911,7 @@ var aO = /*#__PURE__*/ (0, N.createContext)({ isFocusVisibleWithinRow: !1 }), An
style: { pointerEvents: "none" }
}
} }],
- [uE, { isSelected: p.isSelected }],
+ [dE, { isSelected: p.isSelected }],
[aO, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ N.createElement(l, {
collection: i.collection,
@@ -29924,7 +29925,7 @@ var aO = /*#__PURE__*/ (0, N.createContext)({ isFocusVisibleWithinRow: !1 }), An
items: e.columns,
idScope: e.id
}, e.children);
-}), jne = class extends xf {
+}), Nne = class extends xf {
static {
this.type = "cell";
}
@@ -29937,16 +29938,16 @@ var aO = /*#__PURE__*/ (0, N.createContext)({ isFocusVisibleWithinRow: !1 }), An
...e,
ref: t
});
-}), lO = /*#__PURE__*/ bh(jne, (e, t, n) => {
- let r = Ym(t), i = (0, N.useContext)(KD), { dragState: a } = (0, N.useContext)(nE), { isVirtualized: o } = (0, N.useContext)(sT);
+}), lO = /*#__PURE__*/ bh(Nne, (e, t, n) => {
+ let r = Ym(t), i = (0, N.useContext)(qD), { dragState: a } = (0, N.useContext)(rE), { isVirtualized: o } = (0, N.useContext)(sT);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = ate({
+ let { gridCellProps: s, isPressed: c } = ote({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Zv(), { hoverProps: f, isHovered: p } = ty({}), { isFocusVisibleWithinRow: m } = (0, N.useContext)(aO), 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 = Xw({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Xv(), { hoverProps: f, isHovered: p } = ey({}), { isFocusVisibleWithinRow: m } = (0, N.useContext)(aO), 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 = Xw({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -29982,12 +29983,12 @@ var aO = /*#__PURE__*/ (0, N.createContext)({ isFocusVisibleWithinRow: !1 }), An
"data-disabled": b || void 0
}, /*#__PURE__*/ N.createElement(sT.Provider, { value: aT }, x.children));
});
-function Mne(e, t) {
+function Pne(e, t) {
t = Ym(t);
- let { dragAndDropHooks: n, dropState: r } = (0, N.useContext)(nE), i = (0, N.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, N.useContext)(rE), i = (0, N.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__*/ N.createElement(Ine, {
+ return /*#__PURE__*/ N.createElement(Rne, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -29996,7 +29997,7 @@ function Mne(e, t) {
ref: t
});
}
-var Nne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+var Fne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, N.useContext)(sT);
return n ? /*#__PURE__*/ N.createElement(nT.div, {
...e,
@@ -30005,7 +30006,7 @@ var Nne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
...e,
ref: t
});
-}), Pne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
+}), Ine = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, N.useContext)(sT);
return n ? /*#__PURE__*/ N.createElement(nT.div, {
...e,
@@ -30015,21 +30016,21 @@ var Nne = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
ref: t
});
});
-function Fne(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, N.useContext)(KD), { visuallyHiddenProps: c } = N_(), l = Xw({
+function Lne(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, N.useContext)(qD), { visuallyHiddenProps: c } = M_(), l = Xw({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ N.createElement(Nne, {
+ return /*#__PURE__*/ N.createElement(Fne, {
...lg(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ N.createElement(Pne, {
+ }, /*#__PURE__*/ N.createElement(Ine, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -30040,9 +30041,9 @@ function Fne(e, t) {
ref: i
}), l.children));
}
-var Ine = /*#__PURE__*/ (0, N.forwardRef)(Fne);
-function Lne() {
- let e = (0, N.useContext)(KD), { dragAndDropHooks: t, dropState: n } = (0, N.useContext)(nE), r = (0, N.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = N_();
+var Rne = /*#__PURE__*/ (0, N.forwardRef)(Lne);
+function zne() {
+ let e = (0, N.useContext)(qD), { dragAndDropHooks: t, dropState: n } = (0, N.useContext)(rE), r = (0, N.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = M_();
return !a && i["aria-hidden"] ? null : /*#__PURE__*/ N.createElement(oO, {
role: "row",
"aria-hidden": i["aria-hidden"],
@@ -30059,8 +30060,8 @@ function Lne() {
})));
}
bh(Cf, function(e, t, n) {
- let r = (0, N.useContext)(KD), { isVirtualized: i } = (0, N.useContext)(sT), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, N.useRef)(null);
- DE((0, N.useMemo)(() => ({
+ let r = (0, N.useContext)(qD), { isVirtualized: i } = (0, N.useContext)(sT), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, N.useRef)(null);
+ OE((0, N.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -30080,7 +30081,7 @@ bh(Cf, function(e, t, n) {
}), f = {}, p = {}, m = {};
return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(oO, {
style: { height: 0 },
- inert: fE(!0)
+ inert: pE(!0)
}, /*#__PURE__*/ N.createElement(cO, { style: {
padding: 0,
border: 0
@@ -30107,8 +30108,8 @@ bh(Cf, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function Rne(e) {
- let [t, n] = k_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, N.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = wE({
+function Bne(e) {
+ let [t, n] = O_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, N.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = TE({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -30131,8 +30132,8 @@ function Rne(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function zne(e) {
- let t = Rne({
+function Vne(e) {
+ let t = Bne({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
@@ -30164,18 +30165,18 @@ var dO = /*#__PURE__*/ (0, N.createContext)(null), fO = /*#__PURE__*/ (0, N.crea
return n = (0, N.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ N.createElement(fh, { content: n }, (n) => /*#__PURE__*/ N.createElement(Bne, {
+ }) : n, [n, r]), /*#__PURE__*/ N.createElement(fh, { content: n }, (n) => /*#__PURE__*/ N.createElement(Hne, {
props: e,
collection: n,
tabsRef: t
}));
});
-function Bne({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = zne({
+function Hne({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = Vne({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = Zv({ within: !0 }), c = (0, N.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = Xv({ within: !0 }), c = (0, N.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -30199,13 +30200,13 @@ function Bne({ props: e, tabsRef: t, collection: n }) {
}, /*#__PURE__*/ N.createElement(Yw, { values: [[dO, e], [fO, i]] }, l.children));
}
var mO = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
- return (0, N.useContext)(fO) ? /*#__PURE__*/ N.createElement(Vne, {
+ return (0, N.useContext)(fO) ? /*#__PURE__*/ N.createElement(Une, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ N.createElement(wh, e);
});
-function Vne({ props: e, forwardedRef: t }) {
- let n = (0, N.useContext)(fO), { CollectionRoot: r } = (0, N.useContext)(sT), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Zw(dO), o = Ym(t), { tabListProps: s } = vte({
+function Une({ props: e, forwardedRef: t }) {
+ let n = (0, N.useContext)(fO), { CollectionRoot: r } = (0, N.useContext)(sT), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Zw(dO), o = Ym(t), { tabListProps: s } = yte({
...e,
orientation: i,
keyboardActivation: a
@@ -30222,9 +30223,9 @@ function Vne({ props: e, forwardedRef: t }) {
...H(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ N.createElement(lE, null, /*#__PURE__*/ N.createElement(r, {
+ }, /*#__PURE__*/ N.createElement(uE, null, /*#__PURE__*/ N.createElement(r, {
collection: n.collection,
- persistedKeys: dne(n.selectionManager.focusedKey)
+ persistedKeys: pne(n.selectionManager.focusedKey)
})));
}
var hO = /*#__PURE__*/ bh(class extends xf {
@@ -30232,10 +30233,10 @@ var hO = /*#__PURE__*/ bh(class extends xf {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, N.useContext)(fO), i = Ym(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = gte({
+ let r = (0, N.useContext)(fO), i = Ym(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = _te({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = Zv(), { hoverProps: f, isHovered: p } = ty({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = Xv(), { hoverProps: f, isHovered: p } = ey({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
@@ -30263,26 +30264,26 @@ var hO = /*#__PURE__*/ bh(class extends xf {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ N.createElement(uE.Provider, { value: { isSelected: o } }, m.children));
+ }, /*#__PURE__*/ N.createElement(dE.Provider, { value: { isSelected: o } }, m.children));
}), gO = /*#__PURE__*/ nh(function(e, t) {
let n = (0, N.useContext)(fO), r = Ym(t), i = n.selectedKey === e.id, [a, o] = (0, N.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = VE(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ N.createElement(Hne, {
+ let s = HE(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ N.createElement(Wne, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function Hne(e) {
- let t = (0, N.useContext)(fO), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = yte(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Zv(), d = t.selectedKey === e.id, f = BE(r) && !i, p = Xw({
+function Wne(e) {
+ let t = (0, N.useContext)(fO), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = bte(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Xv(), d = t.selectedKey === e.id, f = VE(r) && !i, p = Xw({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: fE(!d),
+ isInert: pE(!d),
isEntering: f,
isExiting: a,
state: t
@@ -30295,7 +30296,7 @@ function Hne(e) {
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: fE(!d || e.inert),
+ inert: pE(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
@@ -30303,11 +30304,11 @@ function Hne(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var Une = /*#__PURE__*/ (0, N.createContext)({}), Wne = /*#__PURE__*/ (0, N.createContext)(null), Gne = /*#__PURE__*/ nh(function(e, t) {
- [e, t] = Qw(e, t, Wne);
+var Gne = /*#__PURE__*/ (0, N.createContext)({}), Kne = /*#__PURE__*/ (0, N.createContext)(null), qne = /*#__PURE__*/ nh(function(e, t) {
+ [e, t] = Qw(e, t, Kne);
let { validationBehavior: n } = Zw(mT) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, N.useRef)(null);
[e, i] = Qw(e, i, iT);
- let [a, o] = $w(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, N.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Dee({
+ let [a, o] = $w(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, N.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Oee({
...eT(e),
inputElementType: s,
label: o,
@@ -30342,7 +30343,7 @@ var Une = /*#__PURE__*/ (0, N.createContext)({}), Wne = /*#__PURE__*/ (0, N.crea
...u,
ref: m
}],
- [Une, {
+ [Gne, {
...u,
ref: m
}],
@@ -30357,7 +30358,7 @@ var Une = /*#__PURE__*/ (0, N.createContext)({}), Wne = /*#__PURE__*/ (0, N.crea
} }],
[pT, p]
] }, h.children));
-}), _O = bw({
+}), _O = yw({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -30382,7 +30383,7 @@ function vO({ icon: e, size: t = "medium", className: n, type: r = "button", ref
return /* @__PURE__ */ (0, P.jsx)("button", {
ref: i,
type: r,
- className: yw(_O.base, _O.size[t], n),
+ className: vw(_O.base, _O.size[t], n),
...a,
children: /* @__PURE__ */ (0, P.jsx)(e, {
className: _O.icon[t],
@@ -30392,11 +30393,11 @@ function vO({ icon: e, size: t = "medium", className: n, type: r = "button", ref
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function Kne({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, P.jsxs)(fne, {
+function Jne({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, P.jsxs)(mne, {
"data-label": "true",
...a,
- className: yw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: vw("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, P.jsx)("span", {
@@ -30404,7 +30405,7 @@ function Kne({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, P.jsx)(NS, {
+ n && /* @__PURE__ */ (0, P.jsx)(MS, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -30413,11 +30414,11 @@ function Kne({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function qne({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, P.jsx)(_ne, {
+function Yne({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, P.jsx)(yne, {
slot: e ? "errorMessage" : "description",
...n,
- className: yw("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: vw("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
//#endregion
@@ -30430,16 +30431,16 @@ function bO({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, P.jsx)(Gne, {
+ children: /* @__PURE__ */ (0, P.jsx)(qne, {
...a,
"data-input-size": e,
- className: yw("group flex h-max w-full flex-col items-start gap-1", r),
+ className: vw("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
bO.displayName = "TextField";
-var xO = bw({
+var xO = yw({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -30470,9 +30471,9 @@ var xO = bw({
});
function SO({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
let l = (0, N.useContext)(yO), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, P.jsx)(Sne, {
+ return /* @__PURE__ */ (0, P.jsx)(wne, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => yw(xO.field, d ? xO.fieldWithAddonSize[u] : xO.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 }) => vw(xO.field, d ? xO.fieldWithAddonSize[u] : xO.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, P.jsxs)("div", {
className: xO.content,
children: [/* @__PURE__ */ (0, P.jsxs)("div", {
@@ -30480,10 +30481,10 @@ function SO({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl
children: [d ? r : t ? /* @__PURE__ */ (0, P.jsx)(t, {
className: xO.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, P.jsx)(bT, {
+ }) : null, /* @__PURE__ */ (0, P.jsx)(xT, {
ref: o,
...c,
- className: yw(xO.input, l.inputClassName, a)
+ className: vw(xO.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, P.jsx)(n, {
className: xO.icon,
@@ -30499,7 +30500,7 @@ function CO({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
- e && /* @__PURE__ */ (0, P.jsx)(Kne, {
+ e && /* @__PURE__ */ (0, P.jsx)(Jne, {
isRequired: u,
isInvalid: d,
tooltip: n,
@@ -30514,7 +30515,7 @@ function CO({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, P.jsx)(qne, {
+ t && /* @__PURE__ */ (0, P.jsx)(Yne, {
isInvalid: d,
children: t
})
@@ -30559,7 +30560,7 @@ function DO(e, t) {
y1: a + r
});
}
-function Jne(e, t) {
+function Xne(e, t) {
if (!EO(e) || !(t > 0)) return wO(e);
let n = Math.min(e.width, e.height * t);
return TO({
@@ -30569,7 +30570,7 @@ function Jne(e, t) {
y1: e.height
});
}
-function Yne(e, t, n) {
+function Zne(e, t, n) {
if (!EO(t) || !(n > 0)) return wO(t);
let r = OO(e, t), i = DO({
width: r.x1 - r.x0,
@@ -30618,7 +30619,7 @@ function AO(e, t, n, r = null) {
y1: a + s / 2
}, n, r);
}
-function Xne(e, t, n, r, i = null) {
+function Qne(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
@@ -30627,7 +30628,7 @@ function Xne(e, t, n, r, i = null) {
};
return OO(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function Zne(e, t) {
+function $ne(e, t) {
return EO(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
@@ -30640,7 +30641,7 @@ function Zne(e, t) {
height: 0
};
}
-function Qne(e, t) {
+function ere(e, t) {
if (!EO(t)) return {
size: "cover",
position: "50% 50%"
@@ -30651,7 +30652,7 @@ function Qne(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function $ne(e, t) {
+function tre(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}%`,
@@ -30665,20 +30666,20 @@ function jO(e, t, n) {
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var ere = {
+var nre = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
function MO({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
- return /* @__PURE__ */ (0, P.jsx)(rD, {
+ return /* @__PURE__ */ (0, P.jsx)(iD, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, P.jsx)(tD, {
- className: `flex max-h-full w-full ${ere[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, P.jsx)(YE, {
+ children: /* @__PURE__ */ (0, P.jsx)(nD, {
+ className: `flex max-h-full w-full ${nre[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, P.jsx)(XE, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
children: i
@@ -30703,7 +30704,7 @@ function PO() {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var tre = .02, FO = 1.08;
+var rre = .02, FO = 1.08;
function IO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, N.useRef)(null), c = (0, N.useRef)(null), [l, u] = (0, N.useState)(!1);
(0, N.useEffect)(() => {
@@ -30737,14 +30738,14 @@ function IO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
i(kO(n.box, o.dx, o.dy, r));
return;
}
- i(Xne(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(Qne(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) * tre), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * rre), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
@@ -30756,7 +30757,7 @@ function IO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
(e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(AO(n, e.key === "-" ? 1 / FO : FO, r, t)));
}
- let g = n && r ? Zne(OO(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? $ne(OO(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -30836,20 +30837,20 @@ function IO({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var nre = "/api/avatar-choices", LO = "/api/avatar-pick", rre = "/api/avatar-code-cover", ire = "/avatar-choice", RO = (e, t) => [
+var ire = "/api/avatar-choices", LO = "/api/avatar-pick", are = "/api/avatar-code-cover", ore = "/avatar-choice", RO = (e, t) => [
"avatar-choices",
e,
t
-], zO = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, BO = (e, t, n) => `${ire}${zO(e, t)}&ref=${encodeURIComponent(n)}`, are = (e, t, n) => Dw(nre + zO(e, t), n), ore = (e) => q(rre, { code: e });
+], zO = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, BO = (e, t, n) => `${ore}${zO(e, t)}&ref=${encodeURIComponent(n)}`, sre = (e, t, n) => Ew(ire + zO(e, t), n), cre = (e) => q(are, { code: e });
function VO(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? Yne(e.focus, t, n) : DO(t, n);
+ return e.focus && r ? Zne(e.focus, t, n) : DO(t, n);
}
-var sre = (e) => e.crop && EO({
+var lre = (e) => e.crop && EO({
width: e.width,
height: e.height
});
-async function cre(e, t, n) {
+async function ure(e, t, n) {
if (!("file" in n)) {
await q(LO, {
kind: e,
@@ -30865,32 +30866,32 @@ async function cre(e, t, n) {
});
if (i.ok) return;
let a = await i.json().catch(() => null);
- throw new Tw(a?.error || `请求失败(${i.status})`, i.status, a);
+ throw new ww(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function lre(e, t) {
+function dre(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 ure = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function dre(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${ure(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var fre = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function pre(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${fre(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var HO = (e) => e.cast > 1, fre = (e) => HO(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, pre = {
+var HO = (e) => e.cast > 1, mre = (e) => HO(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, hre = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function mre(e) {
+function gre(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 hre = (e) => `${pre[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (HO(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), gre = 8, _re = 3 / 4;
-function vre({ kind: e, entityId: t, name: n, onPicked: r }) {
+var _re = (e) => `${hre[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (HO(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), vre = 8, yre = 3 / 4;
+function bre({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, N.useState)(!1);
return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -30900,7 +30901,7 @@ function vre({ 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, P.jsx)(Cte, {
+ children: /* @__PURE__ */ (0, P.jsx)(wte, {
"aria-hidden": !0,
className: "size-4"
})
@@ -30910,7 +30911,7 @@ function vre({ kind: e, entityId: t, name: n, onPicked: r }) {
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, P.jsx)(yre, {
+ children: /* @__PURE__ */ (0, P.jsx)(xre, {
kind: e,
entityId: t,
name: n,
@@ -30919,33 +30920,33 @@ function vre({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function yre({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+function xre({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
let a = (0, N.useRef)(null), o = PO(), [s, c] = (0, N.useState)(""), [l, u] = (0, N.useState)(""), [d, f] = (0, N.useState)(""), [p, m] = (0, N.useState)(null), h = RO(e, t), g = (0, N.useRef)(!1), _ = xt({
queryKey: h,
- queryFn: ({ signal: n }) => are(e, t, n),
+ queryFn: ({ signal: n }) => sre(e, t, n),
retryOnMount: !0
});
(0, N.useEffect)(() => () => {
g.current && X.removeQueries({ queryKey: RO(e, t) });
}, [e, t]);
let v = St({
- mutationFn: (n) => cre(e, t, n),
+ mutationFn: (n) => ure(e, t, n),
onSuccess: () => {
g.current = !0, i(), r();
}
}), y = St({
- mutationFn: (e) => ore(e),
+ mutationFn: (e) => cre(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 ? K(v.error) : "") || (!p && y.error ? K(y.error) : "") || (_.error ? K(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : dre(x);
+ let x = _.data, S = x?.choices ?? [], C = d || (v.error ? K(v.error) : "") || (!p && y.error ? K(y.error) : "") || (_.error ? K(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : pre(x);
return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, P.jsx)(NO, { children: /* @__PURE__ */ (0, P.jsx)(KS, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, P.jsx)(NO, { children: /* @__PURE__ */ (0, P.jsx)(GS, { className: "size-6" }) }),
/* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -30955,14 +30956,14 @@ function yre({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: p ? "框出头像那一块" : "更换头像"
- }), !p && S.length ? /* @__PURE__ */ (0, P.jsxs)(Sw, {
+ }), !p && S.length ? /* @__PURE__ */ (0, P.jsxs)(xw, {
color: "soft",
children: [S.length, " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, P.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: p ? fre(p) : lre(n, x)
+ children: p ? mre(p) : dre(n, x)
}),
T ? /* @__PURE__ */ (0, P.jsx)(J, {
tone: "neutral",
@@ -30975,13 +30976,13 @@ function yre({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
]
}),
/* @__PURE__ */ (0, P.jsx)(vO, {
- icon: xS,
+ icon: bS,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), p ? /* @__PURE__ */ (0, P.jsx)(xre, {
+ }), p ? /* @__PURE__ */ (0, P.jsx)(Cre, {
kind: e,
entityId: t,
choice: p,
@@ -31004,7 +31005,7 @@ function yre({ 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: gre }, (e, t) => /* @__PURE__ */ (0, P.jsxs)("span", {
+ children: _.isPending ? Array.from({ length: vre }, (e, t) => /* @__PURE__ */ (0, P.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",
@@ -31017,14 +31018,14 @@ function yre({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: hre(n),
+ title: _re(n),
...Y(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, P.jsx)(bre, {
+ /* @__PURE__ */ (0, P.jsx)(Sre, {
src: BO(e, t, n.ref),
choice: n
}),
@@ -31034,7 +31035,7 @@ function yre({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, P.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, P.jsx)(Sw, {
+ children: /* @__PURE__ */ (0, P.jsx)(xw, {
variant: "caption",
color: "gray",
children: "在用"
@@ -31042,7 +31043,7 @@ function yre({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null,
HO(n) ? /* @__PURE__ */ (0, P.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, P.jsxs)(Sw, {
+ children: /* @__PURE__ */ (0, P.jsxs)(xw, {
variant: "caption",
color: "gray",
children: [n.cast, " 人"]
@@ -31116,7 +31117,7 @@ function yre({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function bre({ src: e, choice: t }) {
+function Sre({ src: e, choice: t }) {
let n = (0, N.useRef)(null), [r, i] = (0, N.useState)(!1);
(0, N.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -31124,7 +31125,7 @@ function bre({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = sre(t) ? $ne(VO(t, a, _re), a) : null, s = r ? !0 : void 0;
+ }, o = lre(t) ? tre(VO(t, a, yre), a) : null, s = r ? !0 : void 0;
return /* @__PURE__ */ (0, P.jsxs)("span", {
className: "relative block w-full aspect-avatar-choice overflow-hidden",
children: [/* @__PURE__ */ (0, P.jsx)("img", {
@@ -31149,12 +31150,12 @@ function bre({ src: e, choice: t }) {
})]
});
}
-function xre({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+function Cre({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, N.useState)(o[0]), [l, u] = (0, N.useState)(null), [d, f] = (0, N.useState)(null), p = BO(e, t, s), m = PO();
function h(e) {
c(e), u(null), f(null);
}
- let g = d && l ? Qne(d, l) : null;
+ let g = d && l ? ere(d, l) : null;
return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsxs)("div", {
ref: m,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
@@ -31179,7 +31180,7 @@ function xre({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
"data-crop-base": !0,
onClick: () => h(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: mre(e)
+ children: gre(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, P.jsxs)("div", {
@@ -31213,56 +31214,56 @@ function xre({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}
//#endregion
//#region src/jav-artwork.ts
-function Sre(e) {
+function wre(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
function UO(e, t) {
- return e.is_jav && e.code && e.has_cover && (Sre(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
+ return e.is_jav && e.code && e.has_cover && (wre(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
}
function WO(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var Cre = (e, t) => [
+var Tre = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], wre = (e, t) => [
+], Ere = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function Tre(e, t, n, r, i) {
+async function Dre(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 Dw(`/api/items?${a}`, i), s = {
+ let o = await Ew(`/api/items?${a}`, i), s = {
...o,
items: o.items || [],
offset: t
};
- return !t && !s.items.length && !r && (s.libraryEmpty = (await Dw("/api/items?limit=1&thumb=0", i)).total === 0), s;
+ return !t && !s.items.length && !r && (s.libraryEmpty = (await Ew("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var Ere = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Dre = (e, t) => {
+var Ore = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, kre = (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 GO(e) {
let t = WO(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: Cre(t, e.revision || 0),
+ queryKey: Tre(t, e.revision || 0),
queryFn: async ({ pageParam: i, signal: a }) => {
- let o = await Tre(t, i, n, r, a);
+ let o = await Dre(t, i, n, r, a);
return e.cache(o.items), o;
},
initialPageParam: 0,
- getNextPageParam: Ere(n)
+ getNextPageParam: Ore(n)
};
}
function KO(e) {
return {
- queryKey: wre(e.entityKey || "", e.revision || 0),
+ queryKey: Ere(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -31277,10 +31278,10 @@ function KO(e) {
};
},
initialPageParam: 0,
- getNextPageParam: Dre
+ getNextPageParam: kre
};
}
-async function Ore(e, t) {
+async function Are(e, t) {
if (e.mode === "items") return;
if (e.mode === "entity") {
let n = KO(e);
@@ -31313,7 +31314,7 @@ async function Ore(e, t) {
})
});
}
-function kre(e, t, n) {
+function jre(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -31329,27 +31330,27 @@ function kre(e, t, n) {
}) : [...e];
}
var qO = (e, t) => !!e && !!UO(e, t);
-function Are(e, t) {
+function Mre(e, t) {
let n = (e.performers || [])[0];
return (e.is_jav && n ? n : e.creator) || n || e.studio || e.code || t((e.tags || [])[0] || "") || "为你推荐";
}
-function jre(e, t) {
+function Nre(e, t) {
let n = (e) => qO(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) => qO(e, t)) || e[e.length - 1];
}
-function Mre(e, { collapse: t, mix: n, javImage: r }) {
+function Pre(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 = kre(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = jre(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 = jre(e, r);
+ let t = Nre(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -31362,16 +31363,16 @@ function Mre(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function Nre(e, t, n) {
+function Fre(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 Pre(e, t) {
+function Ire(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 Fre(e, t) {
+function Lre(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -31399,7 +31400,7 @@ function YO(e, n, r, i, a) {
html: d.replace("<img ", `<img data-jav-image="${e.id}" data-jav-cover="${t(s)}" data-jav-thumb="${t(c)}" data-jav-image-layout="${n}" `)
};
}
-function Ire(e, n, r, i, a) {
+function Rre(e, n, r, i, a) {
if (e.is_jav) return YO(e, n, r, i, a);
let o = r ? "eager" : "lazy";
return e.follow_thumb_url ? {
@@ -31412,7 +31413,7 @@ function Ire(e, n, r, i, a) {
}
//#endregion
//#region src/react/components/media-card.tsx
-var XO = .75, Lre = 9 / 16;
+var XO = .75, zre = 9 / 16;
function ZO({ name: e }) {
return /* @__PURE__ */ (0, P.jsx)("svg", {
viewBox: "0 0 24 24",
@@ -31420,17 +31421,17 @@ function ZO({ name: e }) {
children: /* @__PURE__ */ (0, P.jsx)("use", { href: `#i-${e}` })
});
}
-var Rre = {
+var Bre = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, zre = (e) => e.is_jav ? "女优" : "艺人";
-function Bre(e, t, n) {
- return t === "short" || n.portrait ? Lre : n.active && e.is_jav && n.size === "big" ? XO : 16 / 9;
+}, Vre = (e) => e.is_jav ? "女优" : "艺人";
+function Hre(e, t, n) {
+ return t === "short" || n.portrait ? zre : n.active && e.is_jav && n.size === "big" ? XO : 16 / 9;
}
-function Vre(e, t) {
- let n = e.performers || [], r = e.performer_entities || [], i = n[0] || "", a = e.is_jav && i ? "" : e.creator || "", o = a ? "creator" : i ? "performer" : "", s = a || i || "未归属", c = n.length > 1 && !a, l = zre(e);
+function Ure(e, t) {
+ let n = e.performers || [], r = e.performer_entities || [], i = n[0] || "", a = e.is_jav && i ? "" : e.creator || "", o = a ? "creator" : i ? "performer" : "", s = a || i || "未归属", c = n.length > 1 && !a, l = Vre(e);
return {
avatar: c ? /* @__PURE__ */ (0, P.jsx)("div", {
"data-media-avatars": "",
@@ -31476,7 +31477,7 @@ function Vre(e, t) {
})
};
}
-function Hre() {
+function Wre() {
return /* @__PURE__ */ (0, P.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -31495,7 +31496,7 @@ function Hre() {
})]
});
}
-function Ure({ item: e, actions: t }) {
+function Gre({ item: e, actions: t }) {
let [n, r] = (0, N.useState)(null), [i, a] = (0, N.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, P.jsx)("div", {
"data-media-later": "",
@@ -31521,7 +31522,7 @@ function QO(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 Wre({ item: e, variant: t, layout: i, selected: a, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
+function Kre({ item: e, variant: t, layout: i, selected: a, selectMode: o, seekSeconds: s, helpers: c, actions: l, onOpen: u }) {
let d = (0, N.useRef)(null), f = (0, N.useRef)({
item: e,
helpers: c
@@ -31533,7 +31534,7 @@ function Wre({ item: e, variant: t, layout: i, selected: a, selectMode: o, seekS
let p = (0, N.useCallback)((e) => {
let { item: t, helpers: n } = f.current;
d.current && d.current !== e && n.releaseHover(d.current), d.current = e, e && (!t.medium || t.medium === "video") && n.wireHover(e, t);
- }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = Ire(e, i.active && e.is_jav ? i.size : "small", !1, i.javImage, c.coverHtml), v = m?.title || e.name || "", y = c.displayName(e, v), b = m?.total_size ?? e.size, x = m?.total_duration ?? e.duration, S = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = Vre(e, c), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
+ }, []), m = e.part_group || null, h = e.edition_group || null, g = !!(m || h), _ = Rre(e, i.active && e.is_jav ? i.size : "small", !1, i.javImage, c.coverHtml), v = m?.title || e.name || "", y = c.displayName(e, v), b = m?.total_size ?? e.size, x = m?.total_duration ?? e.duration, S = !m && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = Ure(e, c), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -31567,7 +31568,7 @@ function Wre({ item: e, variant: t, layout: i, selected: a, selectMode: o, seekS
u(e, r);
}, O = /* @__PURE__ */ (0, P.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(Bre(e, t, i)) },
+ style: { "--card-ratio": String(Hre(e, t, i)) },
children: [
_.html ? /* @__PURE__ */ (0, P.jsx)("span", {
"data-media-art": _.kind,
@@ -31613,8 +31614,8 @@ function Wre({ item: e, variant: t, layout: i, selected: a, selectMode: o, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, P.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, P.jsx)(Hre, {}),
- /* @__PURE__ */ (0, P.jsx)(Ure, {
+ /* @__PURE__ */ (0, P.jsx)(Wre, {}),
+ /* @__PURE__ */ (0, P.jsx)(Gre, {
item: e,
actions: l
}),
@@ -31720,8 +31721,8 @@ function Wre({ item: e, variant: t, layout: i, selected: a, selectMode: o, seekS
]
});
}
-function Gre({ item: e, selected: n, selectMode: i, helpers: a, actions: o, onOpen: s }) {
- let c = (0, N.useRef)(null), [l, u] = (0, N.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : Rre[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", _ = h === "restore" ? "还原" : "移入回收站", v = (t) => {
+function qre({ item: e, selected: n, selectMode: i, helpers: a, actions: o, onOpen: s }) {
+ let c = (0, N.useRef)(null), [l, u] = (0, N.useState)(!1), d = e.medium === "image" && e.location !== "online", f = String(e.name || ""), p = f.toLowerCase().endsWith(".url") ? "网址快捷方式" : Bre[e.medium || ""] || "其它文件", m = d ? "pics" : p === "网址快捷方式" ? "globe" : "hard-drive", h = e.disposal === "trash" ? "restore" : "dispose", _ = h === "restore" ? "还原" : "移入回收站", v = (t) => {
t.preventDefault(), t.stopPropagation(), !l && (u(!0), o.resourceOperation(e, h).catch(() => {}).finally(() => u(!1)));
}, y = (t) => {
if (c.current) {
@@ -31811,14 +31812,14 @@ function Gre({ item: e, selected: n, selectMode: i, helpers: a, actions: o, onOp
})]
});
}
-function Kre(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, P.jsx)(Gre, { ...e }) : /* @__PURE__ */ (0, P.jsx)(Wre, { ...e });
+function Jre(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, P.jsx)(qre, { ...e }) : /* @__PURE__ */ (0, P.jsx)(Kre, { ...e });
}
-var $O = (0, N.memo)(Kre), qre = { "text-aa": 1.435 }, ek = /* @__PURE__ */ new Map();
+var $O = (0, N.memo)(Jre), Yre = { "text-aa": 1.435 }, ek = /* @__PURE__ */ new Map();
function tk(e) {
let t = ek.get(e);
if (t) return t;
- let n = qre[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, P.jsx)("svg", {
+ let n = Yre[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, P.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -31836,12 +31837,12 @@ function tk(e) {
}
//#endregion
//#region src/react/components/use-stack-flip.ts
-var Jre = 1100, Yre = 340, Xre = 5e3;
-function Zre(e, t) {
+var Xre = 1100, Zre = 340, Qre = 5e3;
+function $re(e, t) {
return new Promise((n) => {
let r = new Image(), i = !1, a = (e) => {
i || (i = !0, clearTimeout(s), r.onload = null, r.onerror = null, t.cancels.delete(o), n(e));
- }, o = () => a(!1), s = setTimeout(o, Xre);
+ }, o = () => a(!1), s = setTimeout(o, Qre);
t.cancels.add(o), r.onerror = o, r.onload = () => {
if (!r.naturalWidth) {
a(!1);
@@ -31851,7 +31852,7 @@ function Zre(e, t) {
}, r.src = e;
});
}
-function Qre({ load: e, canFlip: t }) {
+function eie({ load: e, canFlip: t }) {
let [n, r] = (0, N.useState)([]), [i, a] = (0, N.useState)(0), [o, s] = (0, N.useState)(null), c = (0, N.useRef)({
live: !1,
generation: 0,
@@ -31893,11 +31894,11 @@ function Qre({ load: e, canFlip: t }) {
return;
}
if (!n() || !l.current.canFlip() || i.length < 2) return;
- let o = await Promise.all(i.map((t) => Zre(t, e)));
+ let o = await Promise.all(i.map((t) => $re(t, e)));
if (!n() || !l.current.canFlip()) return;
let u = i.filter((e, t) => o[t]);
u.length < 2 || (e.count = u.length, e.at = 0, r(u), a(0), s(null), d(420, () => {
- f(), e.cycle = setInterval(f, Jre);
+ f(), e.cycle = setInterval(f, Xre);
}));
};
return (0, N.useEffect)(() => u, [u]), {
@@ -31906,7 +31907,7 @@ function Qre({ load: e, canFlip: t }) {
leaving: o,
onPointerEnter: () => {
let e = c.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = d(Yre, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = d(Zre, () => {
e.armed = null, p();
});
},
@@ -31918,7 +31919,7 @@ function Qre({ load: e, canFlip: t }) {
//#endregion
//#region src/react/components/mix-card.tsx
var nk = tk("play");
-function $re({ src: e }) {
+function tie({ src: e }) {
let [t, n] = (0, N.useState)(!1);
return t ? null : /* @__PURE__ */ (0, P.jsx)("img", {
"data-mix-poster": "",
@@ -31930,7 +31931,7 @@ function $re({ src: e }) {
});
}
var rk = "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 eie({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
+function nie({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
return e.length ? /* @__PURE__ */ (0, P.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, P.jsx)("button", {
@@ -31949,7 +31950,7 @@ function eie({ faces: e, fallback: t, faceAvatar: n, onOpenEntity: r }) {
});
}
function ik({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, faceAvatar: s, onOpenEntity: c, onOpen: l, openLabel: u, menu: d, ratio: f, artwork: p, faceHtml: m, badge: h, glyph: g, wholeCard: _, ...v }) {
- let y = Qre({
+ let y = eie({
load: i,
canFlip: a
}), b = (0, N.useRef)(y.onPointerLeave);
@@ -31979,7 +31980,7 @@ function ik({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
p?.html ? /* @__PURE__ */ (0, P.jsx)("span", {
"data-media-art": p.kind,
dangerouslySetInnerHTML: { __html: p.html }
- }) : r ? /* @__PURE__ */ (0, P.jsx)($re, { src: r }, r) : /* @__PURE__ */ (0, P.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, P.jsx)(tie, { src: r }, r) : /* @__PURE__ */ (0, P.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -32023,7 +32024,7 @@ function ik({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
"data-mix-glyph": "",
"aria-hidden": !0,
children: /* @__PURE__ */ (0, P.jsx)(nk, {})
- }) : /* @__PURE__ */ (0, P.jsx)(eie, {
+ }) : /* @__PURE__ */ (0, P.jsx)(nie, {
faces: o,
fallback: e.slice(0, 1),
faceAvatar: s,
@@ -32049,19 +32050,19 @@ function ik({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
var ak = "";
-function tie(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, P.jsx)(rie, { ...e });
+function rie(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, P.jsx)(aie, { ...e });
let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${WO(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, P.jsx)(iie, { ...e }, t);
+ return /* @__PURE__ */ (0, P.jsx)(oie, { ...e }, t);
}
-function nie({ name: e }) {
+function iie({ name: e }) {
return /* @__PURE__ */ (0, P.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, P.jsx)("use", { href: `#i-${e}` })
});
}
-function rie(e) {
+function aie(e) {
let { actions: t } = e, n = (0, N.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, P.jsx)($O, {
item: i,
variant: r,
@@ -32082,7 +32083,7 @@ function rie(e) {
children: i
});
}
-function iie(e) {
+function oie(e) {
let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", o = !i && e.filters?.state === "trash", s = i ? KO(e) : GO(e), c = Ct({
queryKey: s.queryKey,
queryFn: ({ pageParam: e, signal: t }) => s.queryFn({
@@ -32095,7 +32096,7 @@ function iie(e) {
(0, N.useEffect)(() => {
c.isPending || l.current || (l.current = !0, e.settled?.(e.revision));
}, [c.isPending]);
- let { tiles: u, pageStarts: d } = (0, N.useMemo)(() => Mre(c.data?.pages || [], {
+ let { tiles: u, pageStarts: d } = (0, N.useMemo)(() => Pre(c.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !o,
javImage: r.javImage
@@ -32105,7 +32106,7 @@ function iie(e) {
e.mix,
o,
r.javImage
- ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), h = aie(c.isPending, e.skeletonHtml), g = (0, N.useRef)(null), _ = sie(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 = sie(c.isPending, e.skeletonHtml), g = (0, N.useRef)(null), _ = lie(e, c.data, u, d, g);
(0, N.useLayoutEffect)(() => {
if (!c.data) return;
e.onCount?.(p, f);
@@ -32121,7 +32122,7 @@ function iie(e) {
let v = (0, N.useCallback)((e, t) => n.open(e, t), [n]), y = (0, N.useCallback)((e, t) => n.openResource(e, t), [n]), b = (0, N.useCallback)((e) => n.openShort(e), [n]), x = (0, N.useCallback)(async () => {
let e = await c.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [c.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, P.jsx)(lie, {
+ }, [c.fetchNextPage]), S = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, P.jsx)(die, {
seed: i.seed,
layout: r,
helpers: t,
@@ -32160,15 +32161,15 @@ function iie(e) {
return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: Fre(u, _).map((t) => /* @__PURE__ */ (0, P.jsxs)(N.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)("div", {
+ children: Lre(u, _).map((t) => /* @__PURE__ */ (0, P.jsxs)(N.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(S)
- }), t.strip ? /* @__PURE__ */ (0, P.jsx)(cie, {
+ }), t.strip ? /* @__PURE__ */ (0, P.jsx)(uie, {
cut: t.strip,
props: e,
onOpen: b
}) : null] }, t.start))
- }), c.hasNextPage ? /* @__PURE__ */ (0, P.jsx)(oie, {
+ }), c.hasNextPage ? /* @__PURE__ */ (0, P.jsx)(cie, {
entity: i,
load: x,
enabled: () => e.canLoadMore?.() !== !1
@@ -32176,7 +32177,7 @@ function iie(e) {
})()]
});
}
-function aie(e, t) {
+function sie(e, t) {
let [n, r] = (0, N.useState)(e ? "skeleton" : "none"), [i] = (0, N.useState)(() => e ? t() : ""), a = (0, N.useRef)(null);
return (0, N.useLayoutEffect)(() => {
a.current && u(a.current);
@@ -32214,7 +32215,7 @@ function ok({ message: e, onRetry: t }) {
}) }
});
}
-function oie({ entity: e, load: t, enabled: n }) {
+function cie({ entity: e, load: t, enabled: n }) {
let r = (0, N.useRef)(null), i = (0, N.useRef)(!1), o = (0, N.useRef)(!1), [s, c] = (0, N.useState)({
busy: !1,
error: ""
@@ -32280,7 +32281,7 @@ function oie({ entity: e, load: t, enabled: n }) {
onRetry: () => void u(!0)
}) : null] });
}
-function sie(e, t, n, r, i) {
+function lie(e, t, n, r, i) {
let [a, o] = (0, N.useState)([]), [s, c] = (0, N.useState)(null), l = (0, N.useRef)(0), u = (0, N.useRef)(0), d = (0, N.useRef)([]);
return (0, N.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, N.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -32289,7 +32290,7 @@ function sie(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- Dw(`/api/items?${Pre(e.filters || {}, l.current)}`, r.signal).then((t) => {
+ Ew(`/api/items?${Ire(e.filters || {}, l.current)}`, r.signal).then((t) => {
let n = t.items || [];
if (!n.length) {
l.current = 0;
@@ -32305,7 +32306,7 @@ function sie(e, t, n, r, i) {
}, [t]), (0, N.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 = Nre(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 = Fre(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, {
@@ -32315,7 +32316,7 @@ function sie(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function cie({ cut: e, props: t, onOpen: n }) {
+function uie({ cut: e, props: t, onOpen: n }) {
let r = (0, N.useRef)(null), { wireDrag: i } = t;
return (0, N.useEffect)(() => {
r.current && i(r.current);
@@ -32331,7 +32332,7 @@ function cie({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, P.jsx)(nie, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, P.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, P.jsx)(iie, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, P.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, P.jsx)("div", {
ref: r,
@@ -32360,10 +32361,10 @@ function sk(e, t, n, r) {
html: `<img class="poster" src="/poster?id=${e.id}&c=4" alt="" loading="${n ? "eager" : "lazy"}">`
};
}
-function lie({ seed: e, layout: t, helpers: n, actions: r }) {
+function die({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, N.useRef)(/* @__PURE__ */ new Map()), a = (0, N.useRef)(t);
a.current = t;
- let o = Are(e, n.tagLabel), s = (0, N.useCallback)(async () => {
+ let o = Mre(e, n.tagLabel), s = (0, N.useCallback)(async () => {
let t = a.current, o = [e, ...await r.mixRelated(e.id)].filter((e) => qO(e, t.javImage)).slice(0, 9);
return i.current = new Map(o.map((e) => [String(e.id), sk(e, t, !0, n).html])), o.map((e) => String(e.id));
}, [
@@ -32394,7 +32395,7 @@ function lie({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var uie = bw({
+var fie = yw({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -32456,23 +32457,23 @@ var uie = bw({
}
}
});
-function die({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = uie[t];
+function pie({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = fie[t];
return /* @__PURE__ */ (0, P.jsx)("span", {
"aria-hidden": !0,
- className: yw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? yw("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: vw("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? vw("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, P.jsx)("span", {
- className: yw("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, P.jsx)("span", { className: yw("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: vw("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, P.jsx)("span", { className: vw("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 ck({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, P.jsx)(OD, {
+ return /* @__PURE__ */ (0, P.jsx)(kD, {
ref: i,
...a,
- className: (t) => yw("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, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(die, {
+ className: (t) => vw("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, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(pie, {
state: e,
size: n,
shape: r
@@ -32484,19 +32485,19 @@ function ck({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/overlay-host.ts
-function fie(e) {
+function mie(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 pie(e) {
+function hie(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return fie(n ?? t.body);
+ return mie(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var mie = "/api/cover-crop", hie = (e, t) => q(mie, {
+var gie = "/api/cover-crop", _ie = (e, t) => q(gie, {
code: e,
box: t
}), lk = .704;
@@ -32513,7 +32514,7 @@ function uk({ className: e }) {
children: /* @__PURE__ */ (0, P.jsx)("use", { href: "#i-crop" })
});
}
-function gie({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function vie({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, N.useState)(!1), o = (0, N.useRef)(null);
return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)("button", {
ref: o,
@@ -32525,14 +32526,14 @@ function gie({ 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, P.jsx)(uk, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, P.jsx)(Kv, {
- getContainer: () => pie(o.current),
+ }), /* @__PURE__ */ (0, P.jsx)(Gv, {
+ getContainer: () => hie(o.current),
children: /* @__PURE__ */ (0, P.jsx)(MO, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, P.jsx)(_ie, {
+ children: /* @__PURE__ */ (0, P.jsx)(yie, {
code: e,
coverUrl: t,
box: n,
@@ -32542,9 +32543,9 @@ function gie({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function _ie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+function yie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
let [a, o] = (0, N.useState)(null), [s, c] = (0, N.useState)(null), [l, u] = (0, N.useState)(!0), d = PO(), f = St({
- mutationFn: (t) => hie(e, t),
+ mutationFn: (t) => _ie(e, t),
onSuccess: () => {
i(), r();
}
@@ -32556,7 +32557,7 @@ function _ie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : Jne(e, lk);
+ } : Xne(e, lk);
c(OO(t, e, null));
}
let m = f.isPending;
@@ -32584,7 +32585,7 @@ function _ie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
]
}),
/* @__PURE__ */ (0, P.jsx)(vO, {
- icon: xS,
+ icon: bS,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -32640,19 +32641,19 @@ function _ie({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/media-sources.ts
-var vie = "/api/sources", dk = ["media-sources"], fk = (e) => Dw(vie, e);
+var bie = "/api/sources", dk = ["media-sources"], fk = (e) => Ew(bie, e);
async function pk(e) {
await X.fetchQuery({
queryKey: dk,
queryFn: () => fk(e)
});
}
-var yie = [
+var xie = [
"local",
"115",
"pikpak"
-], bie = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), xie = "/api/duplicates?limit=120", mk = ["duplicates"], Sie = "/api/batch", hk = (e) => Dw(xie, e);
-async function Cie(e) {
+], Sie = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Cie = "/api/duplicates?limit=120", mk = ["duplicates"], wie = "/api/batch", hk = (e) => Ew(Cie, e);
+async function Tie(e) {
await Promise.all([X.fetchQuery({
queryKey: mk,
queryFn: () => hk(e)
@@ -32664,8 +32665,8 @@ var gk = {
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, wie = (e, t) => t.filter((t) => e.some((e) => e.location === t)), _k = (e, t) => wie(e, t).filter((t) => e.some((e) => e.location !== t)), Tie = (e, t) => t.filter((t) => e.some((e) => _k(e.files, [t]).length));
-function Eie(e, t) {
+}, Eie = (e, t) => t.filter((t) => e.some((e) => e.location === t)), _k = (e, t) => Eie(e, t).filter((t) => e.some((e) => e.location !== t)), Die = (e, t) => t.filter((t) => e.some((e) => _k(e.files, [t]).length));
+function Oie(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -32684,30 +32685,30 @@ function Eie(e, t) {
}
return n;
}
-function Die(e, t) {
+function kie(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 vk(e, t) {
- for (let n = 0; n < e.length; n += 200) await q(Sie, {
+ for (let n = 0; n < e.length; n += 200) await q(wie, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var yk = "/api/library-processing", bk = ["library-processing"], xk = (e) => Dw(yk, e);
+var yk = "/api/library-processing", bk = ["library-processing"], xk = (e) => Ew(yk, e);
async function Sk(e) {
await X.fetchQuery({
queryKey: bk,
queryFn: () => xk(e)
});
}
-var Oie = 2e3, kie = 1e4, Ck = "连接中断,正在重新读取处理进度";
-function Aie(e, t) {
- return e?.status === "running" ? Oie : t ? kie : !1;
+var Aie = 2e3, jie = 1e4, Ck = "连接中断,正在重新读取处理进度";
+function Mie(e, t) {
+ return e?.status === "running" ? Aie : t ? jie : !1;
}
-var jie = {
+var Nie = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
@@ -32716,15 +32717,15 @@ var jie = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function Mie(e) {
+function Pie(e) {
let t = Object.entries(e).filter(([e, t]) => wk[e] && t > 0).map(([e, t]) => `${wk[e]} ${t} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
function Tk(e) {
- let t = jie[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
+ let t = Nie[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 Nie(e) {
+function Fie(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -32738,10 +32739,10 @@ function Nie(e) {
log: e.issues_log || ""
} : null;
}
-var Ek = "peach.library-processing.announced", Pie = 120;
-function Fie(e, t, n) {
+var Ek = "peach.library-processing.announced", Iie = 120;
+function Lie(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Pie;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Iie;
if (!(!n && !r)) {
try {
if (e.job_id && localStorage.getItem(Ek) === e.job_id) return;
@@ -32752,7 +32753,7 @@ function Fie(e, t, n) {
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var Dk = "/api/media-repair", Ok = ["media-repair"], kk = ["media-repair", "libraries"], Iie = {
+var Dk = "/api/media-repair", Ok = ["media-repair"], kk = ["media-repair", "libraries"], Rie = {
status: "idle",
library: "",
stage: "",
@@ -32764,8 +32765,8 @@ var Dk = "/api/media-repair", Ok = ["media-repair"], kk = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, Ak = (e) => Dw(Dk, e), jk = async (e) => (await Dw("/api/libraries", e)).libraries || [];
-async function Lie(e) {
+}, Ak = (e) => Ew(Dk, e), jk = async (e) => (await Ew("/api/libraries", e)).libraries || [];
+async function zie(e) {
await Promise.all([X.fetchQuery({
queryKey: Ok,
queryFn: () => Ak(e)
@@ -32775,21 +32776,21 @@ async function Lie(e) {
})]);
}
var Mk = (e) => Number(e).toLocaleString();
-function Rie(e) {
+function Bie(e) {
if (e.status === "running") {
let t = e.total ? `${Mk(e.checked)} / ${Mk(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${Mk(e.repaired)} 部,${Mk(e.failed)} 部修不了` : `修好 ${Mk(e.repaired)} 部` : "";
}
-var zie = (e) => `${Mk(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Bie = "/api/quality-goals?limit=200", Nk = ["quality-goals"], Pk = (e) => Dw(Bie, e);
-async function Vie(e) {
+var Vie = (e) => `${Mk(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Hie = "/api/quality-goals?limit=200", Nk = ["quality-goals"], Pk = (e) => Ew(Hie, e);
+async function Uie(e) {
await X.fetchQuery({
queryKey: Nk,
queryFn: () => Pk(e)
});
}
-var Hie = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
+var Wie = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;
function Fk(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);
@@ -32818,7 +32819,7 @@ function Lk(e, t) {
}
//#endregion
//#region src/selection.ts
-function Uie(e, t, n, r, i, a = i || !e.has(r)) {
+function Gie(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;
}
@@ -32833,7 +32834,7 @@ function Rk(e) {
}
//#endregion
//#region src/react/review/review.ts
-var Wie = "/api/review", Gie = "/api/review/decision", Kie = "/api/review/genre", zk = ["review"], Bk = {
+var Kie = "/api/review", qie = "/api/review/decision", Jie = "/api/review/genre", zk = ["review"], Bk = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -32843,11 +32844,11 @@ var Wie = "/api/review", Gie = "/api/review/decision", Kie = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, qie = Object.keys(Bk), Jie = "metadata_fields", Vk = (e) => typeof e == "string" && Object.hasOwn(Bk, e), Yie = {
+}, Yie = Object.keys(Bk), Xie = "metadata_fields", Vk = (e) => typeof e == "string" && Object.hasOwn(Bk, e), Zie = {
creator_tags: "creator",
western_identity: "creator"
};
-function Xie(e, t) {
+function Qie(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;
}
@@ -32868,10 +32869,10 @@ function Hk(e, t) {
}
return [...n.values()];
}
-function Zie(e, t, n) {
+function $ie(e, t, n) {
return n && Hk(e, t).find((e) => e.key === n)?.rows || e;
}
-function Qie(e, t) {
+function eae(e, t) {
let n = Ik(e.length, 20), r = Lk(t, n);
return {
page: r,
@@ -32879,11 +32880,11 @@ function Qie(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function $ie(e) {
+function tae(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 eae(e, t, n, r, i, a) {
- return Uie(e, t, n, r, i, a);
+function nae(e, t, n, r, i, a) {
+ return Gie(e, t, n, r, i, a);
}
function Uk(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
@@ -32892,12 +32893,12 @@ function Wk(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
var Gk = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function tae(e, t) {
+function rae(e, t) {
let n = Wk(e, t), r = Gk(e, t);
return r ? `${n} · ${r}` : n;
}
-var nae = (e) => e.reason || e.evidence || e.note || e.decision_note || "", rae = (e) => String(e.tags || "").split("|").filter(Boolean), iae = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function aae(e) {
+var iae = (e) => e.reason || e.evidence || e.note || e.decision_note || "", aae = (e) => String(e.tags || "").split("|").filter(Boolean), oae = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function sae(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
@@ -32920,11 +32921,11 @@ function Kk(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var oae = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", qk = (e) => Dw(Wie, e), Jk = (e) => q(Gie, e), sae = (e, t) => q(Kie, {
+var cae = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", qk = (e) => Ew(Kie, e), Jk = (e) => q(qie, e), lae = (e, t) => q(Jie, {
genre: e,
tag: t
});
-async function cae(e) {
+async function uae(e) {
await X.fetchQuery({
queryKey: zk,
queryFn: () => qk(e)
@@ -32948,16 +32949,16 @@ function Yk(e, t) {
};
});
}
-var lae = () => X.invalidateQueries({
+var dae = () => X.invalidateQueries({
queryKey: zk,
exact: !0
});
-function uae(e, t) {
+function fae(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Rk(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var dae = "/api/links", Xk = "/api/links/check", Zk = "/api/links/prune", Qk = ["links"], $k = ["links", "check"], eA = ["links", "prune"], tA = {
+var pae = "/api/links", Xk = "/api/links/check", Zk = "/api/links/prune", Qk = ["links"], $k = ["links", "check"], eA = ["links", "prune"], tA = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
@@ -32968,50 +32969,50 @@ async function nA(e) {
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var rA = (e) => Dw(dae, e), iA = (e) => q(Xk, { status_only: !0 }, "POST", e), fae = ({ retry: e, checkId: t }) => nA(q(Xk, e ? {
+var rA = (e) => Ew(pae, e), iA = (e) => q(Xk, { status_only: !0 }, "POST", e), mae = ({ retry: e, checkId: t }) => nA(q(Xk, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), aA = (e) => Dw(Zk, e), pae = (e) => nA(q(Zk, {
+} : { restart: !0 })), aA = (e) => Ew(Zk, e), hae = (e) => nA(q(Zk, {
confirm: !0,
check_id: e,
background: !0
-})), oA = (e) => Number(e || 0).toLocaleString(), mae = (e) => `已删除 ${oA(e.removed)} 条;${e.marked ? `已隐退女优的 ${oA(e.marked)} 条留作不可点的记录;` : ""}保留 ${oA(e.recovered)} 条未确认失效的链接。`;
-function hae(e) {
+})), oA = (e) => Number(e || 0).toLocaleString(), gae = (e) => `已删除 ${oA(e.removed)} 条;${e.marked ? `已隐退女优的 ${oA(e.marked)} 条留作不可点的记录;` : ""}保留 ${oA(e.recovered)} 条未确认失效的链接。`;
+function _ae(e) {
let t = e.scope === "retry";
return e.total ? `${t ? "已重验" : "已检查"} ${oA(e.checked)} / ${oA(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var gae = "/api/organize", _ae = "/api/organize/preview", vae = "/api/organize/apply", yae = "/api/organize/rollback", bae = "/api/settings", sA = ["organize"], cA = (e) => Dw(gae, e);
-async function xae(e) {
+var vae = "/api/organize", yae = "/api/organize/preview", bae = "/api/organize/apply", xae = "/api/organize/rollback", Sae = "/api/settings", sA = ["organize"], cA = (e) => Ew(vae, e);
+async function Cae(e) {
await X.fetchQuery({
queryKey: sA,
queryFn: () => cA(e)
});
}
-var Sae = (e) => q(_ae, e), Cae = (e) => e.kind === "apply" ? q(vae, {
+var wae = (e) => q(yae, e), Tae = (e) => e.kind === "apply" ? q(bae, {
...e.request,
confirm: !0
-}) : q(yae, { confirm: !0 });
-async function wae(e) {
+}) : q(xae, { confirm: !0 });
+async function Eae(e) {
X.setQueryData(sA, (t) => t && {
...t,
templates: e
});
try {
- await q(bae, { organizeTemplates: e });
+ await q(Sae, { organizeTemplates: e });
} catch {}
}
-var Tae = (e, t) => e && {
+var Dae = (e, t) => e && {
...e,
...t
-}, Eae = /目录模板|分隔符|盘符|`\.`/;
+}, Oae = /目录模板|分隔符|盘符|`\.`/;
function lA(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
var uA = (e) => Number(e || 0).toLocaleString();
-function Dae(e) {
+function kae(e) {
let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${uA(t)}`).join(" · ");
return Number(e.counts?.change || 0) ? `${uA(e.counts.change)} 个文件会改名或移动,${uA(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
@@ -33028,16 +33029,16 @@ function dA(e) {
var fA = "/api/resource-sync/scan", pA = "/api/resource-sync/apply", mA = ["resource-sync", "scan"], hA = ["resource-sync", "apply"], gA = (e) => q(fA, {
background: !0,
status_only: !0
-}, "POST", e), Oae = () => q(fA, {
+}, "POST", e), Aae = () => q(fA, {
background: !0,
restart: !0
-}), _A = (e) => Dw(pA, e), kae = (e) => q(pA, {
+}), _A = (e) => Ew(pA, e), jae = (e) => q(pA, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), vA = (e) => (e?.sources ?? []).some((e) => yie.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function Aae(e) {
+}), vA = (e) => (e?.sources ?? []).some((e) => xie.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function Mae(e) {
vA(X.getQueryData(dk)) && await Promise.all([X.fetchQuery({
queryKey: mA,
queryFn: () => gA(e)
@@ -33046,11 +33047,11 @@ async function Aae(e) {
queryFn: () => _A(e)
})]);
}
-var jae = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Mae = {
+var Nae = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Pae = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, yA = (e) => Number(e || 0).toLocaleString(), Nae = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Pae = (e) => `将永久删除文件已不在盘上的 ${yA(e.missing)} 条记录和 ${yA(e.empty)} 个空文件夹,并清理 ${yA(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, Fae = (e) => `将永久删除文件已不在盘上的 ${yA(e.missing)} 条记录(含回收站里的)、${yA(e.empty)} 个空文件夹,并清理 ${yA(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, Iae = (e) => e.online ? [
+}, yA = (e) => Number(e || 0).toLocaleString(), Fae = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Iae = (e) => `将永久删除文件已不在盘上的 ${yA(e.missing)} 条记录和 ${yA(e.empty)} 个空文件夹,并清理 ${yA(e.cache?.files)} 个闲置缓存。这一步不可撤销。`, Lae = (e) => `将永久删除文件已不在盘上的 ${yA(e.missing)} 条记录(含回收站里的)、${yA(e.empty)} 个空文件夹,并清理 ${yA(e.cache?.files)} 个闲置缓存。来源根目录保留。这一步不可撤销。`, Rae = (e) => e.online ? [
`找不到文件 · 共 ${yA(e.total)} 项`,
e.empty ? `空文件夹 ${yA(e.empty)} 个` : "",
e.unreadable ? `${yA(e.unreadable)} 个目录读取失败,已跳过` : ""
@@ -33067,19 +33068,19 @@ function bA(e) {
].filter(Boolean).join(",")
};
}
-var Lae = (e, t) => {
+var zae = (e, t) => {
let { rest: n } = bA(e), r = `已永久删除 ${yA(e.purged)} 条失效记录和 ${yA(e.dirs_removed)} 个空文件夹,清理 ${yA(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。`;
return n ? `${r}${n},重新检查后可再试。` : r;
-}, Rae = "/api/review?counts=1", xA = ["review", "counts"], zae = "/api/ads?limit=1", SA = ["junk-summary"], CA = "/api/items?state=trash&limit=1", wA = ["trash-summary"], Bae = [
+}, Bae = "/api/review?counts=1", xA = ["review", "counts"], Vae = "/api/ads?limit=1", SA = ["junk-summary"], CA = "/api/items?state=trash&limit=1", wA = ["trash-summary"], Hae = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], TA = (e) => Dw(Rae, e), EA = (e) => Dw(zae, e), DA = (e) => {
+], TA = (e) => Ew(Bae, e), EA = (e) => Ew(Vae, e), DA = (e) => {
let t = sessionStorage.getItem("peach.library");
- return Dw(t ? `${CA}&library=${encodeURIComponent(t)}` : CA, e);
+ return Ew(t ? `${CA}&library=${encodeURIComponent(t)}` : CA, e);
}, OA = (e) => Number(e || 0).toLocaleString();
function kA(e) {
let t = Bk, 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);
@@ -33090,7 +33091,7 @@ function kA(e) {
}
function AA(e) {
if (!e) return "";
- let t = Bae.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${OA(e.counts[t])}`);
+ let t = Hae.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${OA(e.counts[t])}`);
return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${OA(e.dismissed_total)}`), t.join(" · ");
}
var jA = [
@@ -33122,10 +33123,10 @@ async function MA(e) {
queryKey: mk,
queryFn: () => hk(e)
}),
- pk(e).then(() => Aae(e)),
+ pk(e).then(() => Mae(e)),
Sk(e),
- Lie(e),
- xae(e)
+ zie(e),
+ Cae(e)
]);
}
//#endregion
@@ -33142,14 +33143,14 @@ var NA = [
"bg-chart-8/10"
];
function FA(e = {}) {
- return `${Ow({
+ return `${Dw({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
var IA = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4";
function LA({ interactive: e = !1 } = {}) {
- return Ow({
+ return Dw({
padding: "none",
radius: "plain",
interactive: e,
@@ -33218,7 +33219,7 @@ function BA({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var VA = bw({
+var VA = yw({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -33243,7 +33244,7 @@ var VA = bw({
}
});
function HA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = yw(VA.base, VA.size[t], VA.variant[e], a), l = /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
+ let c = vw(VA.base, VA.size[t], VA.variant[e], a), l = /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
n ? /* @__PURE__ */ (0, P.jsx)(n, {
className: VA.icon[t],
"aria-hidden": !0
@@ -33292,7 +33293,7 @@ var UA = [
}).medium;
//#endregion
//#region src/management.ts
-var JA = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", YA = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", XA = Ow({
+var JA = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", YA = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", XA = Dw({
padding: "none",
bordered: "line",
className: "overflow-hidden"
@@ -33305,7 +33306,7 @@ var JA = "扫描媒体文件夹,导入已有资料,采集缺失信息。两
}, $A = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", ej = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, tj = Ow({
+}, tj = Dw({
padding: "none",
radius: "surface",
bordered: "line",
@@ -33377,7 +33378,7 @@ function lj({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await q("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof Tw ? e.message : cj);
+ c.current && s(e instanceof ww ? e.message : cj);
} finally {
c.current && a(!1);
}
@@ -33388,7 +33389,7 @@ function lj({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, P.jsxs)("p", {
- className: yw("min-w-0 break-all", n),
+ className: vw("min-w-0 break-all", n),
children: [t, e]
}), /* @__PURE__ */ (0, P.jsx)(vO, {
icon: sj,
@@ -33408,19 +33409,19 @@ function lj({ path: e, prefix: t, className: n, onRevealed: r }) {
//#region src/react/boardui/components/application/settings/settings-rows.tsx
function uj({ className: e, children: t }) {
return /* @__PURE__ */ (0, P.jsx)("div", {
- className: yw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: vw("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
function dj({ className: e, children: t }) {
return /* @__PURE__ */ (0, P.jsx)("p", {
- className: yw("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: vw("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
function fj({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, P.jsxs)("div", {
- className: yw("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: vw("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, P.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, P.jsx)("p", {
@@ -33507,7 +33508,7 @@ function bj({ href: e, children: t }) {
target: "_blank",
rel: "noopener noreferrer",
size: "small",
- trailingIcon: ES,
+ trailingIcon: TS,
children: t
});
}
@@ -33542,7 +33543,7 @@ function Cj({ summary: e, defaultOpen: t = !1, children: n }) {
e.preventDefault(), !(!i.current || !a.current) && (h(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, P.jsx)(vS, {
+ children: [/* @__PURE__ */ (0, P.jsx)(_S, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -33581,14 +33582,14 @@ function Ej({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = xt({
queryKey: bk,
queryFn: ({ signal: e }) => xk(e),
- refetchInterval: (e) => Aie(e.state.data, r)
+ refetchInterval: (e) => Mie(e.state.data, r)
}), [a, o] = (0, N.useState)(null), s = (0, N.useRef)(void 0), c = i.data;
return (0, N.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") && Fie(c, e, r);
+ r && o(c), (r || t === "notice") && Lie(c, e, r);
}, [
c,
t,
@@ -33604,20 +33605,20 @@ function Ej({ toast: e, mode: t, monitor: n }) {
var Dj = [
{
label: "扫描并补全资料",
- icon: CS,
+ icon: SS,
command: {}
},
{
label: "只扫描",
- icon: AS,
+ icon: kS,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: kS,
+ icon: OS,
command: { stage: "collect" }
}
-], Oj = yw(KA, qA, "text-body-2-medium"), kj = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Aj = (e) => {
+], Oj = vw(KA, qA, "text-body-2-medium"), kj = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Aj = (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} 张`];
@@ -33632,14 +33633,14 @@ function Mj({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, P.jsx)(G, {
- leadingIcon: CS,
+ leadingIcon: SS,
onClick: () => a({}),
...Y(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, P.jsx)(G, {
ref: n,
iconOnly: !0,
- leadingIcon: gS,
+ leadingIcon: hS,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -33648,14 +33649,14 @@ function Mj({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, P.jsx)(GE, {
+ }), /* @__PURE__ */ (0, P.jsx)(KE, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
className: UA,
- children: /* @__PURE__ */ (0, P.jsx)(YE, {
+ children: /* @__PURE__ */ (0, P.jsx)(XE, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: Dj.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, P.jsxs)("button", {
@@ -33671,7 +33672,7 @@ function Mj({ busy: e, onRun: t }) {
})] });
}
function Nj({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = Nie(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Mie(e.notes || {}), c = PO();
+ let a = Fie(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Pie(e.notes || {}), c = PO();
return /* @__PURE__ */ (0, P.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -33776,13 +33777,13 @@ function Pj(e) {
/* @__PURE__ */ (0, P.jsx)(HA, {
href: "/scraping",
size: "small",
- trailingIcon: _S,
+ trailingIcon: gS,
children: "来源和凭证"
}),
s.candidates ? /* @__PURE__ */ (0, P.jsx)(HA, {
href: "/review",
size: "small",
- trailingIcon: _S,
+ trailingIcon: gS,
children: "复核资料"
}) : null,
/* @__PURE__ */ (0, P.jsx)(Mj, {
@@ -33814,7 +33815,7 @@ function Pj(e) {
s.total,
" 个视频"
]
- })] }) : /* @__PURE__ */ (0, P.jsx)(Aw, { label: u })
+ })] }) : /* @__PURE__ */ (0, P.jsx)(kw, { label: u })
}) : null
]
})
@@ -33895,27 +33896,27 @@ function Bj({ className: e, triggerClassName: t, popoverClassName: n, size: r =
let l = (0, N.useRef)(null), u = (0, N.useRef)(null), [d, f] = (0, N.useState)(!1);
Lj(d, () => f(!1), [l, u]);
let p = Rj(d, l);
- return /* @__PURE__ */ (0, P.jsx)(xD, {
+ return /* @__PURE__ */ (0, P.jsx)(SD, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: yw("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsxs)(mne, {
+ className: vw("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsxs)(gne, {
ref: l,
- className: yw("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, P.jsx)(TD, {
- className: yw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: vw("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, P.jsx)(ED, {
+ className: vw("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, P.jsx)(Fj, { className: yw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, P.jsx)(GE, {
+ }), /* @__PURE__ */ (0, P.jsx)(Fj, { className: vw("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, P.jsx)(KE, {
ref: u,
isNonModal: !0,
offset: 4,
- className: yw(WA, UA, "p-2", n),
- children: /* @__PURE__ */ (0, P.jsx)(AE, {
+ className: vw(WA, UA, "p-2", n),
+ children: /* @__PURE__ */ (0, P.jsx)(jE, {
items: a,
- className: yw(GA, "max-h-[240px] overflow-auto"),
+ className: vw(GA, "max-h-[240px] overflow-auto"),
children: /* @__PURE__ */ (0, P.jsx)(zj.Provider, {
value: r,
children: i
@@ -33926,9 +33927,9 @@ function Bj({ className: e, triggerClassName: t, popoverClassName: n, size: r =
}
function Vj({ className: e, children: t, ...n }) {
let r = (0, N.useContext)(zj);
- return /* @__PURE__ */ (0, P.jsx)(PE, {
+ return /* @__PURE__ */ (0, P.jsx)(FE, {
...n,
- className: (t) => yw(KA, 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) => vw(KA, 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
});
}
@@ -33985,7 +33986,7 @@ function Jj() {
}), t = xt({
queryKey: kk,
queryFn: ({ signal: e }) => jk(e)
- }), [n, r] = (0, N.useState)(""), i = Nw(), a = e.data ?? Iie, 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], u = () => {
+ }), [n, r] = (0, N.useState)(""), i = Nw(), a = e.data ?? Rie, 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], u = () => {
c && l({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
@@ -33995,7 +33996,7 @@ function Jj() {
restart: !0
}))
});
- }, d = () => void i.run("stop", (e) => q(Dk, { stop: !0 }, "POST", e), qj), f = Rie(a), p = a.status === "complete", m = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, d = () => void i.run("stop", (e) => q(Dk, { stop: !0 }, "POST", e), qj), f = Bie(a), p = a.status === "complete", m = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex flex-col gap-4",
children: [/* @__PURE__ */ (0, P.jsx)(oj, {
@@ -34055,7 +34056,7 @@ function Jj() {
p && a.missing_tool ? /* @__PURE__ */ (0, P.jsx)(J, {
tone: "warning",
title: "缺少 untrunc",
- children: zie(a)
+ children: Vie(a)
}) : null,
m ? /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
@@ -34085,7 +34086,7 @@ function Xj({ state: e, size: t = "md" }) {
let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = Yj[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, P.jsx)("span", {
"aria-hidden": !0,
- className: yw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? yw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : yw("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: vw("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? vw("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : vw("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, P.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -34111,15 +34112,15 @@ function Xj({ state: e, size: t = "md" }) {
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
function Zj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
let a = Yj[n];
- return /* @__PURE__ */ (0, P.jsx)(bne, {
+ return /* @__PURE__ */ (0, P.jsx)(Sne, {
ref: r,
...i,
- className: (t) => yw("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ className: (t) => vw("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, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(Xj, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, P.jsx)("span", {
- className: yw(a.label, "text-text-primary"),
+ className: vw(a.label, "text-text-primary"),
children: t
})] })
});
@@ -34128,11 +34129,11 @@ function Zj({ className: e, children: t, size: n = "md", ref: r, ...i }) {
//#region src/react/boardui/components/base/table/table.tsx
function Qj({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, P.jsx)("div", {
- className: yw("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, P.jsx)(JD, {
+ className: vw("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, P.jsx)(YD, {
ref: r,
...i,
- className: yw("bui-table", e === "sm" && "bui-table-sm", t)
+ className: vw("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
@@ -34245,7 +34246,7 @@ function cM({ 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, P.jsx)(ES, {
+ }), /* @__PURE__ */ (0, P.jsx)(TS, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -34267,7 +34268,7 @@ function lM({ line: e, value: t, total: n }) {
}), /* @__PURE__ */ (0, P.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, P.jsx)(Aw, { label: e })
+ })] }) : /* @__PURE__ */ (0, P.jsx)(kw, { label: e })
});
}
function uM() {
@@ -34277,7 +34278,7 @@ function uM() {
}), [t, n] = (0, N.useState)([]), r = Gj({
queryKey: eA,
queryFn: ({ signal: e }) => aA(e),
- start: pae,
+ start: hae,
onFinish: () => {
X.invalidateQueries({
queryKey: Qk,
@@ -34290,7 +34291,7 @@ function uM() {
}), i = Gj({
queryKey: $k,
queryFn: ({ signal: e }) => iA(e),
- start: fae,
+ start: mae,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -34320,7 +34321,7 @@ function uM() {
else if (v) b = /* @__PURE__ */ (0, P.jsx)(J, {
tone: "success",
title: "完成",
- children: mae(v)
+ children: gae(v)
});
else if (y) b = /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
@@ -34343,7 +34344,7 @@ function uM() {
className: tj,
children: [
a.status === "running" ? /* @__PURE__ */ (0, P.jsx)(lM, {
- line: hae(a),
+ line: _ae(a),
value: a.checked,
total: a.total
}) : null,
@@ -34499,8 +34500,8 @@ function hM({ toast: t, failure: n }) {
file_template: m.file.trim(),
dir_template: m.dir.trim()
}), x = St({
- mutationFn: Sae,
- onSuccess: (e, t) => void wae({
+ mutationFn: wae,
+ onSuccess: (e, t) => void Eae({
...i?.templates ?? {},
[t.location]: {
file: t.file_template,
@@ -34508,15 +34509,15 @@ function hM({ toast: t, failure: n }) {
}
}),
onError: (e) => {
- let t = Eae.test(K(e)) ? "dir" : "file";
+ let t = Oae.test(K(e)) ? "dir" : "file";
_(t), (t === "dir" ? y : v).current?.focus();
}
}), S = Gj({
queryKey: sA,
queryFn: ({ signal: e }) => cA(e),
- start: Cae,
+ start: Tae,
jobOf: (e) => e,
- withJob: Tae,
+ withJob: Dae,
onStarted: () => x.reset(),
onFinish: (e) => {
if (X.invalidateQueries({
@@ -34554,7 +34555,7 @@ function hM({ toast: t, failure: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e
})]
- }) : /* @__PURE__ */ (0, P.jsx)(Aw, { label: e });
+ }) : /* @__PURE__ */ (0, P.jsx)(kw, { label: e });
} else if (F?.status === "failed") j = /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
title: "任务失败",
@@ -34571,14 +34572,14 @@ function hM({ toast: t, failure: n }) {
tone: "error",
title: "整理失败",
children: K(S.start.error)
- }) : x.isPending ? j = /* @__PURE__ */ (0, P.jsx)(Aw, { label: "正在按模板算计划…" }) : x.isError ? j = /* @__PURE__ */ (0, P.jsx)(J, {
+ }) : x.isPending ? j = /* @__PURE__ */ (0, P.jsx)(kw, { label: "正在按模板算计划…" }) : x.isError ? j = /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
title: "模板不可用",
children: K(x.error)
}) : w && (j = /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(J, {
tone: "neutral",
title: "预览结果",
- children: Dae(w)
+ children: kae(w)
}), T ? /* @__PURE__ */ (0, P.jsx)(mM, { plan: w }) : null] }));
return /* @__PURE__ */ (0, P.jsxs)(oj, {
layout: "stack",
@@ -34699,14 +34700,14 @@ function SM({ scan: e }) {
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, P.jsx)("article", {
className: LA(),
children: /* @__PURE__ */ (0, P.jsx)(zA, {
- label: Mae[e.location] || "媒体来源",
+ label: Pae[e.location] || "媒体来源",
mark: /* @__PURE__ */ (0, P.jsx)(Tj, { mark: s[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, P.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
figure: e.online ? `${xM(e.missing)} 项` : "—",
- meta: Iae(e),
+ meta: Rae(e),
wrapMeta: !0
})
}, e.location))
@@ -34744,7 +34745,7 @@ function CM({ toast: e }) {
let t = Gj({
queryKey: hA,
queryFn: ({ signal: e }) => _A(e),
- start: kae,
+ start: jae,
onFinish: (t) => {
if (X.invalidateQueries({
queryKey: wA,
@@ -34759,11 +34760,11 @@ function CM({ toast: e }) {
}), n = Gj({
queryKey: mA,
queryFn: ({ signal: e }) => gA(e),
- start: Oae,
+ start: Aae,
onStarted: () => t.dismiss()
}), i = n.job, a = n.running || n.start.isPending, o = t.running || t.start.isPending, s = i?.status === "complete" || i?.status === "failed", c = a ? "扫描中" : s ? "重新扫描" : "检查文件", u = (e) => void l({
title: yM,
- body: Fae(e),
+ body: Lae(e),
confirmLabel: yM,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
@@ -34772,7 +34773,7 @@ function CM({ toast: e }) {
return /* @__PURE__ */ (0, P.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: Lae(e, r)
+ children: zae(e, r)
});
}, p = null;
if (d?.status === "failed") p = /* @__PURE__ */ (0, P.jsx)(J, {
@@ -34781,7 +34782,7 @@ function CM({ toast: e }) {
children: d.error || "任务失败"
});
else if (d) p = f(d);
- else if (t.running) p = /* @__PURE__ */ (0, P.jsx)(Aw, { label: t.job?.message || "正在复核并清理失效条目…" });
+ else if (t.running) p = /* @__PURE__ */ (0, P.jsx)(kw, { label: t.job?.message || "正在复核并清理失效条目…" });
else if (n.start.isError) p = /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
title: "扫描失败",
@@ -34793,7 +34794,7 @@ function CM({ toast: e }) {
children: vM
});
else if (i?.status === "running") {
- let e = Nae(i);
+ let e = Fae(i);
p = /* @__PURE__ */ (0, P.jsx)("div", {
className: "flex flex-col gap-1.5 rounded-2lg border border-separator-border px-4 py-3.5",
children: i.total_sources ? /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(Mw, {
@@ -34803,7 +34804,7 @@ function CM({ toast: e }) {
}), /* @__PURE__ */ (0, P.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, P.jsx)(Aw, { label: "正在检查本地磁盘和网盘…" })
+ })] }) : /* @__PURE__ */ (0, P.jsx)(kw, { label: "正在检查本地磁盘和网盘…" })
});
} else if (i?.status === "failed") p = /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
@@ -34816,13 +34817,13 @@ function CM({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (i?.status === "complete") {
- let e = jae(i);
+ let e = Nae(i);
p = /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
/* @__PURE__ */ (0, P.jsx)(SM, { scan: i }),
e ? /* @__PURE__ */ (0, P.jsx)(J, {
tone: "neutral",
title: "清理内容",
- children: Pae(i)
+ children: Iae(i)
}) : null,
/* @__PURE__ */ (0, P.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -34929,7 +34930,7 @@ function NM({ toast: e, failure: t, open: n }) {
queryKey: dk,
queryFn: ({ signal: e }) => fk(e)
}), u = (t) => e(t);
- return /* @__PURE__ */ (0, P.jsxs)(jw, { children: [
+ return /* @__PURE__ */ (0, P.jsxs)(Aw, { children: [
/* @__PURE__ */ (0, P.jsxs)("div", {
className: RA,
children: [
@@ -35108,7 +35109,7 @@ function VM({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var HM = tk("play"), UM = tk("file-stack"), WM = Ow({
+var HM = tk("play"), UM = tk("file-stack"), WM = Dw({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
@@ -35226,12 +35227,12 @@ function ZM({ openItem: t, toast: n, failure: i }) {
children: a.error ? K(a.error) : "读取重复文件失败"
})
});
- let f = d.groups ?? [], p = bie(o.data), m = ({ groups: e, keep: t, key: n }) => {
+ let f = d.groups ?? [], p = Sie(o.data), m = ({ groups: e, keep: t, key: n }) => {
if (u.isPending) return;
- let i = Eie(e, t);
+ let i = Oie(e, t);
i.length && l({
title: "移入回收站",
- body: `将把 ${i.length} 个重复文件的馆藏记录移入回收站,每组保留${gk[t] ?? gk.largest}。文件共 ${r(Die(e, i))},记录可从回收站还原。`,
+ body: `将把 ${i.length} 个重复文件的馆藏记录移入回收站,每组保留${gk[t] ?? gk.largest}。文件共 ${r(kie(e, i))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (c(n), u.mutateAsync(i))
});
@@ -35265,7 +35266,7 @@ function ZM({ openItem: t, toast: n, failure: i }) {
}),
children: "全部保留最长"
}),
- Tie(f, p).map((t) => /* @__PURE__ */ (0, P.jsx)(VM, {
+ Die(f, p).map((t) => /* @__PURE__ */ (0, P.jsx)(VM, {
busy: s === `all:${t}`,
onPress: () => m({
groups: f,
@@ -35360,7 +35361,7 @@ function ZM({ openItem: t, toast: n, failure: i }) {
openItem: t
}, e.id)) })]
}, `${n.code}-${i}`);
- }) : /* @__PURE__ */ (0, P.jsx)(kw, {
+ }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
icon: UM,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
@@ -35514,7 +35515,7 @@ function GN(e, t, n) {
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var KN = (e) => Dw(`${rN}?summary=1`, e), qN = (e) => Dw(iN, e), JN = (e) => Dw(aN, e), YN = (e) => Dw(sN, e), XN = (e, t) => Dw(`${cN}?q=${encodeURIComponent(e)}`, t), ZN = (e) => q(aN, {
+var KN = (e) => Ew(`${rN}?summary=1`, e), qN = (e) => Ew(iN, e), JN = (e) => Ew(aN, e), YN = (e) => Ew(sN, e), XN = (e, t) => Ew(`${cN}?q=${encodeURIComponent(e)}`, t), ZN = (e) => q(aN, {
...e?.length ? { sources: e } : {},
background: !0
}), QN = (e) => q(sN, {
@@ -35547,9 +35548,9 @@ var KN = (e) => Dw(`${rN}?summary=1`, e), qN = (e) => Dw(iN, e), JN = (e) => Dw(
}), aP = (e, t) => q(dN, {
item: e,
to: t
-}), oP = () => Dw(`${rN}?status=new&limit=1000`);
+}), oP = () => Ew(`${rN}?status=new&limit=1000`);
async function sP(e) {
- let t = await Dw(fN, e);
+ let t = await Ew(fN, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
@@ -35634,7 +35635,7 @@ function OP({ provider: e, label: t }) {
loading: "lazy",
onError: () => i(!0),
className: "size-3.5 shrink-0 rounded-sm object-contain"
- }), t ? /* @__PURE__ */ (0, P.jsx)(P_, { children: t }) : null] });
+ }), t ? /* @__PURE__ */ (0, P.jsx)(N_, { children: t }) : null] });
}
function kP({ group: e, name: t }) {
let { src: n, fallback: r } = RN(e), [i, a] = (0, N.useState)(0), o = [n, r].filter(Boolean)[i];
@@ -35655,7 +35656,7 @@ function kP({ group: e, name: t }) {
}
function AP({ source: e }) {
let t = jN(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, P.jsx)(Sw, {
+ return /* @__PURE__ */ (0, P.jsx)(xw, {
variant: "caption",
color: t,
children: AN(e)
@@ -35673,11 +35674,11 @@ function jP({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var MP = yw(KA, qA, "text-body-2-medium"), NP = "粘贴来源链接,或输入创作者名、id…", PP = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", FP = "识别中…", IP = "站内没有查到来源", LP = (e, t) => `${e}:${t.url}`;
+var MP = vw(KA, qA, "text-body-2-medium"), NP = "粘贴来源链接,或输入创作者名、id…", PP = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", FP = "识别中…", IP = "站内没有查到来源", LP = (e, t) => `${e}:${t.url}`;
function RP({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, N.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, P.jsxs)(GE, {
+ }, [t, r]), /* @__PURE__ */ (0, P.jsxs)(KE, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -35689,17 +35690,17 @@ function RP({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onCl
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: yw(UA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: vw(UA, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, P.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, P.jsx)(Aw, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, P.jsx)(kw, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, P.jsxs)(N.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, P.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
}), /* @__PURE__ */ (0, P.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? yw(MP, "bg-background-secondary-default") : MP,
+ className: t === r ? vw(MP, "bg-background-secondary-default") : MP,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -35727,20 +35728,20 @@ function zP({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(G, {
ref: i,
variant: "secondary",
- leadingIcon: OS,
+ leadingIcon: DS,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, P.jsx)(GE, {
+ }), /* @__PURE__ */ (0, P.jsx)(KE, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
className: UA,
- children: /* @__PURE__ */ (0, P.jsxs)(YE, {
+ children: /* @__PURE__ */ (0, P.jsxs)(XE, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, P.jsxs)("div", {
@@ -35789,7 +35790,7 @@ function BP({ 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, P.jsxs)("div", {
- className: Ow({
+ className: Dw({
padding: "none",
className: "flex flex-col gap-2 p-4"
}),
@@ -35929,7 +35930,7 @@ function VP({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
onError: (e) => w(K(e))
}), oe = e.suggestions || [], se = !s.includes("/");
return /* @__PURE__ */ (0, P.jsxs)("div", {
- className: Ow({
+ className: Dw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -35953,7 +35954,7 @@ function VP({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
"aria-label": "来源链接、名字或 id",
placeholder: NP,
value: a,
- leadingIcon: VS,
+ leadingIcon: BS,
isDisabled: n,
onChange: o,
onKeyDown: re
@@ -35989,7 +35990,7 @@ function VP({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
label: k.message || `查找中:${k.checked || 0}/${k.total}`,
value: k.checked || 0,
max: k.total
- }) : /* @__PURE__ */ (0, P.jsx)(Aw, { label: se ? PP : FP }) : null, C ? /* @__PURE__ */ (0, P.jsx)(J, {
+ }) : /* @__PURE__ */ (0, P.jsx)(kw, { label: se ? PP : FP }) : null, C ? /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
title: "这一次没有完成",
children: C
@@ -36113,7 +36114,7 @@ function KP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
});
}, v = t.filter((e) => a.has(UP(e))), y = t.length > 0 && v.length === t.length, b = Y(m.isPending);
return /* @__PURE__ */ (0, P.jsxs)("div", {
- className: Ow({
+ className: Dw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -36284,7 +36285,7 @@ function KP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: xS,
+ leadingIcon: bS,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...Y(g.isPending),
@@ -36298,9 +36299,9 @@ function KP({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, P.jsx)(kw, {
+ }) }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "plain",
- icon: KS,
+ icon: GS,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -36315,13 +36316,13 @@ function ZP(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
function QP({ row: e }) {
- if (SP(e)) return /* @__PURE__ */ (0, P.jsx)(Sw, {
+ if (SP(e)) return /* @__PURE__ */ (0, P.jsx)(xw, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, P.jsx)(Sw, {
+ return /* @__PURE__ */ (0, P.jsx)(xw, {
variant: "caption",
color: t,
children: xP[e.requirement] || ""
@@ -36426,7 +36427,7 @@ function eF({ row: e, readOnly: t, toast: n }) {
children: e.provider_label
}),
/* @__PURE__ */ (0, P.jsx)(QP, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, P.jsx)(Sw, {
+ e.missing.length ? /* @__PURE__ */ (0, P.jsx)(xw, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -36452,7 +36453,7 @@ function eF({ row: e, readOnly: t, toast: n }) {
function tF({ data: e, readOnly: t, toast: n }) {
let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !SP(e));
return r.length ? /* @__PURE__ */ (0, P.jsxs)("div", {
- className: Ow({
+ className: Dw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -36468,7 +36469,7 @@ function tF({ data: e, readOnly: t, toast: n }) {
}) : null]
}),
/* @__PURE__ */ (0, P.jsx)("div", {
- className: Ow({
+ className: Dw({
padding: "none",
className: "flex flex-col overflow-hidden"
}),
@@ -36498,9 +36499,9 @@ function tF({ data: e, readOnly: t, toast: n }) {
]
})
]
- }) : /* @__PURE__ */ (0, P.jsx)(kw, {
+ }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "plain",
- icon: FS,
+ icon: PS,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
@@ -36549,14 +36550,14 @@ function aF({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: wS,
+ leadingIcon: CS,
"aria-label": `移除 ${iF(t)}`,
disabled: e,
onClick: () => o(t)
})]
})
- }, t.id)) }) : /* @__PURE__ */ (0, P.jsx)(kw, {
- icon: BS,
+ }, t.id)) }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
+ icon: zS,
title: "还没有订阅源",
shell: "plain",
children: "在人物页点「订阅新作」添加。"
@@ -37708,10 +37709,10 @@ function lI(e, t, n) {
}
}), i ? "all" : a ? "some" : !1;
}
-var uI = /([0-9]+)/gm, Vae = (e, t, n) => pI(fI(e.getValue(n)).toLowerCase(), fI(t.getValue(n)).toLowerCase()), Hae = (e, t, n) => pI(fI(e.getValue(n)), fI(t.getValue(n))), Uae = (e, t, n) => dI(fI(e.getValue(n)).toLowerCase(), fI(t.getValue(n)).toLowerCase()), Wae = (e, t, n) => dI(fI(e.getValue(n)), fI(t.getValue(n))), Gae = (e, t, n) => {
+var uI = /([0-9]+)/gm, Uae = (e, t, n) => pI(fI(e.getValue(n)).toLowerCase(), fI(t.getValue(n)).toLowerCase()), Wae = (e, t, n) => pI(fI(e.getValue(n)), fI(t.getValue(n))), Gae = (e, t, n) => dI(fI(e.getValue(n)).toLowerCase(), fI(t.getValue(n)).toLowerCase()), Kae = (e, t, n) => dI(fI(e.getValue(n)), fI(t.getValue(n))), qae = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, Kae = (e, t, n) => dI(e.getValue(n), t.getValue(n));
+}, Jae = (e, t, n) => dI(e.getValue(n), t.getValue(n));
function dI(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
@@ -37734,13 +37735,13 @@ function pI(e, t) {
return n.length - r.length;
}
var mI = {
- alphanumeric: Vae,
- alphanumericCaseSensitive: Hae,
- text: Uae,
- textCaseSensitive: Wae,
- datetime: Gae,
- basic: Kae
-}, qae = [
+ alphanumeric: Uae,
+ alphanumericCaseSensitive: Wae,
+ text: Gae,
+ textCaseSensitive: Kae,
+ datetime: qae,
+ basic: Jae
+}, Yae = [
vF,
JF,
RF,
@@ -37817,8 +37818,8 @@ var mI = {
aI,
WF
];
-function Jae(e) {
- let t = [...qae, ...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 Xae(e) {
+ let t = [...Yae, ...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 ?? {} };
@@ -37893,7 +37894,7 @@ function Jae(e) {
}
return n;
}
-function Yae() {
+function Zae() {
return (e) => fF(() => [e.options.data], (t) => {
let n = {
rows: [],
@@ -37914,7 +37915,7 @@ function Yae() {
return n.rows = r(t), n;
}, pF(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function Xae(e) {
+function Qae(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -37925,7 +37926,7 @@ function Xae(e) {
rowsById: e.rowsById
};
}
-function Zae(e) {
+function $ae(e) {
return (e) => fF(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
@@ -37939,7 +37940,7 @@ function Zae(e) {
rows: a,
flatRows: o,
rowsById: s
- } : Xae({
+ } : Qae({
rows: a,
flatRows: o,
rowsById: s
@@ -37953,27 +37954,27 @@ function Zae(e) {
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
function hI(e, t) {
- return e ? Qae(e) ? /*#__PURE__*/ N.createElement(e, t) : e : null;
+ return e ? eoe(e) ? /*#__PURE__*/ N.createElement(e, t) : e : null;
}
-function Qae(e) {
- return $ae(e) || typeof e == "function" || eoe(e);
+function eoe(e) {
+ return toe(e) || typeof e == "function" || noe(e);
}
-function $ae(e) {
+function toe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function eoe(e) {
+function noe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function toe(e) {
+function roe(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = N.useState(() => ({ current: Jae(t) })), [r, i] = N.useState(() => n.current.initialState);
+ }, [n] = N.useState(() => ({ current: Xae(t) })), [r, i] = N.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -38003,8 +38004,8 @@ function gI({ children: e, count: t, label: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var noe = Object.fromEntries(Object.entries(wN).map(([e, t]) => [t, e])), _I = 740;
-function roe() {
+var ioe = Object.fromEntries(Object.entries(wN).map(([e, t]) => [t, e])), _I = 740;
+function aoe() {
let [e, t] = (0, N.useState)(!1), n = (0, N.useRef)(null), r = (0, N.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
@@ -38015,7 +38016,7 @@ function roe() {
}, []);
return (0, N.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var ioe = {
+var ooe = {
select: "选择",
author: "创作者",
source: "来源",
@@ -38024,7 +38025,7 @@ var ioe = {
checked: "上次检查",
actions: "操作"
};
-function aoe({ page: e, pages: t, onPage: n }) {
+function soe({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, P.jsxs)("nav", {
"aria-label": "关注列表分页",
className: "flex flex-wrap items-center justify-center gap-2",
@@ -38061,7 +38062,7 @@ function aoe({ page: e, pages: t, onPage: n }) {
]
});
}
-function ooe({ source: e, selected: t, onToggle: n, handlers: r }) {
+function coe({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, P.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
@@ -38097,7 +38098,7 @@ function ooe({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: zS,
+ leadingIcon: RS,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...Y(r.busy),
@@ -38106,7 +38107,7 @@ function ooe({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: wS,
+ leadingIcon: CS,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -38115,11 +38116,11 @@ function ooe({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function soe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
+function loe({ 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(jN).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = WN(r, c);
return /* @__PURE__ */ (0, P.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: Ow({
+ className: Dw({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -38141,7 +38142,7 @@ function soe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: zS,
+ leadingIcon: RS,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...Y(i.busy),
@@ -38150,7 +38151,7 @@ function soe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, P.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, P.jsx)(OP, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, P.jsx)(P_, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, P.jsx)(OP, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, P.jsx)(N_, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, P.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -38159,7 +38160,7 @@ function soe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, P.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: bS,
+ leadingIcon: yS,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -38170,7 +38171,7 @@ function soe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? yS : gS,
+ leadingIcon: n ? vS : hS,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -38180,7 +38181,7 @@ function soe({ 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, P.jsx)(ooe, {
+ children: e.map((e) => /* @__PURE__ */ (0, P.jsx)(coe, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -38189,8 +38190,8 @@ function soe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function coe(e) {
- let { data: t, sort: n, dir: r, page: a, layout: o, pageSize: s, selected: c, readOnly: u, onSort: d, onPage: f, onLayout: p, onPageSize: m, onSelected: h, toast: g, openFollow: _ } = e, v = t.sources, y = (0, N.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, N.useState)(/* @__PURE__ */ new Set()), [C, w] = roe(), [T, E] = (0, N.useState)(""), D = (0, N.useMemo)(() => BN(v, n, r, y), [
+function uoe(e) {
+ let { data: t, sort: n, dir: r, page: a, layout: o, pageSize: s, selected: c, readOnly: u, onSort: d, onPage: f, onLayout: p, onPageSize: m, onSelected: h, toast: g, openFollow: _ } = e, v = t.sources, y = (0, N.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, N.useState)(/* @__PURE__ */ new Set()), [C, w] = aoe(), [T, E] = (0, N.useState)(""), D = (0, N.useMemo)(() => BN(v, n, r, y), [
v,
n,
r,
@@ -38280,7 +38281,7 @@ function coe(e) {
readOnly: u
};
let ae = L.current, oe = (0, N.useMemo)(() => {
- let e = oF(), t = (e) => () => ioe[e] || e;
+ let e = oF(), t = (e) => () => ooe[e] || e;
return [
e.display({
id: "select",
@@ -38344,7 +38345,7 @@ function coe(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: zS,
+ leadingIcon: RS,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || ae.readOnly,
...Y(ae.busy),
@@ -38353,7 +38354,7 @@ function coe(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: wS,
+ leadingIcon: CS,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: ae.readOnly,
onClick: () => L.current.remove(e.row.original.source)
@@ -38362,12 +38363,12 @@ function coe(e) {
})
];
}, [ae]), se = (0, N.useMemo)(() => {
- let e = noe[n];
+ let e = ioe[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ce = (0, N.useMemo)(() => Object.fromEntries([...c].map((e) => [String(e), !0])), [c]), le = o === "table", ue = HN(le ? O.length : D.length, s, a), R = toe({
+ }, [n, r]), ce = (0, N.useMemo)(() => Object.fromEntries([...c].map((e) => [String(e), !0])), [c]), le = o === "table", ue = HN(le ? O.length : D.length, s, a), R = roe({
data: O,
columns: oe,
getRowId: (e) => String(e.source.id),
@@ -38398,11 +38399,11 @@ function coe(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === s ? n.pageIndex !== t.pageIndex && f(n.pageIndex + 1) : m(n.pageSize);
},
- getCoreRowModel: Yae(),
- getPaginationRowModel: Zae()
+ getCoreRowModel: Zae(),
+ getPaginationRowModel: $ae()
}), z = R.getRowModel().rows, de = le ? z.map((e) => e.original.source.id) : D.slice(ue.start, ue.end).flatMap((e) => e.map((e) => e.id)), fe = WN(c, de), pe = [...c], me = gP(j), he = _P(j), ge = D.length > 0 && x.size >= D.length;
return v.length ? /* @__PURE__ */ (0, P.jsxs)("div", {
- className: Ow({
+ className: Dw({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -38421,7 +38422,7 @@ function coe(e) {
}),
/* @__PURE__ */ (0, P.jsx)(G, {
variant: "primary",
- leadingIcon: zS,
+ leadingIcon: RS,
disabled: u,
"aria-label": "检查全部",
iconOnly: w,
@@ -38436,14 +38437,14 @@ function coe(e) {
children: [/* @__PURE__ */ (0, P.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: IS,
+ leadingIcon: FS,
"aria-label": xN[0][1],
"aria-pressed": !le,
onClick: () => p("default")
}), /* @__PURE__ */ (0, P.jsx)(G, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: HS,
+ leadingIcon: VS,
"aria-label": xN[1][1],
"aria-pressed": le,
onClick: () => p("table")
@@ -38465,14 +38466,14 @@ function coe(e) {
/* @__PURE__ */ (0, P.jsx)(G, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? Tte : wte,
+ leadingIcon: r === "asc" ? Ete : Tte,
"aria-label": ON(n, r),
onClick: () => d(n, r === "asc" ? "desc" : "asc")
}),
le ? null : /* @__PURE__ */ (0, P.jsx)(G, {
variant: "secondary",
iconOnly: w,
- leadingIcon: ge ? gS : yS,
+ leadingIcon: ge ? hS : vS,
"aria-label": ge ? "全部展开" : "全部收起",
onClick: () => S(ge ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
children: ge ? "全部展开" : "全部收起"
@@ -38487,7 +38488,7 @@ function coe(e) {
label: k.message || `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源`,
value: k.checked || 0,
max: k.total
- }) : /* @__PURE__ */ (0, P.jsx)(Aw, { label: k?.message || "正在准备检查任务" }) : null,
+ }) : /* @__PURE__ */ (0, P.jsx)(kw, { label: k?.message || "正在准备检查任务" }) : null,
T ? /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
title: "操作未完成",
@@ -38593,7 +38594,7 @@ function coe(e) {
"data-direction": e || void 0,
children: /* @__PURE__ */ (0, P.jsx)(Ij, {})
})]
- }) : /* @__PURE__ */ (0, P.jsx)(P_, { children: n })
+ }) : /* @__PURE__ */ (0, P.jsx)(N_, { children: n })
}, e.id);
}) }), /* @__PURE__ */ (0, P.jsx)(iO, {
renderEmptyState: () => "这一页没有来源",
@@ -38614,7 +38615,7 @@ function coe(e) {
className: "flex flex-col gap-3",
children: D.slice(ue.start, ue.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, P.jsx)(soe, {
+ return /* @__PURE__ */ (0, P.jsx)(loe, {
group: e,
name: IN(e, y),
handlers: ae,
@@ -38648,7 +38649,7 @@ function coe(e) {
children: `每页 ${e} ${le ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, P.jsx)(aoe, {
+ /* @__PURE__ */ (0, P.jsx)(soe, {
page: ue.page,
pages: ue.pages,
onPage: (e) => R.setPageIndex(e - 1)
@@ -38697,9 +38698,9 @@ function coe(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, P.jsx)(kw, {
+ }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "plain",
- icon: BS,
+ icon: zS,
title: "还没有关注来源",
children: "关注来源及其检查状态会显示在这里。"
});
@@ -38714,7 +38715,7 @@ var vI = [
], yI = (e) => vI.some(([t]) => t === e);
function bI({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, P.jsxs)("div", {
- className: Ow({
+ className: Dw({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -38730,7 +38731,7 @@ function bI({ term: e, figure: t, unit: n }) {
})]
});
}
-function loe(e) {
+function doe(e) {
let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, N.useState)(yI(e.tab) ? e.tab : "list"), [u, d] = (0, N.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, N.useState)(() => nN(e.sort, e.dir).sort), [m, h] = (0, N.useState)(() => nN(e.sort, e.dir).dir), [g, _] = (0, N.useState)(TN(e.layout) ? e.layout : "default"), [v, y] = (0, N.useState)(EN(e.pageSize)), [b, x] = (0, N.useState)(/* @__PURE__ */ new Set()), S = xt({
queryKey: hN,
queryFn: ({ signal: e }) => KN(e)
@@ -38756,7 +38757,7 @@ function loe(e) {
dir: r === eN[n] ? "" : r
});
}, O = zN(E), k = E.filter(jN).length, A = E.filter((e) => e.enabled).length, j = (T.providers || []).filter((e) => e.requirement === "required" && !SP(e)).length;
- return /* @__PURE__ */ (0, P.jsxs)(jw, { children: [
+ return /* @__PURE__ */ (0, P.jsxs)(Aw, { children: [
a ? /* @__PURE__ */ (0, P.jsx)(J, {
tone: "warning",
title: "本机只能浏览",
@@ -38816,7 +38817,7 @@ function loe(e) {
/* @__PURE__ */ (0, P.jsx)(gO, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, P.jsx)(coe, {
+ children: /* @__PURE__ */ (0, P.jsx)(uoe, {
data: w,
sort: f,
dir: m,
@@ -38888,38 +38889,38 @@ function loe(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var uoe = "/api/follow/authors", doe = "/api/follow/tags", foe = (e) => [
+var foe = "/api/follow/authors", poe = "/api/follow/tags", moe = (e) => [
"follow",
"authors",
e
-], poe = (e, t) => [
+], hoe = (e, t) => [
"follow",
"tags",
e,
t
];
-function moe(e, t, n) {
+function goe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${uoe}?${r}`;
+ return e && r.set("q", e), `${foe}?${r}`;
}
-function hoe(e, t, n, r) {
+function _oe(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), `${doe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${poe}?${i}`;
}
-var goe = (e, t, n, r) => Dw(moe(e, t, n), r), _oe = (e, t, n, r, i) => Dw(hoe(e, t, n, r), i), voe = "/api/index", xI = {
+var voe = (e, t, n, r) => Ew(goe(e, t, n), r), yoe = (e, t, n, r, i) => Ew(_oe(e, t, n, r), i), boe = "/api/index", xI = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, yoe = {
+}, xoe = {
performers: "performer",
creators: "creator",
studios: "studio",
@@ -38984,7 +38985,7 @@ function AI(e, t, n, r, i) {
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${voe}?${a}`;
+ return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${boe}?${a}`;
}
function jI(e) {
let t = e.what === "people" || e.what === "online-authors" ? wI.people : wI.tags, n = {
@@ -38995,26 +38996,26 @@ function jI(e) {
case "people": return {
...n,
queryKey: kI(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => Dw(AI(e.kind, e.q, "all", t, n), r)
+ queryFn: ({ pageParam: n, signal: r }) => Ew(AI(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
queryKey: kI("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => Dw(AI("tags", e.q, e.category, t, n), r)
+ queryFn: ({ pageParam: n, signal: r }) => Ew(AI("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: foe(e.q),
- queryFn: ({ pageParam: n, signal: r }) => goe(e.q, t, n, r)
+ queryKey: moe(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => voe(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: poe(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => _oe(e.q, e.category, t, n, r)
+ queryKey: hoe(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => yoe(e.q, e.category, t, n, r)
};
}
}
-async function boe(e, t) {
+async function Soe(e, t) {
let n = jI(OI(DI(e)));
X.removeQueries({
queryKey: n.queryKey,
@@ -39029,13 +39030,13 @@ async function boe(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var xoe = (e) => e ? e.pages.flatMap((e) => e.items) : [], Soe = (e, t) => `${e}${t ? "+" : ""} 项`, MI = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Coe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), woe = {
+var Coe = (e) => e ? e.pages.flatMap((e) => e.items) : [], woe = (e, t) => `${e}${t ? "+" : ""} 项`, MI = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Toe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), Eoe = {
numeric: !0,
sensitivity: "base"
};
-function Toe(e, t) {
+function Doe(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", woe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Eoe))) {
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]);
}
@@ -39043,14 +39044,14 @@ function Toe(e, t) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function Eoe({ value: e }) {
+function Ooe({ value: e }) {
return /* @__PURE__ */ (0, P.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 Doe = "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";
+var koe = "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 NI({ tabs: e, value: t, label: n, onChange: r }) {
let i = (0, N.useRef)(null), a = (0, N.useRef)(null);
return (0, N.useLayoutEffect)(() => {
@@ -39086,7 +39087,7 @@ function NI({ tabs: e, value: t, label: n, onChange: r }) {
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: Doe,
+ className: koe,
onClick: () => {
i || r(e.value);
},
@@ -39114,18 +39115,18 @@ function PI({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var Ooe = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+var Aoe = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
function FI({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, P.jsxs)("button", {
type: "button",
...a,
"data-index-cell": "",
onClick: i,
- className: Ow({
+ className: Dw({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${Ooe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${Aoe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -39142,8 +39143,8 @@ function FI({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function koe({ kind: e, items: t, layout: n, props: r }) {
- let i = yoe[e], a = EI(e), o = n === "big";
+function joe({ kind: e, items: t, layout: n, props: r }) {
+ let i = xoe[e], a = EI(e), o = n === "big";
return /* @__PURE__ */ (0, P.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -39155,7 +39156,7 @@ function koe({ kind: e, items: t, layout: n, props: r }) {
"data-k": t.k,
"data-kind": i,
name: t.k,
- readout: Coe(e, t),
+ readout: Toe(e, t),
big: o,
onPress: () => r.openEntity(i, t.k),
children: /* @__PURE__ */ (0, P.jsx)(PI, {
@@ -39168,7 +39169,7 @@ function koe({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function Aoe({ items: e, layout: t, props: n }) {
+function Moe({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, P.jsx)("div", {
"data-index-grid": "",
@@ -39197,7 +39198,7 @@ var II = () => /* @__PURE__ */ (0, P.jsx)("span", {
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function joe({ tag: e, actions: t }) {
+function Noe({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, P.jsxs)("button", {
type: "button",
@@ -39220,23 +39221,23 @@ function joe({ tag: e, actions: t }) {
]
});
}
-function Moe({ groups: e, actions: t }) {
+function Poe({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, P.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, P.jsxs)("section", {
"data-alpha-group": r,
- className: Ow({
+ className: Dw({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, P.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, P.jsx)(Eoe, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, P.jsx)(Ooe, { value: n.length })]
}), /* @__PURE__ */ (0, P.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, P.jsx)(joe, {
+ children: n.map((e) => /* @__PURE__ */ (0, P.jsx)(Noe, {
tag: e,
actions: t
}, e.k))
@@ -39244,8 +39245,8 @@ function Moe({ groups: e, actions: t }) {
}, e))
});
}
-var Noe = "\xA0";
-function Poe({ tags: e, actions: t }) {
+var Foe = "\xA0";
+function Ioe({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, P.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -39257,7 +39258,7 @@ function Poe({ tags: e, actions: t }) {
"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 + Noe, /* @__PURE__ */ (0, P.jsx)("span", {
+ children: [e.label + Foe, /* @__PURE__ */ (0, P.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -39265,7 +39266,7 @@ function Poe({ tags: e, actions: t }) {
}, e.k))
});
}
-var Foe = [[
+var Loe = [[
"cloud",
"标签云",
"tags"
@@ -39274,7 +39275,7 @@ var Foe = [[
"字母表",
"text-aa"
]];
-function Ioe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+function Roe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
return /* @__PURE__ */ (0, P.jsx)(LM, {
label: "标签筛选",
topLabel: "标签类型",
@@ -39302,15 +39303,15 @@ function Ioe({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, P.jsx)(fD, {
+ /* @__PURE__ */ (0, P.jsx)(pD, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
className: `ml-auto ${EP}`,
- children: Foe.map(([e, t, n]) => {
+ children: Loe.map(([e, t, n]) => {
let r = tk(n);
- return /* @__PURE__ */ (0, P.jsx)(pD, {
+ return /* @__PURE__ */ (0, P.jsx)(mD, {
value: e,
"aria-label": t,
"data-glass-segment": "",
@@ -39326,7 +39327,7 @@ function Ioe({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function Loe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+function zoe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
return /* @__PURE__ */ (0, P.jsxs)(gI, {
label: "所选标签操作",
count: `已选 ${e} 个标签`,
@@ -39363,7 +39364,7 @@ function Loe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var Roe = [{
+var Boe = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -39379,7 +39380,7 @@ var Roe = [{
value: "online",
label: "在线",
symbol: "rss"
-}], zoe = {
+}], Voe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -39399,17 +39400,17 @@ var Roe = [{
"layout-grid"
]]
};
-function Boe({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, P.jsx)(fD, {
+function Hoe({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, P.jsx)(pD, {
"aria-label": `${xI[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
className: `flex-none max-board-narrow:order-3 ${CP}`,
- children: zoe[EI(e) ? "company" : "people"].map(([e, t, n]) => {
+ children: Voe[EI(e) ? "company" : "people"].map(([e, t, n]) => {
let r = tk(n);
- return /* @__PURE__ */ (0, P.jsx)(pD, {
+ return /* @__PURE__ */ (0, P.jsx)(mD, {
value: e,
"aria-label": t,
className: TP,
@@ -39422,8 +39423,8 @@ function Boe({ kind: e, layout: t, onChange: n }) {
})
});
}
-var Voe = tk("search");
-function Hoe({ label: e, value: t, onQuery: n }) {
+var Uoe = tk("search");
+function Woe({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, N.useState)(t), a = (0, N.useRef)(!1), o = (0, N.useRef)(void 0);
(0, N.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -39446,7 +39447,7 @@ function Hoe({ label: e, value: t, onQuery: n }) {
},
children: /* @__PURE__ */ (0, P.jsx)(SO, {
type: "search",
- leadingIcon: Voe,
+ leadingIcon: Uoe,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -39456,7 +39457,7 @@ function Hoe({ label: e, value: t, onQuery: n }) {
})
});
}
-function Uoe(e) {
+function Goe(e) {
let [t, n] = (0, N.useState)(() => DI({
kind: e.kind,
q: e.q,
@@ -39482,14 +39483,14 @@ function Uoe(e) {
initialPageParam: 0,
getNextPageParam: C.getNextPageParam,
placeholderData: b ? be : void 0
- }), T = xoe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = Soe(T.length, !!w.hasNextPage);
+ }), T = Coe(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = woe(T.length, !!w.hasNextPage);
(0, N.useEffect)(() => {
u.current && e.refitImages(u.current);
}, [r]);
let O = (0, N.useMemo)(() => f === "tags" ? T.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [T, f]), k = (0, N.useMemo)(() => f === "tags" && h === "alphabet" ? Toe(O, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, f]), k = (0, N.useMemo)(() => f === "tags" && h === "alphabet" ? Doe(O, (t) => e.tagLabel(t)) : [], [
O,
h,
f
@@ -39514,7 +39515,7 @@ function Uoe(e) {
t === "online" && e.exitSelectMode(), S({ scope: t });
}
}) : EI(f) ? /* @__PURE__ */ (0, P.jsx)(NI, {
- tabs: Roe,
+ tabs: Boe,
value: f,
label: "公司类型",
onChange: (e) => S({ kind: e })
@@ -39551,7 +39552,7 @@ function Uoe(e) {
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: w.isPending ? "" : D
}) : null,
- TI(f) ? /* @__PURE__ */ (0, P.jsx)(Boe, {
+ TI(f) ? /* @__PURE__ */ (0, P.jsx)(Hoe, {
kind: f,
layout: r,
onChange: A
@@ -39560,7 +39561,7 @@ function Uoe(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, P.jsx)(Hoe, {
+ /* @__PURE__ */ (0, P.jsx)(Woe, {
label: `过滤${_}`,
value: p,
onQuery: (e) => {
@@ -39570,7 +39571,7 @@ function Uoe(e) {
]
}),
j,
- f === "tags" ? /* @__PURE__ */ (0, P.jsx)(Ioe, {
+ f === "tags" ? /* @__PURE__ */ (0, P.jsx)(Roe, {
categories: F,
category: g,
online: v,
@@ -39595,7 +39596,7 @@ function Uoe(e) {
mode: h
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, P.jsx)(kw, {
+ if (w.isError) return /* @__PURE__ */ (0, P.jsx)(Ow, {
icon: tk("search"),
title: `没能读取${_}`,
actions: /* @__PURE__ */ (0, P.jsx)(G, {
@@ -39605,18 +39606,18 @@ function Uoe(e) {
}),
children: a(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, P.jsx)(Goe, {
+ if (!T.length) return /* @__PURE__ */ (0, P.jsx)(qoe, {
kind: f,
filtered: !!p || f === "tags" && g !== "all",
online: v || y,
configurable: e.configurable
});
- if (y) return /* @__PURE__ */ (0, P.jsx)(Aoe, {
+ if (y) return /* @__PURE__ */ (0, P.jsx)(Moe, {
items: T,
layout: r,
props: e
});
- if (TI(f)) return /* @__PURE__ */ (0, P.jsx)(koe, {
+ if (TI(f)) return /* @__PURE__ */ (0, P.jsx)(joe, {
kind: f,
items: T,
layout: r,
@@ -39627,10 +39628,10 @@ function Uoe(e) {
picked: o,
press: M
};
- return h === "alphabet" ? /* @__PURE__ */ (0, P.jsx)(Moe, {
+ return h === "alphabet" ? /* @__PURE__ */ (0, P.jsx)(Poe, {
groups: k,
actions: t
- }) : /* @__PURE__ */ (0, P.jsx)(Poe, {
+ }) : /* @__PURE__ */ (0, P.jsx)(Ioe, {
tags: O,
actions: t
});
@@ -39645,13 +39646,13 @@ function Uoe(e) {
disabled: w.isFetchingNextPage,
"aria-busy": w.isFetchingNextPage || void 0,
onClick: () => void w.fetchNextPage(),
- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, P.jsx)(Aw, {
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, P.jsx)(kw, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- f === "tags" && !v && e.selectMode && o.size ? /* @__PURE__ */ (0, P.jsx)(Loe, {
+ f === "tags" && !v && e.selectMode && o.size ? /* @__PURE__ */ (0, P.jsx)(zoe, {
count: o.size,
match: c,
onMatch: l,
@@ -39664,30 +39665,30 @@ function Uoe(e) {
]
});
}
-var Woe = {
+var Koe = {
tags: "标签",
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所"
};
-function Goe({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, P.jsx)(kw, {
+function qoe({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, P.jsx)(Ow, {
icon: tk("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, P.jsx)(ww, {
+ actions: /* @__PURE__ */ (0, P.jsx)(Cw, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : Woe[e], a = /* @__PURE__ */ (0, P.jsx)(ww, {
+ let i = n && e === "performers" ? "创作者" : Koe[e], a = /* @__PURE__ */ (0, P.jsx)(Cw, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, P.jsx)(kw, {
+ return /* @__PURE__ */ (0, P.jsx)(Ow, {
icon: tk(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [r ? /* @__PURE__ */ (0, P.jsx)(G, {
@@ -39700,12 +39701,12 @@ function Goe({ kind: e, filtered: t, online: n, configurable: r }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var RI = "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", Koe = {
+var RI = "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", Joe = {
gray: `${RI} border-separator-border bg-background-secondary-default text-text-secondary`,
warning: `${RI} border-current/35 bg-status-yellow-background text-status-yellow-text`,
error: `${RI} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function qoe({ value: e, max: t }) {
+function Yoe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, P.jsxs)("svg", {
role: "progressbar",
@@ -39733,16 +39734,16 @@ function qoe({ value: e, max: t }) {
})]
});
}
-function Joe(e) {
+function Xoe(e) {
let { job: t } = Ej(e), n = t.data, r = t.isError ? n ? Ck : K(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 ? "扫描与资料采集未完成" : Tk(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? PS : TS;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : Tk(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? NS : wS;
return /* @__PURE__ */ (0, P.jsxs)("aside", {
role: a ? "alert" : "status",
- className: Koe[s],
+ className: Joe[s],
children: [/* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, P.jsx)(qoe, {
+ children: [o && l ? /* @__PURE__ */ (0, P.jsx)(Yoe, {
value: c,
max: l
}) : /* @__PURE__ */ (0, P.jsx)(d, {
@@ -39755,15 +39756,15 @@ function Joe(e) {
}), /* @__PURE__ */ (0, P.jsx)(HA, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: _S,
+ trailingIcon: gS,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var Yoe = "/api/playlists", zI = "/api/playlist", BI = ["playlists"], VI = (e) => Dw(Yoe, e);
-async function Xoe(e) {
+var Zoe = "/api/playlists", zI = "/api/playlist", BI = ["playlists"], VI = (e) => Ew(Zoe, e);
+async function Qoe(e) {
await X.fetchQuery({
queryKey: BI,
queryFn: () => VI(e),
@@ -39773,7 +39774,7 @@ async function Xoe(e) {
var HI = () => X.invalidateQueries({
queryKey: BI,
exact: !0
-}), Zoe = (e) => e.current_asset_id || e.preview_asset_id || null, UI = (e) => `/poster?id=${e}&c=4`, Qoe = (e) => q(zI, {
+}), $oe = (e) => e.current_asset_id || e.preview_asset_id || null, UI = (e) => `/poster?id=${e}&c=4`, ese = (e) => q(zI, {
action: "create",
name: e,
asset_ids: []
@@ -39784,8 +39785,8 @@ var HI = () => X.invalidateQueries({
}), GI = (e) => q(zI, {
action: "delete",
id: e
-}), $oe = (e) => Dw(`${zI}?id=${e}`).catch(() => null);
-function ese(e) {
+}), tse = (e) => Ew(`${zI}?id=${e}`).catch(() => null);
+function nse(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
return q(zI, {
action: "create",
@@ -39797,16 +39798,16 @@ function ese(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var tse = tk("ellipsis"), nse = tk("pencil"), rse = tk("trash"), ise = tk("playlist"), KI = yw(KA, qA, "text-body-2-medium"), qI = "播放列表名称不能为空", JI = (e) => async () => {
+var rse = tk("ellipsis"), ise = tk("pencil"), ase = tk("trash"), ose = tk("playlist"), KI = vw(KA, qA, "text-body-2-medium"), qI = "播放列表名称不能为空", JI = (e) => async () => {
try {
await e();
} finally {
HI();
}
};
-function ase({ toast: e }) {
+function sse({ toast: e }) {
let [t, n] = (0, N.useState)(""), [r, i] = (0, N.useState)(""), a = St({
- mutationFn: (e) => Qoe(e),
+ mutationFn: (e) => ese(e),
onSuccess: (t) => {
n(""), i(""), HI(), e("已新建播放列表", { undo: JI(() => GI(t.playlist.id)) });
},
@@ -39846,7 +39847,7 @@ function ase({ toast: e }) {
})]
});
}
-function ose({ target: e, close: t, toast: n }) {
+function cse({ target: e, close: t, toast: n }) {
let [r, i] = (0, N.useState)(""), [a, o] = (0, N.useState)(""), s = (0, N.useRef)(null);
(0, N.useEffect)(() => {
if (!e) return;
@@ -39918,7 +39919,7 @@ function ose({ target: e, close: t, toast: n }) {
})
});
}
-function sse({ name: e, onRename: t, onDelete: n }) {
+function lse({ name: e, onRename: t, onDelete: n }) {
let r = (0, N.useRef)(null), [i, a] = (0, N.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -39932,25 +39933,25 @@ function sse({ 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, P.jsx)(tse, {
+ children: /* @__PURE__ */ (0, P.jsx)(rse, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, P.jsx)(GE, {
+ }), /* @__PURE__ */ (0, P.jsx)(KE, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
className: UA,
- children: /* @__PURE__ */ (0, P.jsxs)(YE, {
+ children: /* @__PURE__ */ (0, P.jsxs)(XE, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, P.jsxs)("button", {
type: "button",
className: KI,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, P.jsx)(nse, {
+ children: [/* @__PURE__ */ (0, P.jsx)(ise, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
@@ -39958,7 +39959,7 @@ function sse({ name: e, onRename: t, onDelete: n }) {
type: "button",
className: KI,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, P.jsx)(rse, {
+ children: [/* @__PURE__ */ (0, P.jsx)(ase, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -39966,7 +39967,7 @@ function sse({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function cse({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
+function use({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
let o = xt({
queryKey: BI,
queryFn: ({ signal: e }) => VI(e)
@@ -39990,8 +39991,8 @@ function cse({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await $oe(e.id);
- await GI(e.id), HI(), i("已删除播放列表", t ? { undo: JI(() => ese(t)) } : void 0);
+ let t = await tse(e.id);
+ await GI(e.id), HI(), i("已删除播放列表", t ? { undo: JI(() => nse(t)) } : void 0);
}
});
};
@@ -40006,13 +40007,13 @@ function cse({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}), /* @__PURE__ */ (0, P.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, P.jsx)(ase, { toast: i })]
+ })] }), /* @__PURE__ */ (0, P.jsx)(sse, { toast: i })]
}),
f.length ? /* @__PURE__ */ (0, P.jsx)("div", {
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: f.map((i) => {
- let a = Zoe(i);
+ let a = $oe(i);
return /* @__PURE__ */ (0, P.jsx)(ik, {
"data-playlist-card": String(i.id),
name: i.name,
@@ -40026,19 +40027,19 @@ function cse({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
onOpenEntity: t,
...a ? { onOpen: () => e(i.id, a) } : {},
openLabel: `打开播放列表 ${i.name}`,
- menu: /* @__PURE__ */ (0, P.jsx)(sse, {
+ menu: /* @__PURE__ */ (0, P.jsx)(lse, {
name: i.name,
onRename: () => c(i),
onDelete: () => p(i)
})
}, i.id);
})
- }) : /* @__PURE__ */ (0, P.jsx)(kw, {
- icon: ise,
+ }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
+ icon: ose,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, P.jsx)(ose, {
+ /* @__PURE__ */ (0, P.jsx)(cse, {
target: s,
close: () => c(null),
toast: i
@@ -40048,11 +40049,11 @@ function cse({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function lse({ item: t, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {
+function dse({ item: t, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {
let c = () => i(t.id);
return /* @__PURE__ */ (0, P.jsxs)("li", {
"data-goal-id": t.id,
- className: Ow({
+ className: Dw({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -40068,7 +40069,7 @@ function lse({ item: t, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadg
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, P.jsx)("img", {
- src: Hie(t),
+ src: Wie(t),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -40116,19 +40117,19 @@ function lse({ item: t, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadg
})]
});
}
-function use(e) {
+function fse(e) {
let t = xt({
queryKey: Nk,
queryFn: ({ signal: e }) => Pk(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, P.jsx)(jw, { children: /* @__PURE__ */ (0, P.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, P.jsx)(Aw, { children: /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取高清版目标失败"
}) });
let r = n.items || [];
- return r.length ? /* @__PURE__ */ (0, P.jsxs)(jw, { children: [/* @__PURE__ */ (0, P.jsxs)("div", {
- className: Ow({
+ return r.length ? /* @__PURE__ */ (0, P.jsxs)(Aw, { children: [/* @__PURE__ */ (0, P.jsxs)("div", {
+ className: Dw({
variant: "raised",
className: "flex flex-col gap-1 px-6 py-5 max-sm:px-4"
}),
@@ -40141,21 +40142,21 @@ function use(e) {
})]
}), /* @__PURE__ */ (0, P.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, P.jsx)(lse, {
+ children: r.map((t) => /* @__PURE__ */ (0, P.jsx)(dse, {
item: t,
...e
}, t.id))
- })] }) : /* @__PURE__ */ (0, P.jsx)(jw, { children: /* @__PURE__ */ (0, P.jsx)(kw, {
+ })] }) : /* @__PURE__ */ (0, P.jsx)(Aw, { children: /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "plain",
- icon: JS,
+ icon: qS,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function dse(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 = $ie(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+function pse(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 = tae(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -40193,7 +40194,7 @@ function dse(e) {
/* @__PURE__ */ (0, P.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: bS,
+ leadingIcon: yS,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -40255,7 +40256,7 @@ function dse(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var fse = {
+var mse = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -40266,7 +40267,7 @@ var fse = {
screenshot_urls: "截图",
trailer_url: "预告片"
}, YI = "reviewgenretags";
-function pse({ tags: e }) {
+function hse({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, P.jsx)("datalist", {
id: YI,
children: e.map((e) => /* @__PURE__ */ (0, P.jsx)("option", { value: e }, e))
@@ -40309,7 +40310,7 @@ function XI({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, P.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: fse[e] || e
+ children: mse[e] || e
}),
/* @__PURE__ */ (0, P.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -40324,18 +40325,18 @@ function XI({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function mse({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function gse({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, P.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
children: /* @__PURE__ */ (0, P.jsx)(XI, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, P.jsx)(fD, {
+ }) : /* @__PURE__ */ (0, P.jsx)(pD, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, P.jsx)(pD, {
+ children: a.map((e) => /* @__PURE__ */ (0, P.jsx)(mD, {
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, P.jsx)(XI, {
@@ -40345,15 +40346,15 @@ function mse({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
}, e.candidate_key))
}) : null;
}
-function hse({ genre: e, tags: t, locked: n, toast: r }) {
+function _se({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, N.useState)(""), [o, s] = (0, N.useState)(""), c = St({
- mutationFn: (t) => sae(e, t),
+ mutationFn: (t) => lae(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await lae();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await dae();
},
onError: (e) => s(K(e))
}), l = () => {
@@ -40413,8 +40414,8 @@ function hse({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function gse({ row: e, tags: t, locked: n, toast: r }) {
- let i = iae(e);
+function vse({ row: e, tags: t, locked: n, toast: r }) {
+ let i = oae(e);
return i.length ? /* @__PURE__ */ (0, P.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -40422,7 +40423,7 @@ function gse({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, P.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, P.jsx)(hse, {
+ }), i.map((e) => /* @__PURE__ */ (0, P.jsx)(_se, {
genre: e,
tags: t,
locked: n,
@@ -40431,10 +40432,10 @@ function gse({ row: e, tags: t, locked: n, toast: r }) {
}) : null;
}
//#endregion
-//#region src/react/review/review-evidence.tsx
-var ZI = (e = "") => /^https?:\/\//i.test(e) ? e : "", _se = (e = "") => ZI(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function QI({ url: e }) {
- let t = _se(e || ""), [n, r] = (0, N.useState)(!1);
+//#region src/react/components/legacy-avatar.ts
+var ZI = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", QI = (e = "") => /^https?:\/\//i.test(e) ? e : "", yse = (e = "") => QI(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function $I({ url: e }) {
+ let t = yse(e || ""), [n, r] = (0, N.useState)(!1);
return /* @__PURE__ */ (0, P.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
children: t && !n ? /* @__PURE__ */ (0, P.jsx)("img", {
@@ -40449,7 +40450,7 @@ function QI({ url: e }) {
})
});
}
-function $I({ asset: e, openItem: t }) {
+function eL({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -40465,7 +40466,7 @@ function $I({ asset: e, openItem: t }) {
}) : /* @__PURE__ */ (0, P.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, P.jsx)(P_, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, P.jsx)(N_, { children: `打开原视频 ${n}` })]
}), /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
children: [/* @__PURE__ */ (0, P.jsx)("b", {
@@ -40475,21 +40476,21 @@ function $I({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, P.jsx)(G, {
variant: "secondary",
size: "small",
- leadingIcon: LS,
+ leadingIcon: IS,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function vse({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function bse({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, P.jsx)("button", {
type: "button",
"aria-label": `打开创作者页:${t}`,
onClick: () => i(e, t),
- className: "relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring [&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-cover",
+ className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${ZI}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -40505,8 +40506,8 @@ function vse({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function yse({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = ZI(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function xse({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = QI(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, P.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -40516,10 +40517,10 @@ function yse({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
}),
/* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, P.jsx)(ww, {
+ children: [o ? /* @__PURE__ */ (0, P.jsx)(Cw, {
variant: "secondary",
size: "small",
- trailingIcon: ES,
+ trailingIcon: TS,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -40531,7 +40532,7 @@ function yse({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, P.jsx)(QI, { url: e.preview_url }),
+ /* @__PURE__ */ (0, P.jsx)($I, { url: e.preview_url }),
/* @__PURE__ */ (0, P.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -40574,7 +40575,7 @@ function yse({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function bse({ assets: e, picked: t, onPicked: n, locked: r }) {
+function Sse({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, N.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -40641,7 +40642,7 @@ function bse({ assets: e, picked: t, onPicked: n, locked: r }) {
}
})
}),
- /* @__PURE__ */ (0, P.jsx)(P_, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, P.jsx)(N_, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -40650,19 +40651,19 @@ function bse({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var xse = Ow({
+var Cse = Dw({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), eL = "flex min-h-6 min-w-0 items-center", Sse = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function Cse(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, N.useRef)(!1), m = PO(), h = PO(), g = t === "metadata_fields", _ = Yie[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = tae(t, n), x = Gk(t, n), S = Wk(t, n), C = nae(n), w = rae(n), T = Uk(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, P.jsx)("div", {
+}), tL = "flex min-h-6 min-w-0 items-center", wse = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function Tse(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, N.useRef)(!1), m = PO(), h = PO(), g = t === "metadata_fields", _ = Zie[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = rae(t, n), x = Gk(t, n), S = Wk(t, n), C = iae(n), w = aae(n), T = Uk(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, P.jsx)("div", {
className: "flex flex-col gap-3",
- children: E.map((e) => /* @__PURE__ */ (0, P.jsx)($I, {
+ children: E.map((e) => /* @__PURE__ */ (0, P.jsx)(eL, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, P.jsx)(vse, {
+ }) : y ? /* @__PURE__ */ (0, P.jsx)(bse, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -40672,14 +40673,14 @@ function Cse(e) {
has_image: !!n.has_image,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, P.jsx)($I, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, P.jsx)(eL, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, A = g ? /* @__PURE__ */ (0, P.jsx)(mse, {
+ }) : null, A = g ? /* @__PURE__ */ (0, P.jsx)(gse, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -40688,7 +40689,7 @@ function Cse(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, P.jsx)(bse, {
+ }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, P.jsx)(Sse, {
assets: D,
picked: r.assets,
locked: s,
@@ -40696,21 +40697,21 @@ function Cse(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, P.jsx)(kw, {
+ }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "inset",
- icon: MS,
+ icon: jS,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, P.jsx)(yse, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, P.jsx)(xse, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, P.jsx)(QI, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, P.jsxs)("h4", {
- className: `${eL} flex-wrap gap-2`,
- children: [/* @__PURE__ */ (0, P.jsx)(Sw, {
+ }) : /* @__PURE__ */ (0, P.jsx)($I, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, P.jsxs)("h4", {
+ className: `${tL} flex-wrap gap-2`,
+ children: [/* @__PURE__ */ (0, P.jsx)(xw, {
variant: "caption",
color: "blue",
children: x
@@ -40720,7 +40721,7 @@ function Cse(e) {
children: S
})]
}) : /* @__PURE__ */ (0, P.jsx)("h4", {
- className: eL,
+ className: tL,
children: /* @__PURE__ */ (0, P.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -40730,13 +40731,13 @@ function Cse(e) {
return /* @__PURE__ */ (0, P.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${xse} ${Sse(t)} overflow-hidden`,
+ className: `${Cse} ${wse(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, P.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, P.jsx)("span", {
- className: `${eL} shrink-0`,
+ className: `${tL} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
@@ -40753,7 +40754,7 @@ function Cse(e) {
className: "min-w-0 flex-1",
children: j
}),
- O ? /* @__PURE__ */ (0, P.jsx)(Sw, {
+ O ? /* @__PURE__ */ (0, P.jsx)(xw, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -40777,7 +40778,7 @@ function Cse(e) {
!y && k ? k : null,
w.length || t === "creator_tags" ? /* @__PURE__ */ (0, P.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: w.length ? w.map((e) => /* @__PURE__ */ (0, P.jsx)(Sw, {
+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, P.jsx)(xw, {
variant: "caption",
color: "soft",
children: e
@@ -40787,7 +40788,7 @@ function Cse(e) {
})
}) : null,
A,
- /* @__PURE__ */ (0, P.jsx)(gse, {
+ /* @__PURE__ */ (0, P.jsx)(vse, {
row: n,
tags: u,
locked: s,
@@ -40849,8 +40850,8 @@ function Cse(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var wse = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";
-function Tse({ page: e, pages: t, onPage: n }) {
+var Ese = "flex min-h-9 cursor-pointer items-center justify-between gap-2 rounded-2lg p-2 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary review-tight:min-h-10 review-tight:px-3 review-tight:py-2.5";
+function Dse({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, P.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -40887,8 +40888,8 @@ function Tse({ page: e, pages: t, onPage: n }) {
]
});
}
-function Ese(e) {
- let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, N.useState)(Vk(e.category) ? e.category : Jie), [f, p] = (0, N.useState)("candidates"), [m, h] = (0, N.useState)(""), [g, _] = (0, N.useState)(1), [v, y] = (0, N.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, N.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, N.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, N.useState)(""), E = (0, N.useRef)(null), [D, O] = (0, N.useState)(0), [k, A] = (0, N.useState)(""), j = (0, N.useRef)(!0);
+function Ose(e) {
+ let { route: t, openItem: n, openEntity: r, revealSource: i, avatarInner: a, toast: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, N.useState)(Vk(e.category) ? e.category : Xie), [f, p] = (0, N.useState)("candidates"), [m, h] = (0, N.useState)(""), [g, _] = (0, N.useState)(1), [v, y] = (0, N.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, N.useState)(/* @__PURE__ */ new Map()), [S, C] = (0, N.useState)(/* @__PURE__ */ new Map()), [w, T] = (0, N.useState)(""), E = (0, N.useRef)(null), [D, O] = (0, N.useState)(0), [k, A] = (0, N.useState)(""), j = (0, N.useRef)(!0);
(0, N.useEffect)(() => () => {
j.current = !1;
}, []);
@@ -40898,10 +40899,10 @@ function Ese(e) {
}).data || {
sections: {},
counts: {}
- }, F = M.sections[u] || [], I = u === "metadata_fields", ee = s, te = Xie(F, I), ne = te.some(([e]) => e === f) ? f : "candidates", re = Hk(F, ne), ie = re.some((e) => e.key === m) ? m : "", L = Qie(Zie(F, ne, ie), g), ae = L.rows.map((e) => e.item_key), oe = new Set(ae), se = re.map((e) => ({
+ }, F = M.sections[u] || [], I = u === "metadata_fields", ee = s, te = Qie(F, I), ne = te.some(([e]) => e === f) ? f : "candidates", re = Hk(F, ne), ie = re.some((e) => e.key === m) ? m : "", L = eae($ie(F, ne, ie), g), ae = L.rows.map((e) => e.item_key), oe = new Set(ae), se = re.map((e) => ({
...e,
rows: e.rows.filter((e) => oe.has(e.item_key))
- })).filter((e) => e.rows.length), ce = (e) => b.get(e.item_key) || aae(e), le = F.filter((e) => v.has(e.item_key)), ue = (e) => {
+ })).filter((e) => e.rows.length), ce = (e) => b.get(e.item_key) || sae(e), le = F.filter((e) => v.has(e.item_key)), ue = (e) => {
let t = new Set(e);
y((e) => new Set([...e].filter((e) => !t.has(e)))), x((e) => new Map([...e].filter(([e]) => !t.has(e)))), C((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, R = (e, t) => C((n) => new Map(n).set(e, t)), z = (e) => {
@@ -40913,7 +40914,7 @@ function Ese(e) {
R(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- Yk(u, [t.item_key]), ue([t.item_key]), o(oae(n));
+ Yk(u, [t.item_key]), ue([t.item_key]), o(cae(n));
},
onError: (e, { row: t }) => R(t.item_key, K(e))
}), fe = St({
@@ -40967,7 +40968,7 @@ function Ese(e) {
O(e), A("");
let t = await i(e);
j.current && (O(0), A(t));
- }, ge = uae(M.mirror, c), _e = M.genre_tags || [], ve = {
+ }, ge = fae(M.mirror, c), _e = M.genre_tags || [], ve = {
openItem: n,
openEntity: r,
onReveal: he,
@@ -40976,7 +40977,7 @@ function Ese(e) {
avatarInner: a,
toast: o
};
- return /* @__PURE__ */ (0, P.jsx)(jw, { children: /* @__PURE__ */ (0, P.jsxs)("div", {
+ return /* @__PURE__ */ (0, P.jsx)(Aw, { children: /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
ee ? /* @__PURE__ */ (0, P.jsx)(J, {
@@ -40992,7 +40993,7 @@ function Ese(e) {
}) : void 0,
children: ge
}) : null,
- /* @__PURE__ */ (0, P.jsx)(pse, { tags: _e }),
+ /* @__PURE__ */ (0, P.jsx)(hse, { tags: _e }),
/* @__PURE__ */ (0, P.jsxs)(pO, {
selectedKey: u,
onSelectionChange: (e) => {
@@ -41009,11 +41010,11 @@ function Ese(e) {
}), /* @__PURE__ */ (0, P.jsx)(mO, {
"aria-labelledby": "reviewcategories",
className: "flex flex-wrap gap-1 review-split:flex-col review-split:flex-nowrap review-split:items-stretch",
- children: qie.map((e) => {
+ children: Yie.map((e) => {
let t = Number(M.counts[e] || 0);
return /* @__PURE__ */ (0, P.jsxs)(hO, {
id: e,
- className: wse,
+ className: Ese,
children: [Bk[e], t ? /* @__PURE__ */ (0, P.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
@@ -41025,7 +41026,7 @@ function Ese(e) {
id: u,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- F.length && !ee ? /* @__PURE__ */ (0, P.jsx)(dse, {
+ F.length && !ee ? /* @__PURE__ */ (0, P.jsx)(pse, {
groupOptions: te,
groupBy: ne,
onGroupBy: (e) => {
@@ -41066,7 +41067,7 @@ function Ese(e) {
})]
}) : null, /* @__PURE__ */ (0, P.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, P.jsx)(Cse, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, P.jsx)(Tse, {
category: u,
row: e,
choice: ce(e),
@@ -41074,7 +41075,7 @@ function Ese(e) {
selected: v.has(e.item_key),
onSelect: (t, n) => y((r) => {
let i = new Set(r);
- return E.current = eae(i, ae, E.current, e.item_key, t, n), i;
+ return E.current = nae(i, ae, E.current, e.item_key, t, n), i;
}),
locked: ee,
busy: de.isPending && de.variables?.row.item_key === e.item_key,
@@ -41089,12 +41090,12 @@ function Ese(e) {
handlers: ve
}, e.item_key))
})]
- }, e.key)) : /* @__PURE__ */ (0, P.jsx)(kw, {
- icon: Ete,
+ }, e.key)) : /* @__PURE__ */ (0, P.jsx)(Ow, {
+ icon: Dte,
title: "暂无候选",
children: "该分类当前没有待人工复核的项目。"
}),
- /* @__PURE__ */ (0, P.jsx)(Tse, {
+ /* @__PURE__ */ (0, P.jsx)(Dse, {
page: L.page,
pages: L.pages,
onPage: _
@@ -41107,13 +41108,9 @@ function Ese(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var Dse = "/api/scraping", Ose = "/api/scraping/settings", kse = "/api/scraping/check", tL = "/api/scraping/cover", Ase = "/api/scraping/amane-bridge", jse = "/api/scraping/amane-bridge/check", Mse = "/api/scraping/amane-bridge/rebuild", nL = ["scraping"], rL = ["scraping", "cover"], iL = ["scraping", "amane-bridge"], aL = (e) => Dw(Dse, e), oL = (e) => Dw(tL, e), sL = (e) => Dw(Ase, e);
-async function Nse(e) {
+var kse = "/api/scraping", Ase = "/api/scraping/settings", jse = "/api/scraping/check", nL = "/api/scraping/cover", Mse = "/api/scraping/amane-bridge", Nse = "/api/scraping/amane-bridge/check", Pse = "/api/scraping/amane-bridge/rebuild", rL = ["scraping"], iL = ["scraping", "cover"], aL = ["scraping", "amane-bridge"], oL = (e) => Ew(kse, e), sL = (e) => Ew(nL, e), cL = (e) => Ew(Mse, e);
+async function Fse(e) {
await Promise.all([
- X.fetchQuery({
- queryKey: nL,
- queryFn: () => aL(e)
- }),
X.fetchQuery({
queryKey: rL,
queryFn: () => oL(e)
@@ -41121,16 +41118,20 @@ async function Nse(e) {
X.fetchQuery({
queryKey: iL,
queryFn: () => sL(e)
+ }),
+ X.fetchQuery({
+ queryKey: aL,
+ queryFn: () => cL(e)
})
]);
}
-function Pse(e, t) {
+function Ise(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 Fse = [["peach", "Peach 代理"], ["direct", "直接连接"]], cL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function Ise({ source: e }) {
+var Lse = [["peach", "Peach 代理"], ["direct", "直接连接"]], lL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function Rse({ source: e }) {
return /* @__PURE__ */ (0, P.jsx)("img", {
src: o({ source: e }),
alt: "",
@@ -41141,13 +41142,13 @@ function Ise({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function Lse({ source: e, toast: t }) {
- let [n, r] = (0, N.useState)(e.network), [i, a] = (0, N.useState)(""), [o, s] = (0, N.useState)(""), [c, l] = (0, N.useState)(cL[0][0]), [u, d] = (0, N.useState)(""), [f, p] = (0, N.useState)(""), m = (0, N.useRef)(null);
+function zse({ source: e, toast: t }) {
+ let [n, r] = (0, N.useState)(e.network), [i, a] = (0, N.useState)(""), [o, s] = (0, N.useState)(""), [c, l] = (0, N.useState)(lL[0][0]), [u, d] = (0, N.useState)(""), [f, p] = (0, N.useState)(""), m = (0, N.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
let g = St({
- mutationFn: (t) => q(Ose, {
+ mutationFn: (t) => q(Ase, {
source: e.source,
network: n,
cookie: i,
@@ -41155,12 +41156,12 @@ function Lse({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- X.setQueryData(nL, (t) => t && {
+ X.setQueryData(rL, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = St({ mutationFn: () => q(kse, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = St({ mutationFn: () => q(jse, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -41190,7 +41191,7 @@ function Lse({ source: e, toast: t }) {
onSubmit: y,
aside: /* @__PURE__ */ (0, P.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, P.jsx)(Ise, { source: e.source }), /* @__PURE__ */ (0, P.jsx)(bj, {
+ children: [/* @__PURE__ */ (0, P.jsx)(Rse, { source: e.source }), /* @__PURE__ */ (0, P.jsx)(bj, {
href: e.login,
children: e.login
})]
@@ -41204,7 +41205,7 @@ function Lse({ source: e, toast: t }) {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: Fse.map(([e, t]) => /* @__PURE__ */ (0, P.jsx)(Vj, {
+ children: Lse.map(([e, t]) => /* @__PURE__ */ (0, P.jsx)(Vj, {
id: e,
children: t
}, e))
@@ -41218,7 +41219,7 @@ function Lse({ source: e, toast: t }) {
children: /* @__PURE__ */ (0, P.jsx)(HA, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: _S,
+ trailingIcon: gS,
children: "配置 Peach 代理"
})
}) : null,
@@ -41231,14 +41232,14 @@ function Lse({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, P.jsx)(fD, {
+ /* @__PURE__ */ (0, P.jsx)(pD, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
className: CP,
- children: cL.map(([e, t]) => /* @__PURE__ */ (0, P.jsx)(pD, {
+ children: lL.map(([e, t]) => /* @__PURE__ */ (0, P.jsx)(mD, {
value: e,
className: wP,
children: t
@@ -41282,7 +41283,7 @@ function Lse({ source: e, toast: t }) {
C ? /* @__PURE__ */ (0, P.jsx)(vj, { children: C }) : null,
w.map((t) => /* @__PURE__ */ (0, P.jsx)(J, {
tone: t.ok ? "success" : "error",
- children: Pse(t, e.label)
+ children: Ise(t, e.label)
}, t.label))
]
}) : null,
@@ -41308,11 +41309,11 @@ function Lse({ source: e, toast: t }) {
]
});
}
-function Rse({ toast: e }) {
+function Bse({ toast: e }) {
let [t, n] = (0, N.useState)(""), { running: r, outcome: i, start: a } = Gj({
- queryKey: rL,
- queryFn: ({ signal: e }) => oL(e),
- start: () => q(tL, { code: t }),
+ queryKey: iL,
+ queryFn: ({ signal: e }) => sL(e),
+ start: () => q(nL, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
@@ -41342,7 +41343,7 @@ function Rse({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, P.jsx)(Aw, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, P.jsx)(kw, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
children: s
@@ -41354,11 +41355,11 @@ function Rse({ toast: e }) {
] })
});
}
-function zse({ toast: e }) {
+function Vse({ toast: e }) {
let { query: t, running: n, outcome: r, start: i } = Gj({
- queryKey: iL,
- queryFn: ({ signal: e }) => sL(e),
- start: () => q(Mse, {}),
+ queryKey: aL,
+ queryFn: ({ signal: e }) => cL(e),
+ start: () => q(Pse, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -41367,7 +41368,7 @@ function zse({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = St({ mutationFn: () => q(jse, {}) }), o = t.data;
+ }), a = St({ mutationFn: () => q(Nse, {}) }), o = t.data;
if (!o) return t.error ? /* @__PURE__ */ (0, P.jsx)(pj, {
title: "amane 桥",
children: /* @__PURE__ */ (0, P.jsx)(hj, { children: /* @__PURE__ */ (0, P.jsx)(J, {
@@ -41409,7 +41410,7 @@ function zse({ toast: e }) {
o.license,
")的解析器经独立子进程回答,运行环境按钉住的版本单独安装, 不随上游自动升级;换版本要人读过上游改动再改清单。首次安装约需下载 98 MB。"
] }),
- n ? /* @__PURE__ */ (0, P.jsx)(Aw, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, P.jsx)(kw, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
children: c
@@ -41437,23 +41438,23 @@ function zse({ toast: e }) {
]
});
}
-function Bse({ toast: e }) {
+function Hse({ toast: e }) {
let t = xt({
- queryKey: nL,
- queryFn: ({ signal: e }) => aL(e)
+ queryKey: rL,
+ queryFn: ({ signal: e }) => oL(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, P.jsxs)(jw, { children: [
+ return n ? /* @__PURE__ */ (0, P.jsxs)(Aw, { children: [
/* @__PURE__ */ (0, P.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, P.jsx)(Rse, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, P.jsx)(Lse, {
+ /* @__PURE__ */ (0, P.jsx)(Bse, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, P.jsx)(zse, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, P.jsx)(zse, { toast: e })
- ] }) : /* @__PURE__ */ (0, P.jsx)(jw, { children: /* @__PURE__ */ (0, P.jsx)(J, {
+ /* @__PURE__ */ (0, P.jsx)(Vse, { toast: e })
+ ] }) : /* @__PURE__ */ (0, P.jsx)(Aw, { children: /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取采集来源失败"
@@ -41461,16 +41462,16 @@ function Bse({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var lL = "/api/configuration", Vse = "/api/pick-folder", uL = ["configuration"], dL = (e) => Dw(lL, e);
-async function fL(e) {
+var uL = "/api/configuration", Use = "/api/pick-folder", dL = ["configuration"], fL = (e) => Ew(uL, e);
+async function pL(e) {
await X.fetchQuery({
- queryKey: uL,
- queryFn: () => dL(e)
+ queryKey: dL,
+ queryFn: () => fL(e)
});
}
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function Hse({ initial: e, receipt: t }) {
+function Wse({ initial: e, receipt: t }) {
let [n, r] = (0, N.useState)(e.sites), i = Nw(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
@@ -41507,19 +41508,19 @@ function Hse({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function Use({ data: e, receipt: t }) {
+function Gse({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, P.jsx)(Wse, {
+ children: [e.startup ? /* @__PURE__ */ (0, P.jsx)(Kse, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, P.jsx)(Hse, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, P.jsx)(Wse, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function Wse({ startup: e, receipt: t }) {
+function Kse({ startup: e, receipt: t }) {
let [n, r] = (0, N.useState)(e.enabled), [i, a] = (0, N.useState)(e.silent), [o, s] = (0, N.useState)(e.desktop), c = Nw(), l = e.available && !e.desktop_message;
return /* @__PURE__ */ (0, P.jsxs)(pj, {
title: "开机自启",
@@ -41577,23 +41578,23 @@ function Wse({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var pL = /* @__PURE__ */ new Set([
+var mL = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), Gse = [
+]), qse = [
65,
67,
90
-], mL = 120;
-function Kse({ initial: e, initialJob: t }) {
+], hL = 120;
+function Jse({ initial: e, initialJob: t }) {
let [n, r] = (0, N.useState)(e), [i, a] = (0, N.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, N.useState)(""), c = Nw(), u = (0, N.useRef)(!1), d = (0, N.useRef)(!0), f = pL.has(i.state);
+ }), [o, s] = (0, N.useState)(""), c = Nw(), u = (0, N.useRef)(!1), d = (0, N.useRef)(!0), f = mL.has(i.state);
(0, N.useEffect)(() => (d.current = !0, () => {
d.current = !1;
}), []);
@@ -41610,9 +41611,9 @@ function Kse({ initial: e, initialJob: t }) {
(0, N.useEffect)(() => {
i.state !== "ready" || u.current || (u.current = !0, m());
}, [i.state]), (0, N.useEffect)(() => {
- let e = new AbortController(), t = pL.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = mL.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
- let t = await Dw("/api/configuration/update-status", e.signal);
+ let t = await Ew("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
a(t), o = 0, t.state === "complete" && r((e) => ({
...e,
@@ -41620,12 +41621,12 @@ function Kse({ initial: e, initialJob: t }) {
state: "current",
message: "已是最新测试版。"
}));
- let n = await Dw("/api/configuration/automatic-updates", e.signal);
+ let n = await Ew("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= mL && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= hL && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < mL && (n = setTimeout(c, t));
+ !e.signal.aborted && o < hL && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -41633,7 +41634,7 @@ function Kse({ initial: e, initialJob: t }) {
}, [i.state]);
let h = () => {
f || (u.current = !1, s(""), c.run("download", (e) => q("/api/configuration/update", {}, "POST", e), a));
- }, g = () => void c.run("check", (e) => Dw("/api/configuration/updates", e), r, (t) => {
+ }, g = () => void c.run("check", (e) => Ew("/api/configuration/updates", e), r, (t) => {
r({
...e,
state: "error"
@@ -41680,7 +41681,7 @@ function Kse({ initial: e, initialJob: t }) {
/* @__PURE__ */ (0, P.jsx)(Mw, {
label: "更新准备进度",
value: i.progress,
- stops: Gse
+ stops: qse
}),
/* @__PURE__ */ (0, P.jsxs)(_j, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
/* @__PURE__ */ (0, P.jsx)(_j, { children: v })
@@ -41716,36 +41717,36 @@ function Kse({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var qse = [
+var Yse = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function Jse({ data: e, receipt: t, reopenTutorial: n }) {
+function Xse({ data: e, receipt: t, reopenTutorial: n }) {
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.automatic_updates ? /* @__PURE__ */ (0, P.jsx)(Xse, {
+ e.automatic_updates ? /* @__PURE__ */ (0, P.jsx)(Qse, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, P.jsx)(Kse, {
+ e.updates ? /* @__PURE__ */ (0, P.jsx)(Jse, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, P.jsx)(Zse, { facts: e.facts }),
- /* @__PURE__ */ (0, P.jsx)(Yse, {
+ /* @__PURE__ */ (0, P.jsx)($se, { facts: e.facts }),
+ /* @__PURE__ */ (0, P.jsx)(Zse, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, P.jsx)(Qse, {
+ e.uninstall ? /* @__PURE__ */ (0, P.jsx)(ece, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function Yse({ receipt: e, reopenTutorial: t }) {
+function Zse({ receipt: e, reopenTutorial: t }) {
let n = Nw();
return /* @__PURE__ */ (0, P.jsxs)(pj, {
title: "安装教程",
@@ -41756,7 +41757,7 @@ function Yse({ receipt: e, reopenTutorial: t }) {
}) })]
});
}
-function Xse({ initial: e, receipt: t }) {
+function Qse({ initial: e, receipt: t }) {
let [n, r] = (0, N.useState)(e.mode), [i, a] = (0, N.useState)(e.interval_hours), o = Nw(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => q("/api/configuration/automatic-updates", {
mode: n,
@@ -41796,7 +41797,7 @@ function Xse({ initial: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: qse.map(([e, t]) => /* @__PURE__ */ (0, P.jsx)(Vj, {
+ children: Yse.map(([e, t]) => /* @__PURE__ */ (0, P.jsx)(Vj, {
id: e,
children: t
}, e))
@@ -41816,7 +41817,7 @@ function Xse({ initial: e, receipt: t }) {
]
});
}
-function Zse({ facts: e }) {
+function $se({ facts: e }) {
return /* @__PURE__ */ (0, P.jsx)(pj, {
title: "运行信息",
children: /* @__PURE__ */ (0, P.jsx)(xj, { children: e.map((e) => /* @__PURE__ */ (0, P.jsxs)(Sj, {
@@ -41828,7 +41829,7 @@ function Zse({ facts: e }) {
}, e.term)) })
});
}
-function Qse({ uninstall: e, receipt: t }) {
+function ece({ uninstall: e, receipt: t }) {
let [n, r] = (0, N.useState)(!1), [i, a] = (0, N.useState)(""), o = () => void l({
title: "卸载 Peach",
danger: !0,
@@ -41877,7 +41878,7 @@ function Qse({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/clouddrive-guide.tsx
-var $se = [
+var tce = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -41896,12 +41897,12 @@ var $se = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], ece = [
+], nce = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function tce() {
+function rce() {
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "@container flex flex-col gap-3",
children: [/* @__PURE__ */ (0, P.jsxs)(_j, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, P.jsx)(bj, {
@@ -41914,14 +41915,14 @@ function tce() {
/* @__PURE__ */ (0, P.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: $se.map((e) => /* @__PURE__ */ (0, P.jsxs)("li", {
+ children: tce.map((e) => /* @__PURE__ */ (0, P.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, P.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, P.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: ece.map(([t, n]) => /* @__PURE__ */ (0, P.jsxs)("div", {
+ children: nce.map(([t, n]) => /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, P.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -41956,7 +41957,7 @@ function tce() {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var hL = [
+var gL = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -42000,13 +42001,13 @@ var hL = [
["star", "收藏"],
["tags", "主题"]
];
-function nce(e) {
+function ice(e) {
let t = e === "local" ? "" : s[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var gL = "auto";
-function rce({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, N.useRef)(null), [a, o] = (0, N.useState)(!1), [s, c] = (0, N.useState)(e), [l, u] = nce(n);
+var _L = "auto";
+function ace({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, N.useRef)(null), [a, o] = (0, N.useState)(!1), [s, c] = (0, N.useState)(e), [l, u] = ice(n);
return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(G, {
ref: i,
variant: "secondary",
@@ -42020,16 +42021,16 @@ function rce({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, P.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, P.jsx)(Tj, { mark: e || l }), ((e) => e && hL.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, P.jsx)(Tj, { mark: e || l }), ((e) => e && gL.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, P.jsx)(GE, {
+ }), /* @__PURE__ */ (0, P.jsx)(KE, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
className: UA,
- children: /* @__PURE__ */ (0, P.jsxs)(YE, {
+ children: /* @__PURE__ */ (0, P.jsxs)(XE, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
@@ -42038,17 +42039,17 @@ function rce({ value: e, label: t, kind: n = "local", onChange: r }) {
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, P.jsx)(fD, {
+ /* @__PURE__ */ (0, P.jsx)(pD, {
"aria-label": "候选图标",
- value: s || gL,
- onChange: (e) => c(e === gL ? "" : e),
+ value: s || _L,
+ onChange: (e) => c(e === _L ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: hL.map(([e, t]) => /* @__PURE__ */ (0, P.jsx)(pD, {
- value: e || gL,
+ children: gL.map(([e, t]) => /* @__PURE__ */ (0, P.jsx)(mD, {
+ value: e || _L,
"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, P.jsx)(Tj, { mark: e || l })
- }, e || gL))
+ }, e || _L))
}),
/* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -42070,8 +42071,8 @@ function rce({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var ice = "/api/configuration/push-discovery", ace = "/api/configuration/push-discovery/secret";
-function oce({ initial: e, receipt: t }) {
+var oce = "/api/configuration/push-discovery", sce = "/api/configuration/push-discovery/secret";
+function cce({ initial: e, receipt: t }) {
let [n, r] = (0, N.useState)(e), [i, a] = (0, N.useState)(e.prefixes), [o, s] = (0, N.useState)(""), c = Nw(), l = PO(), u = n.media_roots, [d, f] = (0, N.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 ? {
@@ -42088,7 +42089,7 @@ function oce({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => q(ice, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
+ c.run("save", (e) => q(oce, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(K(e)));
},
children: [
/* @__PURE__ */ (0, P.jsxs)(mj, { children: [
@@ -42205,7 +42206,7 @@ function oce({ initial: e, receipt: t }) {
}, e))
}),
/* @__PURE__ */ (0, P.jsx)(vO, {
- icon: xS,
+ icon: bS,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -42231,7 +42232,7 @@ function oce({ initial: e, receipt: t }) {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, P.jsx)(G, {
onClick: () => {
- c.run("secret", (e) => q(ace, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
+ c.run("secret", (e) => q(sce, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(K(e)));
},
disabled: !n.available,
...Y(c.busy === "secret"),
@@ -42248,8 +42249,8 @@ function oce({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var sce = 8e3;
-function cce({ className: e }) {
+var lce = 8e3;
+function uce({ className: e }) {
return /* @__PURE__ */ (0, P.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -42262,33 +42263,33 @@ function cce({ className: e }) {
children: /* @__PURE__ */ (0, P.jsx)("use", { href: "#i-folder-search" })
});
}
-var _L = [
+var vL = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], lce = (e) => _L.find(([t]) => t === e)?.[1] ?? e, vL = (e) => s[e] || "database", yL = (e = "") => ({
+], dce = (e) => vL.find(([t]) => t === e)?.[1] ?? e, yL = (e) => s[e] || "database", bL = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function uce(e) {
- let t = e.media_sources?.filter((e) => _L.some(([t]) => t === e.location));
+function fce(e) {
+ let t = e.media_sources?.filter((e) => vL.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
path: e.path,
location: e.location,
root: e.root,
library: e.library || "",
library_icon: e.library_icon || ""
- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => yL(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => bL(e));
}
-var dce = (e) => !(e instanceof Tw) || e.status !== 400 ? null : e.body?.errors ?? null;
-function fce({ data: e, receipt: t }) {
+var pce = (e) => !(e instanceof ww) || e.status !== 400 ? null : e.body?.errors ?? null;
+function mce({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, P.jsx)(pce, {
+ e.editable ? /* @__PURE__ */ (0, P.jsx)(hce, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, P.jsx)(J, {
@@ -42296,21 +42297,21 @@ function fce({ data: e, receipt: t }) {
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, P.jsx)(hce, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, P.jsx)(oce, {
+ /* @__PURE__ */ (0, P.jsx)(_ce, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, P.jsx)(cce, {
initial: e.push_discovery,
receipt: t
}) : null
]
});
}
-function pce({ data: e, receipt: t }) {
- let [n, r] = (0, N.useState)(() => uce(e)), [i, a] = (0, N.useState)(String(e.port)), [o, s] = (0, N.useState)(!1), [c, l] = (0, N.useState)([]), [u, d] = (0, N.useState)(""), [f, p] = (0, N.useState)(""), [m, h] = (0, N.useState)(null), [g, _] = (0, N.useState)(null), [v, y] = (0, N.useState)(null), b = (0, N.useRef)(!1), x = (0, N.useRef)(e.revision), S = (0, N.useRef)([]), C = Nw();
+function hce({ data: e, receipt: t }) {
+ let [n, r] = (0, N.useState)(() => fce(e)), [i, a] = (0, N.useState)(String(e.port)), [o, s] = (0, N.useState)(!1), [c, l] = (0, N.useState)([]), [u, d] = (0, N.useState)(""), [f, p] = (0, N.useState)(""), [m, h] = (0, N.useState)(null), [g, _] = (0, N.useState)(null), [v, y] = (0, N.useState)(null), b = (0, N.useRef)(!1), x = (0, N.useRef)(e.revision), S = (0, N.useRef)([]), C = Nw();
(0, N.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
}, [g]), (0, N.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), sce);
+ let e = setTimeout(() => location.assign(m.url), lce);
return () => clearTimeout(e);
}, [m]);
let w = (e, t) => r((n) => n.map((n, r) => r === e ? {
@@ -42321,14 +42322,14 @@ function pce({ data: e, receipt: t }) {
for (; r.length <= e;) r.push("");
return r[e] = t, r;
}), E = () => {
- _(n.length), r((e) => [...e, yL()]);
+ _(n.length), r((e) => [...e, bL()]);
}, D = (e) => {
r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));
}, O = async (e) => {
if (!b.current) {
b.current = !0, y(e);
try {
- let { path: t } = await q(Vse, { initial: n[e]?.path ?? "" });
+ let { path: t } = await q(Use, { initial: n[e]?.path ?? "" });
t && (w(e, { path: t }), T(e, ""));
} catch (t) {
T(e, K(t));
@@ -42337,7 +42338,7 @@ function pce({ data: e, receipt: t }) {
}
}
}, k = (r) => {
- r.preventDefault(), p(""), C.run("save", (t) => q(lL, {
+ r.preventDefault(), p(""), C.run("save", (t) => q(uL, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -42346,7 +42347,7 @@ function pce({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = dce(e);
+ let t = pce(e);
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(K(e));
});
};
@@ -42399,13 +42400,13 @@ function pce({ data: e, receipt: t }) {
hint: c[r] || void 0
}),
/* @__PURE__ */ (0, P.jsx)(vO, {
- icon: cce,
+ icon: uce,
"aria-label": "选择文件夹",
onClick: () => void O(r),
...Y(v === r)
}),
n.length > 1 ? /* @__PURE__ */ (0, P.jsx)(vO, {
- icon: xS,
+ icon: bS,
"aria-label": "移除这个文件夹",
onClick: () => D(r)
}) : null
@@ -42422,7 +42423,7 @@ function pce({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, P.jsx)(yj, { children: "媒体库图标" }), /* @__PURE__ */ (0, P.jsx)(rce, {
+ children: [/* @__PURE__ */ (0, P.jsx)(yj, { children: "媒体库图标" }), /* @__PURE__ */ (0, P.jsx)(ace, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
@@ -42437,10 +42438,10 @@ function pce({ data: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: _L.map(([e, t]) => /* @__PURE__ */ (0, P.jsxs)(Vj, {
+ children: vL.map(([e, t]) => /* @__PURE__ */ (0, P.jsxs)(Vj, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, P.jsx)(Tj, { mark: vL(e) }), t]
+ children: [/* @__PURE__ */ (0, P.jsx)(Tj, { mark: yL(e) }), t]
}, e))
})]
}),
@@ -42461,7 +42462,7 @@ function pce({ data: e, receipt: t }) {
})
]
}),
- A ? /* @__PURE__ */ (0, P.jsx)(tce, {}) : null,
+ A ? /* @__PURE__ */ (0, P.jsx)(rce, {}) : null,
j.map((e) => /* @__PURE__ */ (0, P.jsxs)(_j, { children: [
"未检测到 ",
e.name,
@@ -42502,7 +42503,7 @@ function pce({ data: e, receipt: t }) {
})]
});
}
-function mce({ online: e }) {
+function gce({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, P.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -42526,21 +42527,21 @@ function mce({ online: e }) {
}), "未检测"]
});
}
-function hce({ data: e }) {
+function _ce({ data: e }) {
let t = e.media_sources, n = Nw();
return t ? /* @__PURE__ */ (0, P.jsxs)(pj, {
title: "挂载状态",
children: [
/* @__PURE__ */ (0, P.jsx)(xj, { children: t.map((e, t) => /* @__PURE__ */ (0, P.jsxs)(Sj, {
- term: /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(Tj, { mark: vL(e.location) }), lce(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, P.jsx)(mce, { online: e.online })]
+ term: /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(Tj, { mark: yL(e.location) }), dce(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, P.jsx)(gce, { online: e.online })]
}, t)) }),
n.error ? /* @__PURE__ */ (0, P.jsx)(hj, {
divided: !0,
children: /* @__PURE__ */ (0, P.jsx)(vj, { children: n.error })
}) : null,
/* @__PURE__ */ (0, P.jsx)(gj, { children: /* @__PURE__ */ (0, P.jsx)(G, {
- onClick: () => void n.run("refresh", (e) => dL(e), (e) => X.setQueryData(uL, e)),
+ onClick: () => void n.run("refresh", (e) => fL(e), (e) => X.setQueryData(dL, e)),
...Y(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -42549,12 +42550,12 @@ function hce({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var gce = {
+var vce = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function _ce({ initial: e, receipt: t }) {
+function yce({ initial: e, receipt: t }) {
let [n, r] = (0, N.useState)(e), [i, a] = (0, N.useState)(""), [o, s] = (0, N.useState)(""), [c, l] = (0, N.useState)(""), [u, d] = (0, N.useState)(!1), [f, p] = (0, N.useState)({}), m = (0, N.useRef)(null), h = Nw(), g = (e) => {
e.preventDefault();
let f = {};
@@ -42572,10 +42573,10 @@ function _ce({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof Tw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof ww ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(K(e));
});
- }, _ = gce[n.mode], v = n.mode !== "locked";
+ }, _ = vce[n.mode], v = n.mode !== "locked";
return /* @__PURE__ */ (0, P.jsxs)(pj, {
title: "访问密码",
onSubmit: g,
@@ -42652,19 +42653,19 @@ function _ce({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var vce = 2e3, yce = [["quick", "临时链接"], ["named", "命名隧道"]], bce = {
+var bce = 2e3, xce = [["quick", "临时链接"], ["named", "命名隧道"]], Sce = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function xce({ revision: e, initial: t, receipt: n }) {
+function Cce({ revision: e, initial: t, receipt: n }) {
let [r, i] = (0, N.useState)(t), [a, o] = (0, N.useState)(e), [s, c] = (0, N.useState)(t.mode), [l, u] = (0, N.useState)(t.hostname), [d, f] = (0, N.useState)(""), [p, m] = (0, N.useState)({}), h = Nw(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, N.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- dL(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (X.setQueryData(uL, t), i(t.tunnel), o(t.revision));
+ fL(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (X.setQueryData(dL, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, vce);
+ }, bce);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -42679,7 +42680,7 @@ function xce({ 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 Tw ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof ww ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? m(n) : h.setError(K(e));
});
};
@@ -42689,19 +42690,19 @@ function xce({ revision: e, initial: t, receipt: n }) {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
children: [/* @__PURE__ */ (0, P.jsxs)(hj, { children: [
- r.named_available ? /* @__PURE__ */ (0, P.jsx)(fD, {
+ r.named_available ? /* @__PURE__ */ (0, P.jsx)(pD, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
className: CP,
- children: yce.map(([e, t]) => /* @__PURE__ */ (0, P.jsx)(pD, {
+ children: xce.map(([e, t]) => /* @__PURE__ */ (0, P.jsx)(mD, {
value: e,
className: wP,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, P.jsx)(_j, { children: bce[_ ? "named" : "quick"] }),
+ /* @__PURE__ */ (0, P.jsx)(_j, { children: Sce[_ ? "named" : "quick"] }),
_ ? /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(CO, {
id: "tunnel-hostname",
label: "公开主机名",
@@ -42761,24 +42762,24 @@ function xce({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var Sce = [
+var wce = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function Cce({ data: e, receipt: t }) {
+function Tce({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, P.jsx)(wce, {
+ e.peach_proxy ? /* @__PURE__ */ (0, P.jsx)(Ece, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, P.jsx)(_ce, {
+ e.access ? /* @__PURE__ */ (0, P.jsx)(yce, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, P.jsx)(xce, {
+ e.tunnel ? /* @__PURE__ */ (0, P.jsx)(Cce, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -42786,7 +42787,7 @@ function Cce({ data: e, receipt: t }) {
]
});
}
-function wce({ initial: e, receipt: t }) {
+function Ece({ initial: e, receipt: t }) {
let [n, r] = (0, N.useState)(e), [i, a] = (0, N.useState)(e.mode), [o, s] = (0, N.useState)(""), c = Nw();
return /* @__PURE__ */ (0, P.jsxs)(pj, {
id: "peachProxy",
@@ -42809,7 +42810,7 @@ function wce({ initial: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: Sce.map(([e, t]) => /* @__PURE__ */ (0, P.jsx)(Vj, {
+ children: wce.map(([e, t]) => /* @__PURE__ */ (0, P.jsx)(Vj, {
id: e,
children: t
}, e))
@@ -42845,10 +42846,10 @@ function wce({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function Tce({ receipt: e, reopenTutorial: t }) {
+function Dce({ receipt: e, reopenTutorial: t }) {
let n = xt({
- queryKey: uL,
- queryFn: ({ signal: e }) => dL(e)
+ queryKey: dL,
+ queryFn: ({ signal: e }) => fL(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, P.jsx)("div", {
className: "configpage",
@@ -42869,22 +42870,22 @@ function Tce({ receipt: e, reopenTutorial: t }) {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, P.jsx)(Use, { ...i }) : null,
+ a ? /* @__PURE__ */ (0, P.jsx)(Gse, { ...i }) : null,
/* @__PURE__ */ (0, P.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, P.jsx)(fce, { ...i }),
+ /* @__PURE__ */ (0, P.jsx)(mce, { ...i }),
o ? /* @__PURE__ */ (0, P.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, P.jsx)(Cce, { ...i }) : null,
+ o ? /* @__PURE__ */ (0, P.jsx)(Tce, { ...i }) : null,
/* @__PURE__ */ (0, P.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, P.jsx)(Jse, {
+ /* @__PURE__ */ (0, P.jsx)(Xse, {
...i,
reopenTutorial: t
})
@@ -42893,14 +42894,14 @@ function Tce({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var Ece = (e) => {
+var Oce = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function Dce({ openConfiguration: e }) {
+function kce({ openConfiguration: e }) {
let t = xt({
- queryKey: uL,
- queryFn: ({ signal: e }) => dL(e)
+ queryKey: dL,
+ queryFn: ({ signal: e }) => fL(e)
}), n = t.data;
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex flex-col",
@@ -42915,7 +42916,7 @@ function Dce({ openConfiguration: e }) {
}),
/* @__PURE__ */ (0, P.jsx)(Sj, {
term: "更新",
- children: Ece(n)
+ children: Oce(n)
})
] }) : /* @__PURE__ */ (0, P.jsx)(hj, { children: /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
@@ -42932,14 +42933,14 @@ function Dce({ openConfiguration: e }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var Oce = "/api/stats", bL = ["stats"], xL = (e) => Dw(Oce, e);
-async function kce(e) {
+var Ace = "/api/stats", xL = ["stats"], SL = (e) => Ew(Ace, e);
+async function jce(e) {
await X.fetchQuery({
- queryKey: bL,
- queryFn: () => xL(e)
+ queryKey: xL,
+ queryFn: () => SL(e)
});
}
-var SL = (e, t) => t ? Math.round(e / t * 100) : 0, Ace = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, CL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, wL = (e) => (e.max_reached || 0) * 100, jce = (e) => e.kind === "online" ? "在线直接观看" : CL(e) < wL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", Mce = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, Nce = (e) => Math.max(1, ...e) * 1.1, Pce = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Fce = {
+var CL = (e, t) => t ? Math.round(e / t * 100) : 0, Mce = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, wL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, TL = (e) => (e.max_reached || 0) * 100, Nce = (e) => e.kind === "online" ? "在线直接观看" : wL(e) < TL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", Pce = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, Fce = (e) => Math.max(1, ...e) * 1.1, Ice = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Lce = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -42947,18 +42948,18 @@ var SL = (e, t) => t ? Math.round(e / t * 100) : 0, Ace = (e) => e >= 3600 ? `${
audio: "音频",
account: "账号",
other: "其它文件"
-}, Ice = (e) => e.map((e) => ({
- name: Fce[e.k] ?? e.k,
+}, Rce = (e) => e.map((e) => ({
+ name: Lce[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), Lce = {
+})).sort((e, t) => t.value - e.value), zce = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, TL = (e, t = {}) => e.map((e) => ({
+}, EL = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), Rce = (e) => TL(e, Lce), zce = [
+})), Bce = (e) => EL(e, zce), Vce = [
[
1,
1,
@@ -42994,49 +42995,49 @@ var SL = (e, t) => t ? Math.round(e / t * 100) : 0, Ace = (e) => e >= 3600 ? `${
Infinity,
"≥10 次"
]
-], Bce = (e) => zce.map(([t, n, r]) => ({
+], Hce = (e) => Vce.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), Vce = /* @__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 EL(e) {
- return typeof e == "string" && Vce.includes(e);
+})), Uce = /* @__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 DL(e) {
+ return typeof e == "string" && Uce.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var Hce = /* @__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 DL(e) {
- return typeof e == "string" && Hce.has(e);
-}
+var Wce = /* @__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 OL(e) {
- return typeof e == "string" && e.startsWith("data-");
+ return typeof e == "string" && Wce.has(e);
}
function kL(e) {
+ return typeof e == "string" && e.startsWith("data-");
+}
+function AL(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (DL(n) || OL(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (OL(n) || kL(n)) && (t[n] = e[n]);
return t;
}
-function AL(e) {
+function jL(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, N.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return kL(t);
+ return AL(t);
}
- return typeof e == "object" && !Array.isArray(e) ? kL(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? AL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function jL(e) {
+function ML(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (DL(n) || OL(n) || EL(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (OL(n) || kL(n) || DL(n)) && (t[n] = e[n]);
return t;
}
-function Uce(e) {
- return e == null ? null : /*#__PURE__*/ (0, N.isValidElement)(e) ? jL(e.props) : typeof e == "object" && !Array.isArray(e) ? jL(e) : null;
+function Gce(e) {
+ return e == null ? null : /*#__PURE__*/ (0, N.isValidElement)(e) ? ML(e.props) : typeof e == "object" && !Array.isArray(e) ? ML(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var Wce = [
+var Kce = [
"children",
"width",
"height",
@@ -43046,25 +43047,25 @@ var Wce = [
"title",
"desc"
];
-function ML() {
- return ML = Object.assign ? Object.assign.bind() : function(e) {
+function NL() {
+ return NL = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, ML.apply(null, arguments);
+ }, NL.apply(null, arguments);
}
-function Gce(e, t) {
+function qce(e, t) {
if (e == null) return {};
- var n, r, i = Kce(e, t);
+ var n, r, i = Jce(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 Kce(e, t) {
+function Jce(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -43073,14 +43074,14 @@ function Kce(e, t) {
}
return n;
}
-var NL = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Gce(e, Wce), d = a || {
+var PL = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = qce(e, Kce), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = Nm("recharts-surface", o);
- return /*#__PURE__*/ N.createElement("svg", ML({}, jL(u), {
+ return /*#__PURE__*/ N.createElement("svg", NL({}, ML(u), {
className: f,
width: r,
height: i,
@@ -43088,26 +43089,26 @@ var NL = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ N.createElement("title", null, c), /*#__PURE__*/ N.createElement("desc", null, l), n);
-}), qce = ["children", "className"];
-function PL() {
- return PL = Object.assign ? Object.assign.bind() : function(e) {
+}), Yce = ["children", "className"];
+function FL() {
+ return FL = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, PL.apply(null, arguments);
+ }, FL.apply(null, arguments);
}
-function Jce(e, t) {
+function Xce(e, t) {
if (e == null) return {};
- var n, r, i = Yce(e, t);
+ var n, r, i = Zce(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Yce(e, t) {
+function Zce(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -43116,39 +43117,39 @@ function Yce(e, t) {
}
return n;
}
-var FL = /*#__PURE__*/ N.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = Jce(e, qce), a = Nm("recharts-layer", r);
- return /*#__PURE__*/ N.createElement("g", PL({ className: a }, jL(i), { ref: t }), n);
-}), IL = /*#__PURE__*/ (0, N.createContext)(null), Xce = () => (0, N.useContext)(IL);
+var IL = /*#__PURE__*/ N.forwardRef((e, t) => {
+ var { children: n, className: r } = e, i = Xce(e, Yce), a = Nm("recharts-layer", r);
+ return /*#__PURE__*/ N.createElement("g", FL({ className: a }, ML(i), { ref: t }), n);
+}), LL = /*#__PURE__*/ (0, N.createContext)(null), Qce = () => (0, N.useContext)(LL);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function LL(e) {
+function RL(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var RL = Math.cos, zL = Math.sin, BL = Math.sqrt, VL = Math.PI;
-VL / 2;
-var HL = 2 * VL, UL = Math.PI, WL = 2 * UL, GL = 1e-6, Zce = WL - GL;
-function KL(e) {
+var zL = Math.cos, BL = Math.sin, VL = Math.sqrt, HL = Math.PI;
+HL / 2;
+var UL = 2 * HL, WL = Math.PI, GL = 2 * WL, KL = 1e-6, $ce = GL - KL;
+function qL(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function Qce(e) {
+function ele(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return KL;
+ if (t > 15) return qL;
let n = 10 ** t;
return function(e) {
this._ += e[0];
for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];
};
}
-var qL = class {
+var JL = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? KL : Qce(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? qL : ele(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -43169,18 +43170,18 @@ var qL = class {
if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);
let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
- else if (d > GL) {
- if (!(Math.abs(u * s - c * l) > GL) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > KL) {
+ if (!(Math.abs(u * s - c * l) > KL) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
else {
- let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((UL - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > GL && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
+ let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((WL - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > KL && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
}
}
}
arc(e, t, n, r, i, a) {
if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > GL || Math.abs(this._y1 - l) > GL) && this._append`L${c},${l}`, n && (d < 0 && (d = d % WL + WL), d > Zce ? 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 > GL && this._append`A${n},${n},0,${+(d >= UL)},${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) > KL || Math.abs(this._y1 - l) > KL) && this._append`L${c},${l}`, n && (d < 0 && (d = d % GL + GL), d > $ce ? 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 > KL && this._append`A${n},${n},0,${+(d >= WL)},${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`;
@@ -43189,10 +43190,10 @@ var qL = class {
return this._;
}
};
-qL.prototype;
+JL.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function JL(e) {
+function YL(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -43203,18 +43204,18 @@ function JL(e) {
t = e;
}
return e;
- }, () => new qL(t);
+ }, () => new JL(t);
}
Array.prototype.slice;
-function YL(e) {
+function XL(e) {
return typeof e == "object" && "length" in e ? e : Array.from(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js
-function XL(e) {
+function ZL(e) {
this._context = e;
}
-XL.prototype = {
+ZL.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -43237,33 +43238,33 @@ XL.prototype = {
}
}
};
-function ZL(e) {
- return new XL(e);
+function QL(e) {
+ return new ZL(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function QL(e) {
+function $L(e) {
return e[0];
}
-function $L(e) {
+function eR(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function eR(e, t) {
- var n = LL(!0), r = null, i = ZL, a = null, o = JL(s);
- e = typeof e == "function" ? e : e === void 0 ? QL : LL(e), t = typeof t == "function" ? t : t === void 0 ? $L : LL(t);
+function tR(e, t) {
+ var n = RL(!0), r = null, i = QL, a = null, o = YL(s);
+ e = typeof e == "function" ? e : e === void 0 ? $L : RL(e), t = typeof t == "function" ? t : t === void 0 ? eR : RL(t);
function s(s) {
- var c, l = (s = YL(s)).length, u, d = !1, f;
+ var c, l = (s = XL(s)).length, u, d = !1, f;
for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));
if (f) return a = null, f + "" || null;
}
return s.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : LL(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RL(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : LL(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : RL(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : LL(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : RL(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -43272,11 +43273,11 @@ function eR(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function tR(e, t, n) {
- var r = null, i = LL(!0), a = null, o = ZL, s = null, c = JL(l);
- e = typeof e == "function" ? e : e === void 0 ? QL : LL(+e), t = typeof t == "function" ? t : LL(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? $L : LL(+n);
+function nR(e, t, n) {
+ var r = null, i = RL(!0), a = null, o = QL, s = null, c = YL(l);
+ e = typeof e == "function" ? e : e === void 0 ? $L : RL(+e), t = typeof t == "function" ? t : RL(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? eR : RL(+n);
function l(l) {
- var u, d, f, p = (l = YL(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = XL(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {
if (!(u < p && i(m = l[u], u, l)) === h) {
if (h = !h) d = u, s.areaStart(), s.lineStart();
@@ -43290,20 +43291,20 @@ function tR(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return eR().defined(i).curve(o).context(a);
+ return tR().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : LL(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RL(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : LL(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RL(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : LL(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : RL(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : LL(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : RL(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : LL(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : RL(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : LL(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : RL(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -43311,7 +43312,7 @@ function tR(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : LL(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : RL(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -43320,7 +43321,7 @@ function tR(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var nR = class {
+var rR = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -43347,70 +43348,70 @@ var nR = class {
this._x0 = e, this._y0 = t;
}
};
-function $ce(e) {
- return new nR(e, !0);
+function tle(e) {
+ return new rR(e, !0);
}
-function ele(e) {
- return new nR(e, !1);
+function nle(e) {
+ return new rR(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var rR = { draw(e, t) {
- let n = BL(t / VL);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, HL);
-} }, tle = { draw(e, t) {
- let n = BL(t / 5) / 2;
+var iR = { draw(e, t) {
+ let n = VL(t / HL);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, UL);
+} }, rle = { draw(e, t) {
+ let n = VL(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();
-} }, iR = BL(1 / 3), nle = iR * 2, rle = { draw(e, t) {
- let n = BL(t / nle), r = n * iR;
+} }, aR = VL(1 / 3), ile = aR * 2, ale = { draw(e, t) {
+ let n = VL(t / ile), r = n * aR;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, ile = { draw(e, t) {
- let n = BL(t), r = -n / 2;
+} }, ole = { draw(e, t) {
+ let n = VL(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, ale = .8908130915292852, aR = zL(VL / 10) / zL(7 * VL / 10), ole = zL(HL / 10) * aR, sle = -RL(HL / 10) * aR, cle = { draw(e, t) {
- let n = BL(t * ale), r = ole * n, i = sle * n;
+} }, sle = .8908130915292852, oR = BL(HL / 10) / BL(7 * HL / 10), cle = BL(UL / 10) * oR, lle = -zL(UL / 10) * oR, ule = { draw(e, t) {
+ let n = VL(t * sle), r = cle * n, i = lle * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = HL * t / 5, o = RL(a), s = zL(a);
+ let a = UL * t / 5, o = zL(a), s = BL(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, oR = BL(3), lle = { draw(e, t) {
- let n = -BL(t / (oR * 3));
- e.moveTo(0, n * 2), e.lineTo(-oR * n, -n), e.lineTo(oR * n, -n), e.closePath();
-} }, sR = -.5, cR = BL(3) / 2, lR = 1 / BL(12), ule = (lR / 2 + 1) * 3, dle = { draw(e, t) {
- let n = BL(t / ule), r = n / 2, i = n * lR, a = r, o = n * lR + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(sR * r - cR * i, cR * r + sR * i), e.lineTo(sR * a - cR * o, cR * a + sR * o), e.lineTo(sR * s - cR * c, cR * s + sR * c), e.lineTo(sR * r + cR * i, sR * i - cR * r), e.lineTo(sR * a + cR * o, sR * o - cR * a), e.lineTo(sR * s + cR * c, sR * c - cR * s), e.closePath();
+} }, sR = VL(3), dle = { draw(e, t) {
+ let n = -VL(t / (sR * 3));
+ e.moveTo(0, n * 2), e.lineTo(-sR * n, -n), e.lineTo(sR * n, -n), e.closePath();
+} }, cR = -.5, lR = VL(3) / 2, uR = 1 / VL(12), fle = (uR / 2 + 1) * 3, ple = { draw(e, t) {
+ let n = VL(t / fle), r = n / 2, i = n * uR, a = r, o = n * uR + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(cR * r - lR * i, lR * r + cR * i), e.lineTo(cR * a - lR * o, lR * a + cR * o), e.lineTo(cR * s - lR * c, lR * s + cR * c), e.lineTo(cR * r + lR * i, cR * i - lR * r), e.lineTo(cR * a + lR * o, cR * o - lR * a), e.lineTo(cR * s + lR * c, cR * c - lR * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function fle(e, t) {
- let n = null, r = JL(i);
- e = typeof e == "function" ? e : LL(e || rR), t = typeof t == "function" ? t : LL(t === void 0 ? 64 : +t);
+function mle(e, t) {
+ let n = null, r = YL(i);
+ e = typeof e == "function" ? e : RL(e || iR), t = typeof t == "function" ? t : RL(t === void 0 ? 64 : +t);
function i() {
let i;
if (n ||= i = r(), e.apply(this, arguments).draw(n, +t.apply(this, arguments)), i) return n = null, i + "" || null;
}
return i.type = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : LL(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RL(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : LL(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : RL(+e), i) : t;
}, i.context = function(e) {
return arguments.length ? (n = e ?? null, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js
-function uR() {}
+function dR() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function dR(e, t, n) {
+function fR(e, t, n) {
e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
}
-function fR(e) {
+function pR(e) {
this._context = e;
}
-fR.prototype = {
+pR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -43422,7 +43423,7 @@ fR.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: dR(this, this._x1, this._y1);
+ case 3: fR(this, this._x1, this._y1);
case 2: this._context.lineTo(this._x1, this._y1);
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
@@ -43436,22 +43437,22 @@ fR.prototype = {
this._point = 2;
break;
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
- default: dR(this, e, t);
+ default: fR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function ple(e) {
- return new fR(e);
+function hle(e) {
+ return new pR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function pR(e) {
+function mR(e) {
this._context = e;
}
-pR.prototype = {
- areaStart: uR,
- areaEnd: uR,
+mR.prototype = {
+ areaStart: dR,
+ areaEnd: dR,
lineStart: function() {
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
},
@@ -43477,20 +43478,20 @@ pR.prototype = {
case 2:
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
break;
- default: dR(this, e, t);
+ default: fR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function mle(e) {
- return new pR(e);
+function gle(e) {
+ return new mR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function mR(e) {
+function hR(e) {
this._context = e;
}
-mR.prototype = {
+hR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -43517,22 +43518,22 @@ mR.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: dR(this, e, t);
+ default: fR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function hle(e) {
- return new mR(e);
+function _le(e) {
+ return new hR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function hR(e) {
+function gR(e) {
this._context = e;
}
-hR.prototype = {
- areaStart: uR,
- areaEnd: uR,
+gR.prototype = {
+ areaStart: dR,
+ areaEnd: dR,
lineStart: function() {
this._point = 0;
},
@@ -43543,30 +43544,30 @@ hR.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function gle(e) {
- return new hR(e);
+function vle(e) {
+ return new gR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function gR(e) {
+function _R(e) {
return e < 0 ? -1 : 1;
}
-function _R(e, t, n) {
+function vR(e, t, n) {
var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
- return (gR(a) + gR(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (_R(a) + _R(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function vR(e, t) {
+function yR(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function yR(e, t, n) {
+function bR(e, t, n) {
var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
}
-function bR(e) {
+function xR(e) {
this._context = e;
}
-bR.prototype = {
+xR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -43581,7 +43582,7 @@ bR.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: yR(this, this._t0, vR(this, this._t0));
+ case 3: bR(this, this._t0, yR(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -43596,24 +43597,24 @@ bR.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, yR(this, vR(this, n = _R(this, e, t)), n);
+ this._point = 3, bR(this, yR(this, n = vR(this, e, t)), n);
break;
- default: yR(this, this._t0, n = _R(this, e, t));
+ default: bR(this, this._t0, n = vR(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function xR(e) {
- this._context = new SR(e);
+function SR(e) {
+ this._context = new CR(e);
}
-(xR.prototype = Object.create(bR.prototype)).point = function(e, t) {
- bR.prototype.point.call(this, t, e);
+(SR.prototype = Object.create(xR.prototype)).point = function(e, t) {
+ xR.prototype.point.call(this, t, e);
};
-function SR(e) {
+function CR(e) {
this._context = e;
}
-SR.prototype = {
+CR.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -43627,18 +43628,18 @@ SR.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function _le(e) {
- return new bR(e);
-}
-function vle(e) {
+function yle(e) {
return new xR(e);
}
+function ble(e) {
+ return new SR(e);
+}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function CR(e) {
+function wR(e) {
this._context = e;
}
-CR.prototype = {
+wR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -43652,7 +43653,7 @@ CR.prototype = {
var e = this._x, t = this._y, n = e.length;
if (n) {
if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
- else for (var r = wR(e), i = wR(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
+ else for (var r = TR(e), i = TR(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
}
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
},
@@ -43660,7 +43661,7 @@ CR.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function wR(e) {
+function TR(e) {
var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
@@ -43668,15 +43669,15 @@ function wR(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 yle(e) {
- return new CR(e);
+function xle(e) {
+ return new wR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function TR(e, t) {
+function ER(e, t) {
this._context = e, this._t = t;
}
-TR.prototype = {
+ER.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -43704,78 +43705,78 @@ TR.prototype = {
this._x = e, this._y = t;
}
};
-function ble(e) {
- return new TR(e, .5);
+function Sle(e) {
+ return new ER(e, .5);
}
-function xle(e) {
- return new TR(e, 0);
+function Cle(e) {
+ return new ER(e, 0);
}
-function Sle(e) {
- return new TR(e, 1);
+function wle(e) {
+ return new ER(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function ER(e, t) {
+function DR(e, t) {
if ((o = e.length) > 1) for (var n = 1, r, i, a = e[t[0]], o, s = a.length; n < o; ++n) for (i = a, a = e[t[n]], r = 0; r < s; ++r) a[r][1] += a[r][0] = isNaN(i[r][1]) ? i[r][0] : i[r][1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/order/none.js
-function DR(e) {
+function OR(e) {
for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;
return n;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function Cle(e, t) {
+function Tle(e, t) {
return e[t];
}
-function wle(e) {
+function Ele(e) {
let t = [];
return t.key = e, t;
}
-function Tle() {
- var e = LL([]), t = DR, n = ER, r = Cle;
+function Dle() {
+ var e = RL([]), t = OR, n = DR, r = Tle;
function i(i) {
- var a = Array.from(e.apply(this, arguments), wle), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), Ele), 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 = YL(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = XL(t(a)); o < s; ++o) a[l[o]].index = o;
return n(a, l), a;
}
return i.keys = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : LL(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RL(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : LL(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : RL(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? DR : typeof e == "function" ? e : LL(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? OR : typeof e == "function" ? e : RL(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? ER, i) : n;
+ return arguments.length ? (n = e ?? DR, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function Ele(e, t) {
+function Ole(e, t) {
if ((r = e.length) > 0) {
for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {
for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;
if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;
}
- ER(e, t);
+ DR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function Dle(e, t) {
+function kle(e, t) {
if ((i = e.length) > 0) {
for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
r[n][1] += r[n][0] = -s / 2;
}
- ER(e, t);
+ DR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function Ole(e, t) {
+function Ale(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) {
@@ -43787,53 +43788,53 @@ function Ole(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, ER(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, DR(e, t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function OR(e) {
+function kR(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var kle = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function kR(e) {
+var jle = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function AR(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : kle.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : jle.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function AR(e) {
+function jR(e) {
return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
-function jR(e) {
+function MR(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function Ale(e) {
- return e == null ? "" : MR(e);
+function Mle(e) {
+ return e == null ? "" : NR(e);
}
-function MR(e) {
+function NR(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(MR).join(",");
- if (jR(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(NR).join(",");
+ if (MR(e)) return e.toString();
let t = e + "";
return t === "0" && Object.is(Number(e), -0) ? "-0" : t;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs
-function NR(e) {
- if (Array.isArray(e)) return e.map(AR);
+function PR(e) {
+ if (Array.isArray(e)) return e.map(jR);
if (typeof e == "symbol") return [e];
- e = Ale(e);
+ e = Mle(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -43861,100 +43862,100 @@ function NR(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function PR(e, t, n) {
+function FR(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (OR(t)) return n;
+ if (kR(t)) return n;
let r = e[t];
- return r === void 0 ? kR(t) && !Object.hasOwn(e, t) ? PR(e, NR(t), n) : n : r;
+ return r === void 0 ? AR(t) && !Object.hasOwn(e, t) ? FR(e, PR(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = AR(t));
+ typeof t == "number" && (t = jR(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return jle(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), OR(t)) return n;
+ if (Array.isArray(t)) return Nle(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), kR(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function jle(e, t, n) {
+function Nle(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || OR(t[e])) return n;
+ if (r == null || kR(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var Mle = 4;
-function FR(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Mle), n = Math.round(e * t) / t;
+var Ple = 4;
+function IR(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ple), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function IR(e) {
+function LR(e) {
var t = [...arguments].slice(1);
return e.reduce((e, n, r) => {
var i = t[r - 1];
- return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + FR(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + IR(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var LR = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, RR = (e) => typeof e == "number" && e != +e, zR = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !RR(e), BR = (e) => Z(e) || typeof e == "string", Nle = 0, VR = (e) => {
- var t = ++Nle;
+var RR = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, zR = (e) => typeof e == "number" && e != +e, BR = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !zR(e), VR = (e) => Z(e) || typeof e == "string", Fle = 0, HR = (e) => {
+ var t = ++Fle;
return `${e || ""}${t}`;
-}, HR = function(e, t) {
+}, UR = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
if (!Z(e) && typeof e != "string") return n;
var i;
- if (zR(e)) {
+ if (BR(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return RR(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, UR = (e) => {
+ return zR(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, WR = (e) => {
if (!Array.isArray(e)) return !1;
for (var t = e.length, n = {}, r = 0; r < t; r++) if (!n[String(e[r])]) n[String(e[r])] = !0;
else return !0;
return !1;
};
-function WR(e, t, n) {
- return Z(e) && Z(t) ? FR(e + n * (t - e)) : t;
-}
function GR(e, t, n) {
- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : PR(e, t)) === n);
+ return Z(e) && Z(t) ? IR(e + n * (t - e)) : t;
}
-var KR = (e) => e == null, qR = (e) => KR(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function JR(e) {
+function KR(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : FR(e, t)) === n);
+}
+var qR = (e) => e == null, JR = (e) => qR(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function YR(e) {
return e != null;
}
-function YR() {}
+function XR() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var Ple = [
+var Ile = [
"type",
"size",
"sizeType"
];
-function XR() {
- return XR = Object.assign ? Object.assign.bind() : function(e) {
+function ZR() {
+ return ZR = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, XR.apply(null, arguments);
+ }, ZR.apply(null, arguments);
}
-function ZR(e, t) {
+function QR(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -43964,30 +43965,30 @@ function ZR(e, t) {
}
return n;
}
-function QR(e) {
+function $R(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? ZR(Object(n), !0).forEach(function(t) {
- Fle(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZR(Object(n)).forEach(function(t) {
+ t % 2 ? QR(Object(n), !0).forEach(function(t) {
+ Lle(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QR(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 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 Ile(e) {
- var t = Lle(e, "string");
+function Rle(e) {
+ var t = zle(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Lle(e, t) {
+function zle(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -43997,16 +43998,16 @@ function Lle(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Rle(e, t) {
+function Ble(e, t) {
if (e == null) return {};
- var n, r, i = zle(e, t);
+ var n, r, i = Vle(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 zle(e, t) {
+function Vle(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -44015,68 +44016,68 @@ function zle(e, t) {
}
return n;
}
-var $R = {
- symbolCircle: rR,
- symbolCross: tle,
- symbolDiamond: rle,
- symbolSquare: ile,
- symbolStar: cle,
- symbolTriangle: lle,
- symbolWye: dle
-}, Ble = Math.PI / 180, Vle = (e) => $R[`symbol${qR(e)}`] || rR, Hle = (e, t, n) => {
+var ez = {
+ symbolCircle: iR,
+ symbolCross: rle,
+ symbolDiamond: ale,
+ symbolSquare: ole,
+ symbolStar: ule,
+ symbolTriangle: dle,
+ symbolWye: ple
+}, Hle = Math.PI / 180, Ule = (e) => ez[`symbol${JR(e)}`] || iR, Wle = (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 * Ble;
+ var r = 18 * Hle;
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;
}
-}, Ule = (e, t) => {
- $R[`symbol${qR(e)}`] = t;
-}, ez = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = QR(QR({}, Rle(e, Ple)), {}, {
+}, Gle = (e, t) => {
+ ez[`symbol${JR(e)}`] = t;
+}, tz = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = $R($R({}, Ble(e, Ile)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = Vle(a), t = fle().type(e).size(Hle(n, r, a))();
+ var e = Ule(a), t = mle().type(e).size(Wle(n, r, a))();
if (t !== null) return t;
- }, { className: s, cx: c, cy: l } = i, u = jL(i);
- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ N.createElement("path", XR({}, u, {
+ }, { className: s, cx: c, cy: l } = i, u = ML(i);
+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ N.createElement("path", ZR({}, u, {
className: Nm("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-ez.registerSymbol = Ule;
+tz.registerSymbol = Gle;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var tz = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, nz = (e, t) => {
+var nz = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, rz = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, N.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- EL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ DL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, Wle = (e, t, n) => (r) => (e(t, n, r), null), rz = (e, t, n) => {
+}, Kle = (e, t, n) => (r) => (e(t, n, r), null), iz = (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];
- EL(i) && typeof a == "function" && (r ||= {}, r[i] = Wle(a, t, n));
+ DL(i) && typeof a == "function" && (r ||= {}, r[i] = Kle(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function iz(e, t) {
+function az(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -44086,30 +44087,30 @@ function iz(e, t) {
}
return n;
}
-function Gle(e) {
+function qle(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? iz(Object(n), !0).forEach(function(t) {
- Kle(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iz(Object(n)).forEach(function(t) {
+ t % 2 ? az(Object(n), !0).forEach(function(t) {
+ Jle(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 Kle(e, t, n) {
- return (t = qle(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 qle(e) {
- var t = Jle(e, "string");
+function Yle(e) {
+ var t = Xle(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Jle(e, t) {
+function Xle(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -44119,22 +44120,22 @@ function Jle(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function az(e, t) {
- var n = Gle({}, e), r = t;
+function oz(e, t) {
+ var n = qle({}, e), r = t;
return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);
}
//#endregion
//#region node_modules/recharts/es6/component/DefaultLegendContent.js
-function oz() {
- return oz = Object.assign ? Object.assign.bind() : function(e) {
+function sz() {
+ return sz = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, oz.apply(null, arguments);
+ }, sz.apply(null, arguments);
}
-function sz(e, t) {
+function cz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -44144,30 +44145,30 @@ function sz(e, t) {
}
return n;
}
-function cz(e) {
+function lz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? sz(Object(n), !0).forEach(function(t) {
- Yle(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sz(Object(n)).forEach(function(t) {
+ t % 2 ? cz(Object(n), !0).forEach(function(t) {
+ Zle(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Yle(e, t, n) {
- return (t = Xle(t)) in e ? Object.defineProperty(e, t, {
+function Zle(e, t, n) {
+ return (t = Qle(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Xle(e) {
- var t = Zle(e, "string");
+function Qle(e) {
+ var t = $le(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Zle(e, t) {
+function $le(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -44177,7 +44178,7 @@ function Zle(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var lz = 32, Qle = {
+var uz = 32, eue = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -44185,20 +44186,20 @@ var lz = 32, Qle = {
verticalAlign: "middle",
labelStyle: {}
};
-function $le(e) {
+function tue(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function eue(e) {
- var { data: t, iconType: n, inactiveColor: r } = e, i = lz / 2, a = lz / 6, o = lz / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function nue(e) {
+ var { data: t, iconType: n, inactiveColor: r } = e, i = uz / 2, a = uz / 6, o = uz / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ N.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: $le(t.payload),
+ strokeDasharray: tue(t.payload),
x1: 0,
y1: i,
- x2: lz,
+ x2: uz,
y2: i,
className: "recharts-legend-icon"
});
@@ -44208,35 +44209,35 @@ function eue(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${lz}M${2 * o},${i}
+ H${uz}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ N.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${lz / 8}h${lz}v${lz * 3 / 4}h${-lz}z`,
+ d: `M0,${uz / 8}h${uz}v${uz * 3 / 4}h${-uz}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ N.isValidElement(t.legendIcon)) {
- var l = cz({}, t);
+ var l = lz({}, t);
return delete l.legendIcon, /*#__PURE__*/ N.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ N.createElement(ez, {
+ return /*#__PURE__*/ N.createElement(tz, {
fill: s,
cx: i,
cy: i,
- size: lz,
+ size: uz,
sizeType: "diameter",
type: c
});
}
-function tue(e) {
+function rue(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
- width: lz,
- height: lz
+ width: uz,
+ height: uz
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10
@@ -44252,20 +44253,20 @@ function tue(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? cz({}, s) : {};
+ var p = typeof s == "object" ? lz({}, s) : {};
p.color = t.inactive ? a : p.color || t.color;
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ N.createElement("li", oz({
+ return /*#__PURE__*/ N.createElement("li", sz({
className: f,
style: l,
key: `legend-item-${r}`
- }, rz(e, t, r)), /*#__PURE__*/ N.createElement(NL, {
+ }, iz(e, t, r)), /*#__PURE__*/ N.createElement(PL, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ N.createElement(eue, {
+ }, /*#__PURE__*/ N.createElement(nue, {
data: t,
iconType: o,
inactiveColor: a
@@ -44275,8 +44276,8 @@ function tue(e) {
}, m));
});
}
-var nue = (e) => {
- var t = az(e, Qle), { payload: n, layout: r, align: i } = t;
+var iue = (e) => {
+ var t = oz(e, eue), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -44286,11 +44287,11 @@ var nue = (e) => {
return /*#__PURE__*/ N.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ N.createElement(tue, oz({}, t, { payload: n })));
+ }, /*#__PURE__*/ N.createElement(rue, sz({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function rue(e, t) {
+function aue(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -44300,77 +44301,77 @@ function rue(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function iue(e, t) {
+function oue(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function uz(e) {
+function dz(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function aue(e) {
+function sue(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function dz(e) {
- return e != null && typeof e != "function" && aue(e.length);
+function fz(e) {
+ return e != null && typeof e != "function" && sue(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function oue(e) {
+function cue(e) {
return function(t) {
- return PR(t, e);
+ return FR(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function fz(e) {
+function pz(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function sue(e) {
+function lue(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function cue(e) {
+function uue(e) {
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
-function pz(e) {
+function mz(e) {
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
-var lue = "[object RegExp]", mz = "[object String]", hz = "[object Number]", gz = "[object Boolean]", _z = "[object Arguments]", uue = "[object Symbol]", due = "[object Date]", fue = "[object Map]", pue = "[object Set]", mue = "[object Array]", hue = "[object ArrayBuffer]", gue = "[object Object]", _ue = "[object DataView]", vue = "[object Uint8Array]", yue = "[object Uint8ClampedArray]", bue = "[object Uint16Array]", xue = "[object Uint32Array]", Sue = "[object Int8Array]", Cue = "[object Int16Array]", wue = "[object Int32Array]", Tue = "[object Float32Array]", Eue = "[object Float64Array]", vz = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var due = "[object RegExp]", hz = "[object String]", gz = "[object Number]", _z = "[object Boolean]", vz = "[object Arguments]", fue = "[object Symbol]", pue = "[object Date]", mue = "[object Map]", hue = "[object Set]", gue = "[object Array]", _ue = "[object ArrayBuffer]", vue = "[object Object]", yue = "[object DataView]", bue = "[object Uint8Array]", xue = "[object Uint8ClampedArray]", Sue = "[object Uint16Array]", Cue = "[object Uint32Array]", wue = "[object Int8Array]", Tue = "[object Int16Array]", Eue = "[object Int32Array]", Due = "[object Float32Array]", Oue = "[object Float64Array]", yz = 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 Due(e) {
- return vz.Buffer !== void 0 && vz.Buffer.isBuffer(e);
+function kue(e) {
+ return yz.Buffer !== void 0 && yz.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function Oue(e, t) {
- return yz(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function Aue(e, t) {
+ return bz(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function yz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function bz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (fz(e)) return e;
+ if (pz(e)) return e;
if (r.has(e)) return r.get(e);
if (Array.isArray(e)) {
let t = Array(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = yz(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = bz(e[a], a, n, r, i);
return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
}
if (e instanceof Date) return new Date(e.getTime());
@@ -44381,132 +44382,132 @@ function yz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
if (e instanceof Map) {
let t = /* @__PURE__ */ new Map();
r.set(e, t);
- for (let [a, o] of e) t.set(a, yz(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, bz(o, a, n, r, i));
return t;
}
if (e instanceof Set) {
let t = /* @__PURE__ */ new Set();
r.set(e, t);
- for (let a of e) t.add(yz(a, void 0, n, r, i));
+ for (let a of e) t.add(bz(a, void 0, n, r, i));
return t;
}
- if (Due(e)) return e.subarray();
- if (sue(e)) {
+ if (kue(e)) return e.subarray();
+ if (lue(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = yz(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = bz(e[a], a, n, r, i);
return t;
}
if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
if (e instanceof DataView) {
let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
- return r.set(e, t), bz(t, e, n, r, i), t;
+ return r.set(e, t), xz(t, e, n, r, i), t;
}
if (typeof File < "u" && e instanceof File) {
let t = new File([e], e.name, { type: e.type });
- return r.set(e, t), bz(t, e, n, r, i), t;
+ return r.set(e, t), xz(t, e, n, r, i), t;
}
if (typeof Blob < "u" && e instanceof Blob) {
let t = new Blob([e], { type: e.type });
- return r.set(e, t), bz(t, e, n, r, i), t;
+ return r.set(e, t), xz(t, e, n, r, i), t;
}
if (e instanceof Error) {
let t = structuredClone(e);
- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, bz(t, e, n, r, i), t;
+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, xz(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), bz(t, e, n, r, i), t;
+ return r.set(e, t), xz(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), bz(t, e, n, r, i), t;
+ return r.set(e, t), xz(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), bz(t, e, n, r, i), t;
+ return r.set(e, t), xz(t, e, n, r, i), t;
}
- if (typeof e == "object" && kue(e)) {
+ if (typeof e == "object" && jue(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), bz(t, e, n, r, i), t;
+ return r.set(e, t), xz(t, e, n, r, i), t;
}
return e;
}
-function bz(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...cue(t)];
+function xz(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...uue(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = yz(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = bz(t[s], s, n, r, i));
}
}
-function kue(e) {
- switch (pz(e)) {
+function jue(e) {
+ switch (mz(e)) {
+ case vz:
+ case gue:
+ case _ue:
+ case yue:
case _z:
+ case pue:
+ case Due:
+ case Oue:
+ case wue:
+ case Tue:
+ case Eue:
case mue:
- case hue:
- case _ue:
case gz:
+ case vue:
case due:
- case Tue:
- case Eue:
- case Sue:
- case Cue:
- case wue:
- case fue:
+ case hue:
case hz:
- case gue:
- case lue:
- case pue:
- case mz:
- case uue:
- case vue:
- case yue:
+ case fue:
case bue:
- case xue: return !0;
+ case xue:
+ case Sue:
+ case Cue: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function Aue(e) {
- return yz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function Mue(e) {
+ return bz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function xz(e, t) {
+function Sz(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function Sz(e) {
+function Cz(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function Cz(e, t, n) {
- return typeof n == "function" ? wz(e, t, function e(t, r, i, a, o, s) {
+function wz(e, t, n) {
+ return typeof n == "function" ? Tz(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? wz(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : Cz(e, t, () => void 0);
+ return c === void 0 ? Tz(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : wz(e, t, () => void 0);
}
-function wz(e, t, n, r, i = !1) {
+function Tz(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return jue(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? wz(e, { ...t }, n, r, i) : xz(e, t);
- default: return Sz(e) && i ? typeof t != "string" || t === "" : xz(e, t);
+ case "object": return Nue(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? Tz(e, { ...t }, n, r, i) : Sz(e, t);
+ default: return Cz(e) && i ? typeof t != "string" || t === "" : Sz(e, t);
}
}
-function jue(e, t, n, r, i = !1) {
+function Nue(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return Tz(e, t, n, r);
- if (t instanceof Map) return Mue(e, t, n, r);
- if (t instanceof Set) return Nue(e, t, n, r);
+ if (Array.isArray(t)) return Ez(e, t, n, r);
+ if (t instanceof Map) return Pue(e, t, n, r);
+ if (t instanceof Set) return Fue(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) fz(e) && (e = Object(e));
+ if (i) pz(e) && (e = Object(e));
else {
- let t = pz(e);
+ let t = mz(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -44522,13 +44523,13 @@ function jue(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function Mue(e, t, n, r) {
+function Pue(e, t, n, r) {
if (t.size === 0) return !0;
if (!(e instanceof Map)) return !1;
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
return !0;
}
-function Tz(e, t, n, r) {
+function Ez(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -44546,40 +44547,40 @@ function Tz(e, t, n, r) {
}
return !0;
}
-function Nue(e, t, n, r) {
- return t.size === 0 || e instanceof Set && Tz([...e], [...t], n, r);
+function Fue(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && Ez([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function Ez(e, t) {
- return Cz(e, t, () => void 0);
+function Dz(e, t) {
+ return wz(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function Pue(e) {
- return e = Aue(e), (t) => Ez(t, e);
+function Iue(e) {
+ return e = Mue(e), (t) => Dz(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function Fue(e, t) {
- return Oue(e, (n, r, i, a) => {
+function Lue(e, t) {
+ return Aue(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (pz(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (mz(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), bz(t, e, i, a), t;
+ return a.set(e, t), xz(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
+ case gz:
case hz:
- case mz:
- case gz: {
+ case _z: {
let t = new e.constructor(e?.valueOf());
- return bz(t, e), t;
+ return xz(t, e), t;
}
- case _z: {
+ case vz: {
let t = {};
- return bz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return xz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -44588,79 +44589,79 @@ function Fue(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function Iue(e) {
- return Fue(e);
+function Rue(e) {
+ return Lue(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var Lue = /^(?:0|[1-9]\d*)$/;
-function Dz(e, t = 2 ** 53 - 1) {
+var zue = /^(?:0|[1-9]\d*)$/;
+function Oz(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 Lue.test(e);
+ case "string": return zue.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function Rue(e) {
- return typeof e == "object" && !!e && pz(e) === "[object Arguments]";
+function Bue(e) {
+ return typeof e == "object" && !!e && mz(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function zue(e, t) {
+function Vue(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && kR(t) && !(t in Object(e)) ? NR(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && AR(t) && !(t in Object(e)) ? PR(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = AR(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Rue(r)) && Dz(t) && Number(t) < r.length)) return !1;
+ let t = jR(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Bue(r)) && Oz(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function Bue(e, t) {
+function Hue(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = AR(e);
+ case "number": e = jR(e);
}
- return t = Iue(t), function(n) {
- let r = PR(n, e);
- return r === void 0 ? zue(n, e) : t === void 0 ? r === void 0 : Ez(r, t);
+ return t = Rue(t), function(n) {
+ let r = FR(n, e);
+ return r === void 0 ? Vue(n, e) : t === void 0 ? r === void 0 : Dz(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function Oz(e) {
- if (e == null) return uz;
+function kz(e) {
+ if (e == null) return dz;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? Bue(e[0], e[1]) : Pue(e);
- default: return oue(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? Hue(e[0], e[1]) : Iue(e);
+ default: return cue(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function Vue(e) {
+function Uue(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function kz(e, t = uz) {
- return dz(e) ? rue(Array.from(e), iue(Oz(t), 1)).map(Vue) : [];
+function Az(e, t = dz) {
+ return fz(e) ? aue(Array.from(e), oue(kz(t), 1)).map(Uue) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function Az(e, t, n) {
- return t === !0 ? kz(e, n) : typeof t == "function" ? kz(e, t) : e;
+function jz(e, t, n) {
+ return t === !0 ? Az(e, n) : typeof t == "function" ? Az(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var Hue = /* @__PURE__ */ w(((e) => {
+var Wue = /* @__PURE__ */ w(((e) => {
var t = A(), n = sh();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -44705,60 +44706,60 @@ var Hue = /* @__PURE__ */ w(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), Uue = /* @__PURE__ */ w(((e, t) => {
- t.exports = Hue();
-})), jz = /*#__PURE__*/ (0, N.createContext)(null), Wue = Uue(), Gue = (e) => e, Mz = () => {
- var e = (0, N.useContext)(jz);
- return e ? e.store.dispatch : Gue;
-}, Nz = () => {}, Kue = () => Nz, que = (e, t) => e === t;
+})), Gue = /* @__PURE__ */ w(((e, t) => {
+ t.exports = Wue();
+})), Mz = /*#__PURE__*/ (0, N.createContext)(null), Kue = Gue(), que = (e) => e, Nz = () => {
+ var e = (0, N.useContext)(Mz);
+ return e ? e.store.dispatch : que;
+}, Pz = () => {}, Jue = () => Pz, Yue = (e, t) => e === t;
function Q(e) {
- var t = (0, N.useContext)(jz), n = (0, N.useMemo)(() => t ? (t) => {
+ var t = (0, N.useContext)(Mz), n = (0, N.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : Nz, [t, e]);
- return (0, Wue.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Kue, t ? t.store.getState : Nz, t ? t.store.getState : Nz, n, que);
+ } : Pz, [t, e]);
+ return (0, Kue.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Jue, t ? t.store.getState : Pz, t ? t.store.getState : Pz, n, Yue);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function Jue(e, t = `expected a function, instead received ${typeof e}`) {
+function Xue(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function Yue(e, t = `expected an object, instead received ${typeof e}`) {
+function Zue(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function Xue(e, t = "expected all items to be functions, instead received the following types: ") {
+function Que(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 Pz = (e) => Array.isArray(e) ? e : [e];
-function Zue(e) {
+var Fz = (e) => Array.isArray(e) ? e : [e];
+function $ue(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return Xue(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return Que(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function Que(e, t) {
+function ede(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var $ue = class {
+var tde = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, ede = typeof WeakRef < "u" ? WeakRef : $ue, tde = 0, Fz = 1;
-function Iz() {
+}, nde = typeof WeakRef < "u" ? WeakRef : tde, rde = 0, Iz = 1;
+function Lz() {
return {
- s: tde,
+ s: rde,
v: void 0,
o: null,
p: null
};
}
-function Lz(e, t = {}) {
- let n = Iz(), { resultEqualityCheck: r } = t, i, a = 0;
+function Rz(e, t = {}) {
+ let n = Lz(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -44767,43 +44768,43 @@ function Lz(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = Iz(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = Lz(), e.set(n, t)) : t = r;
} else {
let e = t.p;
e === null && (t.p = e = /* @__PURE__ */ new Map());
let r = e.get(n);
- r === void 0 ? (t = Iz(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = Lz(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === Fz) c = t.v;
+ if (t.s === Iz) 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 ede(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new nde(c) : c;
}
- return s.s = Fz, s.v = c, c;
+ return s.s = Iz, s.v = c, c;
}
return o.clearCache = () => {
- n = Iz(), o.resetResultsCount();
+ n = Lz(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function nde(e, ...t) {
+function ide(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()), Jue(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = Lz, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
+ typeof o == "object" && (a = o, o = e.pop()), Xue(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = Rz, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = Pz(c), p = Pz(u), m = Zue(e), h = s(function() {
+ }, f = Fz(c), p = Fz(u), m = $ue(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = Que(m, arguments);
+ let e = ede(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -44825,14 +44826,14 @@ function nde(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ nde(Lz), rde = Object.assign((e, t = $) => {
- Yue(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ ide(Rz), ade = Object.assign((e, t = $) => {
+ Zue(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: () => rde });
+}, { withTypes: () => ade });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function ide(e, t = 1) {
+function ode(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -44843,17 +44844,17 @@ function ide(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function Rz(e, t, n) {
- return Sz(n) && (typeof t == "number" && dz(n) && Dz(t) && t < n.length || typeof t == "string" && t in n) ? xz(n[t], e) : !1;
+function zz(e, t, n) {
+ return Cz(n) && (typeof t == "number" && fz(n) && Oz(t) && t < n.length || typeof t == "string" && t in n) ? Sz(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function zz(e) {
+function Bz(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var ade = (e, t, n) => {
+var sde = (e, t, n) => {
if (e !== t) {
- let r = zz(e), i = zz(t);
+ let r = Bz(e), i = Bz(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -44861,15 +44862,15 @@ var ade = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, ode = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, sde = /^\w*$/;
-function cde(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || jR(e) ? !0 : typeof e == "string" && (sde.test(e) || !ode.test(e)) || t != null && Object.hasOwn(t, e);
+}, cde = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, lde = /^\w*$/;
+function ude(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || MR(e) ? !0 : typeof e == "string" && (lde.test(e) || !cde.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function lde(e, t, n, r) {
+function dde(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = dz(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
+ n = r ? void 0 : n, Array.isArray(e) || (e = fz(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
let i = (e, t) => {
let n = e, r = 0;
for (; r < t.length && n != null; ++r) n = n[t[r]];
@@ -44877,16 +44878,16 @@ function lde(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) || cde(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || ude(e) ? e : {
key: e,
- path: NR(e)
+ path: PR(e)
}));
return e.map((e) => ({
original: e,
criteria: o.map((t) => a(t, e))
})).slice().sort((e, t) => {
for (let r = 0; r < o.length; r++) {
- let i = ade(e.criteria[r], t.criteria[r], n[r]);
+ let i = sde(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -44894,25 +44895,25 @@ function lde(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function Bz(e, ...t) {
+function Vz(e, ...t) {
let n = t.length;
- return n > 1 && Rz(e, t[0], t[1]) ? t = [] : n > 2 && Rz(t[0], t[1], t[2]) && (t = [t[0]]), lde(e, ide(t), ["asc"]);
+ return n > 1 && zz(e, t[0], t[1]) ? t = [] : n > 2 && zz(t[0], t[1], t[2]) && (t = [t[0]]), dde(e, ode(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var Vz = (e) => e.legend.settings, ude = (e) => e.legend.size, dde = $([(e) => e.legend.payload, Vz], (e, t) => {
+var Hz = (e) => e.legend.settings, fde = (e) => e.legend.size, pde = $([(e) => e.legend.payload, Hz], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
- return n ? Bz(r, n) : r;
+ return n ? Vz(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function fde() {
- return Q(dde);
+function mde() {
+ return Q(pde);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-var Hz = 1;
-function Uz() {
+var Uz = 1;
+function Wz() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, N.useState)({
height: 0,
left: 0,
@@ -44927,7 +44928,7 @@ function Uz() {
top: r.top,
width: r.width
};
- (Math.abs(i.height - t.height) > Hz || Math.abs(i.left - t.left) > Hz || Math.abs(i.top - t.top) > Hz || Math.abs(i.width - t.width) > Hz) && n({
+ (Math.abs(i.height - t.height) > Uz || Math.abs(i.left - t.left) > Uz || Math.abs(i.top - t.top) > Uz || Math.abs(i.width - t.width) > Uz) && n({
height: i.height,
left: i.left,
top: i.top,
@@ -44944,26 +44945,26 @@ function Uz() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function Wz(e) {
+function Gz(e) {
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
-var Gz = typeof Symbol == "function" && Symbol.observable || "@@observable", Kz = () => Math.random().toString(36).substring(7).split("").join("."), qz = {
- INIT: `@@redux/INIT${/* @__PURE__ */ Kz()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ Kz()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${Kz()}`
+var Kz = typeof Symbol == "function" && Symbol.observable || "@@observable", qz = () => Math.random().toString(36).substring(7).split("").join("."), Jz = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ qz()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ qz()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${qz()}`
};
-function Jz(e) {
+function Yz(e) {
if (typeof e != "object" || !e) return !1;
let t = e;
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
}
-function Yz(e, t, n) {
- if (typeof e != "function") throw Error(Wz(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(Wz(0));
+function Xz(e, t, n) {
+ if (typeof e != "function") throw Error(Gz(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(Gz(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(Wz(1));
- return n(Yz)(e, t);
+ if (typeof n != "function") throw Error(Gz(1));
+ return n(Xz)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -44972,27 +44973,27 @@ function Yz(e, t, n) {
}));
}
function u() {
- if (c) throw Error(Wz(3));
+ if (c) throw Error(Gz(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(Wz(4));
- if (c) throw Error(Wz(5));
+ if (typeof e != "function") throw Error(Gz(4));
+ if (c) throw Error(Gz(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(Wz(6));
+ if (c) throw Error(Gz(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!Jz(e)) throw Error(Wz(7));
- if (e.type === void 0) throw Error(Wz(8));
- if (typeof e.type != "string") throw Error(Wz(17));
- if (c) throw Error(Wz(9));
+ if (!Yz(e)) throw Error(Gz(7));
+ if (e.type === void 0) throw Error(Gz(8));
+ if (typeof e.type != "string") throw Error(Gz(17));
+ if (c) throw Error(Gz(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -45003,41 +45004,41 @@ function Yz(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(Wz(10));
- r = e, f({ type: qz.REPLACE });
+ if (typeof e != "function") throw Error(Gz(10));
+ r = e, f({ type: Jz.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(Wz(11));
+ if (typeof t != "object" || !t) throw Error(Gz(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [Gz]() {
+ [Kz]() {
return this;
}
};
}
- return f({ type: qz.INIT }), {
+ return f({ type: Jz.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [Gz]: m
+ [Kz]: m
};
}
-function pde(e) {
+function hde(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: qz.INIT }) === void 0) throw Error(Wz(12));
- if (n(void 0, { type: qz.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(Wz(13));
+ if (n(void 0, { type: Jz.INIT }) === void 0) throw Error(Gz(12));
+ if (n(void 0, { type: Jz.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(Gz(13));
});
}
-function Xz(e) {
+function Zz(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -45045,7 +45046,7 @@ function Xz(e) {
}
let r = Object.keys(n), i;
try {
- pde(n);
+ hde(n);
} catch (e) {
i = e;
}
@@ -45054,124 +45055,124 @@ function Xz(e) {
let a = !1, o = {};
for (let i = 0; i < r.length; i++) {
let s = r[i], c = n[s], l = e[s], u = c(l, t);
- if (u === void 0) throw t && t.type, Error(Wz(14));
+ if (u === void 0) throw t && t.type, Error(Gz(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function Zz(...e) {
+function Qz(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function mde(...e) {
+function gde(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(Wz(15));
+ throw Error(Gz(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = Zz(...e.map((e) => e(o)))(i.dispatch), {
+ return a = Qz(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function Qz(e) {
- return Jz(e) && "type" in e && typeof e.type == "string";
+function $z(e) {
+ return Yz(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
-var $z = Symbol.for("immer-nothing"), eB = Symbol.for("immer-draftable"), tB = Symbol.for("immer-state");
-function nB(e, ...t) {
+var eB = Symbol.for("immer-nothing"), tB = Symbol.for("immer-draftable"), nB = Symbol.for("immer-state");
+function rB(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var rB = Object, iB = rB.getPrototypeOf, aB = "constructor", oB = "prototype", sB = "configurable", cB = "enumerable", lB = "writable", uB = "value", dB = (e) => !!e && !!e[tB];
-function fB(e) {
- return e ? mB(e) || bB(e) || !!e[eB] || !!e[aB]?.[eB] || xB(e) || SB(e) : !1;
+var iB = Object, aB = iB.getPrototypeOf, oB = "constructor", sB = "prototype", cB = "configurable", lB = "enumerable", uB = "writable", dB = "value", fB = (e) => !!e && !!e[nB];
+function pB(e) {
+ return e ? hB(e) || xB(e) || !!e[tB] || !!e[oB]?.[tB] || SB(e) || CB(e) : !1;
}
-var hde = rB[oB][aB].toString(), pB = /* @__PURE__ */ new WeakMap();
-function mB(e) {
- if (!e || !CB(e)) return !1;
- let t = iB(e);
- if (t === null || t === rB[oB]) return !0;
- let n = rB.hasOwnProperty.call(t, aB) && t[aB];
+var _de = iB[sB][oB].toString(), mB = /* @__PURE__ */ new WeakMap();
+function hB(e) {
+ if (!e || !wB(e)) return !1;
+ let t = aB(e);
+ if (t === null || t === iB[sB]) return !0;
+ let n = iB.hasOwnProperty.call(t, oB) && t[oB];
if (n === Object) return !0;
- if (!wB(n)) return !1;
- let r = pB.get(n);
- return r === void 0 && (r = Function.toString.call(n), pB.set(n, r)), r === hde;
+ if (!TB(n)) return !1;
+ let r = mB.get(n);
+ return r === void 0 && (r = Function.toString.call(n), mB.set(n, r)), r === _de;
}
-function hB(e, t, n = !0) {
- gB(e) === 0 ? (n ? Reflect.ownKeys(e) : rB.keys(e)).forEach((n) => {
+function gB(e, t, n = !0) {
+ _B(e) === 0 ? (n ? Reflect.ownKeys(e) : iB.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function gB(e) {
- let t = e[tB];
- return t ? t.type_ : bB(e) ? 1 : xB(e) ? 2 : SB(e) ? 3 : 0;
+function _B(e) {
+ let t = e[nB];
+ return t ? t.type_ : xB(e) ? 1 : SB(e) ? 2 : CB(e) ? 3 : 0;
}
-var _B = (e, t, n = gB(e)) => n === 2 ? e.has(t) : rB[oB].hasOwnProperty.call(e, t), vB = (e, t, n = gB(e)) => n === 2 ? e.get(t) : e[t], yB = (e, t, n, r = gB(e)) => {
+var vB = (e, t, n = _B(e)) => n === 2 ? e.has(t) : iB[sB].hasOwnProperty.call(e, t), yB = (e, t, n = _B(e)) => n === 2 ? e.get(t) : e[t], bB = (e, t, n, r = _B(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function gde(e, t) {
+function vde(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var bB = Array.isArray, xB = (e) => e instanceof Map, SB = (e) => e instanceof Set, CB = (e) => typeof e == "object", wB = (e) => typeof e == "function", TB = (e) => typeof e == "boolean";
-function _de(e) {
+var xB = Array.isArray, SB = (e) => e instanceof Map, CB = (e) => e instanceof Set, wB = (e) => typeof e == "object", TB = (e) => typeof e == "function", EB = (e) => typeof e == "boolean";
+function yde(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var EB = (e) => e.copy_ || e.base_, DB = (e) => e.modified_ ? e.copy_ : e.base_;
-function OB(e, t) {
- if (xB(e)) return new Map(e);
- if (SB(e)) return new Set(e);
- if (bB(e)) return Array[oB].slice.call(e);
- let n = mB(e);
+var DB = (e) => e.copy_ || e.base_, OB = (e) => e.modified_ ? e.copy_ : e.base_;
+function kB(e, t) {
+ if (SB(e)) return new Map(e);
+ if (CB(e)) return new Set(e);
+ if (xB(e)) return Array[sB].slice.call(e);
+ let n = hB(e);
if (t === !0 || t === "class_only" && !n) {
- let t = rB.getOwnPropertyDescriptors(e);
- delete t[tB];
+ let t = iB.getOwnPropertyDescriptors(e);
+ delete t[nB];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[lB] === !1 && (a[lB] = !0, a[sB] = !0), (a.get || a.set) && (t[i] = {
- [sB]: !0,
- [lB]: !0,
- [cB]: a[cB],
- [uB]: e[i]
+ a[uB] === !1 && (a[uB] = !0, a[cB] = !0), (a.get || a.set) && (t[i] = {
+ [cB]: !0,
+ [uB]: !0,
+ [lB]: a[lB],
+ [dB]: e[i]
});
}
- return rB.create(iB(e), t);
+ return iB.create(aB(e), t);
}
{
- let t = iB(e);
+ let t = aB(e);
if (t !== null && n) return { ...e };
- let r = rB.create(t);
- return rB.assign(r, e);
- }
-}
-function kB(e, t = !1) {
- return jB(e) || dB(e) || !fB(e) ? e : (gB(e) > 1 && rB.defineProperties(e, {
- set: AB,
- add: AB,
- clear: AB,
- delete: AB
- }), rB.freeze(e), t && hB(e, (e, t) => {
- kB(t, !0);
+ let r = iB.create(t);
+ return iB.assign(r, e);
+ }
+}
+function AB(e, t = !1) {
+ return MB(e) || fB(e) || !pB(e) ? e : (_B(e) > 1 && iB.defineProperties(e, {
+ set: jB,
+ add: jB,
+ clear: jB,
+ delete: jB
+ }), iB.freeze(e), t && gB(e, (e, t) => {
+ AB(t, !0);
}, !1), e);
}
-function vde() {
- nB(2);
+function bde() {
+ rB(2);
}
-var AB = { [uB]: vde };
-function jB(e) {
- return e === null || !CB(e) || rB.isFrozen(e);
+var jB = { [dB]: bde };
+function MB(e) {
+ return e === null || !wB(e) || iB.isFrozen(e);
}
-var MB = "MapSet", NB = "Patches", PB = "ArrayMethods", FB = {};
-function IB(e) {
- let t = FB[e];
- return t || nB(0, e), t;
+var NB = "MapSet", PB = "Patches", FB = "ArrayMethods", IB = {};
+function LB(e) {
+ let t = IB[e];
+ return t || rB(0, e), t;
}
-var LB = (e) => !!FB[e], RB, zB = () => RB, yde = (e, t) => ({
+var RB = (e) => !!IB[e], zB, BB = () => zB, xde = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -45179,114 +45180,114 @@ var LB = (e) => !!FB[e], RB, zB = () => RB, yde = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: LB(MB) ? IB(MB) : void 0,
- arrayMethodsPlugin_: LB(PB) ? IB(PB) : void 0
+ mapSetPlugin_: RB(NB) ? LB(NB) : void 0,
+ arrayMethodsPlugin_: RB(FB) ? LB(FB) : void 0
});
-function BB(e, t) {
- t && (e.patchPlugin_ = IB(NB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
-}
-function VB(e) {
- HB(e), e.drafts_.forEach(bde), e.drafts_ = null;
+function VB(e, t) {
+ t && (e.patchPlugin_ = LB(PB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function HB(e) {
- e === RB && (RB = e.parent_);
+ UB(e), e.drafts_.forEach(Sde), e.drafts_ = null;
}
-var UB = (e) => RB = yde(RB, e);
-function bde(e) {
- let t = e[tB];
+function UB(e) {
+ e === zB && (zB = e.parent_);
+}
+var WB = (e) => zB = xde(zB, e);
+function Sde(e) {
+ let t = e[nB];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function WB(e, t) {
+function GB(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[tB].modified_ && (VB(t), nB(4)), fB(e) && (e = GB(t, e));
+ n[nB].modified_ && (HB(t), rB(4)), pB(e) && (e = KB(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[tB].base_, e, t);
- } else e = GB(t, n);
- return xde(t, e, !0), VB(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === $z ? void 0 : e;
-}
-function GB(e, t) {
- if (jB(t)) return t;
- let n = t[tB];
- if (!n) return XB(t, e.handledSet_, e);
- if (!qB(n, e)) return t;
+ r && r.generateReplacementPatches_(n[nB].base_, e, t);
+ } else e = KB(t, n);
+ return Cde(t, e, !0), HB(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === eB ? void 0 : e;
+}
+function KB(e, t) {
+ if (MB(t)) return t;
+ let n = t[nB];
+ if (!n) return ZB(t, e.handledSet_, e);
+ if (!JB(n, e)) return t;
if (!n.modified_) return n.base_;
if (!n.finalized_) {
let { callbacks_: t } = n;
if (t) for (; t.length > 0;) t.pop()(e);
- YB(n, e);
+ XB(n, e);
}
return n.copy_;
}
-function xde(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && kB(t, n);
+function Cde(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && AB(t, n);
}
-function KB(e) {
+function qB(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var qB = (e, t) => e.scope_ === t, Sde = [];
-function JB(e, t, n, r) {
- let i = EB(e), a = e.type_;
- if (r !== void 0 && vB(i, r, a) === t) {
- yB(i, r, n, a);
+var JB = (e, t) => e.scope_ === t, wde = [];
+function YB(e, t, n, r) {
+ let i = DB(e), a = e.type_;
+ if (r !== void 0 && yB(i, r, a) === t) {
+ bB(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- hB(i, (e, n) => {
- if (dB(n)) {
+ gB(i, (e, n) => {
+ if (fB(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? Sde;
- for (let e of o) yB(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? wde;
+ for (let e of o) bB(i, e, n, a);
}
-function Cde(e, t, n) {
+function Tde(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !qB(i, r)) return;
+ if (!i || !JB(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = DB(i);
- JB(e, i.draft_ ?? i, a, n), YB(i, r);
+ let a = OB(i);
+ YB(e, i.draft_ ?? i, a, n), XB(i, r);
});
}
-function YB(e, t) {
+function XB(e, t) {
if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
let { patchPlugin_: n } = t;
if (n) {
let r = n.getPath(e);
r && n.generatePatches_(e, r, t);
}
- KB(e);
+ qB(e);
}
}
-function wde(e, t, n) {
+function Ede(e, t, n) {
let { scope_: r } = e;
- if (dB(n)) {
- let i = n[tB];
- qB(i, r) && i.callbacks_.push(function() {
- nV(e), JB(e, n, DB(i), t);
+ if (fB(n)) {
+ let i = n[nB];
+ JB(i, r) && i.callbacks_.push(function() {
+ rV(e), YB(e, n, OB(i), t);
});
- } else fB(n) && e.callbacks_.push(function() {
- let i = EB(e);
- e.type_ === 3 ? i.has(n) && XB(n, r.handledSet_, r) : vB(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && XB(vB(e.copy_, t, e.type_), r.handledSet_, r);
+ } else pB(n) && e.callbacks_.push(function() {
+ let i = DB(e);
+ e.type_ === 3 ? i.has(n) && ZB(n, r.handledSet_, r) : yB(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && ZB(yB(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function XB(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || dB(e) || t.has(e) || !fB(e) || jB(e) ? e : (t.add(e), hB(e, (r, i) => {
- if (dB(i)) {
- let t = i[tB];
- qB(t, n) && (yB(e, r, DB(t), e.type_), KB(t));
- } else fB(i) && XB(i, t, n);
+function ZB(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || fB(e) || t.has(e) || !pB(e) || MB(e) ? e : (t.add(e), gB(e, (r, i) => {
+ if (fB(i)) {
+ let t = i[nB];
+ JB(t, n) && (bB(e, r, OB(t), e.type_), qB(t));
+ } else pB(i) && ZB(i, t, n);
}), e);
}
-function Tde(e, t) {
- let n = bB(e), r = {
+function Dde(e, t) {
+ let n = xB(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : zB(),
+ scope_: t ? t.scope_ : BB(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -45297,108 +45298,108 @@ function Tde(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = ZB;
- n && (i = [r], a = QB);
+ }, i = r, a = QB;
+ n && (i = [r], a = $B);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var ZB = {
+var QB = {
get(e, t) {
- if (t === tB) return e;
+ if (t === nB) return e;
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
- let i = EB(e);
- if (!_B(i, t, e.type_)) return Dde(e, i, t);
+ let i = DB(e);
+ if (!vB(i, t, e.type_)) return kde(e, i, t);
let a = i[t];
- if (e.finalized_ || !fB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && _de(t)) return a;
- if (a === $B(e.base_, t) || Ede(e, t, a)) {
- nV(e);
- let n = e.type_ === 1 ? +t : t, r = rV(e.scope_, a, e, n);
+ if (e.finalized_ || !pB(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && yde(t)) return a;
+ if (a === eV(e.base_, t) || Ode(e, t, a)) {
+ rV(e);
+ let n = e.type_ === 1 ? +t : t, r = iV(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in EB(e);
+ return t in DB(e);
},
ownKeys(e) {
- return Reflect.ownKeys(EB(e));
+ return Reflect.ownKeys(DB(e));
},
set(e, t, n) {
- let r = eV(EB(e), t);
+ let r = tV(DB(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = $B(EB(e), t), i = r?.[tB];
+ let r = eV(DB(e), t), i = r?.[nB];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (gde(n, r) && (n !== void 0 || _B(e.base_, t, e.type_))) return !0;
- nV(e), tV(e);
+ if (vde(n, r) && (n !== void 0 || vB(e.base_, t, e.type_))) return !0;
+ rV(e), nV(e);
}
- return e.copy_[t] === n && (n !== void 0 || _B(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), wde(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || vB(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), Ede(e, t, n), !0);
},
deleteProperty(e, t) {
- return nV(e), $B(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), tV(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return rV(e), eV(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), nV(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = EB(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = DB(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [lB]: !0,
- [sB]: e.type_ !== 1 || t !== "length",
- [cB]: r[cB],
- [uB]: n[t]
+ [uB]: !0,
+ [cB]: e.type_ !== 1 || t !== "length",
+ [lB]: r[lB],
+ [dB]: n[t]
};
},
defineProperty() {
- nB(11);
+ rB(11);
},
getPrototypeOf(e) {
- return iB(e.base_);
+ return aB(e.base_);
},
setPrototypeOf() {
- nB(12);
+ rB(12);
}
-}, QB = {};
-for (let e in ZB) {
- let t = ZB[e];
- QB[e] = function() {
+}, $B = {};
+for (let e in QB) {
+ let t = QB[e];
+ $B[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-QB.deleteProperty = function(e, t) {
- return QB.set.call(this, e, t, void 0);
-}, QB.set = function(e, t, n) {
- return ZB.set.call(this, e[0], t, n, e[0]);
+$B.deleteProperty = function(e, t) {
+ return $B.set.call(this, e, t, void 0);
+}, $B.set = function(e, t, n) {
+ return QB.set.call(this, e[0], t, n, e[0]);
};
-function $B(e, t) {
- let n = e[tB];
- return (n ? EB(n) : e)[t];
+function eV(e, t) {
+ let n = e[nB];
+ return (n ? DB(n) : e)[t];
}
-function Ede(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !fB(n) || n[tB] ? !1 : e.baseRefs_.has(n);
+function Ode(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !pB(n) || n[nB] ? !1 : e.baseRefs_.has(n);
}
-function Dde(e, t, n) {
- let r = eV(t, n);
- return r ? uB in r ? r[uB] : r.get?.call(e.draft_) : void 0;
+function kde(e, t, n) {
+ let r = tV(t, n);
+ return r ? dB in r ? r[dB] : r.get?.call(e.draft_) : void 0;
}
-function eV(e, t) {
+function tV(e, t) {
if (!(t in e)) return;
- let n = iB(e);
+ let n = aB(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = iB(n);
+ n = aB(n);
}
}
-function tV(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && tV(e.parent_));
-}
function nV(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), OB(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+ e.modified_ || (e.modified_ = !0, e.parent_ && nV(e.parent_));
+}
+function rV(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), kB(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var Ode = class {
+var Ade = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (wB(e) && !wB(t)) {
+ if (TB(e) && !TB(t)) {
let n = t;
t = e;
let r = this;
@@ -45406,30 +45407,30 @@ var Ode = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- wB(t) || nB(6), n !== void 0 && !wB(n) && nB(7);
+ TB(t) || rB(6), n !== void 0 && !TB(n) && rB(7);
let r;
- if (fB(e)) {
- let i = UB(this), a = rV(i, e, void 0), o = !0;
+ if (pB(e)) {
+ let i = WB(this), a = iV(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? VB(i) : HB(i);
+ o ? HB(i) : UB(i);
}
- return BB(i, n), WB(r, i);
+ return VB(i, n), GB(r, i);
}
- if (!e || !CB(e)) {
- if (r = t(e), r === void 0 && (r = e), r === $z && (r = void 0), this.autoFreeze_ && kB(r, !0), n) {
+ if (!e || !wB(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === eB && (r = void 0), this.autoFreeze_ && AB(r, !0), n) {
let t = [], i = [];
- IB(NB).generateReplacementPatches_(e, r, {
+ LB(PB).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- nB(1, e);
+ rB(1, e);
}, this.produceWithPatches = (e, t) => {
- if (wB(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (TB(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -45438,18 +45439,18 @@ var Ode = class {
n,
r
];
- }, TB(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), TB(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), TB(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, EB(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), EB(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), EB(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- fB(e) || nB(8), dB(e) && (e = iV(e));
- let t = UB(this), n = rV(t, e, void 0);
- return n[tB].isManual_ = !0, HB(t), n;
+ pB(e) || rB(8), fB(e) && (e = aV(e));
+ let t = WB(this), n = iV(t, e, void 0);
+ return n[nB].isManual_ = !0, UB(t), n;
}
finishDraft(e, t) {
- let n = e && e[tB];
- (!n || !n.isManual_) && nB(9);
+ let n = e && e[nB];
+ (!n || !n.isManual_) && rB(9);
let { scope_: r } = n;
- return BB(r, t), WB(void 0, r);
+ return VB(r, t), GB(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -45473,48 +45474,48 @@ var Ode = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = IB(NB).applyPatches_;
- return dB(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = LB(PB).applyPatches_;
+ return fB(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function rV(e, t, n, r) {
- let [i, a] = xB(t) ? IB(MB).proxyMap_(t, n) : SB(t) ? IB(MB).proxySet_(t, n) : Tde(t, n);
- return (n?.scope_ ?? zB()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? Cde(n, a, r) : a.callbacks_.push(function(e) {
+function iV(e, t, n, r) {
+ let [i, a] = SB(t) ? LB(NB).proxyMap_(t, n) : CB(t) ? LB(NB).proxySet_(t, n) : Dde(t, n);
+ return (n?.scope_ ?? BB()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? Tde(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
}), i;
}
-function iV(e) {
- return dB(e) || nB(10, e), aV(e);
-}
function aV(e) {
- if (!fB(e) || jB(e)) return e;
- let t = e[tB], n, r = !0;
+ return fB(e) || rB(10, e), oV(e);
+}
+function oV(e) {
+ if (!pB(e) || MB(e)) return e;
+ let t = e[nB], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = OB(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = OB(e, !0);
- return hB(n, (e, t) => {
- yB(n, e, aV(t));
+ t.finalized_ = !0, n = kB(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = kB(e, !0);
+ return gB(n, (e, t) => {
+ bB(n, e, oV(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var oV = new Ode().produce;
+var sV = new Ade().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function sV(e) {
+function cV(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var kde = sV(), Ade = sV, jde = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? Zz : Zz.apply(null, arguments);
+var jde = cV(), Mde = cV, Nde = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? Qz : Qz.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function cV(e, t) {
+function lV(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(UV(0));
+ if (!r) throw Error(WV(0));
return {
type: e,
payload: r.payload,
@@ -45527,9 +45528,9 @@ function cV(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => Qz(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => $z(t) && t.type === e, n;
}
-var lV = class e extends Array {
+var uV = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -45543,29 +45544,29 @@ var lV = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function uV(e) {
- return fB(e) ? oV(e, () => {}) : e;
+function dV(e) {
+ return pB(e) ? sV(e, () => {}) : e;
}
-function dV(e, t, n) {
+function fV(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function Mde(e) {
+function Pde(e) {
return typeof e == "boolean";
}
-var Nde = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new lV();
- return t && (Mde(t) ? a.push(kde) : a.push(Ade(t.extraArgument))), a;
-}, fV = "RTK_autoBatch", pV = () => (e) => ({
+var Fde = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new uV();
+ return t && (Pde(t) ? a.push(jde) : a.push(Mde(t.extraArgument))), a;
+}, pV = "RTK_autoBatch", mV = () => (e) => ({
payload: e,
- meta: { [fV]: !0 }
-}), mV = (e) => (t) => {
+ meta: { [pV]: !0 }
+}), hV = (e) => (t) => {
setTimeout(t, e);
-}, Pde = (e, t) => (n) => {
+}, Ide = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, hV = (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 ? Pde(window.requestAnimationFrame, 100) : mV(10) : e.type === "callback" ? e.queueNotification : mV(e.timeout), l = () => {
+}, gV = (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 ? Ide(window.requestAnimationFrame, 100) : hV(10) : e.type === "callback" ? e.queueNotification : hV(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -45577,37 +45578,37 @@ var Nde = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[fV], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[pV], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, Fde = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new lV(e);
- return n && r.push(hV(typeof n == "object" ? n : void 0)), r;
+}, Lde = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new uV(e);
+ return n && r.push(gV(typeof n == "object" ? n : void 0)), r;
};
-function Ide(e) {
- let t = Nde(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function Rde(e) {
+ let t = Fde(), { 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 (Jz(n)) c = Xz(n);
- else throw Error(UV(1));
+ else if (Yz(n)) c = Zz(n);
+ else throw Error(WV(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = Zz;
- i && (u = jde({
+ let u = Qz;
+ i && (u = Nde({
trace: !1,
...typeof i == "object" && i
}));
- let d = Fde(mde(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return Yz(c, o, p);
+ let d = Lde(gde(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return Xz(c, o, p);
}
-function gV(e) {
+function _V(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(UV(28));
- if (r in t) throw Error(UV(29));
+ if (!r) throw Error(WV(28));
+ if (r in t) throw Error(WV(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -45632,25 +45633,25 @@ function gV(e) {
r
];
}
-function Lde(e) {
+function zde(e) {
return typeof e == "function";
}
-function Rde(e, t) {
- let [n, r, i] = gV(t), a;
- if (Lde(e)) a = () => uV(e());
+function Bde(e, t) {
+ let [n, r, i] = _V(t), a;
+ if (zde(e)) a = () => dV(e());
else {
- let t = uV(e);
+ let t = dV(e);
a = () => t;
}
function o(e = a(), t) {
let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];
return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {
if (n) {
- if (dB(e)) {
+ if (fB(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (fB(e)) return oV(e, (e) => n(e, t));
+ if (pB(e)) return sV(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -45665,20 +45666,20 @@ function Rde(e, t) {
}
return o.getInitialState = a, o;
}
-var zde = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Bde = (e = 21) => {
+var Vde = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Hde = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += zde[Math.random() * 64 | 0];
+ for (; n--;) t += Vde[Math.random() * 64 | 0];
return t;
-}, Vde = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function Hde(e, t) {
+}, Ude = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function Wde(e, t) {
return `${e}/${t}`;
}
-function Ude({ creators: e } = {}) {
- let t = e?.asyncThunk?.[Vde];
+function Gde({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[Ude];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(UV(11));
- let i = (typeof e.reducers == "function" ? e.reducers(Gde()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(WV(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(qde()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -45686,8 +45687,8 @@ function Ude({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(UV(12));
- if (n in o.sliceCaseReducersByType) throw Error(UV(13));
+ if (!n) throw Error(WV(12));
+ if (n in o.sliceCaseReducersByType) throw Error(WV(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -45706,17 +45707,17 @@ function Ude({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: Hde(n, r),
+ type: Wde(n, r),
createNotation: typeof e.reducers == "function"
};
- qde(a) ? Yde(o, a, s, t) : Kde(o, a, s);
+ Yde(a) ? Zde(o, a, s, t) : Jde(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? gV(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? _V(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return Rde(e.initialState, (e) => {
+ return Bde(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);
@@ -45733,12 +45734,12 @@ function Ude({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = dV(d, r, m)), i;
+ return i === void 0 && n && (i = fV(d, r, m)), i;
}
function i(t = l) {
- return dV(dV(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return fV(fV(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = Wde(a, t, () => dV(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = Kde(a, t, () => fV(d, t, m), n);
return r;
});
}
@@ -45772,15 +45773,15 @@ function Ude({ creators: e } = {}) {
return g;
};
}
-function Wde(e, t, n, r) {
+function Kde(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 _V = /* @__PURE__ */ Ude();
-function Gde() {
+var vV = /* @__PURE__ */ Gde();
+function qde() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -45804,57 +45805,57 @@ function Gde() {
asyncThunk: e
};
}
-function Kde({ type: e, reducerName: t, createNotation: n }, r, i) {
+function Jde({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !Jde(r)) throw Error(UV(17));
+ if (n && !Xde(r)) throw Error(WV(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? cV(e, o) : cV(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? lV(e, o) : lV(e));
}
-function qde(e) {
+function Yde(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function Jde(e) {
+function Xde(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function Yde({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(UV(18));
+function Zde({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(WV(18));
let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);
r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {
- fulfilled: o || vV,
- pending: s || vV,
- rejected: c || vV,
- settled: l || vV
+ fulfilled: o || yV,
+ pending: s || yV,
+ rejected: c || yV,
+ settled: l || yV
});
}
-function vV() {}
-var Xde = "task", yV = "listener", bV = "completed", xV = "cancelled", Zde = `task-${xV}`, Qde = `task-${bV}`, SV = `${yV}-${xV}`, $de = `${yV}-${bV}`, CV = class {
+function yV() {}
+var Qde = "task", bV = "listener", xV = "completed", SV = "cancelled", $de = `task-${SV}`, efe = `task-${xV}`, CV = `${bV}-${SV}`, tfe = `${bV}-${xV}`, wV = class {
constructor(e) {
- this.code = e, this.message = `${Xde} ${xV} (reason: ${e})`;
+ this.code = e, this.message = `${Qde} ${SV} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, wV = (e, t) => {
- if (typeof e != "function") throw TypeError(UV(32));
-}, TV = () => {}, EV = (e, t = TV) => (e.catch(t), e), DV = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), OV = (e) => {
- if (e.aborted) throw new CV(e.reason);
+}, TV = (e, t) => {
+ if (typeof e != "function") throw TypeError(WV(32));
+}, EV = () => {}, DV = (e, t = EV) => (e.catch(t), e), OV = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), kV = (e) => {
+ if (e.aborted) throw new wV(e.reason);
};
-function kV(e, t) {
- let n = TV;
+function AV(e, t) {
+ let n = EV;
return new Promise((r, i) => {
- let a = () => i(new CV(e.reason));
+ let a = () => i(new wV(e.reason));
if (e.aborted) {
a();
return;
}
- n = DV(e, a), t.finally(() => n()).then(r, i);
+ n = OV(e, a), t.finally(() => n()).then(r, i);
}).finally(() => {
- n = TV;
+ n = EV;
});
}
-var efe = async (e, t) => {
+var nfe = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -45862,40 +45863,40 @@ var efe = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof CV ? "cancelled" : "rejected",
+ status: e instanceof wV ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, AV = (e) => (t) => EV(kV(e, t).then((t) => (OV(e), t))), jV = (e) => {
- let t = AV(e);
+}, jV = (e) => (t) => DV(AV(e, t).then((t) => (kV(e), t))), MV = (e) => {
+ let t = jV(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: MV } = Object, NV = {}, PV = "listenerMiddleware", tfe = (e, t) => {
- let n = (t) => DV(e, () => t.abort(e.reason));
+}, { assign: NV } = Object, PV = {}, FV = "listenerMiddleware", rfe = (e, t) => {
+ let n = (t) => OV(e, () => t.abort(e.reason));
return (r, i) => {
- wV(r, "taskExecutor");
+ TV(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = efe(async () => {
- OV(e), OV(a.signal);
+ let o = nfe(async () => {
+ kV(e), kV(a.signal);
let t = await r({
- pause: AV(a.signal),
- delay: jV(a.signal),
+ pause: jV(a.signal),
+ delay: MV(a.signal),
signal: a.signal
});
- return OV(a.signal), t;
- }, () => a.abort(Qde));
- return i?.autoJoin && t.push(o.catch(TV)), {
- result: AV(e)(o),
+ return kV(a.signal), t;
+ }, () => a.abort(efe));
+ return i?.autoJoin && t.push(o.catch(EV)), {
+ result: jV(e)(o),
cancel() {
- a.abort(Zde);
+ a.abort($de);
}
};
};
-}, nfe = (e, t) => {
+}, ife = (e, t) => {
let n = async (n, r) => {
- OV(t);
+ kV(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -45913,47 +45914,47 @@ var efe = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await kV(t, Promise.race(a));
- return OV(t), e;
+ let e = await AV(t, Promise.race(a));
+ return kV(t), e;
} finally {
i();
}
};
- return ((e, t) => EV(n(e, t)));
-}, FV = (e) => {
+ return ((e, t) => DV(n(e, t)));
+}, IV = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = cV(t).match;
+ if (t) i = lV(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(UV(21));
- return wV(a, "options.listener"), {
+ else if (!i) throw Error(WV(21));
+ return TV(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, IV = /* @__PURE__ */ MV((e) => {
- let { type: t, predicate: n, effect: r } = FV(e);
+}, LV = /* @__PURE__ */ NV((e) => {
+ let { type: t, predicate: n, effect: r } = IV(e);
return {
- id: Bde(),
+ id: Hde(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(UV(22));
+ throw Error(WV(22));
}
};
-}, { withTypes: () => IV }), LV = (e, t) => {
- let { type: n, effect: r, predicate: i } = FV(t);
+}, { withTypes: () => LV }), RV = (e, t) => {
+ let { type: n, effect: r, predicate: i } = IV(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, RV = (e) => {
+}, zV = (e) => {
e.pending.forEach((e) => {
- e.abort(SV);
+ e.abort(CV);
});
-}, rfe = (e, t) => () => {
- for (let e of t.keys()) RV(e);
+}, afe = (e, t) => () => {
+ for (let e of t.keys()) zV(e);
e.clear();
-}, zV = (e, t, n) => {
+}, BV = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -45961,74 +45962,74 @@ var efe = async (e, t) => {
throw e;
}, 0);
}
-}, BV = /* @__PURE__ */ MV(/* @__PURE__ */ cV(`${PV}/add`), { withTypes: () => BV }), ife = /* @__PURE__ */ cV(`${PV}/removeAll`), VV = /* @__PURE__ */ MV(/* @__PURE__ */ cV(`${PV}/remove`), { withTypes: () => VV }), afe = (...e) => {
- console.error(`${PV}/error`, ...e);
-}, HV = (e = {}) => {
+}, VV = /* @__PURE__ */ NV(/* @__PURE__ */ lV(`${FV}/add`), { withTypes: () => VV }), ofe = /* @__PURE__ */ lV(`${FV}/removeAll`), HV = /* @__PURE__ */ NV(/* @__PURE__ */ lV(`${FV}/remove`), { withTypes: () => HV }), sfe = (...e) => {
+ console.error(`${FV}/error`, ...e);
+}, UV = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
let t = n.get(e) ?? 0;
n.set(e, t + 1);
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = afe } = e;
- wV(o, "onError");
+ }, { extra: a, onError: o = sfe } = e;
+ TV(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && RV(e);
+ e.unsubscribe(), t?.cancelActive && zV(e);
}), c = ((e) => {
- let n = LV(t, e) ?? IV(e);
+ let n = RV(t, e) ?? LV(e);
return s(n);
});
- MV(c, { withTypes: () => c });
+ NV(c, { withTypes: () => c });
let l = (e) => {
- let n = LV(t, e);
- return n && (n.unsubscribe(), e.cancelActive && RV(n)), !!n;
+ let n = RV(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && zV(n)), !!n;
};
- MV(l, { withTypes: () => l });
+ NV(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = nfe(c, u.signal), f = [];
+ let u = new AbortController(), d = ife(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, MV({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, NV({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: jV(u.signal),
- pause: AV(u.signal),
+ delay: MV(u.signal),
+ pause: jV(u.signal),
extra: a,
signal: u.signal,
- fork: tfe(u.signal, f),
+ fork: rfe(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(SV), n.delete(e));
+ e !== u && (e.abort(CV), n.delete(e));
});
},
cancel: () => {
- u.abort(SV), e.pending.delete(u);
+ u.abort(CV), e.pending.delete(u);
},
throwIfCancelled: () => {
- OV(u.signal);
+ kV(u.signal);
}
})));
} catch (e) {
- e instanceof CV || zV(o, e, { raisedBy: "effect" });
+ e instanceof wV || BV(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort($de), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(tfe), i(e), e.pending.delete(u);
}
- }, d = rfe(t, n);
+ }, d = afe(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!Qz(r)) return n(r);
- if (BV.match(r)) return c(r.payload);
- if (ife.match(r)) {
+ if (!$z(r)) return n(r);
+ if (VV.match(r)) return c(r.payload);
+ if (ofe.match(r)) {
d();
return;
}
- if (VV.match(r)) return l(r.payload);
+ if (HV.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === NV) throw Error(UV(23));
+ if (i === PV) throw Error(WV(23));
return i;
}, s;
try {
@@ -46039,13 +46040,13 @@ var efe = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, zV(o, e, { raisedBy: "predicate" });
+ s = !1, BV(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = NV;
+ i = PV;
}
return s;
},
@@ -46054,12 +46055,12 @@ var efe = async (e, t) => {
clearListeners: d
};
};
-function UV(e) {
+function WV(e) {
return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
//#endregion
//#region node_modules/recharts/es6/state/layoutSlice.js
-var WV = _V({
+var GV = vV({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -46087,23 +46088,23 @@ var WV = _V({
e.scale = t.payload;
}
}
-}), { setMargin: ofe, setLayout: sfe, setChartSize: GV, setScale: KV } = WV.actions, qV = WV.reducer;
+}), { setMargin: cfe, setLayout: KV, setChartSize: qV, setScale: JV } = GV.actions, YV = GV.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function JV(e, t, n) {
+function XV(e, t, n) {
return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;
}
//#endregion
//#region node_modules/recharts/es6/util/isWellBehavedNumber.js
-function YV(e) {
+function ZV(e) {
return Number.isFinite(e);
}
-function XV(e) {
+function QV(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function ZV(e, t) {
+function $V(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -46113,30 +46114,30 @@ function ZV(e, t) {
}
return n;
}
-function QV(e) {
+function eH(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? ZV(Object(n), !0).forEach(function(t) {
- $V(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZV(Object(n)).forEach(function(t) {
+ t % 2 ? $V(Object(n), !0).forEach(function(t) {
+ tH(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $V(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function $V(e, t, n) {
- return (t = eH(t)) in e ? Object.defineProperty(e, t, {
+function tH(e, t, n) {
+ return (t = nH(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function eH(e) {
- var t = tH(e, "string");
+function nH(e) {
+ var t = rH(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function tH(e, t) {
+function rH(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -46146,63 +46147,63 @@ function tH(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function nH(e, t, n) {
- return KR(e) || KR(t) ? n : BR(t) ? PR(e, t, n) : typeof t == "function" ? t(e) : n;
+function iH(e, t, n) {
+ return qR(e) || qR(t) ? n : VR(t) ? FR(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var rH = (e, t, n) => {
+var aH = (e, t, n) => {
if (t && n) {
var { width: r, height: i } = n, { align: a, verticalAlign: o, layout: s } = t;
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return QV(QV({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return QV(QV({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return eH(eH({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return eH(eH({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, iH = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", aH = (e, t, n, r) => {
+}, oH = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", sH = (e, t, n, r) => {
if (r) return e.map((e) => e.coordinate);
var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));
return i || o.push(t), a || o.push(n), o;
-}, oH = (e, t, n) => {
+}, cH = (e, t, n) => {
if (!e) return null;
var { duplicateDomain: r, type: i, range: a, scale: o, realScaleType: s, isCategorical: c, categoricalDomain: l, tickCount: u, ticks: d, niceTicks: f, axisType: p } = e;
if (!o) return null;
var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;
- return h = p === "angleAxis" && a && a.length >= 2 ? LR(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? RR(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
var n = r ? r.indexOf(e) : e, i = o.map(n);
- return YV(i) ? {
+ return ZV(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(JR) : c && l ? l.map((e, t) => {
+ }).filter(YR) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return YV(n) ? {
+ return ZV(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(JR) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(YR) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return YV(n) ? {
+ return ZV(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(JR) : o.domain().map((e, t) => {
+ }).filter(YR) : o.domain().map((e, t) => {
var n = o.map(e);
- return YV(n) ? {
+ return ZV(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(JR);
-}, sH = (e, t) => {
+ }).filter(YR);
+}, lH = (e, t) => {
if (!t || t.length !== 2 || !Z(t[0]) || !Z(t[1])) return e;
var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];
return (!Z(e[0]) || e[0] < n) && (i[0] = n), (!Z(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, cH = {
+}, uH = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -46210,16 +46211,16 @@ var rH = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0, o = 0; o < t; ++o) {
var s = e[o]?.[r];
if (s != null) {
- var c = s[1], l = s[0], u = RR(c) ? l : c;
+ var c = s[1], l = s[0], u = zR(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: Ele,
- none: ER,
- silhouette: Dle,
- wiggle: Ole,
+ expand: Ole,
+ none: DR,
+ silhouette: kle,
+ wiggle: Ale,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -46227,70 +46228,70 @@ var rH = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0; a < t; ++a) {
var o = e[a]?.[r];
if (o != null) {
- var s = RR(o[1]) ? o[0] : o[1];
+ var s = zR(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, lH = (e, t, n) => {
- var r = cH[n] ?? ER, i = Tle().keys(t).value((e, t) => Number(nH(e, t, 0))).order(DR).offset(r)(e);
+}, dH = (e, t, n) => {
+ var r = uH[n] ?? DR, i = Dle().keys(t).value((e, t) => Number(iH(e, t, 0))).order(OR).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = nH(e[i], t[r], 0);
+ var a = iH(e[i], t[r], 0);
Array.isArray(a) && a.length === 2 && Z(a[0]) && Z(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
-function uH(e) {
+function fH(e) {
return e == null ? void 0 : String(e);
}
-function dH(e) {
+function pH(e) {
var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !KR(i[t.dataKey])) {
- var s = GR(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !qR(i[t.dataKey])) {
+ var s = KR(n, "value", i[t.dataKey]);
if (s) return s.coordinate + r / 2;
}
return n != null && n[a] ? n[a].coordinate + r / 2 : null;
}
- var c = nH(i, KR(o) ? t.dataKey : o), l = t.scale.map(c);
+ var c = iH(i, qR(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
-var fH = (e) => {
+var mH = (e) => {
var { axis: t, ticks: n, offset: r, bandSize: i, entry: a, index: o } = e;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
- var s = nH(a, t.dataKey, t.scale.domain()[o]);
- if (KR(s)) return null;
+ var s = iH(a, t.dataKey, t.scale.domain()[o]);
+ if (qR(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
-}, pH = (e) => {
+}, hH = (e) => {
var { numericAxis: t } = e, n = t.scale.domain();
if (t.type === "number") {
var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, mH = (e) => {
+}, gH = (e) => {
var t = e.flat(2).filter(Z);
return [Math.min(...t), Math.max(...t)];
-}, hH = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], gH = (e, t, n) => {
- if (e != null) return hH(Object.keys(e).reduce((r, i) => {
+}, _H = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], vH = (e, t, n) => {
+ if (e != null) return _H(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var { stackedData: o } = a, s = o.reduce((e, r) => {
- var i = mH(JV(r, t, n));
- return !YV(i[0]) || !YV(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = gH(XV(r, t, n));
+ return !ZV(i[0]) || !ZV(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(s[0], r[0]), Math.max(s[1], r[1])];
}, [Infinity, -Infinity]));
-}, _H = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, vH = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, yH = (e, t, n) => {
+}, yH = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, bH = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, xH = (e, t, n) => {
if (e && e.scale && e.scale.bandwidth) {
var r = e.scale.bandwidth();
if (!n || r > 0) return r;
}
if (e && t && t.length >= 2) {
- for (var i = Bz(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
+ for (var i = Vz(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
var c = i[o], l = i[o - 1];
a = Math.min((c?.coordinate || 0) - (l?.coordinate || 0), a);
}
@@ -46298,26 +46299,26 @@ var fH = (e) => {
}
return n ? void 0 : 0;
};
-function bH(e) {
+function SH(e) {
var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;
- return QV(QV({}, t), {}, {
+ return eH(eH({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function xH(e, t) {
+function CH(e, t) {
if (e) return String(e);
if (typeof t == "string") return t;
}
-var SH = (e, t) => {
+var wH = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, CH = (e, t) => t === "centric" ? e.angle : e.radius, wH = (e) => e.layout.width, TH = (e) => e.layout.height, EH = (e) => e.layout.scale, DH = (e) => e.layout.margin, OH = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), kH = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), AH = "data-recharts-item-index";
+}, TH = (e, t) => t === "centric" ? e.angle : e.radius, EH = (e) => e.layout.width, DH = (e) => e.layout.height, OH = (e) => e.layout.scale, kH = (e) => e.layout.margin, AH = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), jH = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), MH = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function jH(e, t) {
+function NH(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -46327,30 +46328,30 @@ function jH(e, t) {
}
return n;
}
-function MH(e) {
+function PH(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? jH(Object(n), !0).forEach(function(t) {
- NH(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jH(Object(n)).forEach(function(t) {
+ t % 2 ? NH(Object(n), !0).forEach(function(t) {
+ FH(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NH(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function NH(e, t, n) {
- return (t = PH(t)) in e ? Object.defineProperty(e, t, {
+function FH(e, t, n) {
+ return (t = IH(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function PH(e) {
- var t = FH(e, "string");
+function IH(e) {
+ var t = LH(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function FH(e, t) {
+function LH(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -46360,58 +46361,58 @@ function FH(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var IH = (e) => e.brush.height;
-function LH(e) {
- return kH(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
-}
-function RH(e) {
- return kH(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
-}
+var RH = (e) => e.brush.height;
function zH(e) {
- return OH(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
+ return jH(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
function BH(e) {
- return OH(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
+ return jH(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+}
+function VH(e) {
+ return AH(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
+}
+function HH(e) {
+ return AH(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
-var VH = $([
- wH,
- TH,
+var UH = $([
+ EH,
DH,
- IH,
- LH,
+ kH,
RH,
zH,
BH,
- Vz,
- ude
+ VH,
+ HH,
+ Hz,
+ fde
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = MH(MH({}, {
+ }, d = PH(PH({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = rH(d, c, l);
+ d.bottom += r, d = aH(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return MH(MH({ brushBottom: f }, d), {}, {
+ return PH(PH({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), HH = $(VH, (e) => ({
+}), WH = $(UH, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), UH = $(wH, TH, (e, t) => ({
+})), GH = $(EH, DH, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), WH = /*#__PURE__*/ (0, N.createContext)(null), GH = () => (0, N.useContext)(WH) != null, KH = (e) => e.brush, qH = $([
- KH,
- VH,
- DH
+})), KH = /*#__PURE__*/ (0, N.createContext)(null), qH = () => (0, N.useContext)(KH) != null, JH = (e) => e.brush, YH = $([
+ JH,
+ UH,
+ kH
], (e, t, n) => ({
height: e.height,
x: Z(e.x) ? e.x : t.left,
@@ -46420,7 +46421,7 @@ var VH = $([
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function JH(e, t, { signal: n, edges: r } = {}) {
+function XH(e, t, { signal: n, edges: r } = {}) {
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
a !== null && (e.apply(i, a), i = void 0, a = null);
}, l = () => {
@@ -46445,11 +46446,11 @@ function JH(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function YH(e, t = 0, n = {}) {
+function ZH(e, t = 0, n = {}) {
typeof n != "object" && (n = {});
let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];
r && (o[0] = "leading"), i && (o[1] = "trailing");
- let s, c = null, l = JH(function(...t) {
+ let s, c = null, l = XH(function(...t) {
s = e.apply(this, t), c = null;
}, t, { edges: o }), u = function(...t) {
return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);
@@ -46458,9 +46459,9 @@ function YH(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function XH(e, t = 0, n = {}) {
+function QH(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return YH(e, t, {
+ return ZH(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -46468,7 +46469,7 @@ function XH(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var ZH = function(e, t) {
+var $H = function(e, t) {
var n = [...arguments].slice(2);
if (typeof console < "u" && console.warn && (t === void 0 && console.warn("LogUtils requires an error message argument"), !e)) {
if (t === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
@@ -46477,7 +46478,7 @@ var ZH = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, QH = {
+}, eU = {
width: "100%",
height: "100%",
debounce: 0,
@@ -46486,45 +46487,45 @@ var ZH = function(e, t) {
width: -1,
height: -1
}
-}, $H = (e, t, n) => {
- var { width: r = QH.width, height: i = QH.height, aspect: a, maxHeight: o } = n, s = zR(r) ? e : Number(r), c = zR(i) ? t : Number(i);
+}, tU = (e, t, n) => {
+ var { width: r = eU.width, height: i = eU.height, aspect: a, maxHeight: o } = n, s = BR(r) ? e : Number(r), c = BR(i) ? t : Number(i);
return a && a > 0 && (s ? c = s / a : c && (s = c * a), o && c != null && c > o && (c = o)), {
calculatedWidth: s,
calculatedHeight: c
};
-}, eU = {
+}, nU = {
width: 0,
height: 0,
overflow: "visible"
-}, tU = {
+}, rU = {
width: 0,
overflowX: "visible"
-}, nU = {
+}, iU = {
height: 0,
overflowY: "visible"
-}, rU = {}, iU = (e) => {
- var { width: t, height: n } = e, r = zR(t), i = zR(n);
- return r && i ? eU : r ? tU : i ? nU : rU;
+}, aU = {}, oU = (e) => {
+ var { width: t, height: n } = e, r = BR(t), i = BR(n);
+ return r && i ? nU : r ? rU : i ? iU : aU;
};
-function aU(e) {
+function sU(e) {
var { width: t, height: n, aspect: r } = e, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = QH.width, a = QH.height) : i === void 0 ? i = r && r > 0 ? void 0 : QH.width : a === void 0 && (a = r && r > 0 ? void 0 : QH.height), {
+ return i === void 0 && a === void 0 ? (i = eU.width, a = eU.height) : i === void 0 ? i = r && r > 0 ? void 0 : eU.width : a === void 0 && (a = r && r > 0 ? void 0 : eU.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-function oU() {
- return oU = Object.assign ? Object.assign.bind() : function(e) {
+function cU() {
+ return cU = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, oU.apply(null, arguments);
+ }, cU.apply(null, arguments);
}
-function sU(e, t) {
+function lU(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -46534,30 +46535,30 @@ function sU(e, t) {
}
return n;
}
-function cU(e) {
+function uU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? sU(Object(n), !0).forEach(function(t) {
- lU(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sU(Object(n)).forEach(function(t) {
+ t % 2 ? lU(Object(n), !0).forEach(function(t) {
+ dU(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lU(e, t, n) {
- return (t = uU(t)) in e ? Object.defineProperty(e, t, {
+function dU(e, t, n) {
+ return (t = fU(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uU(e) {
- var t = dU(e, "string");
+function fU(e) {
+ var t = pU(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dU(e, t) {
+function pU(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -46567,19 +46568,19 @@ function dU(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var fU = /*#__PURE__*/ (0, N.createContext)(QH.initialDimension);
-function pU(e) {
- return XV(e.width) && XV(e.height);
+var mU = /*#__PURE__*/ (0, N.createContext)(eU.initialDimension);
+function hU(e) {
+ return QV(e.width) && QV(e.height);
}
-function mU(e) {
+function gU(e) {
var { children: t, width: n, height: r } = e, i = (0, N.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return pU(i) ? /*#__PURE__*/ N.createElement(fU.Provider, { value: i }, t) : null;
+ return hU(i) ? /*#__PURE__*/ N.createElement(mU.Provider, { value: i }, t) : null;
}
-var hU = () => (0, N.useContext)(fU), gU = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
- var { aspect: n, initialDimension: r = QH.initialDimension, width: i, height: a, minWidth: o = QH.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = QH.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, N.useRef)(null), g = (0, N.useRef)();
+var _U = () => (0, N.useContext)(mU), vU = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
+ var { aspect: n, initialDimension: r = eU.initialDimension, width: i, height: a, minWidth: o = eU.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = eU.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, N.useRef)(null), g = (0, N.useRef)();
g.current = p, (0, N.useImperativeHandle)(t, () => h.current);
var [_, v] = (0, N.useState)({
containerWidth: r.width,
@@ -46594,7 +46595,7 @@ var hU = () => (0, N.useContext)(fU), gU = /*#__PURE__*/ (0, N.forwardRef)((e, t
});
}, []);
(0, N.useEffect)(() => {
- if (h.current == null || typeof ResizeObserver > "u") return YR;
+ if (h.current == null || typeof ResizeObserver > "u") return XR;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -46602,7 +46603,7 @@ var hU = () => (0, N.useContext)(fU), gU = /*#__PURE__*/ (0, N.forwardRef)((e, t
y(r, i), (t = g.current) == null || t.call(g, r, i);
}
};
- u > 0 && (e = XH(e, u, {
+ u > 0 && (e = QH(e, u, {
trailing: !0,
leading: !1
}));
@@ -46612,17 +46613,17 @@ var hU = () => (0, N.useContext)(fU), gU = /*#__PURE__*/ (0, N.forwardRef)((e, t
};
}, [y, u]);
var { containerWidth: b, containerHeight: x } = _;
- ZH(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var { calculatedWidth: S, calculatedHeight: C } = $H(b, x, {
+ $H(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var { calculatedWidth: S, calculatedHeight: C } = tU(b, x, {
width: i,
height: a,
aspect: n,
maxHeight: c
});
- return ZH(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__*/ N.createElement("div", {
+ return $H(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ N.createElement("div", {
id: d ? `${d}` : void 0,
className: Nm("recharts-responsive-container", f),
- style: cU(cU({}, m), {}, {
+ style: uU(uU({}, m), {}, {
width: i,
height: a,
minWidth: o,
@@ -46630,30 +46631,30 @@ var hU = () => (0, N.useContext)(fU), gU = /*#__PURE__*/ (0, N.forwardRef)((e, t
maxHeight: c
}),
ref: h
- }, /*#__PURE__*/ N.createElement("div", { style: iU({
+ }, /*#__PURE__*/ N.createElement("div", { style: oU({
width: i,
height: a
- }) }, /*#__PURE__*/ N.createElement(mU, {
+ }) }, /*#__PURE__*/ N.createElement(gU, {
width: S,
height: C
}, l)));
-}), _U = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
- var n = hU();
- if (XV(n.width) && XV(n.height)) return e.children;
- var { width: r, height: i } = aU({
+}), yU = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
+ var n = _U();
+ if (QV(n.width) && QV(n.height)) return e.children;
+ var { width: r, height: i } = sU({
width: e.width,
height: e.height,
aspect: e.aspect
- }), { calculatedWidth: a, calculatedHeight: o } = $H(void 0, void 0, {
+ }), { calculatedWidth: a, calculatedHeight: o } = tU(void 0, void 0, {
width: r,
height: i,
aspect: e.aspect,
maxHeight: e.maxHeight
});
- return Z(a) && Z(o) ? /*#__PURE__*/ N.createElement(mU, {
+ return Z(a) && Z(o) ? /*#__PURE__*/ N.createElement(gU, {
width: a,
height: o
- }, e.children) : /*#__PURE__*/ N.createElement(gU, oU({}, e, {
+ }, e.children) : /*#__PURE__*/ N.createElement(vU, cU({}, e, {
width: r,
height: i,
ref: t
@@ -46661,7 +46662,7 @@ var hU = () => (0, N.useContext)(fU), gU = /*#__PURE__*/ (0, N.forwardRef)((e, t
});
//#endregion
//#region node_modules/recharts/es6/context/chartLayoutContext.js
-function vU(e) {
+function bU(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -46671,15 +46672,15 @@ function vU(e) {
height: e.height
};
}
-var yU = () => {
- var e = GH(), t = Q(HH), n = Q(qH), r = Q(KH)?.padding;
+var xU = () => {
+ var e = qH(), t = Q(WH), n = Q(YH), r = Q(JH)?.padding;
return !e || !n || !r ? t : {
width: n.width - r.left - r.right,
height: n.height - r.top - r.bottom,
x: r.left,
y: r.top
};
-}, bU = {
+}, SU = {
top: 0,
bottom: 0,
left: 0,
@@ -46687,16 +46688,16 @@ var yU = () => {
width: 0,
height: 0,
brushBottom: 0
-}, xU = () => Q(VH) ?? bU, SU = () => Q(wH), CU = () => Q(TH), wU = () => Q((e) => e.layout.margin), TU = (e) => e.layout.layoutType, EU = () => Q(TU), DU = () => {
- var e = EU();
+}, CU = () => Q(UH) ?? SU, wU = () => Q(EH), TU = () => Q(DH), EU = () => Q((e) => e.layout.margin), DU = (e) => e.layout.layoutType, OU = () => Q(DU), kU = () => {
+ var e = OU();
if (e === "horizontal" || e === "vertical") return e;
-}, OU = (e) => {
+}, AU = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, kU = () => Q(OU), AU = () => EU() !== void 0, jU = (e) => {
- var t = Mz(), n = GH(), { width: r, height: i } = e, a = hU(), o = r, s = i;
+}, jU = () => Q(AU), MU = () => OU() !== void 0, NU = (e) => {
+ var t = Nz(), n = qH(), { width: r, height: i } = e, a = _U(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, N.useEffect)(() => {
- !n && XV(o) && XV(s) && t(GV({
+ !n && QV(o) && QV(s) && t(qV({
width: o,
height: s
}));
@@ -46706,64 +46707,64 @@ var yU = () => {
o,
s
]), null;
-}, MU = Symbol.for("immer-nothing"), NU = Symbol.for("immer-draftable"), PU = Symbol.for("immer-state");
-function FU(e, ...t) {
+}, PU = Symbol.for("immer-nothing"), FU = Symbol.for("immer-draftable"), IU = Symbol.for("immer-state");
+function LU(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var IU = Object.getPrototypeOf;
-function LU(e) {
- return !!e && !!e[PU];
+var RU = Object.getPrototypeOf;
+function zU(e) {
+ return !!e && !!e[IU];
}
-function RU(e) {
- return e ? VU(e) || Array.isArray(e) || !!e[NU] || !!e.constructor?.[NU] || qU(e) || JU(e) : !1;
+function BU(e) {
+ return e ? UU(e) || Array.isArray(e) || !!e[FU] || !!e.constructor?.[FU] || YU(e) || XU(e) : !1;
}
-var zU = Object.prototype.constructor.toString(), BU = /* @__PURE__ */ new WeakMap();
-function VU(e) {
+var VU = Object.prototype.constructor.toString(), HU = /* @__PURE__ */ new WeakMap();
+function UU(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
if (t === null || t === Object.prototype) return !0;
let n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
if (n === Object) return !0;
if (typeof n != "function") return !1;
- let r = BU.get(n);
- return r === void 0 && (r = Function.toString.call(n), BU.set(n, r)), r === zU;
+ let r = HU.get(n);
+ return r === void 0 && (r = Function.toString.call(n), HU.set(n, r)), r === VU;
}
-function HU(e, t, n = !0) {
- UU(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
+function WU(e, t, n = !0) {
+ GU(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function UU(e) {
- let t = e[PU];
- return t ? t.type_ : Array.isArray(e) ? 1 : qU(e) ? 2 : JU(e) ? 3 : 0;
+function GU(e) {
+ let t = e[IU];
+ return t ? t.type_ : Array.isArray(e) ? 1 : YU(e) ? 2 : XU(e) ? 3 : 0;
}
-function WU(e, t) {
- return UU(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
+function KU(e, t) {
+ return GU(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
}
-function GU(e, t, n) {
- let r = UU(e);
+function qU(e, t, n) {
+ let r = GU(e);
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
}
-function KU(e, t) {
+function JU(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function qU(e) {
+function YU(e) {
return e instanceof Map;
}
-function JU(e) {
+function XU(e) {
return e instanceof Set;
}
-function YU(e) {
+function ZU(e) {
return e.copy_ || e.base_;
}
-function XU(e, t) {
- if (qU(e)) return new Map(e);
- if (JU(e)) return new Set(e);
+function QU(e, t) {
+ if (YU(e)) return new Map(e);
+ if (XU(e)) return new Set(e);
if (Array.isArray(e)) return Array.prototype.slice.call(e);
- let n = VU(e);
+ let n = UU(e);
if (t === !0 || t === "class_only" && !n) {
let t = Object.getOwnPropertyDescriptors(e);
- delete t[PU];
+ delete t[IU];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
@@ -46774,40 +46775,40 @@ function XU(e, t) {
value: e[i]
});
}
- return Object.create(IU(e), t);
+ return Object.create(RU(e), t);
}
{
- let t = IU(e);
+ let t = RU(e);
if (t !== null && n) return { ...e };
let r = Object.create(t);
return Object.assign(r, e);
}
}
-function ZU(e, t = !1) {
- return eW(e) || LU(e) || !RU(e) ? e : (UU(e) > 1 && Object.defineProperties(e, {
- set: $U,
- add: $U,
- clear: $U,
- delete: $U
- }), Object.freeze(e), t && Object.values(e).forEach((e) => ZU(e, !0)), e);
+function $U(e, t = !1) {
+ return nW(e) || zU(e) || !BU(e) ? e : (GU(e) > 1 && Object.defineProperties(e, {
+ set: tW,
+ add: tW,
+ clear: tW,
+ delete: tW
+ }), Object.freeze(e), t && Object.values(e).forEach((e) => $U(e, !0)), e);
}
-function QU() {
- FU(2);
+function eW() {
+ LU(2);
}
-var $U = { value: QU };
-function eW(e) {
+var tW = { value: eW };
+function nW(e) {
return typeof e != "object" || !e || Object.isFrozen(e);
}
-var tW = {};
-function nW(e) {
- let t = tW[e];
- return t || FU(0, e), t;
+var rW = {};
+function iW(e) {
+ let t = rW[e];
+ return t || LU(0, e), t;
}
-var rW;
-function iW() {
- return rW;
+var aW;
+function oW() {
+ return aW;
}
-function aW(e, t) {
+function sW(e, t) {
return {
drafts_: [],
parent_: e,
@@ -46816,62 +46817,62 @@ function aW(e, t) {
unfinalizedDrafts_: 0
};
}
-function oW(e, t) {
- t && (nW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
-}
-function sW(e) {
- cW(e), e.drafts_.forEach(uW), e.drafts_ = null;
-}
-function cW(e) {
- e === rW && (rW = e.parent_);
+function cW(e, t) {
+ t && (iW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
function lW(e) {
- return rW = aW(rW, e);
+ uW(e), e.drafts_.forEach(fW), e.drafts_ = null;
}
function uW(e) {
- let t = e[PU];
+ e === aW && (aW = e.parent_);
+}
+function dW(e) {
+ return aW = sW(aW, e);
+}
+function fW(e) {
+ let t = e[IU];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function dW(e, t) {
+function pW(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
- return e !== void 0 && e !== n ? (n[PU].modified_ && (sW(t), FU(4)), RU(e) && (e = fW(t, e), t.parent_ || mW(t, e)), t.patches_ && nW("Patches").generateReplacementPatches_(n[PU].base_, e, t.patches_, t.inversePatches_)) : e = fW(t, n, []), sW(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === MU ? void 0 : e;
+ return e !== void 0 && e !== n ? (n[IU].modified_ && (lW(t), LU(4)), BU(e) && (e = mW(t, e), t.parent_ || gW(t, e)), t.patches_ && iW("Patches").generateReplacementPatches_(n[IU].base_, e, t.patches_, t.inversePatches_)) : e = mW(t, n, []), lW(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === PU ? void 0 : e;
}
-function fW(e, t, n) {
- if (eW(t)) return t;
- let r = e.immer_.shouldUseStrictIteration(), i = t[PU];
- if (!i) return HU(t, (r, a) => pW(e, i, t, r, a, n), r), t;
+function mW(e, t, n) {
+ if (nW(t)) return t;
+ let r = e.immer_.shouldUseStrictIteration(), i = t[IU];
+ if (!i) return WU(t, (r, a) => hW(e, i, t, r, a, n), r), t;
if (i.scope_ !== e) return t;
- if (!i.modified_) return mW(e, i.base_, !0), i.base_;
+ if (!i.modified_) return gW(e, i.base_, !0), i.base_;
if (!i.finalized_) {
i.finalized_ = !0, i.scope_.unfinalizedDrafts_--;
let t = i.copy_, a = t, o = !1;
- i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), HU(a, (r, a) => pW(e, i, t, r, a, n, o), r), mW(e, t, !1), n && e.patches_ && nW("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
+ i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), WU(a, (r, a) => hW(e, i, t, r, a, n, o), r), gW(e, t, !1), n && e.patches_ && iW("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
}
return i.copy_;
}
-function pW(e, t, n, r, i, a, o) {
+function hW(e, t, n, r, i, a, o) {
if (i == null || typeof i != "object" && !o) return;
- let s = eW(i);
+ let s = nW(i);
if (!(s && !o)) {
- if (LU(i)) {
- let o = fW(e, i, a && t && t.type_ !== 3 && !WU(t.assigned_, r) ? a.concat(r) : void 0);
- if (GU(n, r, o), LU(o)) e.canAutoFreeze_ = !1;
+ if (zU(i)) {
+ let o = mW(e, i, a && t && t.type_ !== 3 && !KU(t.assigned_, r) ? a.concat(r) : void 0);
+ if (qU(n, r, o), zU(o)) e.canAutoFreeze_ = !1;
else return;
} else o && n.add(i);
- if (RU(i) && !s) {
+ if (BU(i) && !s) {
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;
- fW(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (qU(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && mW(e, i);
+ mW(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (YU(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && gW(e, i);
}
}
}
-function mW(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && ZU(t, n);
+function gW(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && $U(t, n);
}
-function hW(e, t) {
+function _W(e, t) {
let n = Array.isArray(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : iW(),
+ scope_: t ? t.scope_ : oW(),
modified_: !1,
finalized_: !1,
assigned_: {},
@@ -46881,41 +46882,41 @@ function hW(e, t) {
copy_: null,
revoke_: null,
isManual_: !1
- }, i = r, a = gW;
- n && (i = [r], a = _W);
+ }, i = r, a = vW;
+ n && (i = [r], a = yW);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, s;
}
-var gW = {
+var vW = {
get(e, t) {
- if (t === PU) return e;
- let n = YU(e);
- if (!WU(n, t)) return yW(e, n, t);
+ if (t === IU) return e;
+ let n = ZU(e);
+ if (!KU(n, t)) return xW(e, n, t);
let r = n[t];
- return e.finalized_ || !RU(r) ? r : r === vW(e.base_, t) ? (SW(e), e.copy_[t] = wW(r, e)) : r;
+ return e.finalized_ || !BU(r) ? r : r === bW(e.base_, t) ? (wW(e), e.copy_[t] = EW(r, e)) : r;
},
has(e, t) {
- return t in YU(e);
+ return t in ZU(e);
},
ownKeys(e) {
- return Reflect.ownKeys(YU(e));
+ return Reflect.ownKeys(ZU(e));
},
set(e, t, n) {
- let r = bW(YU(e), t);
+ let r = SW(ZU(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = vW(YU(e), t), i = r?.[PU];
+ let r = bW(ZU(e), t), i = r?.[IU];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;
- if (KU(n, r) && (n !== void 0 || WU(e.base_, t))) return !0;
- SW(e), xW(e);
+ if (JU(n, r) && (n !== void 0 || KU(e.base_, t))) return !0;
+ wW(e), CW(e);
}
return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_[t] = !0, !0);
},
deleteProperty(e, t) {
- return vW(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, SW(e), xW(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
+ return bW(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, wW(e), CW(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = YU(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = ZU(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
writable: !0,
configurable: e.type_ !== 1 || t !== "length",
@@ -46924,48 +46925,48 @@ var gW = {
};
},
defineProperty() {
- FU(11);
+ LU(11);
},
getPrototypeOf(e) {
- return IU(e.base_);
+ return RU(e.base_);
},
setPrototypeOf() {
- FU(12);
+ LU(12);
}
-}, _W = {};
-HU(gW, (e, t) => {
- _W[e] = function() {
+}, yW = {};
+WU(vW, (e, t) => {
+ yW[e] = function() {
return arguments[0] = arguments[0][0], t.apply(this, arguments);
};
-}), _W.deleteProperty = function(e, t) {
- return _W.set.call(this, e, t, void 0);
-}, _W.set = function(e, t, n) {
- return gW.set.call(this, e[0], t, n, e[0]);
+}), yW.deleteProperty = function(e, t) {
+ return yW.set.call(this, e, t, void 0);
+}, yW.set = function(e, t, n) {
+ return vW.set.call(this, e[0], t, n, e[0]);
};
-function vW(e, t) {
- let n = e[PU];
- return (n ? YU(n) : e)[t];
+function bW(e, t) {
+ let n = e[IU];
+ return (n ? ZU(n) : e)[t];
}
-function yW(e, t, n) {
- let r = bW(t, n);
+function xW(e, t, n) {
+ let r = SW(t, n);
return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;
}
-function bW(e, t) {
+function SW(e, t) {
if (!(t in e)) return;
- let n = IU(e);
+ let n = RU(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = IU(n);
+ n = RU(n);
}
}
-function xW(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && xW(e.parent_));
+function CW(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && CW(e.parent_));
}
-function SW(e) {
- e.copy_ ||= XU(e.base_, e.scope_.immer_.useStrictShallowCopy_);
+function wW(e) {
+ e.copy_ ||= QU(e.base_, e.scope_.immer_.useStrictShallowCopy_);
}
-var CW = class {
+var TW = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {
if (typeof e == "function" && typeof t != "function") {
@@ -46976,25 +46977,25 @@ var CW = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- typeof t != "function" && FU(6), n !== void 0 && typeof n != "function" && FU(7);
+ typeof t != "function" && LU(6), n !== void 0 && typeof n != "function" && LU(7);
let r;
- if (RU(e)) {
- let i = lW(this), a = wW(e, void 0), o = !0;
+ if (BU(e)) {
+ let i = dW(this), a = EW(e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? sW(i) : cW(i);
+ o ? lW(i) : uW(i);
}
- return oW(i, n), dW(r, i);
+ return cW(i, n), pW(r, i);
}
if (!e || typeof e != "object") {
- if (r = t(e), r === void 0 && (r = e), r === MU && (r = void 0), this.autoFreeze_ && ZU(r, !0), n) {
+ if (r = t(e), r === void 0 && (r = e), r === PU && (r = void 0), this.autoFreeze_ && $U(r, !0), n) {
let t = [], i = [];
- nW("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
+ iW("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
}
return r;
}
- FU(1, e);
+ LU(1, e);
}, this.produceWithPatches = (e, t) => {
if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
@@ -47008,15 +47009,15 @@ var CW = 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) {
- RU(e) || FU(8), LU(e) && (e = TW(e));
- let t = lW(this), n = wW(e, void 0);
- return n[PU].isManual_ = !0, cW(t), n;
+ BU(e) || LU(8), zU(e) && (e = DW(e));
+ let t = dW(this), n = EW(e, void 0);
+ return n[IU].isManual_ = !0, uW(t), n;
}
finishDraft(e, t) {
- let n = e && e[PU];
- (!n || !n.isManual_) && FU(9);
+ let n = e && e[IU];
+ (!n || !n.isManual_) && LU(9);
let { scope_: r } = n;
- return oW(r, t), dW(void 0, r);
+ return cW(r, t), pW(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -47040,35 +47041,35 @@ var CW = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = nW("Patches").applyPatches_;
- return LU(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = iW("Patches").applyPatches_;
+ return zU(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function wW(e, t) {
- let n = qU(e) ? nW("MapSet").proxyMap_(e, t) : JU(e) ? nW("MapSet").proxySet_(e, t) : hW(e, t);
- return (t ? t.scope_ : iW()).drafts_.push(n), n;
+function EW(e, t) {
+ let n = YU(e) ? iW("MapSet").proxyMap_(e, t) : XU(e) ? iW("MapSet").proxySet_(e, t) : _W(e, t);
+ return (t ? t.scope_ : oW()).drafts_.push(n), n;
}
-function TW(e) {
- return LU(e) || FU(10, e), EW(e);
+function DW(e) {
+ return zU(e) || LU(10, e), OW(e);
}
-function EW(e) {
- if (!RU(e) || eW(e)) return e;
- let t = e[PU], n, r = !0;
+function OW(e) {
+ if (!BU(e) || nW(e)) return e;
+ let t = e[IU], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = XU(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = XU(e, !0);
- return HU(n, (e, t) => {
- GU(n, e, EW(t));
+ t.finalized_ = !0, n = QU(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = QU(e, !0);
+ return WU(n, (e, t) => {
+ qU(n, e, OW(t));
}, r), t && (t.finalized_ = !1), n;
}
-new CW().produce;
-function DW(e) {
+new TW().produce;
+function kW(e) {
return e;
}
//#endregion
//#region node_modules/recharts/es6/state/legendSlice.js
-var OW = _V({
+var AW = vV({
name: "legend",
initialState: {
settings: {
@@ -47092,43 +47093,43 @@ var OW = _V({
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(DW(t.payload));
+ e.payload.push(kW(t.payload));
},
- prepare: pV()
+ prepare: mV()
},
replaceLegendPayload: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = iV(e).payload.indexOf(DW(n));
- i > -1 && (e.payload[i] = DW(r));
+ var { prev: n, next: r } = t.payload, i = aV(e).payload.indexOf(kW(n));
+ i > -1 && (e.payload[i] = kW(r));
},
- prepare: pV()
+ prepare: mV()
},
removeLegendPayload: {
reducer(e, t) {
- var n = iV(e).payload.indexOf(DW(t.payload));
+ var n = aV(e).payload.indexOf(kW(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: pV()
+ prepare: mV()
}
}
-}), { setLegendSize: kW, setLegendSettings: AW, addLegendPayload: jW, replaceLegendPayload: MW, removeLegendPayload: NW } = OW.actions, PW = OW.reducer, FW = /* @__PURE__ */ w(((e) => {
+}), { setLegendSize: jW, setLegendSettings: MW, addLegendPayload: NW, replaceLegendPayload: PW, removeLegendPayload: FW } = AW.actions, IW = AW.reducer, LW = /* @__PURE__ */ w(((e) => {
var t = A();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ w(((e, t) => {
- t.exports = FW();
+ t.exports = LW();
})))();
-function IW(e) {
+function RW(e) {
e();
}
-function LW() {
+function zW() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- IW(() => {
+ RW(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -47150,12 +47151,12 @@ function LW() {
}
};
}
-var RW = {
+var BW = {
notify() {},
get: () => []
};
-function zW(e, t) {
- let n, r = RW, i = 0, a = !1;
+function VW(e, t) {
+ let n, r = BW, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -47173,10 +47174,10 @@ function zW(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = LW());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = zW());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = RW);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = BW);
}
function f() {
a || (a = !0, u());
@@ -47195,44 +47196,44 @@ function zW(e, t) {
};
return m;
}
-var BW = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, VW = typeof navigator < "u" && navigator.product === "ReactNative", HW = BW || VW ? N.useLayoutEffect : N.useEffect;
-function UW(e, t) {
+var HW = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, UW = typeof navigator < "u" && navigator.product === "ReactNative", WW = HW || UW ? N.useLayoutEffect : N.useEffect;
+function GW(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function WW(e, t) {
- if (UW(e, t)) return !0;
+function KW(e, t) {
+ if (GW(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
if (n.length !== r.length) return !1;
- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !UW(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !GW(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var GW = /* @__PURE__ */ Symbol.for("react-redux-context"), KW = typeof globalThis < "u" ? globalThis : {};
-function qW() {
+var qW = /* @__PURE__ */ Symbol.for("react-redux-context"), JW = typeof globalThis < "u" ? globalThis : {};
+function YW() {
if (!N.createContext) return {};
- let e = KW[GW] ??= /* @__PURE__ */ new Map(), t = e.get(N.createContext);
+ let e = JW[qW] ??= /* @__PURE__ */ new Map(), t = e.get(N.createContext);
return t || (t = N.createContext(null), e.set(N.createContext, t)), t;
}
-var JW = /* @__PURE__ */ qW();
-function YW(e) {
+var XW = /* @__PURE__ */ YW();
+function ZW(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = N.useMemo(() => {
- let e = zW(i);
+ let e = VW(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = N.useMemo(() => i.getState(), [i]);
- HW(() => {
+ WW(() => {
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 || JW;
+ let s = n || XW;
return /* @__PURE__ */ N.createElement(s.Provider, { value: a }, t);
}
-var XW = YW, ZW = /* @__PURE__ */ new Set([
+var QW = ZW, $W = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -47255,29 +47256,29 @@ var XW = YW, ZW = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function QW(e, t) {
+function eG(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function $W(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (ZW.has(n)) {
+function tG(e, t) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if ($W.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!WW(e[n], t[n])) return !1;
- } else if (!QW(e[n], t[n])) return !1;
+ if (!KW(e[n], t[n])) return !1;
+ } else if (!eG(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var eG = ["contextPayload"];
-function tG() {
- return tG = Object.assign ? Object.assign.bind() : function(e) {
+var nG = ["contextPayload"];
+function rG() {
+ return rG = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, tG.apply(null, arguments);
+ }, rG.apply(null, arguments);
}
-function nG(e, t) {
+function iG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -47287,30 +47288,30 @@ function nG(e, t) {
}
return n;
}
-function rG(e) {
+function aG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? nG(Object(n), !0).forEach(function(t) {
- iG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nG(Object(n)).forEach(function(t) {
+ t % 2 ? iG(Object(n), !0).forEach(function(t) {
+ oG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iG(e, t, n) {
- return (t = aG(t)) in e ? Object.defineProperty(e, t, {
+function oG(e, t, n) {
+ return (t = sG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aG(e) {
- var t = oG(e, "string");
+function sG(e) {
+ var t = cG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oG(e, t) {
+function cG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -47320,16 +47321,16 @@ function oG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function sG(e, t) {
+function lG(e, t) {
if (e == null) return {};
- var n, r, i = cG(e, t);
+ var n, r, i = uG(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 cG(e, t) {
+function uG(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -47338,36 +47339,36 @@ function cG(e, t) {
}
return n;
}
-function lG(e) {
+function dG(e) {
return e.value;
}
-function uG(e) {
- var { contextPayload: t } = e, n = sG(e, eG), r = Az(t, e.payloadUniqBy, lG), i = rG(rG({}, n), {}, { payload: r });
- return /*#__PURE__*/ N.isValidElement(e.content) ? /*#__PURE__*/ N.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ N.createElement(e.content, i) : /*#__PURE__*/ N.createElement(nue, i);
+function fG(e) {
+ var { contextPayload: t } = e, n = lG(e, nG), r = jz(t, e.payloadUniqBy, dG), i = aG(aG({}, n), {}, { payload: r });
+ return /*#__PURE__*/ N.isValidElement(e.content) ? /*#__PURE__*/ N.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ N.createElement(e.content, i) : /*#__PURE__*/ N.createElement(iue, i);
}
-function dG(e, t, n, r, i, a) {
+function pG(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 }), rG(rG({}, 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 }), aG(aG({}, l), u);
}
-function fG(e) {
- var t = Mz();
+function mG(e) {
+ var t = Nz();
return (0, N.useEffect)(() => {
- t(AW(e));
+ t(MW(e));
}, [t, e]), null;
}
-function pG(e) {
- var t = Mz();
- return (0, N.useEffect)(() => (t(kW(e)), () => {
- t(kW({
+function hG(e) {
+ var t = Nz();
+ return (0, N.useEffect)(() => (t(jW(e)), () => {
+ t(jW({
width: 0,
height: 0
}));
}), [t, e]), null;
}
-function mG(e, t, n, r) {
+function gG(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var hG = {
+var _G = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -47375,28 +47376,28 @@ var hG = {
layout: "horizontal",
verticalAlign: "bottom"
};
-function gG(e) {
- var t = az(e, hG), n = fde(), r = Xce(), i = wU(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = Uz([n]), d = SU(), f = CU();
+function vG(e) {
+ var t = oz(e, _G), n = mde(), r = Qce(), i = EU(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = Wz([n]), d = wU(), f = TU();
if (d == null || f == null) return null;
- var p = d - (i?.left || 0) - (i?.right || 0), m = mG(t.layout, o, a, p), h = c ? s : rG(rG({
+ var p = d - (i?.left || 0) - (i?.right || 0), m = gG(t.layout, o, a, p), h = c ? s : aG(aG({
position: "absolute",
width: m?.width || a || "auto",
height: m?.height || o || "auto"
- }, dG(s, t, i, d, f, l)), s), g = c ?? r;
+ }, pG(s, t, i, d, f, l)), s), g = c ?? r;
if (g == null || n == null) return null;
var _ = /*#__PURE__*/ N.createElement("div", {
className: "recharts-legend-wrapper",
style: h,
ref: u
- }, /*#__PURE__*/ N.createElement(fG, {
+ }, /*#__PURE__*/ N.createElement(mG, {
layout: t.layout,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter
- }), !c && /*#__PURE__*/ N.createElement(pG, {
+ }), !c && /*#__PURE__*/ N.createElement(hG, {
width: l.width,
height: l.height
- }), /*#__PURE__*/ N.createElement(uG, tG({}, t, m, {
+ }), /*#__PURE__*/ N.createElement(fG, rG({}, t, m, {
margin: i,
chartWidth: d,
chartHeight: f,
@@ -47404,20 +47405,20 @@ function gG(e) {
})));
return /*#__PURE__*/ (0, ch.createPortal)(_, g);
}
-var _G = /*#__PURE__*/ N.memo(gG, $W);
-_G.displayName = "Legend";
+var yG = /*#__PURE__*/ N.memo(vG, tG);
+yG.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function vG() {
- return vG = Object.assign ? Object.assign.bind() : function(e) {
+function bG() {
+ return bG = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, vG.apply(null, arguments);
+ }, bG.apply(null, arguments);
}
-function yG(e, t) {
+function xG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -47427,30 +47428,30 @@ function yG(e, t) {
}
return n;
}
-function bG(e) {
+function SG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? yG(Object(n), !0).forEach(function(t) {
- xG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yG(Object(n)).forEach(function(t) {
+ t % 2 ? xG(Object(n), !0).forEach(function(t) {
+ CG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xG(e, t, n) {
- return (t = SG(t)) in e ? Object.defineProperty(e, t, {
+function CG(e, t, n) {
+ return (t = wG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function SG(e) {
- var t = CG(e, "string");
+function wG(e) {
+ var t = TG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function CG(e, t) {
+function TG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -47460,10 +47461,10 @@ function CG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function wG(e) {
- return Array.isArray(e) && BR(e[0]) && BR(e[1]) ? e.join(" ~ ") : e;
+function EG(e) {
+ return Array.isArray(e) && VR(e[0]) && VR(e[1]) ? e.join(" ~ ") : e;
}
-var TG = {
+var DG = {
separator: " : ",
contentStyle: {
margin: 0,
@@ -47481,30 +47482,30 @@ var TG = {
labelStyle: {},
accessibilityLayer: !1
};
-function EG(e, t) {
- return t == null ? e : Bz(e, t);
+function OG(e, t) {
+ return t == null ? e : Vz(e, t);
}
-var DG = (e) => {
- var { separator: t = TG.separator, contentStyle: n, itemStyle: r, labelStyle: i = TG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = TG.accessibilityLayer } = e, p = () => {
+var kG = (e) => {
+ var { separator: t = DG.separator, contentStyle: n, itemStyle: r, labelStyle: i = DG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = DG.accessibilityLayer } = e, p = () => {
if (a && a.length) {
var e = {
padding: 0,
margin: 0
- }, n = EG(a, s).map((e, n) => {
+ }, n = OG(a, s).map((e, n) => {
if (e.type === "none") return null;
- var i = e.formatter || o || wG, { value: s, name: c } = e, l = s, u = c;
+ var i = e.formatter || o || EG, { value: s, name: c } = e, l = s, u = c;
if (i) {
var d = i(s, c, e, n, a);
if (Array.isArray(d)) [l, u] = d;
else if (d != null) l = d;
else return null;
}
- var f = bG(bG({}, TG.itemStyle), {}, { color: e.color || TG.itemStyle.color }, r);
+ var f = SG(SG({}, DG.itemStyle), {}, { color: e.color || DG.itemStyle.color }, r);
return /*#__PURE__*/ N.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${n}`,
style: f
- }, BR(u) ? /*#__PURE__*/ N.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, BR(u) ? /*#__PURE__*/ N.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ N.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ N.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, VR(u) ? /*#__PURE__*/ N.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, VR(u) ? /*#__PURE__*/ N.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ N.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ N.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ N.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -47512,30 +47513,30 @@ var DG = (e) => {
}, n);
}
return null;
- }, m = bG(bG({}, TG.contentStyle), n), h = bG({ margin: 0 }, i), g = !KR(u), _ = g ? u : "", v = Nm("recharts-default-tooltip", c), y = Nm("recharts-tooltip-label", l);
+ }, m = SG(SG({}, DG.contentStyle), n), h = SG({ margin: 0 }, i), g = !qR(u), _ = g ? u : "", v = Nm("recharts-default-tooltip", c), y = Nm("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
"aria-live": "assertive"
} : {};
- return /*#__PURE__*/ N.createElement("div", vG({
+ return /*#__PURE__*/ N.createElement("div", bG({
className: v,
style: m
}, b), /*#__PURE__*/ N.createElement("p", {
className: y,
style: h
}, /*#__PURE__*/ N.isValidElement(_) ? _ : `${_}`), p());
-}, OG = "recharts-tooltip-wrapper", kG = { visibility: "hidden" };
-function AG(e) {
+}, AG = "recharts-tooltip-wrapper", jG = { visibility: "hidden" };
+function MG(e) {
var { coordinate: t, translateX: n, translateY: r } = e;
- return Nm(OG, {
- [`${OG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
- [`${OG}-left`]: Z(n) && t && Z(t.x) && n < t.x,
- [`${OG}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
- [`${OG}-top`]: Z(r) && t && Z(t.y) && r < t.y
+ return Nm(AG, {
+ [`${AG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
+ [`${AG}-left`]: Z(n) && t && Z(t.x) && n < t.x,
+ [`${AG}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
+ [`${AG}-top`]: Z(r) && t && Z(t.y) && r < t.y
});
}
-function jG(e) {
+function NG(e) {
var { allowEscapeViewBox: t, coordinate: n, key: r, offset: i, position: a, reverseDirection: o, tooltipDimension: s, viewBox: c, viewBoxDimension: l } = e;
if (a && Z(a[r])) return a[r];
var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;
@@ -47543,13 +47544,13 @@ function jG(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 MG(e) {
+function PG(e) {
var { translateX: t, translateY: n, useTranslate3d: r } = e;
return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function NG(e) {
+function FG(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 = jG({
+ return s.height > 0 && s.width > 0 && n ? (d = NG({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -47559,7 +47560,7 @@ function NG(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = jG({
+ }), f = NG({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -47569,27 +47570,27 @@ function NG(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = MG({
+ }), u = PG({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = kG, {
+ })) : u = jG, {
cssProperties: u,
- cssClasses: AG({
+ cssClasses: MG({
translateX: d,
translateY: f,
coordinate: n
})
};
}
-var PG = {
+var IG = {
devToolsEnabled: !0,
isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function FG() {
- var [e, t] = (0, N.useState)(() => PG.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
+function LG() {
+ var [e, t] = (0, N.useState)(() => IG.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
return (0, N.useEffect)(() => {
if (window.matchMedia) {
var e = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => {
@@ -47603,7 +47604,7 @@ function FG() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function IG(e, t) {
+function RG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -47613,30 +47614,30 @@ function IG(e, t) {
}
return n;
}
-function LG(e) {
+function zG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? IG(Object(n), !0).forEach(function(t) {
- RG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IG(Object(n)).forEach(function(t) {
+ t % 2 ? RG(Object(n), !0).forEach(function(t) {
+ BG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : RG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function RG(e, t, n) {
- return (t = zG(t)) in e ? Object.defineProperty(e, t, {
+function BG(e, t, n) {
+ return (t = VG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zG(e) {
- var t = BG(e, "string");
+function VG(e) {
+ var t = HG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function BG(e, t) {
+function HG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -47646,11 +47647,11 @@ function BG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function VG(e) {
+function UG(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;
}
-function HG(e) {
- var t = FG(), [n, r] = N.useState(() => ({
+function WG(e) {
+ var t = LG(), [n, r] = N.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -47670,8 +47671,8 @@ function HG(e) {
return document.addEventListener("keydown", t), () => {
document.removeEventListener("keydown", t);
};
- }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(LG(LG({}, n), {}, { dismissed: !1 }));
- var { cssClasses: i, cssProperties: a } = NG({
+ }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(zG(zG({}, n), {}, { dismissed: !1 }));
+ var { cssClasses: i, cssProperties: a } = FG({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -47684,7 +47685,7 @@ function HG(e) {
},
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = LG(LG({}, e.hasPortalFromProps ? {} : LG(LG({ transition: VG({
+ }), o = zG(zG({}, e.hasPortalFromProps ? {} : zG(zG({ transition: UG({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -47704,19 +47705,19 @@ function HG(e) {
ref: e.innerRef
}, e.children);
}
-var UG = /*#__PURE__*/ N.memo(HG), WG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
+var GG = /*#__PURE__*/ N.memo(WG), KG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
-function GG() {
- return GG = Object.assign ? Object.assign.bind() : function(e) {
+function qG() {
+ return qG = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, GG.apply(null, arguments);
+ }, qG.apply(null, arguments);
}
-function KG(e, t) {
+function JG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -47726,30 +47727,30 @@ function KG(e, t) {
}
return n;
}
-function qG(e) {
+function YG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? KG(Object(n), !0).forEach(function(t) {
- JG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KG(Object(n)).forEach(function(t) {
+ t % 2 ? JG(Object(n), !0).forEach(function(t) {
+ XG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : JG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function JG(e, t, n) {
- return (t = YG(t)) in e ? Object.defineProperty(e, t, {
+function XG(e, t, n) {
+ return (t = ZG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function YG(e) {
- var t = XG(e, "string");
+function ZG(e) {
+ var t = QG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function XG(e, t) {
+function QG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -47759,40 +47760,40 @@ function XG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var ZG = {
- curveBasisClosed: mle,
- curveBasisOpen: hle,
- curveBasis: ple,
- curveBumpX: $ce,
- curveBumpY: ele,
- curveLinearClosed: gle,
- curveLinear: ZL,
- curveMonotoneX: _le,
- curveMonotoneY: vle,
- curveNatural: yle,
- curveStep: ble,
- curveStepAfter: Sle,
- curveStepBefore: xle
-}, QG = (e) => YV(e.x) && YV(e.y), $G = (e) => e.base != null && QG(e.base) && QG(e), eK = (e) => e.x, tK = (e) => e.y, nK = (e, t) => {
+var $G = {
+ curveBasisClosed: gle,
+ curveBasisOpen: _le,
+ curveBasis: hle,
+ curveBumpX: tle,
+ curveBumpY: nle,
+ curveLinearClosed: vle,
+ curveLinear: QL,
+ curveMonotoneX: yle,
+ curveMonotoneY: ble,
+ curveNatural: xle,
+ curveStep: Sle,
+ curveStepAfter: wle,
+ curveStepBefore: Cle
+}, eK = (e) => ZV(e.x) && ZV(e.y), tK = (e) => e.base != null && eK(e.base) && eK(e), nK = (e) => e.x, rK = (e) => e.y, iK = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${qR(e)}`;
+ var n = `curve${JR(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
- var r = ZG[`${n}${t === "vertical" ? "Y" : "X"}`];
+ var r = $G[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return ZG[n] || ZL;
-}, rK = {
+ return $G[n] || QL;
+}, aK = {
connectNulls: !1,
type: "linear"
-}, iK = (e) => {
- var { type: t = rK.type, points: n = [], baseLine: r, layout: i, connectNulls: a = rK.connectNulls } = e, o = nK(t, i), s = a ? n.filter(QG) : n;
+}, oK = (e) => {
+ var { type: t = aK.type, points: n = [], baseLine: r, layout: i, connectNulls: a = aK.connectNulls } = e, o = iK(t, i), s = a ? n.filter(eK) : n;
if (Array.isArray(r)) {
- var c, l = n.map((e, t) => qG(qG({}, e), {}, { base: r[t] }));
- return c = i === "vertical" ? tR().y(tK).x1(eK).x0((e) => e.base.x) : tR().x(eK).y1(tK).y0((e) => e.base.y), c.defined($G).curve(o)(a ? l.filter($G) : l);
+ var c, l = n.map((e, t) => YG(YG({}, e), {}, { base: r[t] }));
+ return c = i === "vertical" ? nR().y(rK).x1(nK).x0((e) => e.base.x) : nR().x(nK).y1(rK).y0((e) => e.base.y), c.defined(tK).curve(o)(a ? l.filter(tK) : l);
}
- return (i === "vertical" && Z(r) ? tR().y(tK).x1(eK).x0(r) : Z(r) ? tR().x(eK).y1(tK).y0(r) : eR().x(eK).y(tK)).defined(QG).curve(o)(s);
-}, aK = (e) => {
- var { className: t, points: n, path: r, pathRef: i } = e, a = EU();
+ return (i === "vertical" && Z(r) ? nR().y(rK).x1(nK).x0(r) : Z(r) ? nR().x(nK).y1(rK).y0(r) : tR().x(nK).y(rK)).defined(eK).curve(o)(s);
+}, sK = (e) => {
+ var { className: t, points: n, path: r, pathRef: i } = e, a = OU();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -47800,13 +47801,13 @@ var ZG = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? iK(o) : r;
- return /*#__PURE__*/ N.createElement("path", GG({}, kL(e), nz(e), {
+ }, s = n && n.length ? oK(o) : r;
+ return /*#__PURE__*/ N.createElement("path", qG({}, AL(e), rz(e), {
className: Nm("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, oK = [
+}, cK = [
"x",
"y",
"top",
@@ -47815,16 +47816,16 @@ var ZG = {
"height",
"className"
];
-function sK() {
- return sK = Object.assign ? Object.assign.bind() : function(e) {
+function lK() {
+ return lK = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, sK.apply(null, arguments);
+ }, lK.apply(null, arguments);
}
-function cK(e, t) {
+function uK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -47834,30 +47835,30 @@ function cK(e, t) {
}
return n;
}
-function lK(e) {
+function dK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? cK(Object(n), !0).forEach(function(t) {
- uK(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cK(Object(n)).forEach(function(t) {
+ t % 2 ? uK(Object(n), !0).forEach(function(t) {
+ fK(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uK(e, t, n) {
- return (t = dK(t)) in e ? Object.defineProperty(e, t, {
+function fK(e, t, n) {
+ return (t = pK(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dK(e) {
- var t = fK(e, "string");
+function pK(e) {
+ var t = mK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fK(e, t) {
+function mK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -47867,16 +47868,16 @@ function fK(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function pK(e, t) {
+function hK(e, t) {
if (e == null) return {};
- var n, r, i = mK(e, t);
+ var n, r, i = gK(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 mK(e, t) {
+function gK(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -47885,8 +47886,8 @@ function mK(e, t) {
}
return n;
}
-var hK = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, gK = (e) => {
- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = pK(e, oK), l = lK({
+var _K = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, vK = (e) => {
+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = hK(e, cK), l = dK({
x: t,
y: n,
top: r,
@@ -47894,14 +47895,14 @@ var hK = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, gK = (e) => {
width: a,
height: o
}, c);
- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ N.createElement("path", sK({}, jL(l), {
+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ N.createElement("path", lK({}, ML(l), {
className: Nm("recharts-cross", s),
- d: hK(t, n, a, o, r, i)
+ d: _K(t, n, a, o, r, i)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function _K(e, t, n, r) {
+function yK(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -47914,7 +47915,7 @@ function _K(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-function vK(e, t) {
+function bK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -47924,30 +47925,30 @@ function vK(e, t) {
}
return n;
}
-function yK(e) {
+function xK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? vK(Object(n), !0).forEach(function(t) {
- bK(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vK(Object(n)).forEach(function(t) {
+ t % 2 ? bK(Object(n), !0).forEach(function(t) {
+ SK(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bK(e, t, n) {
- return (t = xK(t)) in e ? Object.defineProperty(e, t, {
+function SK(e, t, n) {
+ return (t = CK(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xK(e) {
- var t = SK(e, "string");
+function CK(e) {
+ var t = wK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function SK(e, t) {
+function wK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -47957,10 +47958,10 @@ function SK(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var CK = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), wK = (e, t, n) => e.map((e) => `${CK(e)} ${t}ms ${n}`).join(","), TK = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), EK = (e, t) => Object.keys(t).reduce((n, r) => yK(yK({}, n), {}, { [r]: e(r, t[r]) }), {});
+var TK = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), EK = (e, t, n) => e.map((e) => `${TK(e)} ${t}ms ${n}`).join(","), DK = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), OK = (e, t) => Object.keys(t).reduce((n, r) => xK(xK({}, n), {}, { [r]: e(r, t[r]) }), {});
//#endregion
//#region node_modules/recharts/es6/animation/configUpdate.js
-function DK(e, t) {
+function kK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -47970,30 +47971,30 @@ function DK(e, t) {
}
return n;
}
-function OK(e) {
+function AK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? DK(Object(n), !0).forEach(function(t) {
- kK(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DK(Object(n)).forEach(function(t) {
+ t % 2 ? kK(Object(n), !0).forEach(function(t) {
+ jK(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kK(e, t, n) {
- return (t = AK(t)) in e ? Object.defineProperty(e, t, {
+function jK(e, t, n) {
+ return (t = MK(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function AK(e) {
- var t = jK(e, "string");
+function MK(e) {
+ var t = NK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jK(e, t) {
+function NK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -48003,51 +48004,51 @@ function jK(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var MK = (e, t, n) => e + (t - e) * n, NK = (e) => {
+var PK = (e, t, n) => e + (t - e) * n, FK = (e) => {
var { from: t, to: n } = e;
return t !== n;
-}, PK = (e, t, n) => {
- var r = EK((t, n) => {
- if (NK(n)) {
+}, IK = (e, t, n) => {
+ var r = OK((t, n) => {
+ if (FK(n)) {
var [r, i] = e(n.from, n.to, n.velocity);
- return OK(OK({}, n), {}, {
+ return AK(AK({}, n), {}, {
from: r,
velocity: i
});
}
return n;
}, t);
- return n < 1 ? EK((e, t) => NK(t) && r[e] != null ? OK(OK({}, t), {}, {
- velocity: MK(t.velocity, r[e].velocity, n),
- from: MK(t.from, r[e].from, n)
- }) : t, t) : PK(e, r, n - 1);
+ return n < 1 ? OK((e, t) => FK(t) && r[e] != null ? AK(AK({}, t), {}, {
+ velocity: PK(t.velocity, r[e].velocity, n),
+ from: PK(t.from, r[e].from, n)
+ }) : t, t) : IK(e, r, n - 1);
};
-function FK(e, t, n, r, i, a) {
- var o, s = r.reduce((n, r) => OK(OK({}, n), {}, { [r]: {
+function LK(e, t, n, r, i, a) {
+ var o, s = r.reduce((n, r) => AK(AK({}, n), {}, { [r]: {
from: e[r],
velocity: 0,
to: t[r]
- } }), {}), c = () => EK((e, t) => t.from, s), l = () => !Object.values(s).filter(NK).length, u = null, d = (r) => {
+ } }), {}), c = () => OK((e, t) => t.from, s), l = () => !Object.values(s).filter(FK).length, u = null, d = (r) => {
o ||= r;
var f = (r - o) / n.dt;
- s = PK(n, s, f), i(OK(OK(OK({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
+ s = IK(n, s, f), i(AK(AK(AK({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
};
return () => (u = a.setTimeout(d), () => {
var e;
(e = u) == null || e();
});
}
-function IK(e, t, n, r, i, a, o) {
+function RK(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 : OK(OK({}, n), {}, { [r]: [i, a] });
+ return i == null || a == null ? n : AK(AK({}, n), {}, { [r]: [i, a] });
}, {}), l, u = (i) => {
l ||= i;
- var d = (i - l) / r, f = EK((e, t) => MK(...t, n(d)), c);
- if (a(OK(OK(OK({}, e), t), f)), d < 1) s = o.setTimeout(u);
+ var d = (i - l) / r, f = OK((e, t) => PK(...t, n(d)), c);
+ if (a(AK(AK(AK({}, e), t), f)), d < 1) s = o.setTimeout(u);
else {
- var p = EK((e, t) => MK(...t, n(1)), c);
- a(OK(OK(OK({}, e), t), p));
+ var p = OK((e, t) => PK(...t, n(1)), c);
+ a(AK(AK(AK({}, e), t), p));
}
};
return () => (s = o.setTimeout(u), () => {
@@ -48055,15 +48056,15 @@ function IK(e, t, n, r, i, a, o) {
(e = s) == null || e();
});
}
-var LK = (e, t, n, r, i, a) => {
- var o = TK(e, t);
- return n == null ? () => (i(OK(OK({}, e), t)), () => {}) : n.isStepper === !0 ? FK(e, t, n, o, i, a) : IK(e, t, n, r, o, i, a);
-}, RK = (e, t) => [
+var zK = (e, t, n, r, i, a) => {
+ var o = DK(e, t);
+ return n == null ? () => (i(AK(AK({}, e), t)), () => {}) : n.isStepper === !0 ? LK(e, t, n, o, i, a) : RK(e, t, n, r, o, i, a);
+}, BK = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], zK = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), BK = (e, t) => (n) => zK(RK(e, t), n), VK = (e, t) => (n) => zK([...RK(e, t).map((e, t) => e * t).slice(1), 0], n), HK = (e) => {
+], VK = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), HK = (e, t) => (n) => VK(BK(e, t), n), UK = (e, t) => (n) => VK([...BK(e, t).map((e, t) => e * t).slice(1), 0], n), WK = (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(",");
@@ -48075,7 +48076,7 @@ var LK = (e, t, n, r, i, a) => {
i[2],
i[3]
];
-}, UK = function() {
+}, GK = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -48109,7 +48110,7 @@ var LK = (e, t, n, r, i, a) => {
1
];
default:
- var t = HK(e[0]);
+ var t = WK(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -48118,8 +48119,8 @@ var LK = (e, t, n, r, i, a) => {
1,
1
];
-}, WK = (e, t, n, r) => {
- var i = BK(e, n), a = BK(t, r), o = VK(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, KK = (e, t, n, r) => {
+ var i = HK(e, n), a = HK(t, r), o = UK(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);
@@ -48128,29 +48129,29 @@ var LK = (e, t, n, r, i, a) => {
return a(n);
};
return c.isStepper = !1, c;
-}, GK = function() {
- return WK(...UK(...arguments));
-}, KK = function() {
+}, qK = function() {
+ return KK(...GK(...arguments));
+}, JK = 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;
-}, qK = (e) => {
+}, YK = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
- case "linear": return GK(e);
- case "spring": return KK();
- default: if (e.split("(")[0] === "cubic-bezier") return GK(e);
+ case "linear": return qK(e);
+ case "spring": return JK();
+ default: if (e.split("(")[0] === "cubic-bezier") return qK(e);
}
return typeof e == "function" ? e : null;
};
//#endregion
//#region node_modules/recharts/es6/animation/AnimationManager.js
-function JK(e) {
+function XK(e) {
var t, n = () => null, r = !1, i = null, a = (o) => {
if (!r) {
if (Array.isArray(o)) {
@@ -48181,7 +48182,7 @@ function JK(e) {
}
//#endregion
//#region node_modules/recharts/es6/animation/timeoutController.js
-var YK = class {
+var ZK = 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));
@@ -48193,14 +48194,14 @@ var YK = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js
-function XK() {
- return JK(new YK());
+function QK() {
+ return XK(new ZK());
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationManager.js
-var ZK = /*#__PURE__*/ (0, N.createContext)(XK);
-function QK(e, t) {
- var n = (0, N.useContext)(ZK);
+var $K = /*#__PURE__*/ (0, N.createContext)(QK);
+function eq(e, t) {
+ var n = (0, N.useContext)($K);
return (0, N.useMemo)(() => t ?? n(e), [
e,
t,
@@ -48209,7 +48210,7 @@ function QK(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-var $K = {
+var tq = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -48217,14 +48218,14 @@ var $K = {
canBegin: !0,
onAnimationEnd: () => {},
onAnimationStart: () => {}
-}, eq = { t: 0 }, tq = { t: 1 };
-function nq(e) {
- var t = az(e, $K), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = FG(), d = n === "auto" ? !PG.isSsr && !u : n, f = QK(t.animationId, t.animationManager), [p, m] = (0, N.useState)(d ? eq : tq), h = (0, N.useRef)(null);
+}, nq = { t: 0 }, rq = { t: 1 };
+function iq(e) {
+ var t = oz(e, tq), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = LG(), d = n === "auto" ? !IG.isSsr && !u : n, f = eq(t.animationId, t.animationManager), [p, m] = (0, N.useState)(d ? nq : rq), h = (0, N.useRef)(null);
return (0, N.useEffect)(() => {
- d || m(tq);
+ d || m(rq);
}, [d]), (0, N.useEffect)(() => {
- if (!d || !r) return YR;
- var e = LK(eq, tq, qK(a), i, m, f.getTimeoutController());
+ if (!d || !r) return XR;
+ var e = zK(nq, rq, YK(a), i, m, f.getTimeoutController());
return f.start([
c,
o,
@@ -48249,14 +48250,14 @@ function nq(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
-function rq(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, N.useRef)(VR(t)), r = (0, N.useRef)(e);
- return r.current !== e && (n.current = VR(t), r.current = e), n.current;
+function aq(e) {
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, N.useRef)(HR(t)), r = (0, N.useRef)(e);
+ return r.current !== e && (n.current = HR(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
-var iq = ["radius"], aq = ["radius"], oq, sq, cq, lq, uq, dq, fq, pq, mq, hq;
-function gq(e, t) {
+var oq = ["radius"], sq = ["radius"], cq, lq, uq, dq, fq, pq, mq, hq, gq, _q;
+function vq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -48266,30 +48267,30 @@ function gq(e, t) {
}
return n;
}
-function _q(e) {
+function yq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? gq(Object(n), !0).forEach(function(t) {
- vq(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gq(Object(n)).forEach(function(t) {
+ t % 2 ? vq(Object(n), !0).forEach(function(t) {
+ bq(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vq(e, t, n) {
- return (t = yq(t)) in e ? Object.defineProperty(e, t, {
+function bq(e, t, n) {
+ return (t = xq(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function yq(e) {
- var t = bq(e, "string");
+function xq(e) {
+ var t = Sq(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bq(e, t) {
+function Sq(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -48299,25 +48300,25 @@ function bq(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function xq() {
- return xq = Object.assign ? Object.assign.bind() : function(e) {
+function Cq() {
+ return Cq = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, xq.apply(null, arguments);
+ }, Cq.apply(null, arguments);
}
-function Sq(e, t) {
+function wq(e, t) {
if (e == null) return {};
- var n, r, i = Cq(e, t);
+ var n, r, i = Tq(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 Cq(e, t) {
+function Tq(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -48326,11 +48327,11 @@ function Cq(e, t) {
}
return n;
}
-function wq(e, t) {
+function Eq(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var Tq = (e, t, n, r, i) => {
- var a = FR(n), o = FR(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+var Dq = (e, t, n, r, i) => {
+ var a = IR(n), o = IR(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
if (s > 0 && Array.isArray(i)) {
for (var f = [
0,
@@ -48341,44 +48342,44 @@ var Tq = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = IR(oq ||= wq([
+ d = LR(cq ||= Eq([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += IR(sq ||= wq([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += LR(lq ||= Eq([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += IR(cq ||= wq([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += LR(uq ||= Eq([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += IR(lq ||= wq([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += LR(dq ||= Eq([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += IR(uq ||= wq([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += LR(fq ||= Eq([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += IR(dq ||= wq([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += LR(pq ||= Eq([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += IR(fq ||= wq([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += LR(mq ||= Eq([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += IR(pq ||= wq([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += LR(hq ||= Eq([
"A ",
",",
",0,0,",
@@ -48388,8 +48389,8 @@ var Tq = (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 = IR(mq ||= wq(/* @__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 = IR(hq ||= wq([
+ d = LR(gq ||= Eq(/* @__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 = LR(_q ||= Eq([
"M ",
",",
" h ",
@@ -48398,7 +48399,7 @@ var Tq = (e, t, n, r, i) => {
" Z"
]), e, t, n, r, -n);
return d;
-}, Eq = {
+}, Oq = {
x: 0,
y: 0,
width: 0,
@@ -48409,15 +48410,15 @@ var Tq = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, Dq = (e) => {
- var t = az(e, Eq), n = (0, N.useRef)(null), [r, i] = (0, N.useState)(-1);
+}, kq = (e) => {
+ var t = oz(e, Oq), n = (0, N.useRef)(null), [r, i] = (0, N.useState)(-1);
(0, N.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
e && i(e);
} catch {}
}, []);
- var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, N.useRef)(s), _ = (0, N.useRef)(c), v = (0, N.useRef)(a), y = (0, N.useRef)(o), b = rq((0, N.useMemo)(() => ({
+ var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, N.useRef)(s), _ = (0, N.useRef)(c), v = (0, N.useRef)(a), y = (0, N.useRef)(o), b = aq((0, N.useMemo)(() => ({
x: a,
y: o,
width: s,
@@ -48433,19 +48434,19 @@ var Tq = (e, t, n, r, i) => {
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
var x = Nm("recharts-rectangle", u);
if (!h) {
- var S = jL(t), { radius: C } = S, w = Sq(S, iq);
- return /*#__PURE__*/ N.createElement("path", xq({}, w, {
- x: FR(a),
- y: FR(o),
- width: FR(s),
- height: FR(c),
+ var S = ML(t), { radius: C } = S, w = wq(S, oq);
+ return /*#__PURE__*/ N.createElement("path", Cq({}, w, {
+ x: IR(a),
+ y: IR(o),
+ width: IR(s),
+ height: IR(c),
radius: typeof l == "number" ? l : void 0,
className: x,
- d: Tq(a, o, s, c, l)
+ d: Dq(a, o, s, c, l)
}));
}
- var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = wK(["strokeDasharray"], f, typeof d == "string" ? d : Eq.animationEasing);
- return /*#__PURE__*/ N.createElement(nq, {
+ var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = EK(["strokeDasharray"], f, typeof d == "string" ? d : Oq.animationEasing);
+ return /*#__PURE__*/ N.createElement(iq, {
animationId: b,
key: b,
canBegin: r > 0,
@@ -48454,24 +48455,24 @@ var Tq = (e, t, n, r, i) => {
isActive: h,
begin: p
}, (e) => {
- var r = WR(T, s, e), i = WR(E, c, e), u = WR(D, a, e), d = WR(O, o, e);
+ var r = GR(T, s, e), i = GR(E, c, e), u = GR(D, a, e), d = GR(O, o, e);
n.current && (g.current = r, _.current = i, v.current = u, y.current = d);
var f = m ? e > 0 ? {
transition: j,
strokeDasharray: A
- } : { strokeDasharray: k } : { strokeDasharray: A }, p = jL(t), { radius: h } = p, b = Sq(p, aq);
- return /*#__PURE__*/ N.createElement("path", xq({}, b, {
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = ML(t), { radius: h } = p, b = wq(p, sq);
+ return /*#__PURE__*/ N.createElement("path", Cq({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
- d: Tq(u, d, r, i, l),
+ d: Dq(u, d, r, i, l),
ref: n,
- style: _q(_q({}, f), t.style)
+ style: yq(yq({}, f), t.style)
}));
});
};
//#endregion
//#region node_modules/recharts/es6/util/PolarUtils.js
-function Oq(e, t) {
+function Aq(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -48481,30 +48482,30 @@ function Oq(e, t) {
}
return n;
}
-function kq(e) {
+function jq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Oq(Object(n), !0).forEach(function(t) {
- Aq(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Oq(Object(n)).forEach(function(t) {
+ t % 2 ? Aq(Object(n), !0).forEach(function(t) {
+ Mq(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Aq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Aq(e, t, n) {
- return (t = jq(t)) in e ? Object.defineProperty(e, t, {
+function Mq(e, t, n) {
+ return (t = Nq(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jq(e) {
- var t = Mq(e, "string");
+function Nq(e) {
+ var t = Pq(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Mq(e, t) {
+function Pq(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -48514,10 +48515,10 @@ function Mq(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Nq = Math.PI / 180, Pq = (e) => e * Math.PI / 180, Fq = (e) => e * 180 / Math.PI, Iq = (e, t, n, r) => ({
- x: e + Math.cos(-Nq * r) * n,
- y: t + Math.sin(-Nq * r) * n
-}), Lq = function(e, t) {
+var Fq = Math.PI / 180, Iq = (e) => e * Math.PI / 180, Lq = (e) => e * 180 / Math.PI, Rq = (e, t, n, r) => ({
+ x: e + Math.cos(-Fq * r) * n,
+ y: t + Math.sin(-Fq * r) * n
+}), zq = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -48528,11 +48529,11 @@ var Nq = Math.PI / 180, Pq = (e) => e * Math.PI / 180, Fq = (e) => e * 180 / Mat
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, Rq = (e, t) => {
+}, Bq = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, zq = (e, t) => {
- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = Rq({
+}, Vq = (e, t) => {
+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = Bq({
x: n,
y: r
}, {
@@ -48546,25 +48547,25 @@ var Nq = Math.PI / 180, Pq = (e) => e * Math.PI / 180, Fq = (e) => e * 180 / Mat
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: Fq(c),
+ angle: Lq(c),
angleInRadian: c
};
-}, Bq = (e) => {
+}, Hq = (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
};
-}, Vq = (e, t) => {
+}, Uq = (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;
-}, Hq = (e, t) => {
- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = zq({
+}, Wq = (e, t) => {
+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = Vq({
x: n,
y: r
}, t), { innerRadius: o, outerRadius: s } = t;
if (i < o || i > s || i === 0) return null;
- var { startAngle: c, endAngle: l } = Bq(t), u = a, d;
+ var { startAngle: c, endAngle: l } = Hq(t), u = a, d;
if (c <= l) {
for (; u > l;) u -= 360;
for (; u < c;) u += 360;
@@ -48574,17 +48575,17 @@ var Nq = Math.PI / 180, Pq = (e) => e * Math.PI / 180, Fq = (e) => e * 180 / Mat
for (; u < l;) u += 360;
d = u >= l && u <= c;
}
- return d ? kq(kq({}, t), {}, {
+ return d ? jq(jq({}, t), {}, {
radius: i,
- angle: Vq(u, t)
+ angle: Uq(u, t)
}) : null;
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js
-function Uq(e) {
+function Gq(e) {
var { cx: t, cy: n, radius: r, startAngle: i, endAngle: a } = e;
return {
- points: [Iq(t, n, r, i), Iq(t, n, r, a)],
+ points: [Rq(t, n, r, i), Rq(t, n, r, a)],
cx: t,
cy: n,
radius: r,
@@ -48594,29 +48595,29 @@ function Uq(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var Wq, Gq, Kq, qq, Jq, Yq, Xq;
-function Zq() {
- return Zq = Object.assign ? Object.assign.bind() : function(e) {
+var Kq, qq, Jq, Yq, Xq, Zq, Qq;
+function $q() {
+ return $q = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, Zq.apply(null, arguments);
+ }, $q.apply(null, arguments);
}
-function Qq(e, t) {
+function eJ(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var $q = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 359.999), eJ = (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) / Nq, d = c ? i : i + a * u, f = Iq(t, n, l, d), p = Iq(t, n, r, d), m = c ? i - a * u : i;
+var tJ = (e, t) => RR(t - e) * Math.min(Math.abs(t - e), 359.999), nJ = (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) / Fq, d = c ? i : i + a * u, f = Rq(t, n, l, d), p = Rq(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
circleTangency: p,
- lineTangency: Iq(t, n, l * Math.cos(u * Nq), m),
+ lineTangency: Rq(t, n, l * Math.cos(u * Fq), m),
theta: u
};
-}, tJ = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = $q(a, o), c = a + s, l = Iq(t, n, i, a), u = Iq(t, n, i, c), d = IR(Wq ||= Qq([
+}, rJ = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = tJ(a, o), c = a + s, l = Rq(t, n, i, a), u = Rq(t, n, i, c), d = LR(Kq ||= eJ([
"M ",
",",
"\n A ",
@@ -48628,8 +48629,8 @@ var $q = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 359.999), eJ = (e) => {
"\n "
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
- var f = Iq(t, n, r, a), p = Iq(t, n, r, c);
- d += IR(Gq ||= Qq([
+ var f = Rq(t, n, r, a), p = Rq(t, n, r, c);
+ d += LR(qq ||= eJ([
"L ",
",",
"\n A ",
@@ -48640,14 +48641,14 @@ var $q = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 359.999), eJ = (e) => {
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += IR(Kq ||= Qq([
+ } else d += LR(Jq ||= eJ([
"L ",
",",
" Z"
]), t, n);
return d;
-}, nJ = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = LR(l - c), { circleTangency: d, lineTangency: f, theta: p } = eJ({
+}, iJ = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = RR(l - c), { circleTangency: d, lineTangency: f, theta: p } = nJ({
cx: t,
cy: n,
radius: i,
@@ -48655,7 +48656,7 @@ var $q = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 359.999), eJ = (e) => {
sign: u,
cornerRadius: a,
cornerIsExternal: s
- }), { circleTangency: m, lineTangency: h, theta: g } = eJ({
+ }), { circleTangency: m, lineTangency: h, theta: g } = nJ({
cx: t,
cy: n,
radius: i,
@@ -48664,7 +48665,7 @@ var $q = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 359.999), eJ = (e) => {
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? IR(qq ||= Qq([
+ if (_ < 0) return o ? LR(Yq ||= eJ([
"M ",
",",
"\n a",
@@ -48674,7 +48675,7 @@ var $q = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 359.999), eJ = (e) => {
",",
",0,0,1,",
",0\n "
- ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : tJ({
+ ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : rJ({
cx: t,
cy: n,
innerRadius: r,
@@ -48682,7 +48683,7 @@ var $q = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 359.999), eJ = (e) => {
startAngle: c,
endAngle: l
});
- var v = IR(Jq ||= Qq([
+ var v = LR(Xq ||= eJ([
"M ",
",",
"\n A",
@@ -48704,7 +48705,7 @@ var $q = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 359.999), eJ = (e) => {
"\n "
]), f.x, f.y, a, a, +(u < 0), d.x, d.y, i, i, +(_ > 180), +(u < 0), m.x, m.y, a, a, +(u < 0), h.x, h.y);
if (r > 0) {
- var { circleTangency: y, lineTangency: b, theta: x } = eJ({
+ var { circleTangency: y, lineTangency: b, theta: x } = nJ({
cx: t,
cy: n,
radius: r,
@@ -48713,7 +48714,7 @@ var $q = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 359.999), eJ = (e) => {
isExternal: !0,
cornerRadius: a,
cornerIsExternal: s
- }), { circleTangency: S, lineTangency: C, theta: w } = eJ({
+ }), { circleTangency: S, lineTangency: C, theta: w } = nJ({
cx: t,
cy: n,
radius: r,
@@ -48724,7 +48725,7 @@ var $q = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 359.999), eJ = (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 += IR(Yq ||= Qq([
+ v += LR(Zq ||= eJ([
"L",
",",
"\n A",
@@ -48745,13 +48746,13 @@ var $q = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 359.999), eJ = (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 += IR(Xq ||= Qq([
+ } else v += LR(Qq ||= eJ([
"L",
",",
"Z"
]), t, n);
return v;
-}, rJ = {
+}, aJ = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -48761,10 +48762,10 @@ var $q = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 359.999), eJ = (e) => {
cornerRadius: 0,
forceCornerRadius: !1,
cornerIsExternal: !1
-}, iJ = (e) => {
- var t = az(e, rJ), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+}, oJ = (e) => {
+ var t = oz(e, aJ), { 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 = Nm("recharts-sector", d), p = a - i, m = HR(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? nJ({
+ var f = Nm("recharts-sector", d), p = a - i, m = UR(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? iJ({
cx: n,
cy: r,
innerRadius: i,
@@ -48774,7 +48775,7 @@ var $q = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 359.999), eJ = (e) => {
cornerIsExternal: c,
startAngle: l,
endAngle: u
- }) : tJ({
+ }) : rJ({
cx: n,
cy: r,
innerRadius: i,
@@ -48782,14 +48783,14 @@ var $q = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 359.999), eJ = (e) => {
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ N.createElement("path", Zq({}, jL(t), {
+ return /*#__PURE__*/ N.createElement("path", $q({}, ML(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function aJ(e, t, n) {
+function sJ(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -48804,9 +48805,9 @@ function aJ(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (tz(t)) {
+ if (nz(t)) {
if (e === "centric") {
- var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = Iq(r, i, a, s), l = Iq(r, i, o, s);
+ var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = Rq(r, i, a, s), l = Rq(r, i, o, s);
return [{
x: c.x,
y: c.y
@@ -48815,30 +48816,30 @@ function aJ(e, t, n) {
y: l.y
}];
}
- return Uq(t);
+ return Gq(t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function oJ(e) {
- return jR(e) ? NaN : Number(e);
+function cJ(e) {
+ return MR(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
-function sJ(e) {
- return e ? (e = oJ(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+function lJ(e) {
+ return e ? (e = cJ(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
-function cJ(e, t, n) {
- n && typeof n != "number" && Rz(e, t, n) && (t = n = void 0), e = sJ(e), t === void 0 ? (t = e, e = 0) : t = sJ(t), n = n === void 0 ? e < t ? 1 : -1 : sJ(n);
+function uJ(e, t, n) {
+ n && typeof n != "number" && zz(e, t, n) && (t = n = void 0), e = lJ(e), t === void 0 ? (t = e, e = 0) : t = lJ(t), n = n === void 0 ? e < t ? 1 : -1 : lJ(n);
let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);
for (let t = 0; t < r; t++) i[t] = e, e += n;
return i;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/dataSelectors.js
-var lJ = (e) => e.chartData, uJ = $([lJ], (e) => {
+var dJ = (e) => e.chartData, fJ = $([dJ], (e) => {
var t = e.chartData == null ? 0 : e.chartData.length - 1;
return {
chartData: e.chartData,
@@ -48846,35 +48847,35 @@ var lJ = (e) => e.chartData, uJ = $([lJ], (e) => {
dataEndIndex: t,
dataStartIndex: 0
};
-}), dJ = (e, t, n, r) => r ? uJ(e) : lJ(e), fJ = (e, t, n) => n ? uJ(e) : lJ(e);
+}), pJ = (e, t, n, r) => r ? fJ(e) : dJ(e), mJ = (e, t, n) => n ? fJ(e) : dJ(e);
//#endregion
//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js
-function pJ(e) {
+function hJ(e) {
if (Array.isArray(e) && e.length === 2) {
var [t, n] = e;
- if (YV(t) && YV(n)) return !0;
+ if (ZV(t) && ZV(n)) return !0;
}
return !1;
}
-function mJ(e, t, n) {
+function gJ(e, t, n) {
return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];
}
-function hJ(e, t) {
+function _J(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var [n, r] = e, i, a;
- if (YV(n)) i = n;
+ if (ZV(n)) i = n;
else if (typeof n == "function") return;
- if (YV(r)) a = r;
+ if (ZV(r)) a = r;
else if (typeof r == "function") return;
var o = [i, a];
- if (pJ(o)) return o;
+ if (hJ(o)) return o;
}
}
-function gJ(e, t, n) {
+function vJ(e, t, n) {
if (!(!n && t == null)) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
- if (pJ(r)) return mJ(r, t, n);
+ if (hJ(r)) return gJ(r, t, n);
} catch {}
if (Array.isArray(e) && e.length === 2) {
var [i, a] = e, o, s;
@@ -48883,8 +48884,8 @@ function gJ(e, t, n) {
else if (typeof i == "function") try {
t != null && (o = i(t?.[0]));
} catch {}
- else if (typeof i == "string" && _H.test(i)) {
- var c = _H.exec(i);
+ else if (typeof i == "string" && yH.test(i)) {
+ var c = yH.exec(i);
if (c == null || c[1] == null || t == null) o = void 0;
else {
var l = +c[1];
@@ -48896,8 +48897,8 @@ function gJ(e, t, n) {
else if (typeof a == "function") try {
t != null && (s = a(t?.[1]));
} catch {}
- else if (typeof a == "string" && vH.test(a)) {
- var u = vH.exec(a);
+ else if (typeof a == "string" && bH.test(a)) {
+ var u = bH.exec(a);
if (u == null || u[1] == null || t == null) s = void 0;
else {
var d = +u[1];
@@ -48905,13 +48906,13 @@ function gJ(e, t, n) {
}
} else s = t?.[1];
var f = [o, s];
- if (pJ(f)) return t == null ? f : mJ(f, t, n);
+ if (hJ(f)) return t == null ? f : gJ(f, t, n);
}
}
}
//#endregion
//#region node_modules/recharts/es6/util/scale/util/arithmetic.js
-var _J = /* @__PURE__ */ D((/* @__PURE__ */ w(((e, t) => {
+var yJ = /* @__PURE__ */ D((/* @__PURE__ */ w(((e, t) => {
(function(e) {
var n = 1e9, r = {
precision: 20,
@@ -49287,75 +49288,75 @@ var _J = /* @__PURE__ */ D((/* @__PURE__ */ w(((e, t) => {
}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);
})(e);
})))());
-function vJ(e) {
- return e === 0 ? 1 : Math.floor(new _J.default(e).abs().log(10).toNumber()) + 1;
+function bJ(e) {
+ return e === 0 ? 1 : Math.floor(new yJ.default(e).abs().log(10).toNumber()) + 1;
}
-function yJ(e, t, n) {
- for (var r = new _J.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
+function xJ(e, t, n) {
+ for (var r = new yJ.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
return a;
}
//#endregion
//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js
-var bJ = (e) => {
+var SJ = (e) => {
var [t, n] = e, [r, i] = [t, n];
return t > n && ([r, i] = [n, t]), [r, i];
-}, xJ = (e, t, n) => {
- if (e.lte(0)) return new _J.default(0);
- var r = vJ(e.toNumber()), i = new _J.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new _J.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
- return t ? new _J.default(s.toNumber()) : new _J.default(Math.ceil(s.toNumber()));
-}, SJ = (e, t, n) => {
- if (e.lte(0)) return new _J.default(0);
+}, CJ = (e, t, n) => {
+ if (e.lte(0)) return new yJ.default(0);
+ var r = bJ(e.toNumber()), i = new yJ.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new yJ.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
+ return t ? new yJ.default(s.toNumber()) : new yJ.default(Math.ceil(s.toNumber()));
+}, wJ = (e, t, n) => {
+ if (e.lte(0)) return new yJ.default(0);
var r = [
1,
2,
2.5,
5
- ], i = e.toNumber(), a = Math.floor(new _J.default(i).abs().log(10).toNumber()), o = new _J.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
+ ], i = e.toNumber(), a = Math.floor(new yJ.default(i).abs().log(10).toNumber()), o = new yJ.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
if (c === -1 && (o = o.mul(10), c = 0), c += n, c >= r.length) {
var l = Math.floor(c / r.length);
- c %= r.length, o = o.mul(new _J.default(10).pow(l));
+ c %= r.length, o = o.mul(new yJ.default(10).pow(l));
}
- var u = r[c] ?? 1, d = new _J.default(u).mul(o);
- return t ? d : new _J.default(Math.ceil(d.toNumber()));
-}, CJ = (e, t, n) => {
- var r = new _J.default(1), i = new _J.default(e);
+ var u = r[c] ?? 1, d = new yJ.default(u).mul(o);
+ return t ? d : new yJ.default(Math.ceil(d.toNumber()));
+}, TJ = (e, t, n) => {
+ var r = new yJ.default(1), i = new yJ.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
- a < 1 ? (r = new _J.default(10).pow(vJ(e) - 1), i = new _J.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new _J.default(Math.floor(e)));
- } else e === 0 ? i = new _J.default(Math.floor((t - 1) / 2)) : n || (i = new _J.default(Math.floor(e)));
- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new _J.default(c - o).mul(r)).toNumber());
+ a < 1 ? (r = new yJ.default(10).pow(bJ(e) - 1), i = new yJ.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new yJ.default(Math.floor(e)));
+ } else e === 0 ? i = new yJ.default(Math.floor((t - 1) / 2)) : n || (i = new yJ.default(Math.floor(e)));
+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new yJ.default(c - o).mul(r)).toNumber());
return s;
-}, wJ = function(e, t, n, r) {
- var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : xJ;
+}, EJ = function(e, t, n, r) {
+ var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : CJ;
if (!Number.isFinite((t - e) / (n - 1))) return {
- step: new _J.default(0),
- tickMin: new _J.default(0),
- tickMax: new _J.default(0)
+ step: new yJ.default(0),
+ tickMin: new yJ.default(0),
+ tickMax: new yJ.default(0)
};
- var o = a(new _J.default(t).sub(e).div(n - 1), r, i), s;
- e <= 0 && t >= 0 ? s = new _J.default(0) : (s = new _J.default(e).add(t).div(2), s = s.sub(new _J.default(s).mod(o)));
- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new _J.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
- return u > n ? wJ(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
+ var o = a(new yJ.default(t).sub(e).div(n - 1), r, i), s;
+ e <= 0 && t >= 0 ? s = new yJ.default(0) : (s = new yJ.default(e).add(t).div(2), s = s.sub(new yJ.default(s).mod(o)));
+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new yJ.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
+ return u > n ? EJ(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
step: o,
- tickMin: s.sub(new _J.default(c).mul(o)),
- tickMax: s.add(new _J.default(l).mul(o))
+ tickMin: s.sub(new yJ.default(c).mul(o)),
+ tickMax: s.add(new yJ.default(l).mul(o))
});
-}, TJ = function(e) {
- var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = bJ([t, n]);
+}, DJ = function(e) {
+ var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = SJ([t, n]);
if (s === -Infinity || c === Infinity) {
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 CJ(s, r, i);
- var { step: u, tickMin: d, tickMax: f } = wJ(s, c, o, i, 0, a === "snap125" ? SJ : xJ), p = yJ(d, f.add(new _J.default(.1).mul(u)), u);
+ if (s === c) return TJ(s, r, i);
+ var { step: u, tickMin: d, tickMax: f } = EJ(s, c, o, i, 0, a === "snap125" ? wJ : CJ), p = xJ(d, f.add(new yJ.default(.1).mul(u)), u);
return t > n ? p.reverse() : p;
-}, EJ = function(e, t) {
- var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = bJ([n, r]);
+}, OJ = function(e, t) {
+ var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = SJ([n, r]);
if (o === -Infinity || s === Infinity) return [n, r];
if (o === s) return [o];
- var c = a === "snap125" ? SJ : xJ, l = Math.max(t, 2), u = c(new _J.default(s).sub(o).div(l - 1), i, 0), d = [...yJ(new _J.default(o), new _J.default(s), u), s];
+ var c = a === "snap125" ? wJ : CJ, l = Math.max(t, 2), u = c(new yJ.default(s).sub(o).div(l - 1), i, 0), d = [...xJ(new yJ.default(o), new yJ.default(s), u), s];
return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;
-}, DJ = (e) => e.rootProps.maxBarSize, OJ = (e) => e.rootProps.barGap, kJ = (e) => e.rootProps.barCategoryGap, AJ = (e) => e.rootProps.barSize, jJ = (e) => e.rootProps.stackOffset, MJ = (e) => e.rootProps.reverseStackOrder, NJ = (e) => e.options.chartName, PJ = (e) => e.rootProps.syncId, FJ = (e) => e.rootProps.syncMethod, IJ = (e) => e.options.eventEmitter, LJ = (e) => e.rootProps.baseValue, RJ = {
+}, kJ = (e) => e.rootProps.maxBarSize, AJ = (e) => e.rootProps.barGap, jJ = (e) => e.rootProps.barCategoryGap, MJ = (e) => e.rootProps.barSize, NJ = (e) => e.rootProps.stackOffset, PJ = (e) => e.rootProps.reverseStackOrder, FJ = (e) => e.options.chartName, IJ = (e) => e.rootProps.syncId, LJ = (e) => e.rootProps.syncMethod, RJ = (e) => e.options.eventEmitter, zJ = (e) => e.rootProps.baseValue, BJ = {
grid: -100,
barBackground: -50,
area: 100,
@@ -49368,7 +49369,7 @@ var bJ = (e) => {
cursorLine: 1100,
activeDot: 1200,
label: 2e3
-}, zJ = {
+}, VJ = {
allowDecimals: !1,
allowDuplicatedCategory: !0,
allowDataOverflow: !1,
@@ -49389,8 +49390,8 @@ var bJ = (e) => {
tickLine: !0,
tickSize: 8,
type: "auto",
- zIndex: RJ.axis
-}, BJ = {
+ zIndex: BJ.axis
+}, HJ = {
allowDataOverflow: !1,
allowDecimals: !1,
allowDuplicatedCategory: !0,
@@ -49409,19 +49410,19 @@ var bJ = (e) => {
tickCount: 5,
tickLine: !0,
type: "auto",
- zIndex: RJ.axis
-}, VJ = (e, t) => {
+ zIndex: BJ.axis
+}, UJ = (e, t) => {
if (!(!e || !t)) return e != null && e.reversed ? [t[1], t[0]] : t;
};
//#endregion
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
-function HJ(e, t, n) {
+function WJ(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return iH(e, t) ? "category" : "number";
+ if (e != null) return oH(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
-function UJ(e, t) {
+function GJ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49431,30 +49432,30 @@ function UJ(e, t) {
}
return n;
}
-function WJ(e) {
+function KJ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? UJ(Object(n), !0).forEach(function(t) {
- GJ(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UJ(Object(n)).forEach(function(t) {
+ t % 2 ? GJ(Object(n), !0).forEach(function(t) {
+ qJ(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GJ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function GJ(e, t, n) {
- return (t = KJ(t)) in e ? Object.defineProperty(e, t, {
+function qJ(e, t, n) {
+ return (t = JJ(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KJ(e) {
- var t = qJ(e, "string");
+function JJ(e) {
+ var t = YJ(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qJ(e, t) {
+function YJ(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49464,81 +49465,81 @@ function qJ(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var JJ = {
- allowDataOverflow: zJ.allowDataOverflow,
- allowDecimals: zJ.allowDecimals,
+var XJ = {
+ allowDataOverflow: VJ.allowDataOverflow,
+ allowDecimals: VJ.allowDecimals,
allowDuplicatedCategory: !1,
dataKey: void 0,
domain: void 0,
- id: zJ.angleAxisId,
+ id: VJ.angleAxisId,
includeHidden: !1,
name: void 0,
- reversed: zJ.reversed,
- scale: zJ.scale,
- tick: zJ.tick,
+ reversed: VJ.reversed,
+ scale: VJ.scale,
+ tick: VJ.tick,
tickCount: void 0,
ticks: void 0,
- type: zJ.type,
+ type: VJ.type,
unit: void 0,
niceTicks: "auto"
-}, YJ = {
- allowDataOverflow: BJ.allowDataOverflow,
- allowDecimals: BJ.allowDecimals,
- allowDuplicatedCategory: BJ.allowDuplicatedCategory,
+}, ZJ = {
+ allowDataOverflow: HJ.allowDataOverflow,
+ allowDecimals: HJ.allowDecimals,
+ allowDuplicatedCategory: HJ.allowDuplicatedCategory,
dataKey: void 0,
domain: void 0,
- id: BJ.radiusAxisId,
- includeHidden: BJ.includeHidden,
+ id: HJ.radiusAxisId,
+ includeHidden: HJ.includeHidden,
name: void 0,
- reversed: BJ.reversed,
- scale: BJ.scale,
- tick: BJ.tick,
- tickCount: BJ.tickCount,
+ reversed: HJ.reversed,
+ scale: HJ.scale,
+ tick: HJ.tick,
+ tickCount: HJ.tickCount,
ticks: void 0,
- type: BJ.type,
+ type: HJ.type,
unit: void 0,
niceTicks: "auto"
-}, XJ = $([(e, t) => {
+}, QJ = $([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, OU], (e, t) => {
+}, AU], (e, t) => {
if (e != null) return e;
- var n = HJ(t, "angleAxis", JJ.type) ?? "category";
- return WJ(WJ({}, JJ), {}, { type: n });
-}), ZJ = $([(e, t) => e.polarAxis.radiusAxis[t], OU], (e, t) => {
+ var n = WJ(t, "angleAxis", XJ.type) ?? "category";
+ return KJ(KJ({}, XJ), {}, { type: n });
+}), $J = $([(e, t) => e.polarAxis.radiusAxis[t], AU], (e, t) => {
if (e != null) return e;
- var n = HJ(t, "radiusAxis", YJ.type) ?? "category";
- return WJ(WJ({}, YJ), {}, { type: n });
-}), QJ = (e) => e.polarOptions, $J = $([
- wH,
- TH,
- VH
-], Lq), eY = $([QJ, $J], (e, t) => {
- if (e != null) return HR(e.innerRadius, t, 0);
-}), tY = $([QJ, $J], (e, t) => {
- if (e != null) return HR(e.outerRadius, t, t * .8);
-}), nY = $([QJ], (e) => {
+ var n = WJ(t, "radiusAxis", ZJ.type) ?? "category";
+ return KJ(KJ({}, ZJ), {}, { type: n });
+}), eY = (e) => e.polarOptions, tY = $([
+ EH,
+ DH,
+ UH
+], zq), nY = $([eY, tY], (e, t) => {
+ if (e != null) return UR(e.innerRadius, t, 0);
+}), rY = $([eY, tY], (e, t) => {
+ if (e != null) return UR(e.outerRadius, t, t * .8);
+}), iY = $([eY], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
return [t, n];
-}), rY = $([XJ, nY], VJ), iY = $([
- $J,
- eY,
- tY
+}), aY = $([QJ, iY], UJ), oY = $([
+ tY,
+ nY,
+ rY
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), aY = $([ZJ, iY], VJ), oY = $([
- TU,
- QJ,
+}), sY = $([$J, oY], UJ), cY = $([
+ DU,
eY,
- tY,
- wH,
- TH
+ nY,
+ rY,
+ EH,
+ DH
], (e, t, n, r, i, a) => {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var { cx: o, cy: s, startAngle: c, endAngle: l } = t;
return {
- cx: HR(o, i, i / 2),
- cy: HR(s, a, a / 2),
+ cx: UR(o, i, i / 2),
+ cy: UR(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -49546,22 +49547,22 @@ var JJ = {
clockWise: !1
};
}
-}), sY = (e, t) => t, cY = (e, t, n) => n;
+}), lY = (e, t) => t, uY = (e, t, n) => n;
//#endregion
//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js
-function lY(e) {
+function dY(e) {
return e?.id;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js
-function uY(e, t, n) {
+function fY(e, t, n) {
var { chartData: r = [] } = t, { allowDuplicatedCategory: i, dataKey: a } = n, o = /* @__PURE__ */ new Map();
return e.forEach((e) => {
var t = e.data ?? r;
if (t != null && t.length !== 0) {
- var n = lY(e);
+ var n = dY(e);
t.forEach((t, r) => {
- var s = a == null || i ? r : String(nH(t, a, null)), c = nH(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
+ var s = a == null || i ? r : String(iH(t, a, null)), c = iH(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
Object.assign(l, { [n]: c }), o.set(s, l);
});
}
@@ -49569,18 +49570,18 @@ function uY(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js
-function dY(e) {
+function pY(e) {
return "stackId" in e && e.stackId != null && e.dataKey != null;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js
-var fY = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
+var mY = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
//#endregion
//#region node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js
-function pY(e, t) {
+function hY(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function mY(e, t) {
+function gY(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -49589,13 +49590,13 @@ function mY(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
-var hY = (e) => {
- var t = TU(e);
+var _Y = (e) => {
+ var t = DU(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
-}, gY = (e) => e.tooltip.settings.axisId;
+}, vY = (e) => e.tooltip.settings.axisId;
//#endregion
//#region node_modules/recharts/es6/util/scale/RechartsScale.js
-function _Y(e) {
+function yY(e) {
if (e != null) {
var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];
return {
@@ -49636,13 +49637,13 @@ function _Y(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js
-var vY = (e, t) => {
+var bY = (e, t) => {
if (t != null) switch (e) {
case "linear":
- if (!pJ(t)) {
+ if (!hJ(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- YV(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ ZV(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
}
return n !== void 0 && r !== void 0 ? [n, r] : void 0;
}
@@ -49652,14 +49653,14 @@ var vY = (e, t) => {
};
//#endregion
//#region node_modules/d3-array/src/ascending.js
-function yY(e, t) {
+function xY(e, t) {
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
}
//#endregion
//#region node_modules/d3-array/src/bisector.js
-function bY(e) {
+function SY(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = xY(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = CY(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -49685,15 +49686,15 @@ function bY(e) {
right: i
};
}
-function xY(e) {
- return (t, n) => yY(e(t), n);
+function CY(e) {
+ return (t, n) => xY(e(t), n);
}
//#endregion
//#region node_modules/d3-array/src/number.js
-function SY(e) {
+function wY(e) {
return e === null ? NaN : +e;
}
-function* CY(e, t) {
+function* TY(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -49702,52 +49703,52 @@ function* CY(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/bisect.js
-var wY = bY(yY), TY = wY.right;
-wY.left, bY(SY).center;
+var EY = SY(xY), DY = EY.right;
+EY.left, SY(wY).center;
//#endregion
//#region node_modules/internmap/src/index.js
-var EY = class extends Map {
- constructor(e, t = AY) {
+var OY = class extends Map {
+ constructor(e, t = MY) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
}), e != null) for (let [t, n] of e) this.set(t, n);
}
get(e) {
- return super.get(DY(this, e));
+ return super.get(kY(this, e));
}
has(e) {
- return super.has(DY(this, e));
+ return super.has(kY(this, e));
}
set(e, t) {
- return super.set(OY(this, e), t);
+ return super.set(AY(this, e), t);
}
delete(e) {
- return super.delete(kY(this, e));
+ return super.delete(jY(this, e));
}
};
-function DY({ _intern: e, _key: t }, n) {
+function kY({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function OY({ _intern: e, _key: t }, n) {
+function AY({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function kY({ _intern: e, _key: t }, n) {
+function jY({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function AY(e) {
+function MY(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
//#region node_modules/d3-array/src/ticks.js
-var jY = Math.sqrt(50), MY = Math.sqrt(10), NY = Math.sqrt(2);
-function PY(e, t, n) {
+var NY = Math.sqrt(50), PY = Math.sqrt(10), FY = Math.sqrt(2);
+function IY(e, t, n) {
var r, i = -1, a, o, s;
if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];
- if ((r = t < e) && (a = e, e = t, t = a), (s = FY(e, t, n)) === 0 || !isFinite(s)) return [];
+ if ((r = t < e) && (a = e, e = t, t = a), (s = LY(e, t, n)) === 0 || !isFinite(s)) return [];
if (s > 0) {
let n = Math.round(e / s), r = Math.round(t / s);
for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;
@@ -49758,17 +49759,17 @@ function PY(e, t, n) {
}
return r && o.reverse(), o;
}
-function FY(e, t, n) {
+function LY(e, t, n) {
var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;
- return i >= 0 ? (a >= jY ? 10 : a >= MY ? 5 : a >= NY ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= jY ? 10 : a >= MY ? 5 : a >= NY ? 2 : 1);
+ return i >= 0 ? (a >= NY ? 10 : a >= PY ? 5 : a >= FY ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= NY ? 10 : a >= PY ? 5 : a >= FY ? 2 : 1);
}
-function IY(e, t, n) {
+function RY(e, t, n) {
var r = Math.abs(t - e) / Math.max(0, n), i = 10 ** Math.floor(Math.log(r) / Math.LN10), a = r / i;
- return a >= jY ? i *= 10 : a >= MY ? i *= 5 : a >= NY && (i *= 2), t < e ? -i : i;
+ return a >= NY ? i *= 10 : a >= PY ? i *= 5 : a >= FY && (i *= 2), t < e ? -i : i;
}
//#endregion
//#region node_modules/d3-array/src/max.js
-function LY(e, t) {
+function zY(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
else {
@@ -49779,7 +49780,7 @@ function LY(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/min.js
-function RY(e, t) {
+function BY(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
else {
@@ -49790,36 +49791,36 @@ function RY(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/quickselect.js
-function zY(e, t, n = 0, r = e.length - 1, i = yY) {
+function VY(e, t, n = 0, r = e.length - 1, i = xY) {
for (; r > n;) {
if (r - n > 600) {
let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);
- zY(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
+ VY(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
}
let a = e[t], o = n, s = r;
- for (BY(e, n, t), i(e[r], a) > 0 && BY(e, n, r); o < s;) {
- for (BY(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
+ for (HY(e, n, t), i(e[r], a) > 0 && HY(e, n, r); o < s;) {
+ for (HY(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
for (; i(e[s], a) > 0;) --s;
}
- i(e[n], a) === 0 ? BY(e, n, s) : (++s, BY(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
+ i(e[n], a) === 0 ? HY(e, n, s) : (++s, HY(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
}
return e;
}
-function BY(e, t, n) {
+function HY(e, t, n) {
let r = e[t];
e[t] = e[n], e[n] = r;
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function VY(e, t, n) {
- if (e = Float64Array.from(CY(e, n)), r = e.length) {
- if ((t = +t) <= 0 || r < 2) return RY(e);
- if (t >= 1) return LY(e);
- var r, i = (r - 1) * t, a = Math.floor(i), o = LY(zY(e, a).subarray(0, a + 1));
- return o + (RY(e.subarray(a + 1)) - o) * (i - a);
+function UY(e, t, n) {
+ if (e = Float64Array.from(TY(e, n)), r = e.length) {
+ if ((t = +t) <= 0 || r < 2) return BY(e);
+ if (t >= 1) return zY(e);
+ var r, i = (r - 1) * t, a = Math.floor(i), o = zY(VY(e, a).subarray(0, a + 1));
+ return o + (BY(e.subarray(a + 1)) - o) * (i - a);
}
}
-function HY(e, t, n = SY) {
+function WY(e, t, n = wY) {
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);
@@ -49829,14 +49830,14 @@ function HY(e, t, n = SY) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function UY(e, t, n) {
+function GY(e, t, n) {
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
return a;
}
//#endregion
//#region node_modules/d3-array/src/sum.js
-function WY(e, t) {
+function KY(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -49847,7 +49848,7 @@ function WY(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/init.js
-function GY(e, t) {
+function qY(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -49857,7 +49858,7 @@ function GY(e, t) {
}
return this;
}
-function KY(e, t) {
+function JY(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -49869,20 +49870,20 @@ function KY(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/ordinal.js
-var qY = Symbol("implicit");
-function JY() {
- var e = new EY(), t = [], n = [], r = qY;
+var YY = Symbol("implicit");
+function XY() {
+ var e = new OY(), t = [], n = [], r = YY;
function i(i) {
let a = e.get(i);
if (a === void 0) {
- if (r !== qY) return r;
+ if (r !== YY) return r;
e.set(i, a = t.push(i) - 1);
}
return n[a % n.length];
}
return i.domain = function(n) {
if (!arguments.length) return t.slice();
- t = [], e = new EY();
+ t = [], e = new OY();
for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);
return i;
}, i.range = function(e) {
@@ -49890,18 +49891,18 @@ function JY() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return JY(t, n).unknown(r);
- }, GY.apply(i, arguments), i;
+ return XY(t, n).unknown(r);
+ }, qY.apply(i, arguments), i;
}
//#endregion
//#region node_modules/d3-scale/src/band.js
-function YY() {
- var e = JY().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
+function ZY() {
+ var e = XY().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
delete e.unknown;
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 = UY(e).map(function(e) {
+ var m = GY(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -49927,32 +49928,32 @@ function YY() {
}, e.align = function(e) {
return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;
}, e.copy = function() {
- return YY(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
- }, GY.apply(d(), arguments);
+ return ZY(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
+ }, qY.apply(d(), arguments);
}
-function XY(e) {
+function QY(e) {
var t = e.copy;
return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {
- return XY(t());
+ return QY(t());
}, e;
}
-function ZY() {
- return XY(YY.apply(null, arguments).paddingInner(1));
+function $Y() {
+ return QY(ZY.apply(null, arguments).paddingInner(1));
}
//#endregion
//#region node_modules/d3-color/src/define.js
-function QY(e, t, n) {
+function eX(e, t, n) {
e.prototype = t.prototype = n, n.constructor = e;
}
-function $Y(e, t) {
+function tX(e, t) {
var n = Object.create(e.prototype);
for (var r in t) n[r] = t[r];
return n;
}
//#endregion
//#region node_modules/d3-color/src/color.js
-function eX() {}
-var tX = .7, nX = 1 / tX, rX = "\\s*([+-]?\\d+)\\s*", iX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", aX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", oX = /^#([0-9a-f]{3,8})$/, sX = RegExp(`^rgb\\(${rX},${rX},${rX}\\)$`), cX = RegExp(`^rgb\\(${aX},${aX},${aX}\\)$`), lX = RegExp(`^rgba\\(${rX},${rX},${rX},${iX}\\)$`), uX = RegExp(`^rgba\\(${aX},${aX},${aX},${iX}\\)$`), dX = RegExp(`^hsl\\(${iX},${aX},${aX}\\)$`), fX = RegExp(`^hsla\\(${iX},${aX},${aX},${iX}\\)$`), pX = {
+function nX() {}
+var rX = .7, iX = 1 / rX, aX = "\\s*([+-]?\\d+)\\s*", oX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", sX = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", cX = /^#([0-9a-f]{3,8})$/, lX = RegExp(`^rgb\\(${aX},${aX},${aX}\\)$`), uX = RegExp(`^rgb\\(${sX},${sX},${sX}\\)$`), dX = RegExp(`^rgba\\(${aX},${aX},${aX},${oX}\\)$`), fX = RegExp(`^rgba\\(${sX},${sX},${sX},${oX}\\)$`), pX = RegExp(`^hsl\\(${oX},${sX},${sX}\\)$`), mX = RegExp(`^hsla\\(${oX},${sX},${sX},${oX}\\)$`), hX = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -50102,170 +50103,170 @@ var tX = .7, nX = 1 / tX, rX = "\\s*([+-]?\\d+)\\s*", iX = "\\s*([+-]?(?:\\d*\\.
yellow: 16776960,
yellowgreen: 10145074
};
-QY(eX, vX, {
+eX(nX, bX, {
copy(e) {
return Object.assign(new this.constructor(), this, e);
},
displayable() {
return this.rgb().displayable();
},
- hex: mX,
- formatHex: mX,
- formatHex8: hX,
- formatHsl: gX,
- formatRgb: _X,
- toString: _X
+ hex: gX,
+ formatHex: gX,
+ formatHex8: _X,
+ formatHsl: vX,
+ formatRgb: yX,
+ toString: yX
});
-function mX() {
+function gX() {
return this.rgb().formatHex();
}
-function hX() {
+function _X() {
return this.rgb().formatHex8();
}
-function gX() {
- return jX(this).formatHsl();
+function vX() {
+ return NX(this).formatHsl();
}
-function _X() {
+function yX() {
return this.rgb().formatRgb();
}
-function vX(e) {
+function bX(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = oX.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? yX(t) : n === 3 ? new CX(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? bX(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? bX(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 = sX.exec(e)) ? new CX(t[1], t[2], t[3], 1) : (t = cX.exec(e)) ? new CX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = lX.exec(e)) ? bX(t[1], t[2], t[3], t[4]) : (t = uX.exec(e)) ? bX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = dX.exec(e)) ? AX(t[1], t[2] / 100, t[3] / 100, 1) : (t = fX.exec(e)) ? AX(t[1], t[2] / 100, t[3] / 100, t[4]) : pX.hasOwnProperty(e) ? yX(pX[e]) : e === "transparent" ? new CX(NaN, NaN, NaN, 0) : null;
-}
-function yX(e) {
- return new CX(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
-}
-function bX(e, t, n, r) {
- return r <= 0 && (e = t = n = NaN), new CX(e, t, n, r);
+ return e = (e + "").trim().toLowerCase(), (t = cX.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? xX(t) : n === 3 ? new TX(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? SX(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? SX(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 = lX.exec(e)) ? new TX(t[1], t[2], t[3], 1) : (t = uX.exec(e)) ? new TX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = dX.exec(e)) ? SX(t[1], t[2], t[3], t[4]) : (t = fX.exec(e)) ? SX(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = pX.exec(e)) ? MX(t[1], t[2] / 100, t[3] / 100, 1) : (t = mX.exec(e)) ? MX(t[1], t[2] / 100, t[3] / 100, t[4]) : hX.hasOwnProperty(e) ? xX(hX[e]) : e === "transparent" ? new TX(NaN, NaN, NaN, 0) : null;
}
function xX(e) {
- return e instanceof eX || (e = vX(e)), e ? (e = e.rgb(), new CX(e.r, e.g, e.b, e.opacity)) : new CX();
+ return new TX(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
}
function SX(e, t, n, r) {
- return arguments.length === 1 ? xX(e) : new CX(e, t, n, r ?? 1);
+ return r <= 0 && (e = t = n = NaN), new TX(e, t, n, r);
+}
+function CX(e) {
+ return e instanceof nX || (e = bX(e)), e ? (e = e.rgb(), new TX(e.r, e.g, e.b, e.opacity)) : new TX();
}
-function CX(e, t, n, r) {
+function wX(e, t, n, r) {
+ return arguments.length === 1 ? CX(e) : new TX(e, t, n, r ?? 1);
+}
+function TX(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
}
-QY(CX, SX, $Y(eX, {
+eX(TX, wX, tX(nX, {
brighter(e) {
- return e = e == null ? nX : nX ** +e, new CX(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? iX : iX ** +e, new TX(this.r * e, this.g * e, this.b * e, this.opacity);
},
darker(e) {
- return e = e == null ? tX : tX ** +e, new CX(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? rX : rX ** +e, new TX(this.r * e, this.g * e, this.b * e, this.opacity);
},
rgb() {
return this;
},
clamp() {
- return new CX(OX(this.r), OX(this.g), OX(this.b), DX(this.opacity));
+ return new TX(AX(this.r), AX(this.g), AX(this.b), kX(this.opacity));
},
displayable() {
return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
},
- hex: wX,
- formatHex: wX,
- formatHex8: TX,
- formatRgb: EX,
- toString: EX
+ hex: EX,
+ formatHex: EX,
+ formatHex8: DX,
+ formatRgb: OX,
+ toString: OX
}));
-function wX() {
- return `#${kX(this.r)}${kX(this.g)}${kX(this.b)}`;
+function EX() {
+ return `#${jX(this.r)}${jX(this.g)}${jX(this.b)}`;
}
-function TX() {
- return `#${kX(this.r)}${kX(this.g)}${kX(this.b)}${kX((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
+function DX() {
+ return `#${jX(this.r)}${jX(this.g)}${jX(this.b)}${jX((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
-function EX() {
- let e = DX(this.opacity);
- return `${e === 1 ? "rgb(" : "rgba("}${OX(this.r)}, ${OX(this.g)}, ${OX(this.b)}${e === 1 ? ")" : `, ${e})`}`;
+function OX() {
+ let e = kX(this.opacity);
+ return `${e === 1 ? "rgb(" : "rgba("}${AX(this.r)}, ${AX(this.g)}, ${AX(this.b)}${e === 1 ? ")" : `, ${e})`}`;
}
-function DX(e) {
+function kX(e) {
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
}
-function OX(e) {
+function AX(e) {
return Math.max(0, Math.min(255, Math.round(e) || 0));
}
-function kX(e) {
- return e = OX(e), (e < 16 ? "0" : "") + e.toString(16);
+function jX(e) {
+ return e = AX(e), (e < 16 ? "0" : "") + e.toString(16);
}
-function AX(e, t, n, r) {
- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new NX(e, t, n, r);
+function MX(e, t, n, r) {
+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new FX(e, t, n, r);
}
-function jX(e) {
- if (e instanceof NX) return new NX(e.h, e.s, e.l, e.opacity);
- if (e instanceof eX || (e = vX(e)), !e) return new NX();
- if (e instanceof NX) return e;
+function NX(e) {
+ if (e instanceof FX) return new FX(e.h, e.s, e.l, e.opacity);
+ if (e instanceof nX || (e = bX(e)), !e) return new FX();
+ if (e instanceof FX) return e;
e = e.rgb();
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 NX(o, s, c, e.opacity);
+ 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 FX(o, s, c, e.opacity);
}
-function MX(e, t, n, r) {
- return arguments.length === 1 ? jX(e) : new NX(e, t, n, r ?? 1);
+function PX(e, t, n, r) {
+ return arguments.length === 1 ? NX(e) : new FX(e, t, n, r ?? 1);
}
-function NX(e, t, n, r) {
+function FX(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-QY(NX, MX, $Y(eX, {
+eX(FX, PX, tX(nX, {
brighter(e) {
- return e = e == null ? nX : nX ** +e, new NX(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? iX : iX ** +e, new FX(this.h, this.s, this.l * e, this.opacity);
},
darker(e) {
- return e = e == null ? tX : tX ** +e, new NX(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? rX : rX ** +e, new FX(this.h, this.s, this.l * e, this.opacity);
},
rgb() {
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
- return new CX(IX(e >= 240 ? e - 240 : e + 120, i, r), IX(e, i, r), IX(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
+ return new TX(RX(e >= 240 ? e - 240 : e + 120, i, r), RX(e, i, r), RX(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
},
clamp() {
- return new NX(PX(this.h), FX(this.s), FX(this.l), DX(this.opacity));
+ return new FX(IX(this.h), LX(this.s), LX(this.l), kX(this.opacity));
},
displayable() {
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
},
formatHsl() {
- let e = DX(this.opacity);
- return `${e === 1 ? "hsl(" : "hsla("}${PX(this.h)}, ${FX(this.s) * 100}%, ${FX(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
+ let e = kX(this.opacity);
+ return `${e === 1 ? "hsl(" : "hsla("}${IX(this.h)}, ${LX(this.s) * 100}%, ${LX(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
}
}));
-function PX(e) {
+function IX(e) {
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
}
-function FX(e) {
+function LX(e) {
return Math.max(0, Math.min(1, e || 0));
}
-function IX(e, t, n) {
+function RX(e, t, n) {
return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
}
//#endregion
//#region node_modules/d3-interpolate/src/constant.js
-var LX = (e) => () => e;
+var zX = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function RX(e, t) {
+function BX(e, t) {
return function(n) {
return e + n * t;
};
}
-function zX(e, t, n) {
+function VX(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function BX(e) {
- return (e = +e) == 1 ? VX : function(t, n) {
- return n - t ? zX(t, n, e) : LX(isNaN(t) ? n : t);
+function HX(e) {
+ return (e = +e) == 1 ? UX : function(t, n) {
+ return n - t ? VX(t, n, e) : zX(isNaN(t) ? n : t);
};
}
-function VX(e, t) {
+function UX(e, t) {
var n = t - e;
- return n ? RX(e, n) : LX(isNaN(e) ? t : e);
+ return n ? BX(e, n) : zX(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
-var HX = (function e(t) {
- var n = BX(t);
+var WX = (function e(t) {
+ var n = HX(t);
function r(e, t) {
- var r = n((e = SX(e)).r, (t = SX(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = VX(e.opacity, t.opacity);
+ var r = n((e = wX(e)).r, (t = wX(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = UX(e.opacity, t.opacity);
return function(t) {
return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
};
@@ -50274,7 +50275,7 @@ var HX = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function UX(e, t) {
+function GX(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -50282,14 +50283,14 @@ function UX(e, t) {
return r;
};
}
-function WX(e) {
+function KX(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function GX(e, t) {
+function qX(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] = eZ(e[o], t[o]);
+ for (o = 0; o < r; ++o) i[o] = nZ(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
return function(e) {
for (o = 0; o < r; ++o) a[o] = i[o](e);
@@ -50298,7 +50299,7 @@ function GX(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function KX(e, t) {
+function JX(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -50306,16 +50307,16 @@ function KX(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/number.js
-function qX(e, t) {
+function YX(e, t) {
return e = +e, t = +t, function(n) {
return e * (1 - n) + t * n;
};
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function JX(e, t) {
+function XX(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] = eZ(e[i], t[i]) : r[i] = t[i];
+ for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = nZ(e[i], t[i]) : r[i] = t[i];
return function(e) {
for (i in n) r[i] = n[i](e);
return r;
@@ -50323,45 +50324,45 @@ function JX(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/string.js
-var YX = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, XX = new RegExp(YX.source, "g");
-function ZX(e) {
+var ZX = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, QX = new RegExp(ZX.source, "g");
+function $X(e) {
return function() {
return e;
};
}
-function QX(e) {
+function eZ(e) {
return function(t) {
return e(t) + "";
};
}
-function $X(e, t) {
- var n = YX.lastIndex = XX.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
- for (e += "", t += ""; (r = YX.exec(e)) && (i = XX.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({
+function tZ(e, t) {
+ var n = ZX.lastIndex = QX.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
+ for (e += "", t += ""; (r = ZX.exec(e)) && (i = QX.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: qX(r, i)
- })), n = XX.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? QX(c[0].x) : ZX(t) : (t = c.length, function(e) {
+ x: YX(r, i)
+ })), n = QX.lastIndex;
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? eZ(c[0].x) : $X(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("");
});
}
//#endregion
//#region node_modules/d3-interpolate/src/value.js
-function eZ(e, t) {
+function nZ(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? LX(t) : (n === "number" ? qX : n === "string" ? (r = vX(t)) ? (t = r, HX) : $X : t instanceof vX ? HX : t instanceof Date ? KX : WX(t) ? UX : Array.isArray(t) ? GX : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? JX : qX)(e, t);
+ return t == null || n === "boolean" ? zX(t) : (n === "number" ? YX : n === "string" ? (r = bX(t)) ? (t = r, WX) : tZ : t instanceof bX ? WX : t instanceof Date ? JX : KX(t) ? GX : Array.isArray(t) ? qX : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? XX : YX)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
-function tZ(e, t) {
+function rZ(e, t) {
return e = +e, t = +t, function(n) {
return Math.round(e * (1 - n) + t * n);
};
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function nZ(e, t) {
- t === void 0 && (t = e, e = eZ);
+function iZ(e, t) {
+ t === void 0 && (t = e, e = nZ);
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) {
var t = Math.max(0, Math.min(r - 1, Math.floor(e *= r)));
@@ -50370,69 +50371,69 @@ function nZ(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function rZ(e) {
+function aZ(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-scale/src/number.js
-function iZ(e) {
+function oZ(e) {
return +e;
}
//#endregion
//#region node_modules/d3-scale/src/continuous.js
-var aZ = [0, 1];
-function oZ(e) {
+var sZ = [0, 1];
+function cZ(e) {
return e;
}
-function sZ(e, t) {
+function lZ(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : rZ(isNaN(t) ? NaN : .5);
+ } : aZ(isNaN(t) ? NaN : .5);
}
-function cZ(e, t) {
+function uZ(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function lZ(e, t, n) {
+function dZ(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
- return i < r ? (r = sZ(i, r), a = n(o, a)) : (r = sZ(r, i), a = n(a, o)), function(e) {
+ return i < r ? (r = lZ(i, r), a = n(o, a)) : (r = lZ(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function uZ(e, t, n) {
+function fZ(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] = sZ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
+ for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = lZ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
- var n = TY(e, t, 1, r) - 1;
+ var n = DY(e, t, 1, r) - 1;
return a[n](i[n](t));
};
}
-function dZ(e, t) {
+function pZ(e, t) {
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
}
-function fZ() {
- var e = aZ, t = aZ, n = eZ, r, i, a, o = oZ, s, c, l;
+function mZ() {
+ var e = sZ, t = sZ, n = nZ, r, i, a, o = cZ, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== oZ && (o = cZ(e[0], e[n - 1])), s = n > 2 ? uZ : lZ, c = l = null, d;
+ return o !== cZ && (o = uZ(e[0], e[n - 1])), s = n > 2 ? fZ : dZ, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
}
return d.invert = function(n) {
- return o(i((l ||= s(t, e.map(r), qX))(n)));
+ return o(i((l ||= s(t, e.map(r), YX))(n)));
}, d.domain = function(t) {
- return arguments.length ? (e = Array.from(t, iZ), u()) : e.slice();
+ return arguments.length ? (e = Array.from(t, oZ), u()) : e.slice();
}, d.range = function(e) {
return arguments.length ? (t = Array.from(e), u()) : t.slice();
}, d.rangeRound = function(e) {
- return t = Array.from(e), n = tZ, u();
+ return t = Array.from(e), n = rZ, u();
}, d.clamp = function(e) {
- return arguments.length ? (o = e ? !0 : oZ, u()) : o !== oZ;
+ return arguments.length ? (o = e ? !0 : cZ, u()) : o !== cZ;
}, d.interpolate = function(e) {
return arguments.length ? (n = e, u()) : n;
}, d.unknown = function(e) {
@@ -50441,27 +50442,27 @@ function fZ() {
return r = e, i = t, u();
};
}
-function pZ() {
- return fZ()(oZ, oZ);
+function hZ() {
+ return mZ()(cZ, cZ);
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function mZ(e) {
+function gZ(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
-function hZ(e, t) {
+function _Z(e, t) {
if (!isFinite(e) || e === 0) return null;
var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);
return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
}
//#endregion
//#region node_modules/d3-format/src/exponent.js
-function gZ(e) {
- return e = hZ(Math.abs(e)), e ? e[1] : NaN;
+function vZ(e) {
+ return e = _Z(Math.abs(e)), e ? e[1] : NaN;
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function _Z(e, t) {
+function yZ(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);
@@ -50469,7 +50470,7 @@ function _Z(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function vZ(e) {
+function bZ(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -50478,11 +50479,11 @@ function vZ(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var yZ = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
-function bZ(e) {
- if (!(t = yZ.exec(e))) throw Error("invalid format: " + e);
+var xZ = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+function SZ(e) {
+ if (!(t = xZ.exec(e))) throw Error("invalid format: " + e);
var t;
- return new xZ({
+ return new CZ({
fill: t[1],
align: t[2],
sign: t[3],
@@ -50495,16 +50496,16 @@ function bZ(e) {
type: t[10]
});
}
-bZ.prototype = xZ.prototype;
-function xZ(e) {
+SZ.prototype = CZ.prototype;
+function CZ(e) {
this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";
}
-xZ.prototype.toString = function() {
+CZ.prototype.toString = function() {
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function SZ(e) {
+function wZ(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -50520,46 +50521,46 @@ function SZ(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
-var CZ;
-function wZ(e, t) {
- var n = hZ(e, t);
- if (!n) return CZ = void 0, e.toPrecision(t);
- var r = n[0], i = n[1], a = i - (CZ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
- return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + hZ(e, Math.max(0, t + a - 1))[0];
+var TZ;
+function EZ(e, t) {
+ var n = _Z(e, t);
+ if (!n) return TZ = void 0, e.toPrecision(t);
+ var r = n[0], i = n[1], a = i - (TZ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
+ return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + _Z(e, Math.max(0, t + a - 1))[0];
}
//#endregion
//#region node_modules/d3-format/src/formatRounded.js
-function TZ(e, t) {
- var n = hZ(e, t);
+function DZ(e, t) {
+ var n = _Z(e, t);
if (!n) return e + "";
var r = n[0], i = n[1];
return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");
}
//#endregion
//#region node_modules/d3-format/src/formatTypes.js
-var EZ = {
+var OZ = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: mZ,
+ d: gZ,
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) => TZ(e * 100, t),
- r: TZ,
- s: wZ,
+ p: (e, t) => DZ(e * 100, t),
+ r: DZ,
+ s: EZ,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
//#endregion
//#region node_modules/d3-format/src/identity.js
-function DZ(e) {
+function kZ(e) {
return e;
}
//#endregion
//#region node_modules/d3-format/src/locale.js
-var OZ = Array.prototype.map, kZ = [
+var AZ = Array.prototype.map, jZ = [
"y",
"z",
"a",
@@ -50578,13 +50579,13 @@ var OZ = Array.prototype.map, kZ = [
"Z",
"Y"
];
-function AZ(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? DZ : _Z(OZ.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 ? DZ : vZ(OZ.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 MZ(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? kZ : yZ(AZ.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 ? kZ : bZ(AZ.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 = bZ(e);
+ e = SZ(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;
- y === "n" ? (g = !0, y = "g") : EZ[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
- var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = EZ[y], C = /[defgprs%]/.test(y);
+ y === "n" ? (g = !0, y = "g") : OZ[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
+ var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = OZ[y], C = /[defgprs%]/.test(y);
_ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));
function w(e) {
var n = b, r = x, o, l, p;
@@ -50592,7 +50593,7 @@ function AZ(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = SZ(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && CZ !== void 0 ? kZ[8 + CZ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = wZ(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && TZ !== void 0 ? jZ[8 + TZ / 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;
@@ -50620,7 +50621,7 @@ function AZ(e) {
}, w;
}
function u(e, t) {
- var n = Math.max(-8, Math.min(8, Math.floor(gZ(t) / 3))) * 3, r = 10 ** -n, i = l((e = bZ(e), e.type = "f", e), { suffix: kZ[8 + n / 3] });
+ var n = Math.max(-8, Math.min(8, Math.floor(vZ(t) / 3))) * 3, r = 10 ** -n, i = l((e = SZ(e), e.type = "f", e), { suffix: jZ[8 + n / 3] });
return function(e) {
return i(r * e);
};
@@ -50632,65 +50633,65 @@ function AZ(e) {
}
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
-var jZ, MZ, NZ;
-PZ({
+var NZ, PZ, FZ;
+IZ({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function PZ(e) {
- return jZ = AZ(e), MZ = jZ.format, NZ = jZ.formatPrefix, jZ;
+function IZ(e) {
+ return NZ = MZ(e), PZ = NZ.format, FZ = NZ.formatPrefix, NZ;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function FZ(e) {
- return Math.max(0, -gZ(Math.abs(e)));
+function LZ(e) {
+ return Math.max(0, -vZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function IZ(e, t) {
- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(gZ(t) / 3))) * 3 - gZ(Math.abs(e)));
+function RZ(e, t) {
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(vZ(t) / 3))) * 3 - vZ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function LZ(e, t) {
- return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, gZ(t) - gZ(e)) + 1;
+function zZ(e, t) {
+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, vZ(t) - vZ(e)) + 1;
}
//#endregion
//#region node_modules/d3-scale/src/tickFormat.js
-function RZ(e, t, n, r) {
- var i = IY(e, t, n), a;
- switch (r = bZ(r ?? ",f"), r.type) {
+function BZ(e, t, n, r) {
+ var i = RY(e, t, n), a;
+ switch (r = SZ(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = IZ(i, o)) && (r.precision = a), NZ(r, o);
+ return r.precision == null && !isNaN(a = RZ(i, o)) && (r.precision = a), FZ(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = LZ(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = zZ(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = FZ(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = LZ(i)) && (r.precision = a - (r.type === "%") * 2);
}
- return MZ(r);
+ return PZ(r);
}
//#endregion
//#region node_modules/d3-scale/src/linear.js
-function zZ(e) {
+function VZ(e) {
var t = e.domain;
return e.ticks = function(e) {
var n = t();
- return PY(n[0], n[n.length - 1], e ?? 10);
+ return IY(n[0], n[n.length - 1], e ?? 10);
}, e.tickFormat = function(e, n) {
var r = t();
- return RZ(r[0], r[r.length - 1], e ?? 10, n);
+ return BZ(r[0], r[r.length - 1], e ?? 10, n);
}, e.nice = function(n) {
n ??= 10;
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
- if (l = FY(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
+ if (l = LY(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
else break;
@@ -50699,64 +50700,64 @@ function zZ(e) {
return e;
}, e;
}
-function BZ() {
- var e = pZ();
+function HZ() {
+ var e = hZ();
return e.copy = function() {
- return dZ(e, BZ());
- }, GY.apply(e, arguments), zZ(e);
+ return pZ(e, HZ());
+ }, qY.apply(e, arguments), VZ(e);
}
//#endregion
//#region node_modules/d3-scale/src/identity.js
-function VZ(e) {
+function UZ(e) {
var t;
function n(e) {
return e == null || isNaN(e = +e) ? t : e;
}
return n.invert = n, n.domain = n.range = function(t) {
- return arguments.length ? (e = Array.from(t, iZ), n) : e.slice();
+ return arguments.length ? (e = Array.from(t, oZ), n) : e.slice();
}, n.unknown = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.copy = function() {
- return VZ(e).unknown(t);
- }, e = arguments.length ? Array.from(e, iZ) : [0, 1], zZ(n);
+ return UZ(e).unknown(t);
+ }, e = arguments.length ? Array.from(e, oZ) : [0, 1], VZ(n);
}
//#endregion
//#region node_modules/d3-scale/src/nice.js
-function HZ(e, t) {
+function WZ(e, t) {
e = e.slice();
var n = 0, r = e.length - 1, i = e[n], a = e[r], o;
return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;
}
//#endregion
//#region node_modules/d3-scale/src/log.js
-function UZ(e) {
+function GZ(e) {
return Math.log(e);
}
-function WZ(e) {
+function KZ(e) {
return Math.exp(e);
}
-function GZ(e) {
+function lfe(e) {
return -Math.log(-e);
}
-function KZ(e) {
+function ufe(e) {
return -Math.exp(-e);
}
-function cfe(e) {
+function dfe(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function lfe(e) {
- return e === 10 ? cfe : e === Math.E ? Math.exp : (t) => e ** +t;
+function ffe(e) {
+ return e === 10 ? dfe : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function ufe(e) {
+function pfe(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 qZ(e) {
return (t, n) => -e(-t, n);
}
function JZ(e) {
- let t = e(UZ, WZ), n = t.domain, r = 10, i, a;
+ let t = e(GZ, KZ), n = t.domain, r = 10, i, a;
function o() {
- return i = ufe(r), a = lfe(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(GZ, KZ)) : e(UZ, WZ), t;
+ return i = pfe(r), a = ffe(r), n()[0] < 0 ? (i = qZ(i), a = qZ(a), e(lfe, ufe)) : e(GZ, KZ), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -50776,24 +50777,24 @@ function JZ(e) {
if (f > s) break;
m.push(f);
}
- m.length * 2 < p && (m = PY(o, s, p));
- } else m = PY(l, u, Math.min(u - l, p)).map(a);
+ m.length * 2 < p && (m = IY(o, s, p));
+ } else m = IY(l, u, Math.min(u - l, p)).map(a);
return c ? m.reverse() : m;
}, t.tickFormat = (e, n) => {
- if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = bZ(n)).precision == null && (n.trim = !0), n = MZ(n)), e === Infinity) return n;
+ if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = SZ(n)).precision == null && (n.trim = !0), n = PZ(n)), e === Infinity) return n;
let o = Math.max(1, r * e / t.ticks().length);
return (e) => {
let t = e / a(Math.round(i(e)));
return t * r < r - .5 && (t *= r), t <= o ? n(e) : "";
};
- }, t.nice = () => n(HZ(n(), {
+ }, t.nice = () => n(WZ(n(), {
floor: (e) => a(Math.floor(i(e))),
ceil: (e) => a(Math.ceil(i(e)))
})), t;
}
function YZ() {
- let e = JZ(fZ()).domain([1, 10]);
- return e.copy = () => dZ(e, YZ()).base(e.base()), GY.apply(e, arguments), e;
+ let e = JZ(mZ()).domain([1, 10]);
+ return e.copy = () => pZ(e, YZ()).base(e.base()), qY.apply(e, arguments), e;
}
//#endregion
//#region node_modules/d3-scale/src/symlog.js
@@ -50811,13 +50812,13 @@ function QZ(e) {
var t = 1, n = e(XZ(t), ZZ(t));
return n.constant = function(n) {
return arguments.length ? e(XZ(t = +n), ZZ(t)) : t;
- }, zZ(n);
+ }, VZ(n);
}
function $Z() {
- var e = QZ(fZ());
+ var e = QZ(mZ());
return e.copy = function() {
- return dZ(e, $Z()).constant(e.constant());
- }, GY.apply(e, arguments);
+ return pZ(e, $Z()).constant(e.constant());
+ }, qY.apply(e, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/pow.js
@@ -50826,28 +50827,28 @@ function eQ(e) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function dfe(e) {
+function mfe(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function ffe(e) {
+function hfe(e) {
return e < 0 ? -e * e : e * e;
}
function tQ(e) {
- var t = e(oZ, oZ), n = 1;
+ var t = e(cZ, cZ), n = 1;
function r() {
- return n === 1 ? e(oZ, oZ) : n === .5 ? e(dfe, ffe) : e(eQ(n), eQ(1 / n));
+ return n === 1 ? e(cZ, cZ) : n === .5 ? e(mfe, hfe) : e(eQ(n), eQ(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
- }, zZ(t);
+ }, VZ(t);
}
function nQ() {
- var e = tQ(fZ());
+ var e = tQ(mZ());
return e.copy = function() {
- return dZ(e, nQ()).exponent(e.exponent());
- }, GY.apply(e, arguments), e;
+ return pZ(e, nQ()).exponent(e.exponent());
+ }, qY.apply(e, arguments), e;
}
-function pfe() {
+function gfe() {
return nQ.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -50855,13 +50856,13 @@ function pfe() {
function rQ(e) {
return Math.sign(e) * e * e;
}
-function mfe(e) {
+function _fe(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
function iQ() {
- var e = pZ(), t = [0, 1], n = !1, r;
+ var e = hZ(), t = [0, 1], n = !1, r;
function i(t) {
- var i = mfe(e(t));
+ var i = _fe(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
@@ -50869,7 +50870,7 @@ function iQ() {
}, i.domain = function(t) {
return arguments.length ? (e.domain(t), i) : e.domain();
}, i.range = function(n) {
- return arguments.length ? (e.range((t = Array.from(n, iZ)).map(rQ)), i) : t.slice();
+ return arguments.length ? (e.range((t = Array.from(n, oZ)).map(rQ)), i) : t.slice();
}, i.rangeRound = function(e) {
return i.range(e).round(!0);
}, i.round = function(e) {
@@ -50880,7 +50881,7 @@ function iQ() {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
return iQ(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
- }, GY.apply(i, arguments), zZ(i);
+ }, qY.apply(i, arguments), VZ(i);
}
//#endregion
//#region node_modules/d3-scale/src/quantile.js
@@ -50888,11 +50889,11 @@ function aQ() {
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] = HY(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = WY(e, r / i);
return a;
}
function a(e) {
- return e == null || isNaN(e = +e) ? r : t[TY(n, e)];
+ return e == null || isNaN(e = +e) ? r : t[DY(n, e)];
}
return a.invertExtent = function(r) {
var i = t.indexOf(r);
@@ -50901,7 +50902,7 @@ function aQ() {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(yY), i();
+ return e.sort(xY), i();
}, a.range = function(e) {
return arguments.length ? (t = Array.from(e), i()) : t.slice();
}, a.unknown = function(e) {
@@ -50910,14 +50911,14 @@ function aQ() {
return n.slice();
}, a.copy = function() {
return aQ().domain(e).range(t).unknown(r);
- }, GY.apply(a, arguments);
+ }, qY.apply(a, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/quantize.js
function oQ() {
var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;
function o(e) {
- return e != null && e <= e ? i[TY(r, e, 0, n)] : a;
+ return e != null && e <= e ? i[DY(r, e, 0, n)] : a;
}
function s() {
var i = -1;
@@ -50937,14 +50938,14 @@ function oQ() {
return r.slice();
}, o.copy = function() {
return oQ().domain([e, t]).range(i).unknown(a);
- }, GY.apply(zZ(o), arguments);
+ }, qY.apply(VZ(o), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/threshold.js
function sQ() {
var e = [.5], t = [0, 1], n, r = 1;
function i(i) {
- return i != null && i <= i ? t[TY(e, i, 0, r)] : n;
+ return i != null && i <= i ? t[DY(e, i, 0, r)] : n;
}
return i.domain = function(n) {
return arguments.length ? (e = Array.from(n), r = Math.min(e.length, t.length - 1), i) : e.slice();
@@ -50957,7 +50958,7 @@ function sQ() {
return arguments.length ? (n = e, i) : n;
}, i.copy = function() {
return sQ().domain(e).range(t).unknown(n);
- }, GY.apply(i, arguments);
+ }, qY.apply(i, arguments);
}
//#endregion
//#region node_modules/d3-time/src/interval.js
@@ -51057,8 +51058,8 @@ function DQ(e) {
e.setDate(e.getDate() + t * 7);
}, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * pQ) / gQ);
}
-var OQ = DQ(0), kQ = DQ(1), hfe = DQ(2), gfe = DQ(3), AQ = DQ(4), _fe = DQ(5), vfe = DQ(6);
-OQ.range, kQ.range, hfe.range, gfe.range, AQ.range, _fe.range, vfe.range;
+var OQ = DQ(0), kQ = DQ(1), vfe = DQ(2), yfe = DQ(3), AQ = DQ(4), bfe = DQ(5), xfe = DQ(6);
+OQ.range, kQ.range, vfe.range, yfe.range, AQ.range, bfe.range, xfe.range;
function jQ(e) {
return uQ((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -51066,8 +51067,8 @@ function jQ(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / gQ);
}
-var MQ = jQ(0), NQ = jQ(1), yfe = jQ(2), bfe = jQ(3), PQ = jQ(4), xfe = jQ(5), Sfe = jQ(6);
-MQ.range, NQ.range, yfe.range, bfe.range, PQ.range, xfe.range, Sfe.range;
+var MQ = jQ(0), NQ = jQ(1), Sfe = jQ(2), Cfe = jQ(3), PQ = jQ(4), wfe = jQ(5), Tfe = jQ(6);
+MQ.range, NQ.range, Sfe.range, Cfe.range, PQ.range, wfe.range, Tfe.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var FQ = uQ((e) => {
@@ -51206,15 +51207,15 @@ function zQ(e, t, n, r, i, a) {
return r ? a.reverse() : a;
}
function c(t, n, r) {
- let i = Math.abs(n - t) / r, a = bY(([, , e]) => e).right(o, i);
- if (a === o.length) return e.every(IY(t / vQ, n / vQ, r));
- if (a === 0) return dQ.every(Math.max(IY(t, n, r), 1));
+ let i = Math.abs(n - t) / r, a = SY(([, , e]) => e).right(o, i);
+ if (a === o.length) return e.every(RY(t / vQ, n / vQ, r));
+ if (a === 0) return dQ.every(Math.max(RY(t, n, r), 1));
let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];
return s.every(c);
}
return [s, c];
}
-var [Cfe, wfe] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [Tfe, Efe] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
+var [Efe, Dfe] = zQ(RQ, IQ, MQ, EQ, CQ, xQ), [Ofe, kfe] = zQ(LQ, FQ, OQ, wQ, SQ, bQ);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function BQ(e) {
@@ -51242,7 +51243,7 @@ function HQ(e, t, n) {
L: 0
};
}
-function Dfe(e) {
+function Afe(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 = KQ(i), u = qQ(i), d = KQ(a), f = qQ(a), p = KQ(o), m = qQ(o), h = KQ(s), g = qQ(s), _ = KQ(c), v = qQ(c), y = {
a: N,
A: P,
@@ -51251,30 +51252,30 @@ function Dfe(e) {
c: null,
d: QQ,
e: QQ,
- f: Xfe,
- g: ope,
- G: cpe,
- H: qfe,
- I: Jfe,
- j: Yfe,
+ f: $fe,
+ g: lpe,
+ G: dpe,
+ H: Xfe,
+ I: Zfe,
+ j: Qfe,
L: $Q,
- m: Zfe,
- M: Qfe,
+ m: epe,
+ M: tpe,
p: ee,
q: te,
Q: a$,
s: o$,
- S: $fe,
- u: epe,
- U: tpe,
- V: npe,
- w: rpe,
- W: ipe,
+ S: npe,
+ u: rpe,
+ U: ipe,
+ V: ape,
+ w: ope,
+ W: spe,
x: null,
X: null,
- y: ape,
- Y: spe,
- Z: lpe,
+ y: cpe,
+ Y: upe,
+ Z: fpe,
"%": i$
}, b = {
a: ne,
@@ -51284,30 +51285,30 @@ function Dfe(e) {
c: null,
d: t$,
e: t$,
- f: ppe,
- g: Cpe,
- G: Tpe,
- H: upe,
- I: dpe,
- j: fpe,
+ f: gpe,
+ g: Epe,
+ G: Ope,
+ H: ppe,
+ I: mpe,
+ j: hpe,
L: n$,
- m: mpe,
- M: hpe,
+ m: _pe,
+ M: vpe,
p: ae,
q: oe,
Q: a$,
s: o$,
- S: gpe,
- u: _pe,
- U: vpe,
- V: ype,
- w: bpe,
- W: xpe,
+ S: ype,
+ u: bpe,
+ U: xpe,
+ V: Spe,
+ w: Cpe,
+ W: wpe,
x: null,
X: null,
- y: Spe,
- Y: wpe,
- Z: Epe,
+ y: Tpe,
+ Y: Dpe,
+ Z: kpe,
"%": i$
}, x = {
a: E,
@@ -51317,31 +51318,31 @@ function Dfe(e) {
c: A,
d: XQ,
e: XQ,
- f: Ufe,
+ f: Kfe,
g: YQ,
G: JQ,
H: ZQ,
I: ZQ,
- j: zfe,
- L: Hfe,
- m: Rfe,
- M: Bfe,
+ j: Hfe,
+ L: Gfe,
+ m: Vfe,
+ M: Ufe,
p: T,
- q: Lfe,
- Q: Gfe,
- s: Kfe,
- S: Vfe,
- u: Mfe,
- U: Nfe,
- V: Pfe,
- w: jfe,
- W: Ffe,
+ q: Bfe,
+ Q: Jfe,
+ s: Yfe,
+ S: Wfe,
+ u: Ffe,
+ U: Ife,
+ V: Lfe,
+ w: Pfe,
+ W: Rfe,
x: j,
X: M,
y: YQ,
Y: JQ,
- Z: Ife,
- "%": Wfe
+ Z: zfe,
+ "%": qfe
};
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) {
@@ -51469,37 +51470,37 @@ var UQ = {
"-": "",
_: " ",
0: "0"
-}, WQ = /^\s*\d+/, Ofe = /^%/, kfe = /[\\^$*+?|[\]().{}]/g;
+}, WQ = /^\s*\d+/, jfe = /^%/, Mfe = /[\\^$*+?|[\]().{}]/g;
function GQ(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 Afe(e) {
- return e.replace(kfe, "\\$&");
+function Nfe(e) {
+ return e.replace(Mfe, "\\$&");
}
function KQ(e) {
- return RegExp("^(?:" + e.map(Afe).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(Nfe).join("|") + ")", "i");
}
function qQ(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function jfe(e, t, n) {
+function Pfe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function Mfe(e, t, n) {
+function Ffe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function Nfe(e, t, n) {
+function Ife(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function Pfe(e, t, n) {
+function Lfe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function Ffe(e, t, n) {
+function Rfe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
@@ -51511,15 +51512,15 @@ function YQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function Ife(e, t, n) {
+function zfe(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 Lfe(e, t, n) {
+function Bfe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function Rfe(e, t, n) {
+function Vfe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
@@ -51527,7 +51528,7 @@ function XQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function zfe(e, t, n) {
+function Hfe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
@@ -51535,159 +51536,159 @@ function ZQ(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function Bfe(e, t, n) {
+function Ufe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function Vfe(e, t, n) {
+function Wfe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function Hfe(e, t, n) {
+function Gfe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function Ufe(e, t, n) {
+function Kfe(e, t, n) {
var r = WQ.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function Wfe(e, t, n) {
- var r = Ofe.exec(t.slice(n, n + 1));
+function qfe(e, t, n) {
+ var r = jfe.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function Gfe(e, t, n) {
+function Jfe(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function Kfe(e, t, n) {
+function Yfe(e, t, n) {
var r = WQ.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
function QQ(e, t) {
return GQ(e.getDate(), t, 2);
}
-function qfe(e, t) {
+function Xfe(e, t) {
return GQ(e.getHours(), t, 2);
}
-function Jfe(e, t) {
+function Zfe(e, t) {
return GQ(e.getHours() % 12 || 12, t, 2);
}
-function Yfe(e, t) {
+function Qfe(e, t) {
return GQ(1 + wQ.count(LQ(e), e), t, 3);
}
function $Q(e, t) {
return GQ(e.getMilliseconds(), t, 3);
}
-function Xfe(e, t) {
+function $fe(e, t) {
return $Q(e, t) + "000";
}
-function Zfe(e, t) {
+function epe(e, t) {
return GQ(e.getMonth() + 1, t, 2);
}
-function Qfe(e, t) {
+function tpe(e, t) {
return GQ(e.getMinutes(), t, 2);
}
-function $fe(e, t) {
+function npe(e, t) {
return GQ(e.getSeconds(), t, 2);
}
-function epe(e) {
+function rpe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function tpe(e, t) {
+function ipe(e, t) {
return GQ(OQ.count(LQ(e) - 1, e), t, 2);
}
function e$(e) {
var t = e.getDay();
return t >= 4 || t === 0 ? AQ(e) : AQ.ceil(e);
}
-function npe(e, t) {
+function ape(e, t) {
return e = e$(e), GQ(AQ.count(LQ(e), e) + (LQ(e).getDay() === 4), t, 2);
}
-function rpe(e) {
+function ope(e) {
return e.getDay();
}
-function ipe(e, t) {
+function spe(e, t) {
return GQ(kQ.count(LQ(e) - 1, e), t, 2);
}
-function ape(e, t) {
+function cpe(e, t) {
return GQ(e.getFullYear() % 100, t, 2);
}
-function ope(e, t) {
+function lpe(e, t) {
return e = e$(e), GQ(e.getFullYear() % 100, t, 2);
}
-function spe(e, t) {
+function upe(e, t) {
return GQ(e.getFullYear() % 1e4, t, 4);
}
-function cpe(e, t) {
+function dpe(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? AQ(e) : AQ.ceil(e), GQ(e.getFullYear() % 1e4, t, 4);
}
-function lpe(e) {
+function fpe(e) {
var t = e.getTimezoneOffset();
return (t > 0 ? "-" : (t *= -1, "+")) + GQ(t / 60 | 0, "0", 2) + GQ(t % 60, "0", 2);
}
function t$(e, t) {
return GQ(e.getUTCDate(), t, 2);
}
-function upe(e, t) {
+function ppe(e, t) {
return GQ(e.getUTCHours(), t, 2);
}
-function dpe(e, t) {
+function mpe(e, t) {
return GQ(e.getUTCHours() % 12 || 12, t, 2);
}
-function fpe(e, t) {
+function hpe(e, t) {
return GQ(1 + TQ.count(RQ(e), e), t, 3);
}
function n$(e, t) {
return GQ(e.getUTCMilliseconds(), t, 3);
}
-function ppe(e, t) {
+function gpe(e, t) {
return n$(e, t) + "000";
}
-function mpe(e, t) {
+function _pe(e, t) {
return GQ(e.getUTCMonth() + 1, t, 2);
}
-function hpe(e, t) {
+function vpe(e, t) {
return GQ(e.getUTCMinutes(), t, 2);
}
-function gpe(e, t) {
+function ype(e, t) {
return GQ(e.getUTCSeconds(), t, 2);
}
-function _pe(e) {
+function bpe(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function vpe(e, t) {
+function xpe(e, t) {
return GQ(MQ.count(RQ(e) - 1, e), t, 2);
}
function r$(e) {
var t = e.getUTCDay();
return t >= 4 || t === 0 ? PQ(e) : PQ.ceil(e);
}
-function ype(e, t) {
+function Spe(e, t) {
return e = r$(e), GQ(PQ.count(RQ(e), e) + (RQ(e).getUTCDay() === 4), t, 2);
}
-function bpe(e) {
+function Cpe(e) {
return e.getUTCDay();
}
-function xpe(e, t) {
+function wpe(e, t) {
return GQ(NQ.count(RQ(e) - 1, e), t, 2);
}
-function Spe(e, t) {
+function Tpe(e, t) {
return GQ(e.getUTCFullYear() % 100, t, 2);
}
-function Cpe(e, t) {
+function Epe(e, t) {
return e = r$(e), GQ(e.getUTCFullYear() % 100, t, 2);
}
-function wpe(e, t) {
+function Dpe(e, t) {
return GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function Tpe(e, t) {
+function Ope(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? PQ(e) : PQ.ceil(e), GQ(e.getUTCFullYear() % 1e4, t, 4);
}
-function Epe() {
+function kpe() {
return "+0000";
}
function i$() {
@@ -51702,7 +51703,7 @@ function o$(e) {
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
var s$, c$, l$;
-Dpe({
+Ape({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -51754,26 +51755,26 @@ Dpe({
"Dec"
]
});
-function Dpe(e) {
- return s$ = Dfe(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
+function Ape(e) {
+ return s$ = Afe(e), c$ = s$.format, s$.parse, l$ = s$.utcFormat, s$.utcParse, s$;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function Ope(e) {
+function jpe(e) {
return new Date(e);
}
-function kpe(e) {
+function Mpe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function u$(e, t, n, r, i, a, o, s, c, l) {
- var u = pZ(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
+ var u = hZ(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
function x(e) {
return (c(e) < e ? p : s(e) < e ? m : o(e) < e ? h : a(e) < e ? g : r(e) < e ? i(e) < e ? _ : v : n(e) < e ? y : b)(e);
}
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, kpe)) : f().map(Ope);
+ return arguments.length ? f(Array.from(e, Mpe)) : f().map(jpe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -51781,23 +51782,23 @@ function u$(e, t, n, r, i, a, o, s, c, l) {
return t == null ? x : l(t);
}, u.nice = function(e) {
var n = f();
- return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(HZ(n, e)) : u;
+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(WZ(n, e)) : u;
}, u.copy = function() {
- return dZ(u, u$(e, t, n, r, i, a, o, s, c, l));
+ return pZ(u, u$(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function Ape() {
- return GY.apply(u$(Tfe, Efe, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function Npe() {
+ return qY.apply(u$(Ofe, kfe, LQ, FQ, OQ, wQ, SQ, bQ, yQ, c$).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function jpe() {
- return GY.apply(u$(Cfe, wfe, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function Ppe() {
+ return qY.apply(u$(Efe, Dfe, RQ, IQ, MQ, TQ, CQ, xQ, yQ, l$).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
function d$() {
- var e = 0, t = 1, n, r, i, a, o = oZ, s = !1, c;
+ var e = 0, t = 1, n, r, i, a, o = cZ, s = !1, c;
function l(e) {
return e == null || isNaN(e = +e) ? c : o(i === 0 ? .5 : (e = (a(e) - n) * i, s ? Math.max(0, Math.min(1, e)) : e));
}
@@ -51814,7 +51815,7 @@ function d$() {
return arguments.length ? ([n, r] = t, o = e(n, r), l) : [o(0), o(1)];
};
}
- return l.range = u(eZ), l.rangeRound = u(tZ), l.unknown = function(e) {
+ return l.range = u(nZ), l.rangeRound = u(rZ), l.unknown = function(e) {
return arguments.length ? (c = e, l) : c;
}, function(o) {
return a = o, n = o(e), r = o(t), i = n === r ? 0 : 1 / (r - n), l;
@@ -51824,58 +51825,58 @@ function f$(e, t) {
return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());
}
function p$() {
- var e = zZ(d$()(oZ));
+ var e = VZ(d$()(cZ));
return e.copy = function() {
return f$(e, p$());
- }, KY.apply(e, arguments);
+ }, JY.apply(e, arguments);
}
function m$() {
var e = JZ(d$()).domain([1, 10]);
return e.copy = function() {
return f$(e, m$()).base(e.base());
- }, KY.apply(e, arguments);
+ }, JY.apply(e, arguments);
}
function h$() {
var e = QZ(d$());
return e.copy = function() {
return f$(e, h$()).constant(e.constant());
- }, KY.apply(e, arguments);
+ }, JY.apply(e, arguments);
}
function g$() {
var e = tQ(d$());
return e.copy = function() {
return f$(e, g$()).exponent(e.exponent());
- }, KY.apply(e, arguments);
+ }, JY.apply(e, arguments);
}
-function Mpe() {
+function Fpe() {
return g$.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/sequentialQuantile.js
function _$() {
- var e = [], t = oZ;
+ var e = [], t = cZ;
function n(n) {
- if (n != null && !isNaN(n = +n)) return t((TY(e, n, 1) - 1) / (e.length - 1));
+ if (n != null && !isNaN(n = +n)) return t((DY(e, n, 1) - 1) / (e.length - 1));
}
return n.domain = function(t) {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(yY), n;
+ return e.sort(xY), n;
}, n.interpolator = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.range = function() {
return e.map((n, r) => t(r / (e.length - 1)));
}, n.quantiles = function(t) {
- return Array.from({ length: t + 1 }, (n, r) => VY(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => UY(e, r / t));
}, n.copy = function() {
return _$(t).domain(e);
- }, KY.apply(n, arguments);
+ }, JY.apply(n, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/diverging.js
function v$() {
- var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = oZ, u, d = !1, f;
+ var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = cZ, u, d = !1, f;
function p(e) {
return isNaN(e = +e) ? f : (e = .5 + ((e = +u(e)) - a) * (r * e < r * a ? s : c), l(d ? Math.max(0, Math.min(1, e)) : e));
}
@@ -51893,7 +51894,7 @@ function v$() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = nZ(e, [
+ return arguments.length ? ([n, r, i] = t, l = iZ(e, [
n,
r,
i
@@ -51904,17 +51905,17 @@ function v$() {
];
};
}
- return p.range = m(eZ), p.rangeRound = m(tZ), p.unknown = function(e) {
+ return p.range = m(nZ), p.rangeRound = m(rZ), p.unknown = function(e) {
return arguments.length ? (f = e, p) : f;
}, function(l) {
return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;
};
}
function y$() {
- var e = zZ(v$()(oZ));
+ var e = VZ(v$()(cZ));
return e.copy = function() {
return f$(e, y$());
- }, KY.apply(e, arguments);
+ }, JY.apply(e, arguments);
}
function b$() {
var e = JZ(v$()).domain([
@@ -51924,38 +51925,38 @@ function b$() {
]);
return e.copy = function() {
return f$(e, b$()).base(e.base());
- }, KY.apply(e, arguments);
+ }, JY.apply(e, arguments);
}
function x$() {
var e = QZ(v$());
return e.copy = function() {
return f$(e, x$()).constant(e.constant());
- }, KY.apply(e, arguments);
+ }, JY.apply(e, arguments);
}
function S$() {
var e = tQ(v$());
return e.copy = function() {
return f$(e, S$()).exponent(e.exponent());
- }, KY.apply(e, arguments);
+ }, JY.apply(e, arguments);
}
-function Npe() {
+function Ipe() {
return S$.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/victory-vendor/es/d3-scale.js
var C$ = /* @__PURE__ */ T({
- scaleBand: () => YY,
+ scaleBand: () => ZY,
scaleDiverging: () => y$,
scaleDivergingLog: () => b$,
scaleDivergingPow: () => S$,
- scaleDivergingSqrt: () => Npe,
+ scaleDivergingSqrt: () => Ipe,
scaleDivergingSymlog: () => x$,
- scaleIdentity: () => VZ,
- scaleImplicit: () => qY,
- scaleLinear: () => BZ,
+ scaleIdentity: () => UZ,
+ scaleImplicit: () => YY,
+ scaleLinear: () => HZ,
scaleLog: () => YZ,
- scaleOrdinal: () => JY,
- scalePoint: () => ZY,
+ scaleOrdinal: () => XY,
+ scalePoint: () => $Y,
scalePow: () => nQ,
scaleQuantile: () => aQ,
scaleQuantize: () => oQ,
@@ -51964,26 +51965,26 @@ var C$ = /* @__PURE__ */ T({
scaleSequentialLog: () => m$,
scaleSequentialPow: () => g$,
scaleSequentialQuantile: () => _$,
- scaleSequentialSqrt: () => Mpe,
+ scaleSequentialSqrt: () => Fpe,
scaleSequentialSymlog: () => h$,
- scaleSqrt: () => pfe,
+ scaleSqrt: () => gfe,
scaleSymlog: () => $Z,
scaleThreshold: () => sQ,
- scaleTime: () => Ape,
- scaleUtc: () => jpe,
- tickFormat: () => RZ
+ scaleTime: () => Npe,
+ scaleUtc: () => Ppe,
+ tickFormat: () => BZ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function Ppe(e) {
+function Lpe(e) {
if (e in C$) return C$[e]();
- var t = `scale${qR(e)}`;
+ var t = `scale${JR(e)}`;
if (t in C$) return C$[t]();
}
function w$(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = Ppe(e);
+ var r = Lpe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
@@ -51992,22 +51993,22 @@ function T$(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function Fpe(e) {
- return `scale${qR(e)}`;
+function Rpe(e) {
+ return `scale${JR(e)}`;
}
-function Ipe(e) {
- return Fpe(e) in C$;
+function zpe(e) {
+ return Rpe(e) in C$;
}
var E$ = (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 Ipe(r) ? r : "point";
+ if (typeof r == "string") return zpe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function Lpe(e, t) {
+function Bpe(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;
@@ -52018,7 +52019,7 @@ function D$(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 = Lpe(r, e);
+ var t = Bpe(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;
@@ -52028,7 +52029,7 @@ function D$(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function Rpe(e) {
+function Vpe(e) {
if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : D$(e, void 0);
}
//#endregion
@@ -52047,26 +52048,26 @@ function k$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? O$(Object(n), !0).forEach(function(t) {
- zpe(e, t, n[t]);
+ Hpe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zpe(e, t, n) {
- return (t = Bpe(t)) in e ? Object.defineProperty(e, t, {
+function Hpe(e, t, n) {
+ return (t = Upe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Bpe(e) {
- var t = Vpe(e, "string");
+function Upe(e) {
+ var t = Wpe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Vpe(e, t) {
+function Wpe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52134,7 +52135,7 @@ var A$ = [0, "auto"], j$ = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, Hpe = {
+}, F$ = (e, t) => e.cartesianAxis.yAxis[t], I$ = (e, t) => F$(e, t) ?? P$, Gpe = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -52147,16 +52148,16 @@ var A$ = [0, "auto"], j$ = {
scale: "auto",
type: "number",
unit: ""
-}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? Hpe, R$ = (e, t, n) => {
+}, L$ = (e, t) => e.cartesianAxis.zAxis[t] ?? Gpe, R$ = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
case "zAxis": return L$(e, n);
- case "angleAxis": return XJ(e, n);
- case "radiusAxis": return ZJ(e, n);
+ case "angleAxis": return QJ(e, n);
+ case "radiusAxis": return $J(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, Upe = (e, t, n) => {
+}, Kpe = (e, t, n) => {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
@@ -52166,8 +52167,8 @@ var A$ = [0, "auto"], j$ = {
switch (t) {
case "xAxis": return N$(e, n);
case "yAxis": return I$(e, n);
- case "angleAxis": return XJ(e, n);
- case "radiusAxis": return ZJ(e, n);
+ case "angleAxis": return QJ(e, n);
+ case "radiusAxis": return $J(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, B$ = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
@@ -52183,40 +52184,40 @@ function V$(e, t) {
}
};
}
-var H$ = (e) => e.graphicalItems.cartesianItems, Wpe = $([sY, cY], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
+var H$ = (e) => e.graphicalItems.cartesianItems, qpe = $([lY, uY], V$), U$ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), W$ = $([
H$,
R$,
- Wpe
-], U$, { memoizeOptions: { resultEqualityCheck: pY } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(dY)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Gpe = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Kpe = $([W$], q$, { memoizeOptions: { resultEqualityCheck: pY } }), J$ = (e, t) => {
+ qpe
+], U$, { memoizeOptions: { resultEqualityCheck: hY } }), G$ = $([W$], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(pY)), K$ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Jpe = $([W$], K$), q$ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Ype = $([W$], q$, { memoizeOptions: { resultEqualityCheck: hY } }), J$ = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, Y$ = $([Kpe, dJ], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: nH(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: nH(e, t.dataKey) })), Z$ = $([
+}, Y$ = $([Ype, pJ], J$), X$ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: iH(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: iH(e, t.dataKey) })), Z$ = $([
Y$,
R$,
W$
], X$);
function Q$(e) {
- if (BR(e) || e instanceof Date) {
+ if (VR(e) || e instanceof Date) {
var t = Number(e);
- if (YV(t)) return t;
+ if (ZV(t)) return t;
}
}
function $$(e) {
if (Array.isArray(e)) {
var t = [Q$(e[0]), Q$(e[1])];
- return pJ(t) ? t : void 0;
+ return hJ(t) ? t : void 0;
}
var n = Q$(e);
if (n != null) return [n, n];
}
function e1(e) {
- return e.map(Q$).filter(JR);
+ return e.map(Q$).filter(YR);
}
-function qpe(e, t) {
+function Xpe(e, t) {
var n = Q$(e), r = Q$(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var Jpe = $([Z$], (e) => e?.map((e) => e.value).sort(qpe));
+var Zpe = $([Z$], (e) => e?.map((e) => e.value).sort(Xpe));
function t1(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
@@ -52224,17 +52225,17 @@ function t1(e, t) {
default: return !1;
}
}
-function Ype(e, t, n) {
- return !n || typeof t != "number" || RR(t) || !n.length ? [] : e1(n.flatMap((n) => {
- var r = nH(e, n.dataKey), i, a;
- if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!YV(i) || !YV(a))) return [t - i, t + a];
+function Qpe(e, t, n) {
+ return !n || typeof t != "number" || zR(t) || !n.length ? [] : e1(n.flatMap((n) => {
+ var r = iH(e, n.dataKey), i, a;
+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!ZV(i) || !ZV(a))) return [t - i, t + a];
}));
}
-var n1 = (e) => z$(e, hY(e), gY(e)), r1 = $([n1], (e) => e?.dataKey), Xpe = $([
+var n1 = (e) => z$(e, _Y(e), vY(e)), r1 = $([n1], (e) => e?.dataKey), $pe = $([
G$,
- dJ,
+ pJ,
n1
-], uY), i1 = (e, t, n, r) => {
+], fY), i1 = (e, t, n, r) => {
var i = t.reduce((e, t) => {
if (t.stackId == null) return e;
var n = e[t.stackId];
@@ -52243,22 +52244,22 @@ var n1 = (e) => z$(e, hY(e), gY(e)), r1 = $([n1], (e) => e?.dataKey), Xpe = $([
return Object.fromEntries(Object.entries(i).map((t) => {
var [i, a] = t, o = r ? [...a].reverse() : a;
return [i, {
- stackedData: lH(e, o.map(lY), n),
+ stackedData: dH(e, o.map(dY), n),
graphicalItems: o
}];
}));
}, a1 = $([
- Xpe,
+ $pe,
G$,
- jJ,
- MJ
+ NJ,
+ PJ
], i1), o1 = (e, t, n, r) => {
var { dataStartIndex: i, dataEndIndex: a } = t;
if (r == null && n !== "zAxis") {
- var o = gH(e, i, a);
+ var o = vH(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, Zpe = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
+}, eme = $([R$], (e) => e.allowDataOverflow), s1 = (e) => {
if (e == null || !("domain" in e)) return A$;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
@@ -52269,12 +52270,12 @@ var n1 = (e) => z$(e, hY(e), gY(e)), r1 = $([n1], (e) => e?.dataKey), Xpe = $([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? A$;
-}, c1 = $([R$], s1), l1 = $([c1, Zpe], hJ), Qpe = $([
+}, c1 = $([R$], s1), l1 = $([c1, eme], _J), tme = $([
a1,
- lJ,
- sY,
+ dJ,
+ lY,
l1
-], o1, { memoizeOptions: { resultEqualityCheck: fY } }), u1 = (e) => e.errorBars, $pe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
+], o1, { memoizeOptions: { resultEqualityCheck: mY } }), u1 = (e) => e.errorBars, nme = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => t1(n, e)), d1 = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
@@ -52284,7 +52285,7 @@ var n1 = (e) => z$(e, hY(e), gY(e)), r1 = $([n1], (e) => e?.dataKey), Xpe = $([
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => t1(i, e)), c = nH(e, t.dataKey ?? n.dataKey), l = Ype(e, c, s);
+ var s = r[n.id]?.filter((e) => t1(i, e)), c = iH(e, t.dataKey ?? n.dataKey), l = Qpe(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);
@@ -52293,98 +52294,98 @@ var n1 = (e) => z$(e, hY(e), gY(e)), r1 = $([n1], (e) => e?.dataKey), Xpe = $([
f != null && (a = a == null ? f[0] : Math.min(a, f[0]), o = o == null ? f[1] : Math.max(o, f[1]));
});
}), t?.dataKey != null && e.forEach((e) => {
- var n = $$(nH(e, t.dataKey));
+ var n = $$(iH(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]));
- }), YV(a) && YV(o)) return [a, o];
-}, eme = $([
+ }), ZV(a) && ZV(o)) return [a, o];
+}, rme = $([
Y$,
R$,
- Gpe,
+ Jpe,
u1,
- sY
-], f1, { memoizeOptions: { resultEqualityCheck: fY } });
-function tme(e) {
+ lY
+], f1, { memoizeOptions: { resultEqualityCheck: mY } });
+function ime(e) {
var { value: t } = e;
- if (BR(t) || t instanceof Date) return t;
+ if (VR(t) || t instanceof Date) return t;
}
-var nme = (e, t, n) => {
- var r = e.map(tme).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && UR(r)) ? cJ(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, p1 = (e) => e.referenceElements.dots, m1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), rme = $([
+var ame = (e, t, n) => {
+ var r = e.map(ime).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && WR(r)) ? uJ(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, p1 = (e) => e.referenceElements.dots, m1 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), ome = $([
p1,
- sY,
- cY
-], m1), h1 = (e) => e.referenceElements.areas, ime = $([
+ lY,
+ uY
+], m1), h1 = (e) => e.referenceElements.areas, sme = $([
h1,
- sY,
- cY
-], m1), g1 = (e) => e.referenceElements.lines, ame = $([
+ lY,
+ uY
+], m1), g1 = (e) => e.referenceElements.lines, cme = $([
g1,
- sY,
- cY
+ lY,
+ uY
], m1), _1 = (e, t) => {
if (e != null) {
var n = e1(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, ome = $(rme, sY, _1), v1 = (e, t) => {
+}, lme = $(ome, lY, _1), v1 = (e, t) => {
if (e != null) {
var n = e1(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)];
}
-}, sme = $([ime, sY], v1);
-function cme(e) {
+}, ume = $([sme, lY], v1);
+function dme(e) {
if (e.x != null) return e1([e.x]);
var t = e.segment?.map((e) => e.x);
return t == null || t.length === 0 ? [] : e1(t);
}
-function lme(e) {
+function fme(e) {
if (e.y != null) return e1([e.y]);
var t = e.segment?.map((e) => e.y);
return t == null || t.length === 0 ? [] : e1(t);
}
var y1 = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? cme(e) : lme(e));
+ var n = e.flatMap((e) => t === "xAxis" ? dme(e) : fme(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, ume = $(ome, $([ame, sY], y1), sme, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? gJ(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), dme = $([
+}, pme = $(lme, $([cme, lY], y1), ume, (e, t, n) => d1(e, n, t)), b1 = (e, t, n, r, i, a, o, s) => n ?? vJ(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? d1(r, a, i) : d1(a, i), e.allowDataOverflow), mme = $([
R$,
c1,
l1,
- Qpe,
- eme,
- ume,
- TU,
- sY
-], b1, { memoizeOptions: { resultEqualityCheck: fY } }), fme = [0, 1], x1 = (e, t, n, r, i, a, o) => {
+ tme,
+ rme,
+ pme,
+ DU,
+ lY
+], b1, { memoizeOptions: { resultEqualityCheck: mY } }), hme = [0, 1], x1 = (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 = iH(t, a);
- return l && s == null ? cJ(0, n?.length ?? 0) : c === "category" ? nme(r, e, l) : i === "expand" ? fme : o;
+ var { dataKey: s, type: c } = e, l = oH(t, a);
+ return l && s == null ? uJ(0, n?.length ?? 0) : c === "category" ? ame(r, e, l) : i === "expand" ? hme : o;
}
}, S1 = $([
R$,
- TU,
+ DU,
Y$,
Z$,
- jJ,
- sY,
- dme
+ NJ,
+ lY,
+ mme
], x1), C1 = $([
R$,
B$,
- NJ
+ FJ
], E$), w1 = (e, t, n) => {
var { niceTicks: r } = t;
if (r !== "none") {
var i = s1(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && pJ(e)) {
- if (a) return TJ(e, t.tickCount, t.allowDecimals, r);
- if (t.type === "number") return EJ(e, t.tickCount, t.allowDecimals, r);
+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && hJ(e)) {
+ if (a) return DJ(e, t.tickCount, t.allowDecimals, r);
+ if (t.type === "number") return OJ(e, t.tickCount, t.allowDecimals, r);
}
if (r === "auto" && n === "linear" && t != null && t.tickCount) {
- if (a && pJ(e)) return TJ(e, t.tickCount, t.allowDecimals, "adaptive");
- if (t.type === "number" && pJ(e)) return EJ(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (a && hJ(e)) return DJ(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (t.type === "number" && hJ(e)) return OJ(e, t.tickCount, t.allowDecimals, "adaptive");
}
}
}, T1 = $([
@@ -52392,16 +52393,16 @@ var y1 = (e, t) => {
z$,
C1
], w1), E1 = (e, t, n, r) => {
- if (r !== "angleAxis" && e?.type === "number" && pJ(t) && Array.isArray(n) && n.length > 0) {
+ if (r !== "angleAxis" && e?.type === "number" && hJ(t) && Array.isArray(n) && n.length > 0) {
var i = t[0], a = n[0] ?? 0, o = t[1], s = n[n.length - 1] ?? 0;
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, pme = $([
+}, gme = $([
R$,
S1,
T1,
- sY
+ lY
], E1), D1 = $($(Z$, R$, (e, t) => {
if (!(!t || t.type !== "number")) {
var n = Infinity, r = Array.from(e1(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
@@ -52417,22 +52418,22 @@ var y1 = (e, t) => {
}
return n / o;
}
-}), TU, kJ, VH, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!YV(e)) return 0;
+}), DU, jJ, UH, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!ZV(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = HR(n, e * a), s = e * a / 2;
+ var o = UR(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), mme = (e, t, n) => {
+}), _me = (e, t, n) => {
var r = N$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "xAxis", t, n, r.padding);
-}, hme = (e, t, n) => {
+}, vme = (e, t, n) => {
var r = I$(e, t);
return r == null || typeof r.padding != "string" ? 0 : D1(e, "yAxis", t, n, r.padding);
-}, gme = $(N$, mme, (e, t) => {
+}, yme = $(N$, _me, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -52445,7 +52446,7 @@ var y1 = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), _me = $(I$, hme, (e, t) => {
+}), bme = $(I$, vme, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -52458,98 +52459,98 @@ var y1 = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), vme = $([
- VH,
- gme,
- qH,
- KH,
+}), xme = $([
+ UH,
+ yme,
+ YH,
+ JH,
(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];
-}), yme = $([
- VH,
- TU,
- _me,
- qH,
- KH,
+}), Sme = $([
+ UH,
+ DU,
+ bme,
+ YH,
+ JH,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var { padding: o } = i;
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
}), O1 = (e, t, n, r) => {
switch (t) {
- case "xAxis": return vme(e, n, r);
- case "yAxis": return yme(e, n, r);
+ case "xAxis": return xme(e, n, r);
+ case "yAxis": return Sme(e, n, r);
case "zAxis": return L$(e, n)?.range;
- case "angleAxis": return nY(e);
- case "radiusAxis": return iY(e, n);
+ case "angleAxis": return iY(e);
+ case "radiusAxis": return oY(e, n);
default: return;
}
-}, k1 = $([R$, O1], VJ), A1 = $([
+}, k1 = $([R$, O1], UJ), A1 = $([
R$,
C1,
- $([C1, pme], vY),
+ $([C1, gme], bY),
k1
], T$), j1 = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var { type: i, scale: a } = n;
- if (iH(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ if (oH(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
}, M1 = $([
- TU,
+ DU,
Z$,
z$,
- sY
-], j1), N1 = $([A1], _Y);
-$([A1], Rpe), $([A1, Jpe], D$), $([
+ lY
+], j1), N1 = $([A1], yY);
+$([A1], Vpe), $([A1, Zpe], D$), $([
W$,
u1,
- sY
-], $pe);
+ lY
+], nme);
function P1(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var F1 = (e, t) => t, I1 = (e, t, n) => n, bme = $(OH, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), xme = $(kH, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), L1 = (e, t) => ({
+var F1 = (e, t) => t, I1 = (e, t, n) => n, Cme = $(AH, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), wme = $(jH, F1, I1, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(P1)), L1 = (e, t) => ({
width: e.width,
height: t.height
-}), Sme = (e, t) => ({
+}), Tme = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), R1 = $(VH, N$, L1), Cme = (e, t, n) => {
+}), R1 = $(UH, N$, L1), Eme = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, wme = (e, t, n) => {
+}, Dme = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, Tme = $(TH, VH, bme, F1, I1, (e, t, n, r, i) => {
+}, Ome = $(DH, UH, Cme, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = L1(t, n);
- o ??= Cme(t, r, e);
+ o ??= Eme(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;
-}), Eme = $(wH, VH, xme, F1, I1, (e, t, n, r, i) => {
+}), kme = $(EH, UH, wme, F1, I1, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = Sme(t, n);
- o ??= wme(t, r, e);
+ var s = Tme(t, n);
+ o ??= Dme(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;
-}), Dme = $([
- VH,
+}), Ame = $([
+ UH,
N$,
(e, t) => {
var n = N$(e, t);
- if (n != null) return Tme(e, n.orientation, n.mirror);
+ if (n != null) return Ome(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -52563,12 +52564,12 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, bme = $(OH, F1, I1, (e, t, n) => e.fi
y: i
};
}
-}), Ome = $([
- VH,
+}), jme = $([
+ UH,
I$,
(e, t) => {
var n = I$(e, t);
- if (n != null) return Eme(e, n.orientation, n.mirror);
+ if (n != null) return kme(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -52582,7 +52583,7 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, bme = $(OH, F1, I1, (e, t, n) => e.fi
y: e.top
};
}
-}), z1 = $(VH, I$, (e, t) => ({
+}), z1 = $(UH, I$, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
})), B1 = (e, t, n) => {
@@ -52593,27 +52594,27 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, bme = $(OH, F1, I1, (e, t, n) => e.fi
}
}, V1 = (e, t, n, r) => {
if (n != null) {
- var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = iH(e, r), c = t.map((e) => e.value);
- if (o && s && a === "category" && i && UR(c)) return c;
+ var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = oH(e, r), c = t.map((e) => e.value);
+ if (o && s && a === "category" && i && WR(c)) return c;
}
}, H1 = $([
- TU,
+ DU,
Z$,
R$,
- sY
+ lY
], V1), U1 = $([
- TU,
- Upe,
+ DU,
+ Kpe,
C1,
N1,
H1,
M1,
O1,
T1,
- sY
+ lY
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = iH(e, c);
+ var l = oH(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -52637,45 +52638,45 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, bme = $(OH, F1, I1, (e, t, n) => e.fi
}
}), W1 = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = iH(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
- m = c === "angleAxis" && a != null && a.length >= 2 ? LR(a[0] - a[1]) * 2 * m : m;
+ var l = oH(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? RR(a[0] - a[1]) * 2 * m : m;
var h = d || i;
return h ? h.map((e, t) => {
var n = o ? o.indexOf(e) : e, i = r.map(n);
- return YV(i) ? {
+ return ZV(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(JR) : l && s ? s.map((e, t) => {
+ }).filter(YR) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return YV(n) ? {
+ return ZV(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(JR) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(YR) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return YV(n) ? {
+ return ZV(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(JR) : r.domain().map((e, t) => {
+ }).filter(YR) : r.domain().map((e, t) => {
var n = r.map(e);
- return YV(n) ? {
+ return ZV(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(JR);
+ }).filter(YR);
}
}, G1 = $([
- TU,
+ DU,
z$,
C1,
N1,
@@ -52683,44 +52684,44 @@ var F1 = (e, t) => t, I1 = (e, t, n) => n, bme = $(OH, F1, I1, (e, t, n) => e.fi
O1,
H1,
M1,
- sY
+ lY
], W1), K1 = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = iH(e, o), { tickCount: c } = t, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? LR(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = oH(e, o), { tickCount: c } = t, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? RR(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return YV(r) ? {
+ return ZV(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(JR) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(YR) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return YV(r) ? {
+ return ZV(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(JR) : n.domain().map((e, t) => {
+ }).filter(YR) : n.domain().map((e, t) => {
var r = n.map(e);
- return YV(r) ? {
+ return ZV(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(JR);
+ }).filter(YR);
}
}, q1 = $([
- TU,
+ DU,
z$,
N1,
O1,
H1,
M1,
- sY
+ lY
], K1), J1 = $(R$, N1, (e, t) => {
if (e != null && t != null) return k$(k$({}, e), {}, { scale: t });
});
@@ -52729,13 +52730,13 @@ $((e, t, n) => L$(e, n), $([$([
C1,
S1,
k1
-], T$)], _Y), (e, t) => {
+], T$)], yY), (e, t) => {
if (e != null && t != null) return k$(k$({}, e), {}, { scale: t });
});
-var kme = $([
- TU,
- OH,
- kH
+var Mme = $([
+ DU,
+ AH,
+ jH
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -52766,21 +52767,21 @@ function Z1(e, t, n) {
function Q1(e, t) {
return Z1(t, Y1(e), X1(e));
}
-function Ame(e) {
+function Nme(e) {
return Q((t) => Q1(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
var $1 = (e, t) => {
var n, r = Number(t);
- if (!(RR(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, jme = (e) => e.tooltip.settings, e0 = {
+ if (!(zR(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, Pme = (e) => e.tooltip.settings, e0 = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, t0 = _V({
+}, t0 = vV({
name: "tooltip",
initialState: {
itemInteraction: {
@@ -52813,23 +52814,23 @@ var $1 = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(DW(t.payload));
+ e.tooltipItemPayloads.push(kW(t.payload));
},
- prepare: pV()
+ prepare: mV()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = iV(e).tooltipItemPayloads.indexOf(DW(n));
- i > -1 && (e.tooltipItemPayloads[i] = DW(r));
+ var { prev: n, next: r } = t.payload, i = aV(e).tooltipItemPayloads.indexOf(kW(n));
+ i > -1 && (e.tooltipItemPayloads[i] = kW(r));
},
- prepare: pV()
+ prepare: mV()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = iV(e).tooltipItemPayloads.indexOf(DW(t.payload));
+ var n = aV(e).tooltipItemPayloads.indexOf(kW(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: pV()
+ prepare: mV()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -52859,7 +52860,7 @@ var $1 = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: Mme, replaceTooltipEntrySettings: Nme, removeTooltipEntrySettings: Pme, setTooltipSettingsState: Fme, setActiveMouseOverItemIndex: n0, mouseLeaveItem: Ime, mouseLeaveChart: r0, setActiveClickItemIndex: Lme, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: Rme, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, zme = t0.reducer;
+}), { addTooltipEntrySettings: Fme, replaceTooltipEntrySettings: Ime, removeTooltipEntrySettings: Lme, setTooltipSettingsState: Rme, setActiveMouseOverItemIndex: n0, mouseLeaveItem: zme, mouseLeaveChart: r0, setActiveClickItemIndex: Bme, setMouseOverAxisIndex: i0, setMouseClickAxisIndex: Vme, setSyncInteraction: a0, setKeyboardInteraction: o0 } = t0.actions, Hme = t0.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
function s0(e, t) {
@@ -52876,26 +52877,26 @@ function c0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? s0(Object(n), !0).forEach(function(t) {
- Bme(e, t, n[t]);
+ Ume(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Bme(e, t, n) {
- return (t = Vme(t)) in e ? Object.defineProperty(e, t, {
+function Ume(e, t, n) {
+ return (t = Wme(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Vme(e) {
- var t = Hme(e, "string");
+function Wme(e) {
+ var t = Gme(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Hme(e, t) {
+function Gme(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52905,21 +52906,21 @@ function Hme(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Ume(e, t, n) {
+function Kme(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function Wme(e) {
+function qme(e) {
return e.index != null;
}
var l0 = (e, t, n, r) => {
if (t == null) return e0;
- var i = Ume(e, t, n);
+ var i = Kme(e, t, n);
if (i == null) return e0;
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 (Wme(i)) {
+ if (qme(i)) {
if (a) return c0(c0({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
@@ -52932,7 +52933,7 @@ var l0 = (e, t, n, r) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function Gme(e) {
+function Jme(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -52941,24 +52942,24 @@ function Gme(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function Kme(e, t) {
- var n = Gme(e), r = t[0], i = t[1];
+function Yme(e, t) {
+ var n = Jme(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function qme(e, t, n) {
+function Xme(e, t, n) {
if (n == null || t == null) return !0;
- var r = nH(e, t);
- return r == null || !pJ(n) || Kme(r, n);
+ var r = iH(e, t);
+ return r == null || !hJ(n) || Yme(r, n);
}
var u0 = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!YV(a)) return i;
+ if (!ZV(a)) return i;
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
- return l == null || qme(l, n, r) ? String(c) : null;
+ return l == null || Xme(l, n, r) ? String(c) : null;
}, d0 = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
@@ -53002,26 +53003,26 @@ function g0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? h0(Object(n), !0).forEach(function(t) {
- Jme(e, t, n[t]);
+ Zme(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Jme(e, t, n) {
- return (t = Yme(t)) in e ? Object.defineProperty(e, t, {
+function Zme(e, t, n) {
+ return (t = Qme(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Yme(e) {
- var t = Xme(e, "string");
+function Qme(e) {
+ var t = $me(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Xme(e, t) {
+function $me(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53031,126 +53032,126 @@ function Xme(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Zme(e) {
+function ehe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function Qme(e) {
+function the(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function $me(e) {
+function nhe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
function _0(e) {
if (typeof e == "string") return e;
}
-function ehe(e) {
+function rhe(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? Zme(e.name) : void 0,
- unit: "unit" in e ? Qme(e.unit) : void 0,
- dataKey: "dataKey" in e ? $me(e.dataKey) : void 0,
+ name: "name" in e ? ehe(e.name) : void 0,
+ unit: "unit" in e ? the(e.unit) : void 0,
+ dataKey: "dataKey" in e ? nhe(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
color: "color" in e ? _0(e.color) : void 0,
fill: "fill" in e ? _0(e.fill) : void 0
};
}
-function the(e, t) {
+function ihe(e, t) {
return e ?? t;
}
var v0 = (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 = the(d, s), m = Array.isArray(p) ? JV(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? GR(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = ihe(d, s), m = Array.isArray(p) ? XV(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? KR(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = ehe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = g0(g0({}, f), {}, {
+ var n = rhe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = g0(g0({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(bH({
+ e.push(SH({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: nH(a, i),
+ value: iH(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(bH({
+ }) : e.push(SH({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: nH(_, h),
- name: nH(_, g) ?? f?.name
+ value: iH(_, h),
+ name: iH(_, g) ?? f?.name
})), e;
}, []);
}
}, y0 = $([
n1,
B$,
- NJ
+ FJ
], E$), b0 = $([
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
n1,
- $([hY, gY], V$)
-], U$, { memoizeOptions: { resultEqualityCheck: pY } }), nhe = $([b0], (e) => e.filter(dY)), x0 = $([$([b0], q$, { memoizeOptions: { resultEqualityCheck: pY } }), lJ], J$), rhe = $([
- nhe,
- lJ,
+ $([_Y, vY], V$)
+], U$, { memoizeOptions: { resultEqualityCheck: hY } }), ahe = $([b0], (e) => e.filter(pY)), x0 = $([$([b0], q$, { memoizeOptions: { resultEqualityCheck: hY } }), dJ], J$), ohe = $([
+ ahe,
+ dJ,
n1
-], uY), S0 = $([
+], fY), S0 = $([
x0,
n1,
b0
-], X$), C0 = $([n1], s1), w0 = $([C0, $([n1], (e) => e.allowDataOverflow)], hJ), ihe = $([
+], X$), C0 = $([n1], s1), w0 = $([C0, $([n1], (e) => e.allowDataOverflow)], _J), she = $([
$([
- rhe,
- $([b0], (e) => e.filter(dY)),
- jJ,
- MJ
+ ohe,
+ $([b0], (e) => e.filter(pY)),
+ NJ,
+ PJ
], i1),
- lJ,
- hY,
+ dJ,
+ _Y,
w0
-], o1), ahe = $([
+], o1), che = $([
x0,
n1,
$([b0], K$),
u1,
- hY
-], f1, { memoizeOptions: { resultEqualityCheck: fY } }), ohe = $([$([
+ _Y
+], f1, { memoizeOptions: { resultEqualityCheck: mY } }), lhe = $([$([
p1,
- hY,
- gY
-], m1), hY], _1), she = $([$([
+ _Y,
+ vY
+], m1), _Y], _1), uhe = $([$([
h1,
- hY,
- gY
-], m1), hY], v1), T0 = $([
+ _Y,
+ vY
+], m1), _Y], v1), T0 = $([
n1,
- TU,
+ DU,
x0,
S0,
- jJ,
- hY,
+ NJ,
+ _Y,
$([
n1,
C0,
w0,
- ihe,
- ahe,
+ she,
+ che,
$([
- ohe,
+ lhe,
$([$([
g1,
- hY,
- gY
- ], m1), hY], y1),
- she
+ _Y,
+ vY
+ ], m1), _Y], y1),
+ uhe
], d1),
- TU,
- hY
+ DU,
+ _Y
], b1)
-], x1), che = $([
+], x1), dhe = $([
n1,
T0,
$([
@@ -53158,59 +53159,59 @@ var v0 = (e, t, n, r, i, a, o) => {
n1,
y0
], w1),
- hY
-], E1), E0 = (e) => O1(e, hY(e), gY(e), !1), D0 = $([n1, E0], VJ), O0 = $([$([
+ _Y
+], E1), E0 = (e) => O1(e, _Y(e), vY(e), !1), D0 = $([n1, E0], UJ), O0 = $([$([
n1,
y0,
- che,
+ dhe,
D0
-], T$)], _Y), k0 = $([
- TU,
+], T$)], yY), k0 = $([
+ DU,
n1,
y0,
O0,
E0,
$([
- TU,
+ DU,
S0,
n1,
- hY
+ _Y
], V1),
$([
- TU,
+ DU,
S0,
n1,
- hY
+ _Y
], j1),
- hY
+ _Y
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var { type: c } = t, l = iH(e, s);
+ var { type: c } = t, l = oH(e, s);
if (r) {
var u = n === "scaleBand" && r.bandwidth ? r.bandwidth() / 2 : 2, d = c === "category" && r.bandwidth ? r.bandwidth() / u : 0;
- return d = s === "angleAxis" && i != null && i?.length >= 2 ? LR(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? RR(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return YV(n) ? {
+ return ZV(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(JR) : r.domain().map((e, t) => {
+ }).filter(YR) : r.domain().map((e, t) => {
var n = r.map(e);
- return YV(n) ? {
+ return ZV(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(JR);
+ }).filter(YR);
}
}
}), A0 = $([
Y1,
X1,
- jme
+ Pme
], (e, t, n) => Z1(n.shared, e, t)), j0 = (e) => e.tooltip.settings.trigger, M0 = (e) => e.tooltip.settings.defaultIndex, N0 = $([
m0,
A0,
@@ -53223,25 +53224,25 @@ var v0 = (e, t, n, r, i, a, o) => {
T0
], u0), F0 = $([k0, P0], $1), I0 = $([N0], (e) => {
if (e) return e.dataKey;
-}), lhe = $([N0], (e) => {
+}), fhe = $([N0], (e) => {
if (e) return e.graphicalItemId;
}), L0 = $([
m0,
A0,
j0,
M0
-], f0), uhe = $([N0, $([
- wH,
- TH,
- TU,
- VH,
+], f0), phe = $([N0, $([
+ EH,
+ DH,
+ DU,
+ UH,
k0,
M0,
L0
-], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), dhe = $([N0], (e) => e?.active ?? !1), fhe = $([$([
+], d0)], (e, t) => e != null && e.coordinate ? e.coordinate : t), mhe = $([N0], (e) => e?.active ?? !1), hhe = $([$([
L0,
P0,
- lJ,
+ dJ,
r1,
F0,
p0,
@@ -53268,26 +53269,26 @@ function z0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? R0(Object(n), !0).forEach(function(t) {
- phe(e, t, n[t]);
+ ghe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function phe(e, t, n) {
- return (t = mhe(t)) in e ? Object.defineProperty(e, t, {
+function ghe(e, t, n) {
+ return (t = _he(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mhe(e) {
- var t = hhe(e, "string");
+function _he(e) {
+ var t = vhe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hhe(e, t) {
+function vhe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53297,9 +53298,9 @@ function hhe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var ghe = () => Q(n1), _he = () => {
- var e = ghe(), t = Q(k0), n = Q(O0);
- return yH(!e || !n ? void 0 : z0(z0({}, e), {}, { scale: n }), t);
+var yhe = () => Q(n1), bhe = () => {
+ var e = yhe(), t = Q(k0), n = Q(O0);
+ return xH(!e || !n ? void 0 : z0(z0({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
@@ -53317,26 +53318,26 @@ function V0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B0(Object(n), !0).forEach(function(t) {
- vhe(e, t, n[t]);
+ xhe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vhe(e, t, n) {
- return (t = yhe(t)) in e ? Object.defineProperty(e, t, {
+function xhe(e, t, n) {
+ return (t = She(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function yhe(e) {
- var t = bhe(e, "string");
+function She(e) {
+ var t = Che(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bhe(e, t) {
+function Che(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53346,7 +53347,7 @@ function bhe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var xhe = (e, t, n, r) => {
+var whe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -53362,18 +53363,18 @@ var xhe = (e, t, n, r) => {
x: 0,
y: 0
};
-}, She = (e, t, n, r) => {
+}, The = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
var a = i.coordinate, { radius: o } = r;
- return V0(V0(V0({}, r), Iq(r.cx, r.cy, o, a)), {}, {
+ return V0(V0(V0({}, r), Rq(r.cx, r.cy, o, a)), {}, {
angle: a,
radius: o
});
}
var s = i.coordinate, { angle: c } = r;
- return V0(V0(V0({}, r), Iq(r.cx, r.cy, s, c)), {}, {
+ return V0(V0(V0({}, r), Rq(r.cx, r.cy, s, c)), {}, {
angle: c,
radius: s
});
@@ -53392,7 +53393,7 @@ var xhe = (e, t, n, r) => {
y: 0
};
};
-function Che(e, t) {
+function Ehe(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;
}
@@ -53402,9 +53403,9 @@ var H0 = (e, t, n, r, i) => {
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = 0; o < a; o++) {
var s = o > 0 ? n[o - 1]?.coordinate : n[a - 1]?.coordinate, c = n[o]?.coordinate, l = o >= a - 1 ? n[0]?.coordinate : n[o + 1]?.coordinate, u = void 0;
if (s != null && c != null && l != null) {
- if (LR(c - s) !== LR(l - c)) {
+ if (RR(c - s) !== RR(l - c)) {
var d = [];
- if (LR(l - c) === LR(i[1] - i[0])) {
+ if (RR(l - c) === RR(i[1] - i[0])) {
u = l;
var f = c + i[1] - i[0];
d[0] = Math.min(f, (f + s) / 2), d[1] = Math.max(f, (f + s) / 2);
@@ -53429,7 +53430,7 @@ var H0 = (e, t, n, r, i) => {
}
}
return -1;
-}, U0 = () => Q(NJ), W0 = (e, t) => t, G0 = (e, t, n) => n, K0 = (e, t, n, r) => r, whe = $(k0, (e) => Bz(e, (e) => e.coordinate)), q0 = $([
+}, U0 = () => Q(FJ), W0 = (e, t) => t, G0 = (e, t, n) => n, K0 = (e, t, n, r) => r, Dhe = $(k0, (e) => Vz(e, (e) => e.coordinate)), q0 = $([
m0,
W0,
G0,
@@ -53439,7 +53440,7 @@ var H0 = (e, t, n, r, i) => {
x0,
r1,
T0
-], u0), The = (e, t, n) => {
+], u0), Ohe = (e, t, n) => {
if (t != null) {
var r = m0(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
@@ -53450,54 +53451,54 @@ var H0 = (e, t, n, r, i) => {
G0,
K0
], f0), X0 = $([
- wH,
- TH,
- TU,
- VH,
+ EH,
+ DH,
+ DU,
+ UH,
k0,
K0,
Y0
-], d0), Ehe = $([q0, X0], (e, t) => e.coordinate ?? t), Z0 = $([k0, J0], $1), Dhe = $([
+], d0), khe = $([q0, X0], (e, t) => e.coordinate ?? t), Z0 = $([k0, J0], $1), Ahe = $([
Y0,
J0,
- lJ,
+ dJ,
r1,
Z0,
p0,
W0
-], v0), Ohe = $([q0, J0], (e, t) => ({
+], v0), jhe = $([q0, J0], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), khe = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && Che(e, o)) {
- var s = H0(SH(e, t), a, i, n, r), c = xhe(t, i, s, e);
+})), Mhe = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && Ehe(e, o)) {
+ var s = H0(wH(e, t), a, i, n, r), c = whe(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, Ahe = (e, t, n, r, i, a, o) => {
+}, Nhe = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
- var s = Hq(e, n);
+ var s = Wq(e, n);
if (s) {
- var c = H0(CH(s, t), o, a, r, i), l = She(t, a, c, s);
+ var c = H0(TH(s, t), o, a, r, i), l = The(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, jhe = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? khe(e, t, r, i, a, o, s) : Ahe(e, t, n, r, i, a, o);
-}, Mhe = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, Phe = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? Mhe(e, t, r, i, a, o, s) : Nhe(e, t, n, r, i, a, o);
+}, Fhe = $((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;
}
-}), Nhe = $((e) => e.zIndex.zIndexMap, (e) => {
- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(RJ));
+}), Ihe = $((e) => e.zIndex.zIndexMap, (e) => {
+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(BJ));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: mY } });
+}, { memoizeOptions: { resultEqualityCheck: gY } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
function Q0(e, t) {
@@ -53514,26 +53515,26 @@ function $0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Q0(Object(n), !0).forEach(function(t) {
- Phe(e, t, n[t]);
+ Lhe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Phe(e, t, n) {
- return (t = Fhe(t)) in e ? Object.defineProperty(e, t, {
+function Lhe(e, t, n) {
+ return (t = Rhe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Fhe(e) {
- var t = Ihe(e, "string");
+function Rhe(e) {
+ var t = zhe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ihe(e, t) {
+function zhe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53543,17 +53544,17 @@ function Ihe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Lhe = { zIndexMap: Object.values(RJ).reduce((e, t) => $0($0({}, e), {}, { [t]: {
+var Bhe = { zIndexMap: Object.values(BJ).reduce((e, t) => $0($0({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, Rhe = new Set(Object.values(RJ));
-function zhe(e) {
- return Rhe.has(e);
+} }), {}) }, Vhe = new Set(Object.values(BJ));
+function Hhe(e) {
+ return Vhe.has(e);
}
-var e2 = _V({
+var e2 = vV({
name: "zIndex",
- initialState: Lhe,
+ initialState: Bhe,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -53564,47 +53565,47 @@ var e2 = _V({
panoramaElement: void 0
};
},
- prepare: pV()
+ prepare: mV()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !zhe(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !Hhe(n) && delete e.zIndexMap[n]);
},
- prepare: pV()
+ prepare: mV()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n, element: r, isPanorama: i } = t.payload;
- e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = DW(r) : e.zIndexMap[n].element = DW(r) : e.zIndexMap[n] = {
+ e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = kW(r) : e.zIndexMap[n].element = kW(r) : e.zIndexMap[n] = {
consumers: 0,
- element: i ? void 0 : DW(r),
- panoramaElement: i ? DW(r) : void 0
+ element: i ? void 0 : kW(r),
+ panoramaElement: i ? kW(r) : void 0
};
},
- prepare: pV()
+ prepare: mV()
},
unregisterZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);
},
- prepare: pV()
+ prepare: mV()
}
}
-}), { registerZIndexPortal: Bhe, unregisterZIndexPortal: Vhe, registerZIndexPortalElement: Hhe, unregisterZIndexPortalElement: Uhe } = e2.actions, Whe = e2.reducer;
+}), { registerZIndexPortal: Uhe, unregisterZIndexPortal: Whe, registerZIndexPortalElement: Ghe, unregisterZIndexPortalElement: Khe } = e2.actions, qhe = e2.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function t2(e) {
- var { zIndex: t, children: n } = e, r = AU() && t !== void 0 && t !== 0, i = GH(), a = Mz();
- (0, N.useLayoutEffect)(() => r ? (a(Bhe({ zIndex: t })), () => {
- a(Vhe({ zIndex: t }));
- }) : YR, [
+ var { zIndex: t, children: n } = e, r = MU() && t !== void 0 && t !== 0, i = qH(), a = Nz();
+ (0, N.useLayoutEffect)(() => r ? (a(Uhe({ zIndex: t })), () => {
+ a(Whe({ zIndex: t }));
+ }) : XR, [
a,
t,
r
]);
- var o = Q((e) => Mhe(e, t, i));
+ var o = Q((e) => Fhe(e, t, i));
return r ? o ? /*#__PURE__*/ (0, ch.createPortal)(n, o) : null : n;
}
//#endregion
@@ -53632,26 +53633,26 @@ function i2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? r2(Object(n), !0).forEach(function(t) {
- Ghe(e, t, n[t]);
+ Jhe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ghe(e, t, n) {
- return (t = Khe(t)) in e ? Object.defineProperty(e, t, {
+function Jhe(e, t, n) {
+ return (t = Yhe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Khe(e) {
- var t = qhe(e, "string");
+function Yhe(e) {
+ var t = Xhe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qhe(e, t) {
+function Xhe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53661,18 +53662,18 @@ function qhe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Jhe(e) {
+function Zhe(e) {
var { cursor: t, cursorComp: n, cursorProps: r } = e;
return /*#__PURE__*/ (0, N.isValidElement)(t) ? /*#__PURE__*/ (0, N.cloneElement)(t, r) : /*#__PURE__*/ (0, N.createElement)(n, r);
}
-function Yhe(e) {
+function Qhe(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 = gK, h = RJ.cursorLine;
- else if (l === "BarChart") p = _K(o, u, i, a), m = Dq, h = RJ.cursorRectangle;
- else if (o === "radial" && tz(u)) {
- var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = Uq(u);
+ if (l === "ScatterChart") p = u, m = vK, h = BJ.cursorLine;
+ else if (l === "BarChart") p = yK(o, u, i, a), m = kq, h = BJ.cursorRectangle;
+ else if (o === "radial" && nz(u)) {
+ var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = Gq(u);
p = {
cx: g,
cy: _,
@@ -53680,25 +53681,25 @@ function Yhe(e) {
endAngle: b,
innerRadius: v,
outerRadius: v
- }, m = iJ, h = RJ.cursorLine;
- } else p = { points: aJ(o, u, i) }, m = aK, h = RJ.cursorLine;
+ }, m = oJ, h = BJ.cursorLine;
+ } else p = { points: sJ(o, u, i) }, m = sK, h = BJ.cursorLine;
var x = typeof s == "object" && "className" in s ? s.className : void 0, S = i2(i2(i2(i2({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), AL(s)), {}, {
+ }, i), p), jL(s)), {}, {
payload: d,
payloadIndex: f,
className: Nm("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ N.createElement(t2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ N.createElement(Jhe, {
+ return /*#__PURE__*/ N.createElement(t2, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ N.createElement(Zhe, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function Xhe(e) {
- var t = _he(), n = xU(), r = EU(), i = U0();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ N.createElement(Yhe, n2({}, e, {
+function $he(e) {
+ var t = bhe(), n = CU(), r = OU(), i = U0();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ N.createElement(Qhe, n2({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -53707,7 +53708,7 @@ function Xhe(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var a2 = /*#__PURE__*/ (0, N.createContext)(null), Zhe = () => (0, N.useContext)(a2), Qhe = (/* @__PURE__ */ D((/* @__PURE__ */ w(((e, t) => {
+var a2 = /*#__PURE__*/ (0, N.createContext)(null), ege = () => (0, N.useContext)(a2), tge = (/* @__PURE__ */ D((/* @__PURE__ */ w(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -53794,12 +53795,12 @@ var a2 = /*#__PURE__*/ (0, N.createContext)(null), Zhe = () => (0, N.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, o2 = new Qhe(), s2 = "recharts.syncEvent.tooltip", c2 = "recharts.syncEvent.brush", l2 = (e, t) => {
+})))(), 1)).default, o2 = new tge(), s2 = "recharts.syncEvent.tooltip", c2 = "recharts.syncEvent.brush", l2 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!RR(n)) return e[n];
+ if (!zR(n)) return e[n];
}
-}, u2 = _V({
+}, u2 = vV({
name: "options",
initialState: {
chartName: "",
@@ -53810,13 +53811,13 @@ var a2 = /*#__PURE__*/ (0, N.createContext)(null), Zhe = () => (0, N.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), $he = u2.reducer, { createEventEmitter: ege } = u2.actions;
+}), nge = u2.reducer, { createEventEmitter: rge } = u2.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function tge(e) {
+function ige(e) {
return e.tooltip.syncInteraction;
}
-var d2 = _V({
+var d2 = vV({
name: "chartData",
initialState: {
chartData: void 0,
@@ -53826,7 +53827,7 @@ var d2 = _V({
},
reducers: {
setChartData(e, t) {
- if (e.chartData = DW(t.payload), t.payload == null) {
+ if (e.chartData = kW(t.payload), t.payload == null) {
e.dataStartIndex = 0, e.dataEndIndex = 0;
return;
}
@@ -53840,7 +53841,7 @@ var d2 = _V({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: f2, setDataStartEndIndexes: nge, setComputedData: rge } = d2.actions, ige = d2.reducer, age = ["x", "y"];
+}), { setChartData: f2, setDataStartEndIndexes: age, setComputedData: oge } = d2.actions, sge = d2.reducer, cge = ["x", "y"];
function p2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -53855,26 +53856,26 @@ function m2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? p2(Object(n), !0).forEach(function(t) {
- oge(e, t, n[t]);
+ lge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oge(e, t, n) {
- return (t = sge(t)) in e ? Object.defineProperty(e, t, {
+function lge(e, t, n) {
+ return (t = uge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sge(e) {
- var t = cge(e, "string");
+function uge(e) {
+ var t = dge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cge(e, t) {
+function dge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53884,16 +53885,16 @@ function cge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function lge(e, t) {
+function fge(e, t) {
if (e == null) return {};
- var n, r, i = uge(e, t);
+ var n, r, i = pge(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 uge(e, t) {
+function pge(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -53902,16 +53903,16 @@ function uge(e, t) {
}
return n;
}
-function dge() {
- var e = Q(PJ), t = Q(IJ), n = Mz(), r = Q(FJ), i = Q(k0), a = EU(), o = yU(), s = Q((e) => e.rootProps.className);
+function mge() {
+ var e = Q(IJ), t = Q(RJ), n = Nz(), r = Q(LJ), i = Q(k0), a = OU(), o = xU(), s = Q((e) => e.rootProps.className);
(0, N.useEffect)(() => {
- if (e == null) return YR;
+ if (e == null) return XR;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, { x: f, y: p } = d, m = lge(d, age), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = m2(m2({}, m), {}, {
+ var d = c.payload.coordinate, { x: f, y: p } = d, m = fge(d, cge), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = m2(m2({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
@@ -53972,12 +53973,12 @@ function dge() {
o
]);
}
-function fge() {
- var e = Q(PJ), t = Q(IJ), n = Mz();
+function hge() {
+ var e = Q(IJ), t = Q(RJ), n = Nz();
(0, N.useEffect)(() => {
- if (e == null) return YR;
+ if (e == null) return XR;
var r = (r, i, a) => {
- t !== a && e === r && n(nge(i));
+ t !== a && e === r && n(age(i));
};
return o2.on(c2, r), () => {
o2.off(c2, r);
@@ -53988,14 +53989,14 @@ function fge() {
e
]);
}
-function pge() {
- var e = Mz();
+function gge() {
+ var e = Nz();
(0, N.useEffect)(() => {
- e(ege());
- }, [e]), dge(), fge();
+ e(rge());
+ }, [e]), mge(), hge();
}
-function mge(e, t, n, r, i, a) {
- var o = Q((n) => The(n, e, t)), s = Q(lhe), c = Q(IJ), l = Q(PJ), u = Q(FJ), d = Q(tge)?.active, f = yU();
+function _ge(e, t, n, r, i, a) {
+ var o = Q((n) => Ohe(n, e, t)), s = Q(fhe), c = Q(RJ), l = Q(IJ), u = Q(LJ), d = Q(ige)?.active, f = xU();
(0, N.useEffect)(() => {
if (!d && l != null && c != null) {
var e = a0({
@@ -54039,26 +54040,26 @@ function g2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? h2(Object(n), !0).forEach(function(t) {
- hge(e, t, n[t]);
+ vge(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function hge(e, t, n) {
- return (t = gge(t)) in e ? Object.defineProperty(e, t, {
+function vge(e, t, n) {
+ return (t = yge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function gge(e) {
- var t = _ge(e, "string");
+function yge(e) {
+ var t = bge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function _ge(e, t) {
+function bge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54068,13 +54069,13 @@ function _ge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function vge(e) {
+function xge(e) {
return e.dataKey;
}
-function yge(e, t) {
- return /*#__PURE__*/ N.isValidElement(e) ? /*#__PURE__*/ N.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ N.createElement(e, t) : /*#__PURE__*/ N.createElement(DG, t);
+function Sge(e, t) {
+ return /*#__PURE__*/ N.isValidElement(e) ? /*#__PURE__*/ N.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ N.createElement(e, t) : /*#__PURE__*/ N.createElement(kG, t);
}
-var _2 = [], bge = {
+var _2 = [], Cge = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -54100,10 +54101,10 @@ var _2 = [], bge = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function xge(e) {
- var t = az(e, bge), { 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 = Mz(), S = typeof v == "number" ? String(v) : v;
+function wge(e) {
+ var t = oz(e, Cge), { 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 = Nz(), S = typeof v == "number" ? String(v) : v;
(0, N.useEffect)(() => {
- x(Fme({
+ x(Rme({
shared: g,
trigger: _,
axisId: b,
@@ -54118,12 +54119,12 @@ function xge(e) {
n,
S
]);
- var C = yU(), w = WG(), T = Ame(g), { activeIndex: E, isActive: D } = Q((e) => Ohe(e, T, _, S)) ?? {}, O = Q((e) => Dhe(e, T, _, S)), k = Q((e) => Z0(e, T, _, S)), A = Q((e) => Ehe(e, T, _, S)), j = O, M = Zhe(), P = n ?? D ?? !1, [F, I] = Uz([j, P]), ee = T === "axis" ? k : void 0;
- mge(T, _, A, ee, E, P);
+ var C = xU(), w = KG(), T = Nme(g), { activeIndex: E, isActive: D } = Q((e) => jhe(e, T, _, S)) ?? {}, O = Q((e) => Ahe(e, T, _, S)), k = Q((e) => Z0(e, T, _, S)), A = Q((e) => khe(e, T, _, S)), j = O, M = ege(), P = n ?? D ?? !1, [F, I] = Wz([j, P]), ee = T === "axis" ? k : void 0;
+ _ge(T, _, A, ee, E, P);
var te = y ?? M;
if (te == null || C == null || T == null) return null;
var ne = j ?? _2;
- P || (ne = _2), s && ne.length && (ne = Az(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, vge));
+ P || (ne = _2), s && ne.length && (ne = jz(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, xge));
var re = ne.length > 0, ie = g2(g2({}, t), {}, {
payload: ne,
label: ee,
@@ -54131,7 +54132,7 @@ function xge(e) {
activeIndex: E,
coordinate: A,
accessibilityLayer: w
- }), L = /*#__PURE__*/ N.createElement(UG, {
+ }), L = /*#__PURE__*/ N.createElement(GG, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -54148,8 +54149,8 @@ function xge(e) {
lastBoundingBox: F,
innerRef: I,
hasPortalFromProps: !!y
- }, yge(o, ie));
- return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ (0, ch.createPortal)(L, te), P && /*#__PURE__*/ N.createElement(Xhe, {
+ }, Sge(o, ie));
+ return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ (0, ch.createPortal)(L, te), P && /*#__PURE__*/ N.createElement($he, {
cursor: h,
tooltipEventType: T,
coordinate: A,
@@ -54163,19 +54164,19 @@ var v2 = (e) => null;
v2.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function Sge(e, t, n) {
- return (t = Cge(t)) in e ? Object.defineProperty(e, t, {
+function Tge(e, t, n) {
+ return (t = Ege(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Cge(e) {
- var t = wge(e, "string");
+function Ege(e) {
+ var t = Dge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wge(e, t) {
+function Dge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54185,9 +54186,9 @@ function wge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Tge = class {
+var Oge = class {
constructor(e) {
- Sge(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ Tge(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -54220,30 +54221,30 @@ function y2(e, t) {
}
return n;
}
-function Ege(e) {
+function kge(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) {
- Dge(e, t, n[t]);
+ Age(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 Dge(e, t, n) {
- return (t = Oge(t)) in e ? Object.defineProperty(e, t, {
+function Age(e, t, n) {
+ return (t = jge(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Oge(e) {
- var t = kge(e, "string");
+function jge(e) {
+ var t = Mge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kge(e, t) {
+function Mge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54253,10 +54254,10 @@ function kge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var b2 = Ege({}, {
+var b2 = kge({}, {
cacheSize: 2e3,
enableCache: !0
-}), x2 = new Tge(b2.cacheSize), Age = {
+}), x2 = new Oge(b2.cacheSize), Nge = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -54265,13 +54266,13 @@ var b2 = Ege({}, {
border: "none",
whiteSpace: "pre"
}, S2 = "recharts_measurement_span";
-function jge(e, t) {
+function Pge(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
var C2 = (e, t) => {
try {
var n = document.getElementById(S2);
- n || (n = document.createElement("span"), n.setAttribute("id", S2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, Age, t), n.textContent = `${e}`;
+ n || (n = document.createElement("span"), n.setAttribute("id", S2), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, Nge, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -54285,29 +54286,29 @@ var C2 = (e, t) => {
}
}, w2 = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
- if (e == null || PG.isSsr) return {
+ if (e == null || IG.isSsr) return {
width: 0,
height: 0
};
if (!b2.enableCache) return C2(e, t);
- var n = jge(e, t), r = x2.get(n);
+ var n = Pge(e, t), r = x2.get(n);
if (r) return r;
var i = C2(e, t);
return x2.set(n, i), i;
}, T2;
-function Mge(e, t, n) {
- return (t = Nge(t)) in e ? Object.defineProperty(e, t, {
+function Fge(e, t, n) {
+ return (t = Ige(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Nge(e) {
- var t = Pge(e, "string");
+function Ige(e) {
+ var t = Lge(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Pge(e, t) {
+function Lge(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54317,7 +54318,7 @@ function Pge(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, Fge = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, Ige = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, Lge = {
+var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, Rge = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, zge = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, Bge = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -54325,7 +54326,7 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, Rge = [
+}, Vge = [
"cm",
"mm",
"pt",
@@ -54334,20 +54335,20 @@ var E2 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, D2 = /(
"Q",
"px"
];
-function zge(e) {
- return Rge.includes(e);
+function Hge(e) {
+ return Vge.includes(e);
}
var O2 = "NaN";
-function Bge(e, t) {
- return e * Lge[t];
+function Uge(e, t) {
+ return e * Bge[t];
}
var k2 = class e {
static parse(t) {
- var [, n, r] = Ige.exec(t) ?? [];
+ var [, n, r] = zge.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, RR(e) && (this.unit = ""), t !== "" && !Fge.test(t) && (this.num = NaN, this.unit = ""), zge(t) && (this.num = Bge(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, zR(e) && (this.unit = ""), t !== "" && !Rge.test(t) && (this.num = NaN, this.unit = ""), Hge(t) && (this.num = Uge(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -54365,10 +54366,10 @@ var k2 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return RR(this.num);
+ return zR(this.num);
}
};
-T2 = k2, Mge(k2, "NaN", new T2(NaN, ""));
+T2 = k2, Fge(k2, "NaN", new T2(NaN, ""));
function A2(e) {
if (e == null || e.includes(O2)) return O2;
for (var t = e; t.includes("*") || t.includes("/");) {
@@ -54384,31 +54385,31 @@ function A2(e) {
return t;
}
var j2 = /\(([^()]*)\)/;
-function Vge(e) {
+function Wge(e) {
for (var t = e, n; (n = j2.exec(t)) != null;) {
var [, r] = n;
t = t.replace(j2, A2(r));
}
return t;
}
-function Hge(e) {
+function Gge(e) {
var t = e.replace(/\s+/g, "");
- return t = Vge(t), t = A2(t), t;
+ return t = Wge(t), t = A2(t), t;
}
-function Uge(e) {
+function Kge(e) {
try {
- return Hge(e);
+ return Gge(e);
} catch {
return O2;
}
}
function M2(e) {
- var t = Uge(e.slice(5, -1));
+ var t = Kge(e.slice(5, -1));
return t === O2 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var Wge = [
+var qge = [
"x",
"y",
"lineHeight",
@@ -54417,7 +54418,7 @@ var Wge = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], Gge = [
+], Jge = [
"dx",
"dy",
"angle",
@@ -54435,14 +54436,14 @@ function N2() {
}
function P2(e, t) {
if (e == null) return {};
- var n, r, i = Kge(e, t);
+ var n, r, i = Yge(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 Kge(e, t) {
+function Yge(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -54455,7 +54456,7 @@ var F2 = /[ \f\n\r\t\v\u2028\u2029]+/, I2 = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return KR(t) || (i = n ? t.toString().split("") : t.toString().split(F2)), {
+ return qR(t) || (i = n ? t.toString().split("") : t.toString().split(F2)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
width: w2(e, r).width
@@ -54469,8 +54470,8 @@ var F2 = /[ \f\n\r\t\v\u2028\u2029]+/, I2 = (e) => {
function L2(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function qge(e) {
- return KR(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function Xge(e) {
+ return qR(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
var R2 = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
@@ -54483,16 +54484,16 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), z2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), Jge = "…", B2 = (e, t, n, r, i, a, o, s) => {
+}, []), z2 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), Zge = "…", B2 = (e, t, n, r, i, a, o, s) => {
var c = I2({
breakAll: n,
style: r,
- children: e.slice(0, t) + Jge
+ children: e.slice(0, t) + Zge
});
if (!c) return [!1, []];
var l = R2(c.wordsWithComputedWidth, a, o, s);
return [l.length > i || z2(l).width > Number(a), l];
-}, Yge = (e, t, n, r, i) => {
+}, Qge = (e, t, n, r, i) => {
var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = R2(t, r, n, i);
if (!l || i || !(d.length > a || z2(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
@@ -54505,11 +54506,11 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
}
return h || d;
}, V2 = (e) => [{
- words: KR(e) ? [] : e.toString().split(F2),
+ words: qR(e) ? [] : e.toString().split(F2),
width: void 0
-}], Xge = (e) => {
+}], $ge = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
- if ((t || n) && !PG.isSsr) {
+ if ((t || n) && !IG.isSsr) {
var s, c, l = I2({
breakAll: a,
children: r,
@@ -54519,7 +54520,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
} else return V2(r);
- return Yge({
+ return Qge({
breakAll: a,
children: r,
maxLines: o,
@@ -54527,7 +54528,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
}, s, c, t, !!n);
}
return V2(r);
-}, H2 = "#808080", Zge = {
+}, H2 = "#808080", e_e = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
@@ -54539,7 +54540,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, U2 = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
- var n = az(e, Zge), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P2(n, Wge), f = (0, N.useMemo)(() => Xge({
+ var n = oz(e, e_e), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = P2(n, qge), f = (0, N.useMemo)(() => $ge({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -54553,10 +54554,10 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = P2(d, Gge);
- if (!BR(r) || !BR(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = P2(d, Jge);
+ if (!VR(r) || !VR(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
- if (!YV(y) || !YV(b)) return null;
+ if (!ZV(y) || !ZV(b)) return null;
var x;
switch (u) {
case "start":
@@ -54572,7 +54573,7 @@ var R2 = (e, t, n, r) => e.reduce((e, i) => {
var w = C.width, { width: T } = d;
S.push(`scale(${Z(T) && Z(w) ? T / w : 1})`);
}
- return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ N.createElement("text", N2({}, jL(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ N.createElement("text", N2({}, ML(v), {
ref: t,
x: y,
y: b,
@@ -54605,26 +54606,26 @@ function G2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? W2(Object(n), !0).forEach(function(t) {
- Qge(e, t, n[t]);
+ t_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Qge(e, t, n) {
- return (t = $ge(t)) in e ? Object.defineProperty(e, t, {
+function t_e(e, t, n) {
+ return (t = n_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $ge(e) {
- var t = e_e(e, "string");
+function n_e(e) {
+ var t = r_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function e_e(e, t) {
+function r_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54634,8 +54635,8 @@ function e_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var t_e = (e) => {
- var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = vU(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
+var i_e = (e) => {
+ var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = bU(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
if (n === "top") {
var T = {
x: d + l / 2,
@@ -54716,9 +54717,9 @@ var t_e = (e) => {
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || zR(n.x)) && (Z(n.y) || zR(n.y)) ? G2({
- x: o + HR(n.x, m),
- y: s + HR(n.y, c),
+ }, k) : n && typeof n == "object" && (Z(n.x) || BR(n.x)) && (Z(n.y) || BR(n.y)) ? G2({
+ x: o + UR(n.x, m),
+ y: s + UR(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
}, k) : G2({
@@ -54727,17 +54728,17 @@ var t_e = (e) => {
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, n_e = ["labelRef"], r_e = ["content"];
+}, a_e = ["labelRef"], o_e = ["content"];
function K2(e, t) {
if (e == null) return {};
- var n, r, i = i_e(e, t);
+ var n, r, i = s_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 i_e(e, t) {
+function s_e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -54760,26 +54761,26 @@ function J2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? q2(Object(n), !0).forEach(function(t) {
- a_e(e, t, n[t]);
+ c_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function a_e(e, t, n) {
- return (t = o_e(t)) in e ? Object.defineProperty(e, t, {
+function c_e(e, t, n) {
+ return (t = l_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function o_e(e) {
- var t = s_e(e, "string");
+function l_e(e) {
+ var t = u_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function s_e(e, t) {
+function u_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54816,9 +54817,9 @@ var X2 = /*#__PURE__*/ (0, N.createContext)(null), Z2 = (e) => {
]);
return /*#__PURE__*/ N.createElement(X2.Provider, { value: c }, s);
}, Q2 = () => {
- var e = (0, N.useContext)(X2), t = yU();
- return e || (t ? vU(t) : void 0);
-}, $2 = /*#__PURE__*/ (0, N.createContext)(null), c_e = (e) => {
+ var e = (0, N.useContext)(X2), t = xU();
+ return e || (t ? bU(t) : void 0);
+}, $2 = /*#__PURE__*/ (0, N.createContext)(null), d_e = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, N.useMemo)(() => ({
cx: t,
cy: n,
@@ -54838,13 +54839,13 @@ var X2 = /*#__PURE__*/ (0, N.createContext)(null), Z2 = (e) => {
]);
return /*#__PURE__*/ N.createElement($2.Provider, { value: l }, c);
}, e4 = () => {
- var e = (0, N.useContext)($2), t = Q(oY);
+ var e = (0, N.useContext)($2), t = Q(cY);
return e || t;
-}, l_e = (e) => {
- var { value: t, formatter: n } = e, r = KR(e.children) ? t : e.children;
+}, f_e = (e) => {
+ var { value: t, formatter: n } = e, r = qR(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, t4 = (e) => e != null && typeof e == "function", u_e = (e, t) => LR(t - e) * Math.min(Math.abs(t - e), 360), d_e = (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 = u_e(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, t4 = (e) => e != null && typeof e == "function", p_e = (e, t) => RR(t - e) * Math.min(Math.abs(t - e), 360), m_e = (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 = p_e(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -54858,9 +54859,9 @@ var X2 = /*#__PURE__*/ (0, N.createContext)(null), Z2 = (e) => {
default: throw Error(`Unsupported position ${t}`);
}
v = h <= 0 ? v : !v;
- var y = Iq(s, c, m, _), b = Iq(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
+ var y = Rq(s, c, m, _), b = Rq(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = KR(e.id) ? VR("recharts-radial-line-") : e.id;
+ ${b.x},${b.y}`, S = qR(e.id) ? HR("recharts-radial-line-") : e.id;
return /*#__PURE__*/ N.createElement("text", Y2({}, r, {
dominantBaseline: "central",
className: Nm("recharts-radial-bar-label", o)
@@ -54868,10 +54869,10 @@ var X2 = /*#__PURE__*/ (0, N.createContext)(null), Z2 = (e) => {
id: S,
d: x
})), /*#__PURE__*/ N.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, f_e = (e, t, n) => {
+}, h_e = (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 } = Iq(r, i, o + t, l);
+ var { x: u, y: d } = Rq(r, i, o + t, l);
return {
x: u,
y: d,
@@ -54897,21 +54898,21 @@ var X2 = /*#__PURE__*/ (0, N.createContext)(null), Z2 = (e) => {
textAnchor: "middle",
verticalAnchor: "end"
};
- var { x: f, y: p } = Iq(r, i, (a + o) / 2, l);
+ var { x: f, y: p } = Rq(r, i, (a + o) / 2, l);
return {
x: f,
y: p,
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, n4 = (e) => e != null && "cx" in e && Z(e.cx), p_e = {
+}, n4 = (e) => e != null && "cx" in e && Z(e.cx), g_e = {
angle: 0,
offset: 5,
- zIndex: RJ.label,
+ zIndex: BJ.label,
position: "middle",
textBreakAll: !1
};
-function m_e(e) {
+function __e(e) {
if (!n4(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
@@ -54924,24 +54925,24 @@ function m_e(e) {
};
}
function r4(e) {
- var t = az(e, p_e), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = e4(), f = Q2(), p = n == null ? i === "center" ? f : d ?? f : n4(n) ? n : vU(n), m, h, g = m_e(p);
- if (!p || KR(a) && KR(o) && !/*#__PURE__*/ (0, N.isValidElement)(s) && typeof s != "function") return null;
+ var t = oz(e, g_e), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = e4(), f = Q2(), p = n == null ? i === "center" ? f : d ?? f : n4(n) ? n : bU(n), m, h, g = __e(p);
+ if (!p || qR(a) && qR(o) && !/*#__PURE__*/ (0, N.isValidElement)(s) && typeof s != "function") return null;
var _ = J2(J2({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, N.isValidElement)(s)) {
- var { labelRef: v } = _, y = K2(_, n_e);
+ var { labelRef: v } = _, y = K2(_, a_e);
return /*#__PURE__*/ (0, N.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = K2(_, r_e);
+ var { content: b } = _, x = K2(_, o_e);
if (m = /*#__PURE__*/ (0, N.createElement)(s, x), /*#__PURE__*/ (0, N.isValidElement)(m)) return m;
- } else m = l_e(t);
- var S = jL(t);
+ } else m = f_e(t);
+ var S = ML(t);
if (n4(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return d_e(t, i, m, S, p);
- h = f_e(p, t.offset, t.position);
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return m_e(t, i, m, S, p);
+ h = h_e(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = t_e({
+ var C = i_e({
viewBox: g,
position: i,
offset: t.offset,
@@ -54970,7 +54971,7 @@ var i4 = (e, t, n) => {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ N.createElement(r4, Y2({ key: "label-implicit" }, r)) : BR(e) ? /*#__PURE__*/ N.createElement(r4, Y2({
+ return e === !0 ? /*#__PURE__*/ N.createElement(r4, Y2({ key: "label-implicit" }, r)) : VR(e) ? /*#__PURE__*/ N.createElement(r4, Y2({
key: "label-implicit",
value: e
}, r)) : /*#__PURE__*/ (0, N.isValidElement)(e) ? e.type === r4 ? /*#__PURE__*/ (0, N.cloneElement)(e, J2({ key: "label-implicit" }, r)) : /*#__PURE__*/ N.createElement(r4, Y2({
@@ -54985,13 +54986,13 @@ function a4(e) {
var { label: t, labelRef: n } = e;
return i4(t, Q2(), n) || null;
}
-function h_e(e) {
+function v_e(e) {
var { label: t } = e;
return i4(t, e4()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var g_e = ["valueAccessor"], __e = [
+var y_e = ["valueAccessor"], b_e = [
"dataKey",
"clockWise",
"id",
@@ -55009,14 +55010,14 @@ function o4() {
}
function s4(e, t) {
if (e == null) return {};
- var n, r, i = v_e(e, t);
+ var n, r, i = x_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 v_e(e, t) {
+function x_e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55025,21 +55026,21 @@ function v_e(e, t) {
}
return n;
}
-var y_e = (e) => {
+var S_e = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (qge(t)) return t;
-}, c4 = /*#__PURE__*/ (0, N.createContext)(void 0), l4 = c4.Provider, u4 = /*#__PURE__*/ (0, N.createContext)(void 0), b_e = u4.Provider;
-function x_e() {
+ if (Xge(t)) return t;
+}, c4 = /*#__PURE__*/ (0, N.createContext)(void 0), l4 = c4.Provider, u4 = /*#__PURE__*/ (0, N.createContext)(void 0), C_e = u4.Provider;
+function w_e() {
return (0, N.useContext)(c4);
}
-function S_e() {
+function T_e() {
return (0, N.useContext)(u4);
}
function d4(e) {
- var { valueAccessor: t = y_e } = e, n = s4(e, g_e), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = s4(n, __e), l = x_e(), u = S_e(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ N.createElement(t2, { zIndex: s ?? RJ.label }, /*#__PURE__*/ N.createElement(FL, { className: "recharts-label-list" }, d.map((e, i) => {
- var s = KR(r) ? t(e, i) : nH(e.payload, r), l = KR(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ N.createElement(r4, o4({ key: `label-${i}` }, jL(e), c, l, {
+ var { valueAccessor: t = S_e } = e, n = s4(e, y_e), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = s4(n, b_e), l = w_e(), u = T_e(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ N.createElement(t2, { zIndex: s ?? BJ.label }, /*#__PURE__*/ N.createElement(IL, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = qR(r) ? t(e, i) : iH(e.payload, r), l = qR(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ N.createElement(r4, o4({ key: `label-${i}` }, ML(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -55060,12 +55061,12 @@ function f4(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var C_e = [
+var E_e = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], w_e;
+], D_e;
function p4() {
return p4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -55075,16 +55076,16 @@ function p4() {
return e;
}, p4.apply(null, arguments);
}
-function T_e(e, t) {
+function O_e(e, t) {
if (e == null) return {};
- var n, r, i = E_e(e, t);
+ var n, r, i = k_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 E_e(e, t) {
+function k_e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55093,10 +55094,10 @@ function E_e(e, t) {
}
return n;
}
-function D_e(e, t) {
+function A_e(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, O_e = function() {
+var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, j_e = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
@@ -55107,9 +55108,9 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, O_e = function() {
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
}, h4 = (e, t) => {
- var n = O_e(e);
+ var n = j_e(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => IR(w_e ||= D_e([
+ var r = n.map((e) => e.reduce((e, t, n) => LR(D_e ||= A_e([
"",
"",
"",
@@ -55117,29 +55118,29 @@ var m4 = (e) => e != null && e.x === +e.x && e.y === +e.y, O_e = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, k_e = (e, t, n) => {
+}, M_e = (e, t, n) => {
var r = h4(e, n);
return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${h4(Array.from(t).reverse(), n).slice(1)}`;
}, g4 = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = T_e(e, C_e);
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = O_e(e, E_e);
if (!t || !t.length) return null;
var o = Nm("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = k_e(t, r, i);
- return /*#__PURE__*/ N.createElement("g", { className: o }, /*#__PURE__*/ N.createElement("path", p4({}, jL(a), {
+ var s = a.stroke && a.stroke !== "none", c = M_e(t, r, i);
+ return /*#__PURE__*/ N.createElement("g", { className: o }, /*#__PURE__*/ N.createElement("path", p4({}, ML(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ N.createElement("path", p4({}, jL(a), {
+ })), s ? /*#__PURE__*/ N.createElement("path", p4({}, ML(a), {
fill: "none",
d: h4(t, i)
- })) : null, s ? /*#__PURE__*/ N.createElement("path", p4({}, jL(a), {
+ })) : null, s ? /*#__PURE__*/ N.createElement("path", p4({}, ML(a), {
fill: "none",
d: h4(r, i)
})) : null);
}
var l = h4(t, i);
- return /*#__PURE__*/ N.createElement("path", p4({}, jL(a), {
+ return /*#__PURE__*/ N.createElement("path", p4({}, ML(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -55158,7 +55159,7 @@ function _4() {
}
var v4 = (e) => {
var { cx: t, cy: n, r, className: i } = e, a = Nm("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ N.createElement("circle", _4({}, kL(e), nz(e), {
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ N.createElement("circle", _4({}, AL(e), rz(e), {
className: a,
cx: t,
cy: n,
@@ -55167,8 +55168,8 @@ var v4 = (e) => {
}, y4 = (e) => e.graphicalItems.polarItems, b4 = $([
y4,
R$,
- $([sY, cY], V$)
-], U$), x4 = $([$([b4], q$), uJ], J$), S4 = $([
+ $([lY, uY], V$)
+], U$), x4 = $([$([b4], q$), fJ], J$), S4 = $([
x4,
R$,
b4
@@ -55178,22 +55179,22 @@ $([
R$,
b4
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: nH(e, t.dataKey ?? n.dataKey),
+ value: iH(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: nH(e, t.dataKey),
+ value: iH(e, t.dataKey),
errorDomain: []
})));
var C4 = () => void 0, w4 = $([
R$,
- TU,
+ DU,
x4,
S4,
- jJ,
- sY,
+ NJ,
+ lY,
$([
R$,
c1,
@@ -55204,45 +55205,45 @@ var C4 = () => void 0, w4 = $([
R$,
b4,
u1,
- sY
+ lY
], f1),
C4,
- TU,
- sY
+ DU,
+ lY
], b1)
], x1), T4 = $([
w4,
z$,
C1
-], w1), A_e = $([C1, $([
+], w1), N_e = $([C1, $([
R$,
w4,
T4,
- sY
-], E1)], vY), E4 = (e, t, n) => {
+ lY
+], E1)], bY), E4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return XJ(e, n);
- case "radiusAxis": return ZJ(e, n);
+ case "angleAxis": return QJ(e, n);
+ case "radiusAxis": return $J(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, D4 = (e, t, n) => {
switch (t) {
- case "angleAxis": return rY(e, n);
- case "radiusAxis": return aY(e, n);
+ case "angleAxis": return aY(e, n);
+ case "radiusAxis": return sY(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, O4 = $([$([
E4,
C1,
- A_e,
+ N_e,
D4
-], T$)], _Y), k4 = $([
- TU,
+], T$)], yY), k4 = $([
+ DU,
S4,
z$,
- sY
+ lY
], j1), A4 = $([
- TU,
+ DU,
E4,
C1,
O4,
@@ -55250,8 +55251,8 @@ var C4 = () => void 0, w4 = $([
D4,
H1,
k4,
- sY
-], W1), j_e = $([A4], (e) => {
+ lY
+], W1), P_e = $([A4], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -55259,19 +55260,19 @@ var C4 = () => void 0, w4 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), M_e = $([
- TU,
+}), F_e = $([
+ DU,
E4,
O4,
D4,
H1,
k4,
- sY
-], K1), N_e = $([(e, t) => A4(e, "angleAxis", t, !1)], (e) => {
+ lY
+], K1), I_e = $([(e, t) => A4(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), P_e = $([(e, t) => A4(e, "radiusAxis", t, !1)], (e) => {
+}), L_e = $([(e, t) => A4(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), F_e = [
+}), R_e = [
"gridType",
"radialLines",
"angleAxisId",
@@ -55284,16 +55285,16 @@ var C4 = () => void 0, w4 = $([
"polarRadius",
"zIndex"
];
-function I_e(e, t) {
+function z_e(e, t) {
if (e == null) return {};
- var n, r, i = L_e(e, t);
+ var n, r, i = B_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 L_e(e, t) {
+function B_e(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55325,26 +55326,26 @@ function N4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M4(Object(n), !0).forEach(function(t) {
- R_e(e, t, n[t]);
+ V_e(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function R_e(e, t, n) {
- return (t = z_e(t)) in e ? Object.defineProperty(e, t, {
+function V_e(e, t, n) {
+ return (t = H_e(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function z_e(e) {
- var t = B_e(e, "string");
+function H_e(e) {
+ var t = U_e(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function B_e(e, t) {
+function U_e(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55354,18 +55355,18 @@ function B_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var V_e = (e, t, n, r) => {
+var W_e = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
- var o = Iq(t, n, e, r);
+ var o = Rq(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, H_e = (e) => {
+}, G_e = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
- var s = N4({ stroke: "#ccc" }, kL(e));
+ var s = N4({ stroke: "#ccc" }, AL(e));
return /*#__PURE__*/ N.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
- var a = Iq(t, n, r, e), o = Iq(t, n, i, e);
+ var a = Rq(t, n, r, e), o = Rq(t, n, i, e);
return /*#__PURE__*/ N.createElement("line", j4({ key: `line-${e}` }, s, {
x1: a.x,
y1: a.y,
@@ -55377,7 +55378,7 @@ var V_e = (e, t, n, r) => {
var { cx: t, cy: n, radius: r } = e, i = N4({
stroke: "#ccc",
fill: "none"
- }, kL(e));
+ }, AL(e));
return /*#__PURE__*/ N.createElement("circle", j4({}, i, {
className: Nm("recharts-polar-grid-concentric-circle", e.className),
cx: t,
@@ -55388,12 +55389,12 @@ var V_e = (e, t, n, r) => {
var { radius: t } = e, n = N4({
stroke: "#ccc",
fill: "none"
- }, kL(e));
+ }, AL(e));
return /*#__PURE__*/ N.createElement("path", j4({}, n, {
className: Nm("recharts-polar-grid-concentric-polygon", e.className),
- d: V_e(t, e.cx, e.cy, e.polarAngles)
+ d: W_e(t, e.cx, e.cy, e.polarAngles)
}));
-}, U_e = (e) => {
+}, K_e = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
@@ -55407,14 +55408,14 @@ var V_e = (e, t, n, r) => {
radius: t
}));
}));
-}, W_e = {
+}, q_e = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
- zIndex: RJ.grid
+ zIndex: BJ.grid
}, I4 = (e) => {
- var t = az(e, W_e), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = I_e(t, F_e), m = Q(oY), h = Q((e) => N_e(e, i)), g = Q((e) => P_e(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ var t = oz(e, q_e), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = z_e(t, R_e), m = Q(cY), h = Q((e) => I_e(e, i)), g = Q((e) => L_e(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = N4({
cx: m?.cx ?? o ?? 0,
@@ -55425,13 +55426,13 @@ var V_e = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ N.createElement(t2, { zIndex: y.zIndex }, /*#__PURE__*/ N.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ N.createElement(U_e, j4({
+ return b <= 0 ? null : /*#__PURE__*/ N.createElement(t2, { zIndex: y.zIndex }, /*#__PURE__*/ N.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ N.createElement(K_e, j4({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ N.createElement(H_e, j4({
+ })), /*#__PURE__*/ N.createElement(G_e, j4({
gridType: n,
radialLines: r
}, y, {
@@ -55447,11 +55448,11 @@ function L4(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function G_e(e, t = uz) {
+function J_e(e, t = dz) {
if (e == null) return;
let n = L4(e);
if (n.length === 0) return;
- let r = Oz(t), i, a;
+ let r = kz(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o > a) && (a = o, i = t);
@@ -55460,11 +55461,11 @@ function G_e(e, t = uz) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function K_e(e, t = uz) {
+function Y_e(e, t = dz) {
if (e == null) return;
let n = L4(e);
if (n.length === 0) return;
- let r = Oz(t), i, a;
+ let r = kz(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o < a) && (a = o, i = t);
@@ -55473,7 +55474,7 @@ function K_e(e, t = uz) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var R4 = _V({
+var R4 = vV({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -55481,19 +55482,19 @@ var R4 = _V({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = DW(t.payload);
+ e.radiusAxis[t.payload.id] = kW(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = DW(t.payload);
+ e.angleAxis[t.payload.id] = kW(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: q_e, removeRadiusAxis: J_e, addAngleAxis: Y_e, removeAngleAxis: X_e } = R4.actions, Z_e = R4.reducer;
+}), { addRadiusAxis: X_e, removeRadiusAxis: Z_e, addAngleAxis: Q_e, removeAngleAxis: $_e } = R4.actions, eve = R4.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
function z4(e) {
@@ -55501,12 +55502,12 @@ function z4(e) {
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var Q_e = ["type"], $_e = [
+var tve = ["type"], nve = [
"cx",
"cy",
"angle",
"axisLine"
-], eve = [
+], rve = [
"angle",
"tickFormatter",
"stroke",
@@ -55535,26 +55536,26 @@ function H4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V4(Object(n), !0).forEach(function(t) {
- tve(e, t, n[t]);
+ ive(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function tve(e, t, n) {
- return (t = nve(t)) in e ? Object.defineProperty(e, t, {
+function ive(e, t, n) {
+ return (t = ave(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nve(e) {
- var t = rve(e, "string");
+function ave(e) {
+ var t = ove(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rve(e, t) {
+function ove(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55566,14 +55567,14 @@ function rve(e, t) {
}
function U4(e, t) {
if (e == null) return {};
- var n, r, i = ive(e, t);
+ var n, r, i = sve(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function ive(e, t) {
+function sve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55582,20 +55583,20 @@ function ive(e, t) {
}
return n;
}
-var ave = "radiusAxis";
-function ove(e) {
- var t = Mz(), n = kU(), r = (0, N.useMemo)(() => {
- var { type: t } = e, r = U4(e, Q_e), i = HJ(n, "radiusAxis", t);
+var cve = "radiusAxis";
+function lve(e) {
+ var t = Nz(), n = jU(), r = (0, N.useMemo)(() => {
+ var { type: t } = e, r = U4(e, tve), i = WJ(n, "radiusAxis", t);
if (i != null) return H4(H4({}, r), {}, { type: i });
}, [e, n]);
- return (0, N.useEffect)(() => r == null ? YR : (t(q_e(r)), () => {
- t(J_e(r));
+ return (0, N.useEffect)(() => r == null ? XR : (t(X_e(r)), () => {
+ t(Z_e(r));
}), [t, r]), null;
}
-var sve = (e, t, n, r) => {
+var uve = (e, t, n, r) => {
var { coordinate: i } = e;
- return Iq(n, r, i, t);
-}, cve = (e) => {
+ return Rq(n, r, i, t);
+}, dve = (e) => {
var t;
switch (e) {
case "left":
@@ -55607,49 +55608,49 @@ var sve = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, lve = (e, t, n, r) => {
- var i = G_e(r, (e) => e.coordinate || 0);
+}, fve = (e, t, n, r) => {
+ var i = J_e(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: K_e(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: Y_e(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, uve = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = U4(e, $_e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = Iq(n, r, s[0], i), l = Iq(n, r, s[1], i), u = H4(H4(H4({}, kL(o)), {}, { fill: "none" }, kL(a)), {}, {
+}, pve = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = U4(e, nve), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = Rq(n, r, s[0], i), l = Rq(n, r, s[1], i), u = H4(H4(H4({}, AL(o)), {}, { fill: "none" }, AL(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
return /*#__PURE__*/ N.createElement("line", B4({ className: "recharts-polar-radius-axis-line" }, u));
-}, dve = (e, t, n) => /*#__PURE__*/ N.isValidElement(e) ? /*#__PURE__*/ N.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ N.createElement(U2, B4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), fve = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = U4(e, eve), s = cve(e.orientation), c = kL(o), l = AL(a), u = t.map((t, o) => {
- var u = sve(t, e.angle, e.cx, e.cy), d = H4(H4(H4(H4({
+}, mve = (e, t, n) => /*#__PURE__*/ N.isValidElement(e) ? /*#__PURE__*/ N.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ N.createElement(U2, B4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), hve = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = U4(e, rve), s = dve(e.orientation), c = AL(o), l = jL(a), u = t.map((t, o) => {
+ var u = uve(t, e.angle, e.cx, e.cy), d = H4(H4(H4(H4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ N.createElement(FL, B4({
+ return /*#__PURE__*/ N.createElement(IL, B4({
className: Nm("recharts-polar-radius-axis-tick", z4(a)),
key: `tick-${t.coordinate}`
- }, rz(e, t, o)), dve(a, d, r ? r(t.value, o) : t.value));
+ }, iz(e, t, o)), mve(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ N.createElement(FL, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, pve = (e) => {
- var { radiusAxisId: t } = e, n = Q(oY), r = Q((e) => O4(e, "radiusAxis", t)), i = Q((e) => A4(e, "radiusAxis", t, !1));
+ return /*#__PURE__*/ N.createElement(IL, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, gve = (e) => {
+ var { radiusAxisId: t } = e, n = Q(cY), r = Q((e) => O4(e, "radiusAxis", t)), i = Q((e) => A4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = H4(H4({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ N.createElement(t2, { zIndex: a.zIndex }, /*#__PURE__*/ N.createElement(FL, { className: Nm("recharts-polar-radius-axis", ave, a.className) }, s && uve(a, i), o && fve(a, i), /*#__PURE__*/ N.createElement(c_e, lve(a.angle, a.cx, a.cy, i), /*#__PURE__*/ N.createElement(h_e, { label: a.label }), a.children)));
+ return /*#__PURE__*/ N.createElement(t2, { zIndex: a.zIndex }, /*#__PURE__*/ N.createElement(IL, { className: Nm("recharts-polar-radius-axis", cve, a.className) }, s && pve(a, i), o && hve(a, i), /*#__PURE__*/ N.createElement(d_e, fve(a.angle, a.cx, a.cy, i), /*#__PURE__*/ N.createElement(v_e, { label: a.label }), a.children)));
};
function W4(e) {
- var t = az(e, BJ);
- return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(ove, {
+ var t = oz(e, HJ);
+ return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(lve, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -55666,12 +55667,12 @@ function W4(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ N.createElement(pve, t));
+ }), /*#__PURE__*/ N.createElement(gve, t));
}
W4.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var mve = ["children", "type"], hve = ["ref"];
+var _ve = ["children", "type"], vve = ["ref"];
function G4() {
return G4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -55695,26 +55696,26 @@ function q4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K4(Object(n), !0).forEach(function(t) {
- gve(e, t, n[t]);
+ yve(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function gve(e, t, n) {
- return (t = _ve(t)) in e ? Object.defineProperty(e, t, {
+function yve(e, t, n) {
+ return (t = bve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _ve(e) {
- var t = vve(e, "string");
+function bve(e) {
+ var t = xve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vve(e, t) {
+function xve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55726,14 +55727,14 @@ function vve(e, t) {
}
function J4(e, t) {
if (e == null) return {};
- var n, r, i = yve(e, t);
+ var n, r, i = Sve(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 yve(e, t) {
+function Sve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55742,47 +55743,47 @@ function yve(e, t) {
}
return n;
}
-var Y4 = 1e-5, bve = Math.cos(Pq(45)), xve = "angleAxis";
-function Sve(e) {
- var t = Mz(), n = kU(), r = (0, N.useMemo)(() => {
- var { children: t, type: r } = e, i = J4(e, mve), a = HJ(n, "angleAxis", r);
+var Y4 = 1e-5, Cve = Math.cos(Iq(45)), wve = "angleAxis";
+function Tve(e) {
+ var t = Nz(), n = jU(), r = (0, N.useMemo)(() => {
+ var { children: t, type: r } = e, i = J4(e, _ve), a = WJ(n, "angleAxis", r);
if (a != null) return q4(q4({}, i), {}, { type: a });
- }, [e, n]), i = r === Q((e) => XJ(e, r?.id));
- return (0, N.useEffect)(() => r == null ? YR : (t(Y_e(r)), () => {
- t(X_e(r));
+ }, [e, n]), i = r === Q((e) => QJ(e, r?.id));
+ return (0, N.useEffect)(() => r == null ? XR : (t(Q_e(r)), () => {
+ t($_e(r));
}), [t, r]), i ? e.children : null;
}
-var Cve = (e, t) => {
- var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = Iq(n, r, i, e.coordinate), l = Iq(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
+var Eve = (e, t) => {
+ var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = Rq(n, r, i, e.coordinate), l = Rq(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
};
-}, wve = (e, t) => {
- var n = Math.cos(Pq(-e.coordinate));
+}, Dve = (e, t) => {
+ var n = Math.cos(Iq(-e.coordinate));
return n > Y4 ? t === "outer" ? "start" : "end" : n < -Y4 ? t === "outer" ? "end" : "start" : "middle";
-}, Tve = (e) => {
- var t = Math.cos(Pq(-e.coordinate)), n = Math.sin(Pq(-e.coordinate));
- return Math.abs(t) <= bve ? n > 0 ? "start" : "end" : "middle";
-}, Eve = (e) => {
+}, Ove = (e) => {
+ var t = Math.cos(Iq(-e.coordinate)), n = Math.sin(Iq(-e.coordinate));
+ return Math.abs(t) <= Cve ? n > 0 ? "start" : "end" : "middle";
+}, kve = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = q4(q4({}, kL(e)), {}, { fill: "none" }, kL(a));
+ var s = q4(q4({}, AL(e)), {}, { fill: "none" }, AL(a));
if (i === "circle") return /*#__PURE__*/ N.createElement(v4, G4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
- var c = o.map((e) => Iq(t, n, r, e.coordinate));
+ var c = o.map((e) => Rq(t, n, r, e.coordinate));
return /*#__PURE__*/ N.createElement(g4, G4({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, Dve = (e) => {
+}, Ave = (e) => {
var { tick: t, tickProps: n, value: r } = e;
return t ? /*#__PURE__*/ N.isValidElement(t) ? /*#__PURE__*/ N.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ N.createElement(U2, G4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, Ove = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = kL(e), { ref: s } = o, c = J4(o, hve), l = AL(t), u = q4(q4({}, c), {}, { fill: "none" }, kL(n)), d = a.map((a, o) => {
- var s = Cve(a, e), d = wve(a, e.orientation), f = Tve(a), p = q4(q4(q4({}, c), {}, {
+}, jve = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = AL(e), { ref: s } = o, c = J4(o, vve), l = jL(t), u = q4(q4({}, c), {}, { fill: "none" }, AL(n)), d = a.map((a, o) => {
+ var s = Eve(a, e), d = Dve(a, e.orientation), f = Ove(a), p = q4(q4(q4({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -55793,28 +55794,28 @@ var Cve = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ N.createElement(FL, G4({
+ return /*#__PURE__*/ N.createElement(IL, G4({
className: Nm("recharts-polar-angle-axis-tick", z4(t)),
key: `tick-${a.coordinate}`
- }, rz(e, a, o)), n && /*#__PURE__*/ N.createElement("line", G4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ N.createElement(Dve, {
+ }, iz(e, a, o)), n && /*#__PURE__*/ N.createElement("line", G4({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ N.createElement(Ave, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ N.createElement(FL, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, kve = (e) => {
- var { angleAxisId: t } = e, n = Q(oY), r = Q((e) => O4(e, "angleAxis", t)), i = GH(), a = Q((e) => j_e(e, "angleAxis", t, i));
+ return /*#__PURE__*/ N.createElement(IL, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, Mve = (e) => {
+ var { angleAxisId: t } = e, n = Q(cY), r = Q((e) => O4(e, "angleAxis", t)), i = qH(), a = Q((e) => P_e(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = q4(q4(q4({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ N.createElement(t2, { zIndex: o.zIndex }, /*#__PURE__*/ N.createElement(FL, { className: Nm("recharts-polar-angle-axis", xve, o.className) }, /*#__PURE__*/ N.createElement(Eve, o), /*#__PURE__*/ N.createElement(Ove, o)));
+ return /*#__PURE__*/ N.createElement(t2, { zIndex: o.zIndex }, /*#__PURE__*/ N.createElement(IL, { className: Nm("recharts-polar-angle-axis", wve, o.className) }, /*#__PURE__*/ N.createElement(kve, o), /*#__PURE__*/ N.createElement(jve, o)));
};
function X4(e) {
- var t = az(e, zJ);
- return /*#__PURE__*/ N.createElement(Sve, {
+ var t = oz(e, VJ);
+ return /*#__PURE__*/ N.createElement(Tve, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -55831,12 +55832,12 @@ function X4(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ N.createElement(kve, t));
+ }, /*#__PURE__*/ N.createElement(Mve, t));
}
X4.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var Ave = /* @__PURE__ */ w(((e) => {
+var Nve = /* @__PURE__ */ w(((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) {
@@ -55865,26 +55866,26 @@ var Ave = /* @__PURE__ */ w(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), jve = (/* @__PURE__ */ w(((e, t) => {
- t.exports = Ave();
+})), Pve = (/* @__PURE__ */ w(((e, t) => {
+ t.exports = Nve();
})))(), Z4 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", Q4 = null, $4 = null, e3 = (e) => {
if (e === Q4 && Array.isArray($4)) return $4;
var t = [];
return N.Children.forEach(e, (e) => {
- KR(e) || ((0, jve.isFragment)(e) ? t = t.concat(e3(e.props.children)) : t.push(e));
+ qR(e) || ((0, Pve.isFragment)(e) ? t = t.concat(e3(e.props.children)) : t.push(e));
}), $4 = t, Q4 = e, t;
};
function t3(e, t) {
var n = [], r = [];
return r = Array.isArray(t) ? t.map((e) => Z4(e)) : [Z4(t)], e3(e).forEach((e) => {
- var t = PR(e, "type.displayName") || PR(e, "type.name");
+ var t = FR(e, "type.displayName") || FR(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
var n3 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function Mve(e) {
+function Fve(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -55897,7 +55898,7 @@ function Mve(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var Nve, Pve, Fve, Ive, Lve;
+var Ive, Lve, Rve, zve, Bve;
function r3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -55912,26 +55913,26 @@ function i3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? r3(Object(n), !0).forEach(function(t) {
- Rve(e, t, n[t]);
+ Vve(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Rve(e, t, n) {
- return (t = zve(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 zve(e) {
- var t = Bve(e, "string");
+function Hve(e) {
+ var t = Uve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Bve(e, t) {
+function Uve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55954,29 +55955,29 @@ function o3(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var s3 = (e, t, n, r, i) => {
- var a = n - r, o = IR(Nve ||= o3([
+ var a = n - r, o = LR(Ive ||= o3([
"M ",
",",
""
]), e, t);
- return o += IR(Pve ||= o3([
+ return o += LR(Lve ||= o3([
"L ",
",",
""
- ]), e + n, t), o += IR(Fve ||= o3([
+ ]), e + n, t), o += LR(Rve ||= o3([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += IR(Ive ||= o3([
+ ]), e + n - a / 2, t + i), o += LR(zve ||= o3([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += IR(Lve ||= o3([
+ ]), e + n - a / 2 - r, t + i), o += LR(Bve ||= o3([
"L ",
",",
" Z"
]), e, t), o;
-}, Vve = {
+}, Wve = {
x: 0,
y: 0,
upperWidth: 0,
@@ -55986,8 +55987,8 @@ var s3 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, Hve = (e) => {
- var t = az(e, Vve), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, N.useRef)(null), [p, m] = (0, N.useState)(-1), h = (0, N.useRef)(i), g = (0, N.useRef)(a), _ = (0, N.useRef)(o), v = (0, N.useRef)(n), y = (0, N.useRef)(r), b = rq(e, "trapezoid-");
+}, Gve = (e) => {
+ var t = oz(e, Wve), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, N.useRef)(null), [p, m] = (0, N.useState)(-1), h = (0, N.useRef)(i), g = (0, N.useRef)(a), _ = (0, N.useRef)(o), v = (0, N.useRef)(n), y = (0, N.useRef)(r), b = aq(e, "trapezoid-");
if ((0, N.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
@@ -55995,12 +55996,12 @@ var s3 = (e, t, n, r, i) => {
} catch {}
}, []), n !== +n || r !== +r || i !== +i || a !== +a || o !== +o || i === 0 && a === 0 || o === 0) return null;
var x = Nm("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ N.createElement("g", null, /*#__PURE__*/ N.createElement("path", a3({}, jL(t), {
+ if (!d) return /*#__PURE__*/ N.createElement("g", null, /*#__PURE__*/ N.createElement("path", a3({}, ML(t), {
className: x,
d: s3(n, r, i, a, o)
})));
- var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = wK(["strokeDasharray"], l, c);
- return /*#__PURE__*/ N.createElement(nq, {
+ var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = EK(["strokeDasharray"], l, c);
+ return /*#__PURE__*/ N.createElement(iq, {
animationId: b,
key: b,
canBegin: p > 0,
@@ -56009,35 +56010,35 @@ var s3 = (e, t, n, r, i) => {
isActive: d,
begin: u
}, (e) => {
- var s = WR(S, i, e), c = WR(C, a, e), l = WR(w, o, e), u = WR(T, n, e), d = WR(E, r, e);
+ var s = GR(S, i, e), c = GR(C, a, e), l = GR(w, o, e), u = GR(T, n, e), d = GR(E, r, e);
f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);
var p = e > 0 ? {
transition: k,
strokeDasharray: O
} : { strokeDasharray: D };
- return /*#__PURE__*/ N.createElement("path", a3({}, jL(t), {
+ return /*#__PURE__*/ N.createElement("path", a3({}, ML(t), {
className: x,
d: s3(u, d, s, c, l),
ref: f,
style: i3(i3({}, p), t.style)
}));
});
-}, Uve = [
+}, Kve = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function Wve(e, t) {
+function qve(e, t) {
if (e == null) return {};
- var n, r, i = Gve(e, t);
+ var n, r, i = Jve(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 Gve(e, t) {
+function Jve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56060,26 +56061,26 @@ function l3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? c3(Object(n), !0).forEach(function(t) {
- Kve(e, t, n[t]);
+ Yve(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Kve(e, t, n) {
- return (t = qve(t)) in e ? Object.defineProperty(e, t, {
+function Yve(e, t, n) {
+ return (t = Xve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qve(e) {
- var t = Jve(e, "string");
+function Xve(e) {
+ var t = Zve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Jve(e, t) {
+function Zve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56089,34 +56090,34 @@ function Jve(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Yve(e, t) {
+function Qve(e, t) {
return l3(l3({}, t), e);
}
-function Xve(e, t) {
+function $ve(e, t) {
return e === "symbols";
}
function u3(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
- case "rectangle": return /*#__PURE__*/ N.createElement(Dq, n);
- case "trapezoid": return /*#__PURE__*/ N.createElement(Hve, n);
- case "sector": return /*#__PURE__*/ N.createElement(iJ, n);
+ case "rectangle": return /*#__PURE__*/ N.createElement(kq, n);
+ case "trapezoid": return /*#__PURE__*/ N.createElement(Gve, n);
+ case "sector": return /*#__PURE__*/ N.createElement(oJ, n);
case "symbols":
- if (Xve(t, n)) return /*#__PURE__*/ N.createElement(ez, n);
+ if ($ve(t, n)) return /*#__PURE__*/ N.createElement(tz, n);
break;
- case "curve": return /*#__PURE__*/ N.createElement(aK, n);
+ case "curve": return /*#__PURE__*/ N.createElement(sK, n);
default: return null;
}
}
-function Zve(e) {
+function eye(e) {
return /*#__PURE__*/ (0, N.isValidElement)(e) ? e.props : e;
}
function d3(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = Wve(e, Uve), o;
- if (/*#__PURE__*/ (0, N.isValidElement)(t)) o = /*#__PURE__*/ (0, N.cloneElement)(t, l3(l3({}, a), Zve(t)));
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = qve(e, Kve), o;
+ if (/*#__PURE__*/ (0, N.isValidElement)(t)) o = /*#__PURE__*/ (0, N.cloneElement)(t, l3(l3({}, a), eye(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (Mve(t) && typeof t != "boolean") {
- var s = Yve(t, a);
+ else if (Fve(t) && typeof t != "boolean") {
+ var s = Qve(t, a);
o = /*#__PURE__*/ N.createElement(u3, {
shapeType: n,
elementProps: s
@@ -56128,12 +56129,12 @@ function d3(e) {
elementProps: c
});
}
- return a.isActive ? /*#__PURE__*/ N.createElement(FL, { className: r }, o) : /*#__PURE__*/ N.createElement(FL, { className: i }, o);
+ return a.isActive ? /*#__PURE__*/ N.createElement(IL, { className: r }, o) : /*#__PURE__*/ N.createElement(IL, { className: i }, o);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
var f3 = (e, t, n) => {
- var r = Mz();
+ var r = Nz();
return (i, a) => (o) => {
e?.(i, a, o), r(n0({
activeIndex: String(a),
@@ -56143,14 +56144,14 @@ var f3 = (e, t, n) => {
}));
};
}, p3 = (e) => {
- var t = Mz();
+ var t = Nz();
return (n, r) => (i) => {
- e?.(n, r, i), t(Ime());
+ e?.(n, r, i), t(zme());
};
}, m3 = (e, t, n) => {
- var r = Mz();
+ var r = Nz();
return (i, a) => (o) => {
- e?.(i, a, o), r(Lme({
+ e?.(i, a, o), r(Bme({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -56161,9 +56162,9 @@ var f3 = (e, t, n) => {
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
function h3(e) {
- var { tooltipEntrySettings: t } = e, n = Mz(), r = GH(), i = (0, N.useRef)(null);
+ var { tooltipEntrySettings: t } = e, n = Nz(), r = qH(), i = (0, N.useRef)(null);
return (0, N.useLayoutEffect)(() => {
- r || (i.current === null ? n(Mme(t)) : i.current !== t && n(Nme({
+ r || (i.current === null ? n(Fme(t)) : i.current !== t && n(Ime({
prev: i.current,
next: t
})), i.current = t);
@@ -56172,15 +56173,15 @@ function h3(e) {
n,
r
]), (0, N.useLayoutEffect)(() => () => {
- i.current &&= (n(Pme(i.current)), null);
+ i.current &&= (n(Lme(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
function g3(e) {
- var { legendPayload: t } = e, n = Mz(), r = GH(), i = (0, N.useRef)(null);
+ var { legendPayload: t } = e, n = Nz(), r = qH(), i = (0, N.useRef)(null);
return (0, N.useLayoutEffect)(() => {
- r || (i.current === null ? n(jW(t)) : i.current !== t && n(MW({
+ r || (i.current === null ? n(NW(t)) : i.current !== t && n(PW({
prev: i.current,
next: t
})), i.current = t);
@@ -56189,13 +56190,13 @@ function g3(e) {
r,
t
]), (0, N.useLayoutEffect)(() => () => {
- i.current &&= (n(NW(i.current)), null);
+ i.current &&= (n(FW(i.current)), null);
}, [n]), null;
}
function _3(e) {
- var { legendPayload: t } = e, n = Mz(), r = Q(TU), i = (0, N.useRef)(null);
+ var { legendPayload: t } = e, n = Nz(), r = Q(DU), i = (0, N.useRef)(null);
return (0, N.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(jW(t)) : i.current !== t && n(MW({
+ (r === "centric" || r === "radial") && (i.current === null ? n(NW(t)) : i.current !== t && n(PW({
prev: i.current,
next: t
})), i.current = t);
@@ -56204,27 +56205,27 @@ function _3(e) {
r,
t
]), (0, N.useLayoutEffect)(() => () => {
- i.current &&= (n(NW(i.current)), null);
+ i.current &&= (n(FW(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var Qve = N.useId ?? (() => {
- var [e] = N.useState(() => VR("uid-"));
+var tye = N.useId ?? (() => {
+ var [e] = N.useState(() => HR("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function $ve(e, t) {
- var n = Qve();
+function nye(e, t) {
+ var n = tye();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var eye = /*#__PURE__*/ (0, N.createContext)(void 0), v3 = (e) => {
- var { id: t, type: n, children: r } = e, i = $ve(`recharts-${n}`, t);
- return /*#__PURE__*/ N.createElement(eye.Provider, { value: i }, r(i));
-}, y3 = _V({
+var rye = /*#__PURE__*/ (0, N.createContext)(void 0), v3 = (e) => {
+ var { id: t, type: n, children: r } = e, i = nye(`recharts-${n}`, t);
+ return /*#__PURE__*/ N.createElement(rye.Provider, { value: i }, r(i));
+}, y3 = vV({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -56233,79 +56234,79 @@ var eye = /*#__PURE__*/ (0, N.createContext)(void 0), v3 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(DW(t.payload));
+ e.cartesianItems.push(kW(t.payload));
},
- prepare: pV()
+ prepare: mV()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = iV(e).cartesianItems.indexOf(DW(n));
- i > -1 && (e.cartesianItems[i] = DW(r));
+ var { prev: n, next: r } = t.payload, i = aV(e).cartesianItems.indexOf(kW(n));
+ i > -1 && (e.cartesianItems[i] = kW(r));
},
- prepare: pV()
+ prepare: mV()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = iV(e).cartesianItems.indexOf(DW(t.payload));
+ var n = aV(e).cartesianItems.indexOf(kW(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: pV()
+ prepare: mV()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(DW(t.payload));
+ e.polarItems.push(kW(t.payload));
},
- prepare: pV()
+ prepare: mV()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = iV(e).polarItems.indexOf(DW(t.payload));
+ var n = aV(e).polarItems.indexOf(kW(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: pV()
+ prepare: mV()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = iV(e).polarItems.indexOf(DW(n));
- i > -1 && (e.polarItems[i] = DW(r));
+ var { prev: n, next: r } = t.payload, i = aV(e).polarItems.indexOf(kW(n));
+ i > -1 && (e.polarItems[i] = kW(r));
},
- prepare: pV()
+ prepare: mV()
}
}
-}), { addCartesianGraphicalItem: tye, replaceCartesianGraphicalItem: nye, removeCartesianGraphicalItem: rye, addPolarGraphicalItem: iye, removePolarGraphicalItem: aye, replacePolarGraphicalItem: oye } = y3.actions, sye = y3.reducer, b3 = /*#__PURE__*/ (0, N.memo)((e) => {
- var t = Mz(), n = (0, N.useRef)(null);
+}), { addCartesianGraphicalItem: iye, replaceCartesianGraphicalItem: aye, removeCartesianGraphicalItem: oye, addPolarGraphicalItem: sye, removePolarGraphicalItem: cye, replacePolarGraphicalItem: lye } = y3.actions, uye = y3.reducer, b3 = /*#__PURE__*/ (0, N.memo)((e) => {
+ var t = Nz(), n = (0, N.useRef)(null);
return (0, N.useLayoutEffect)(() => {
- n.current === null ? t(tye(e)) : n.current !== e && t(nye({
+ n.current === null ? t(iye(e)) : n.current !== e && t(aye({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, N.useLayoutEffect)(() => () => {
- n.current &&= (t(rye(n.current)), null);
+ n.current &&= (t(oye(n.current)), null);
}, [t]), null;
}), x3 = /*#__PURE__*/ (0, N.memo)((e) => {
- var t = Mz(), n = (0, N.useRef)(null);
+ var t = Nz(), n = (0, N.useRef)(null);
return (0, N.useLayoutEffect)(() => {
- n.current === null ? t(iye(e)) : n.current !== e && t(oye({
+ n.current === null ? t(sye(e)) : n.current !== e && t(lye({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, N.useLayoutEffect)(() => () => {
- n.current &&= (t(aye(n.current)), null);
+ n.current &&= (t(cye(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function cye(e) {
+function dye(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function lye(e) {
- if (!(!dz(e) || e.length === 0)) return cye(L4(e));
+function fye(e) {
+ if (!(!fz(e) || e.length === 0)) return dye(L4(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var uye = ["points"];
+var pye = ["points"];
function S3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -56320,26 +56321,26 @@ function C3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? S3(Object(n), !0).forEach(function(t) {
- dye(e, t, n[t]);
+ mye(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dye(e, t, n) {
- return (t = fye(t)) in e ? Object.defineProperty(e, t, {
+function mye(e, t, n) {
+ return (t = hye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fye(e) {
- var t = pye(e, "string");
+function hye(e) {
+ var t = gye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pye(e, t) {
+function gye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56358,16 +56359,16 @@ function w3() {
return e;
}, w3.apply(null, arguments);
}
-function mye(e, t) {
+function _ye(e, t) {
if (e == null) return {};
- var n, r, i = hye(e, t);
+ var n, r, i = vye(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 hye(e, t) {
+function vye(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56376,20 +56377,20 @@ function hye(e, t) {
}
return n;
}
-function gye(e) {
+function yye(e) {
var { option: t, dotProps: n, className: r } = e;
if (/*#__PURE__*/ (0, N.isValidElement)(t)) return /*#__PURE__*/ (0, N.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = Nm(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = mye(a, uye);
+ var i = Nm(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = _ye(a, pye);
return /*#__PURE__*/ N.createElement(v4, w3({}, s, { className: i }));
}
-function _ye(e, t) {
+function bye(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
function T3(e) {
- var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = RJ.scatter } = e;
- if (!_ye(t, n)) return null;
- var u = n3(n), d = Uce(n), f = t.map((e, r) => {
+ var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = BJ.scatter } = e;
+ if (!bye(t, n)) return null;
+ var u = n3(n), d = Gce(n), f = t.map((e, r) => {
var s = C3(C3(C3({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
@@ -56399,14 +56400,14 @@ function T3(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ N.createElement(gye, {
+ return /*#__PURE__*/ N.createElement(yye, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), p = {};
- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ N.createElement(t2, { zIndex: l }, /*#__PURE__*/ N.createElement(FL, w3({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ N.createElement(t2, { zIndex: l }, /*#__PURE__*/ N.createElement(IL, w3({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
@@ -56424,26 +56425,26 @@ function D3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? E3(Object(n), !0).forEach(function(t) {
- vye(e, t, n[t]);
+ xye(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vye(e, t, n) {
- return (t = yye(t)) in e ? Object.defineProperty(e, t, {
+function xye(e, t, n) {
+ return (t = Sye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function yye(e) {
- var t = bye(e, "string");
+function Sye(e) {
+ var t = Cye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bye(e, t) {
+function Cye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56453,7 +56454,7 @@ function bye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var O3 = _V({
+var O3 = vV({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -56463,60 +56464,60 @@ var O3 = _V({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = DW(t.payload);
+ e.xAxis[t.payload.id] = kW(t.payload);
},
- prepare: pV()
+ prepare: mV()
},
replaceXAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = DW(r));
+ e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = kW(r));
},
- prepare: pV()
+ prepare: mV()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: pV()
+ prepare: mV()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = DW(t.payload);
+ e.yAxis[t.payload.id] = kW(t.payload);
},
- prepare: pV()
+ prepare: mV()
},
replaceYAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = DW(r));
+ e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = kW(r));
},
- prepare: pV()
+ prepare: mV()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: pV()
+ prepare: mV()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = DW(t.payload);
+ e.zAxis[t.payload.id] = kW(t.payload);
},
- prepare: pV()
+ prepare: mV()
},
replaceZAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = DW(r));
+ e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = kW(r));
},
- prepare: pV()
+ prepare: mV()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: pV()
+ prepare: mV()
},
updateYAxisWidth(e, t) {
var { id: n, width: r } = t.payload, i = e.yAxis[n];
@@ -56531,15 +56532,15 @@ var O3 = _V({
}
}
}
-}), { addXAxis: xye, replaceXAxis: Sye, removeXAxis: Cye, addYAxis: wye, replaceYAxis: Tye, removeYAxis: Eye, addZAxis: Dye, replaceZAxis: Oye, removeZAxis: kye, updateYAxisWidth: Aye } = O3.actions, jye = O3.reducer, Mye = $([
- $([VH], (e) => ({
+}), { addXAxis: wye, replaceXAxis: Tye, removeXAxis: Eye, addYAxis: Dye, replaceYAxis: Oye, removeYAxis: kye, addZAxis: Aye, replaceZAxis: jye, removeZAxis: Mye, updateYAxisWidth: Nye } = O3.actions, Pye = O3.reducer, Fye = $([
+ $([UH], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- wH,
- TH
+ EH,
+ DH
], (e, t, n) => {
if (!(!e || t == null || n == null)) return {
x: e.left,
@@ -56547,7 +56548,7 @@ var O3 = _V({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), k3 = () => Q(Mye), Nye = () => Q(fhe);
+}), k3 = () => Q(Fye), Iye = () => Q(hhe);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
function A3(e, t) {
@@ -56564,26 +56565,26 @@ function j3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? A3(Object(n), !0).forEach(function(t) {
- Pye(e, t, n[t]);
+ Lye(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Pye(e, t, n) {
- return (t = Fye(t)) in e ? Object.defineProperty(e, t, {
+function Lye(e, t, n) {
+ return (t = Rye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Fye(e) {
- var t = Iye(e, "string");
+function Rye(e) {
+ var t = zye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Iye(e, t) {
+function zye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56593,7 +56594,7 @@ function Iye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Lye = (e) => {
+var Bye = (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 = j3(j3(j3({}, {
@@ -56607,17 +56608,17 @@ var Lye = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), AL(i)), nz(i)), c = /*#__PURE__*/ (0, N.isValidElement)(i) ? /*#__PURE__*/ (0, N.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ N.createElement(v4, s);
- return /*#__PURE__*/ N.createElement(FL, {
+ }), jL(i)), rz(i)), c = /*#__PURE__*/ (0, N.isValidElement)(i) ? /*#__PURE__*/ (0, N.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ N.createElement(v4, s);
+ return /*#__PURE__*/ N.createElement(IL, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
function M3(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = RJ.activeDot } = e, s = Q(P0), c = Nye();
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = BJ.activeDot } = e, s = Q(P0), c = Iye();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return KR(l) ? null : /*#__PURE__*/ N.createElement(t2, { zIndex: o }, /*#__PURE__*/ N.createElement(Lye, {
+ return qR(l) ? null : /*#__PURE__*/ N.createElement(t2, { zIndex: o }, /*#__PURE__*/ N.createElement(Bye, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -56642,26 +56643,26 @@ function P3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? N3(Object(n), !0).forEach(function(t) {
- Rye(e, t, n[t]);
+ Vye(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Rye(e, t, n) {
- return (t = zye(t)) in e ? Object.defineProperty(e, t, {
+function Vye(e, t, n) {
+ return (t = Hye(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zye(e) {
- var t = Bye(e, "string");
+function Hye(e) {
+ var t = Uye(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Bye(e, t) {
+function Uye(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56671,16 +56672,16 @@ function Bye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var F3 = (e, t) => O4(e, "radiusAxis", t), Vye = $([F3], (e) => {
+var F3 = (e, t) => O4(e, "radiusAxis", t), Wye = $([F3], (e) => {
if (e != null) return { scale: e };
-}), Hye = $([ZJ, F3], (e, t) => {
+}), Gye = $([$J, F3], (e, t) => {
if (e != null && t != null) return P3(P3({}, e), {}, { scale: t });
-}), Uye = (e, t, n, r) => A4(e, "radiusAxis", t, r), I3 = (e, t, n) => XJ(e, n), L3 = (e, t, n) => O4(e, "angleAxis", n), Wye = $([I3, L3], (e, t) => {
+}), Kye = (e, t, n, r) => A4(e, "radiusAxis", t, r), I3 = (e, t, n) => QJ(e, n), L3 = (e, t, n) => O4(e, "angleAxis", n), qye = $([I3, L3], (e, t) => {
if (e != null && t != null) return P3(P3({}, e), {}, { scale: t });
-}), Gye = (e, t, n, r) => A4(e, "angleAxis", n, r), Kye = $([
+}), Jye = (e, t, n, r) => A4(e, "angleAxis", n, r), Yye = $([
I3,
L3,
- oY
+ cY
], (e, t, n) => {
if (n != null && t != null) return {
scale: t,
@@ -56689,30 +56690,30 @@ var F3 = (e, t) => O4(e, "radiusAxis", t), Vye = $([F3], (e) => {
cx: n.cx,
cy: n.cy
};
-}), qye = (e, t, n, r, i) => i, Jye = $([
- TU,
- Hye,
- Uye,
- Wye,
- Gye
-], (e, t, n, r, i) => iH(e, "radiusAxis") ? yH(t, n, !1) : yH(r, i, !1)), Yye = $([
- Vye,
+}), Xye = (e, t, n, r, i) => i, Zye = $([
+ DU,
+ Gye,
Kye,
- uJ,
- $([y4, qye], (e, t) => {
+ qye,
+ Jye
+], (e, t, n, r, i) => oH(e, "radiusAxis") ? xH(t, n, !1) : xH(r, i, !1)), Qye = $([
+ Wye,
+ Yye,
+ fJ,
+ $([y4, Xye], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- Jye
+ Zye
], (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 abe({
+ if (e != null && t != null && a != null && i != null && r != null) return cbe({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), Xye = ["id"];
+}), $ye = ["id"];
function R3() {
return R3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -56736,26 +56737,26 @@ function B3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? z3(Object(n), !0).forEach(function(t) {
- Zye(e, t, n[t]);
+ ebe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Zye(e, t, n) {
- return (t = Qye(t)) in e ? Object.defineProperty(e, t, {
+function ebe(e, t, n) {
+ return (t = tbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Qye(e) {
- var t = $ye(e, "string");
+function tbe(e) {
+ var t = nbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $ye(e, t) {
+function nbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56765,16 +56766,16 @@ function $ye(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ebe(e, t) {
+function rbe(e, t) {
if (e == null) return {};
- var n, r, i = tbe(e, t);
+ var n, r, i = ibe(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 tbe(e, t) {
+function ibe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56786,27 +56787,27 @@ function tbe(e, t) {
function V3(e, t) {
return e && e !== "none" ? e : t;
}
-var nbe = (e) => {
+var abe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: V3(r, i),
- value: xH(n, t),
+ value: CH(n, t),
payload: e
}];
-}, rbe = /*#__PURE__*/ N.memo((e) => {
+}, obe = /*#__PURE__*/ N.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: YR,
+ getPosition: XR,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: xH(a, t),
+ name: CH(a, t),
hide: o,
type: s,
color: V3(n, i),
@@ -56816,8 +56817,8 @@ var nbe = (e) => {
};
return /*#__PURE__*/ N.createElement(h3, { tooltipEntrySettings: l });
});
-function ibe(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = kL(ebe(n, Xye));
+function sbe(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = AL(rbe(n, $ye));
return /*#__PURE__*/ N.createElement(T3, {
points: t,
dot: r,
@@ -56827,11 +56828,11 @@ function ibe(e) {
baseProps: o
});
}
-function abe(e) {
+function cbe(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 = nH(e, n.dataKey, r), d = nH(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? lye(d) : d, m = KR(p) ? 0 : t.scale.map(p) ?? 0;
- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(B3(B3({}, Iq(o, s, m, f)), {}, {
+ var a = iH(e, n.dataKey, r), d = iH(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? fye(d) : d, m = qR(p) ? 0 : t.scale.map(p) ?? 0;
+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(B3(B3({}, Rq(o, s, m, f)), {}, {
name: a,
value: d,
cx: o,
@@ -56844,8 +56845,8 @@ function abe(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = KR(n) ? 0 : t.scale.map(n) ?? 0;
- d.push(B3(B3({}, e), {}, { radius: r }, Iq(o, s, r, e.angle)));
+ var n = e.value[0], r = qR(n) ? 0 : t.scale.map(n) ?? 0;
+ d.push(B3(B3({}, e), {}, { radius: r }, Rq(o, s, r, e.angle)));
} else d.push(e);
}), {
points: l,
@@ -56853,7 +56854,7 @@ function abe(e) {
baseLinePoints: d
};
}
-function obe(e) {
+function lbe(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -56873,10 +56874,10 @@ function obe(e) {
});
return /*#__PURE__*/ N.createElement(l4, { value: t ? i : void 0 }, r);
}
-function sbe(e) {
+function ube(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ N.isValidElement(i) ? /*#__PURE__*/ N.cloneElement(i, B3(B3({}, r), {}, { points: t })) : typeof i == "function" ? i(B3(B3({}, r), {}, { points: t })) : /*#__PURE__*/ N.createElement(g4, R3({}, jL(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ N.isValidElement(i) ? /*#__PURE__*/ N.cloneElement(i, B3(B3({}, r), {}, { points: t })) : typeof i == "function" ? i(B3(B3({}, r), {}, { points: t })) : /*#__PURE__*/ N.createElement(g4, R3({}, ML(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -56889,7 +56890,7 @@ function sbe(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ N.createElement(FL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ N.createElement(ibe, {
+ return /*#__PURE__*/ N.createElement(IL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ N.createElement(sbe, {
props: r,
points: t
}));
@@ -56897,23 +56898,23 @@ function sbe(e) {
var H3 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
return a ? B3(B3({}, r), {}, {
- x: WR(a.x, r.x, n),
- y: WR(a.y, r.y, n)
+ x: GR(a.x, r.x, n),
+ y: GR(a.y, r.y, n)
}) : B3(B3({}, r), {}, {
- x: WR(r.cx, r.x, n),
- y: WR(r.cy, r.y, n)
+ x: GR(r.cx, r.x, n),
+ y: GR(r.cy, r.y, n)
});
};
-function cbe(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 = rq(t, "recharts-radar-"), [_, v] = (0, N.useState)(!1), y = !_, b = (0, N.useCallback)(() => {
+function dbe(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 = aq(t, "recharts-radar-"), [_, v] = (0, N.useState)(!1), y = !_, b = (0, N.useCallback)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, N.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ N.createElement(obe, {
+ return /*#__PURE__*/ N.createElement(lbe, {
showLabels: y,
points: i
- }, /*#__PURE__*/ N.createElement(nq, {
+ }, /*#__PURE__*/ N.createElement(iq, {
animationId: g,
begin: s,
duration: c,
@@ -56924,22 +56925,22 @@ function cbe(e) {
onAnimationStart: x
}, (e) => {
var o = e === 1 ? i : i.map(H3(f, m, e)), s = e === 1 ? a : a?.map(H3(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ N.createElement(sbe, {
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ N.createElement(ube, {
points: o,
baseLinePoints: s,
props: t
});
}), /*#__PURE__*/ N.createElement(f4, { label: t.label }), t.children);
}
-function lbe(e) {
+function fbe(e) {
var t = (0, N.useRef)(void 0), n = (0, N.useRef)(void 0);
- return /*#__PURE__*/ N.createElement(cbe, {
+ return /*#__PURE__*/ N.createElement(dbe, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var ube = {
+var pbe = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -56951,29 +56952,29 @@ var ube = {
label: !1,
legendType: "rect",
radiusAxisId: 0,
- zIndex: RJ.area
+ zIndex: BJ.area
};
-function dbe(e) {
+function mbe(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
var i = Nm("recharts-radar", n);
- return /*#__PURE__*/ N.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ N.createElement(FL, { className: i }, /*#__PURE__*/ N.createElement(lbe, e)), /*#__PURE__*/ N.createElement(M3, {
+ return /*#__PURE__*/ N.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ N.createElement(IL, { className: i }, /*#__PURE__*/ N.createElement(fbe, e)), /*#__PURE__*/ N.createElement(M3, {
points: r,
mainColor: V3(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function fbe(e) {
- var t = GH(), n = Q((n) => Yye(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ N.createElement(dbe, R3({}, e, {
+function hbe(e) {
+ var t = qH(), n = Q((n) => Qye(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ N.createElement(mbe, R3({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function U3(e) {
- var t = az(e, ube);
+ var t = oz(e, pbe);
return /*#__PURE__*/ N.createElement(v3, {
id: t.id,
type: "radar"
@@ -56985,7 +56986,7 @@ function U3(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ N.createElement(_3, { legendPayload: nbe(t) }), /*#__PURE__*/ N.createElement(rbe, {
+ }), /*#__PURE__*/ N.createElement(_3, { legendPayload: abe(t) }), /*#__PURE__*/ N.createElement(obe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -56994,7 +56995,7 @@ function U3(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ N.createElement(fbe, R3({}, t, { id: e }))));
+ }), /*#__PURE__*/ N.createElement(hbe, R3({}, t, { id: e }))));
}
U3.displayName = "Radar";
//#endregion
@@ -57018,9 +57019,9 @@ function K3(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
var q3 = (e, t, n) => {
var r = n ?? e;
- if (!KR(r)) return HR(r, t, 0);
+ if (!qR(r)) return UR(r, t, 0);
}, J3 = (e, t, n) => {
- var r = {}, i = e.filter(dY), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
+ var r = {}, i = e.filter(pY), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, r), s = Object.entries(o).map((e) => {
@@ -57053,26 +57054,26 @@ function X3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Y3(Object(n), !0).forEach(function(t) {
- pbe(e, t, n[t]);
+ gbe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pbe(e, t, n) {
- return (t = mbe(t)) in e ? Object.defineProperty(e, t, {
+function gbe(e, t, n) {
+ return (t = _be(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mbe(e) {
- var t = hbe(e, "string");
+function _be(e) {
+ var t = vbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hbe(e, t) {
+function vbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57082,11 +57083,11 @@ function hbe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function gbe(e, t, n, r, i) {
+function ybe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = HR(e, n, 0, !0), s, c = [];
- if (YV(r[0]?.barSize)) {
+ var o = UR(e, n, 0, !0), s, c = [];
+ if (ZV(r[0]?.barSize)) {
var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);
d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);
var f = {
@@ -57105,11 +57106,11 @@ function gbe(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = HR(t, n, 0, !0);
+ var p = UR(t, n, 0, !0);
n - 2 * p - (a - 1) * o <= 0 && (o = 0);
var m = (n - 2 * p - (a - 1) * o) / a;
m > 1 && (m >>= 0);
- var h = YV(i) ? Math.min(m, i) : m;
+ var h = ZV(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -57123,10 +57124,10 @@ function gbe(e, t, n, r, i) {
}
}
var Z3 = (e, t, n, r, i, a, o) => {
- var s = KR(o) ? t : o, c = gbe(n, r, i === a ? a : i, e, s);
+ var s = qR(o) ? t : o, c = ybe(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => X3(X3({}, e), {}, { position: X3(X3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, Q3 = (e, t) => {
- var n = lY(t);
+ var n = dY(t);
if (!(!e || n == null || t == null)) {
var { stackId: r } = t;
if (r != null) {
@@ -57159,26 +57160,26 @@ function t6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? e6(Object(n), !0).forEach(function(t) {
- _be(e, t, n[t]);
+ bbe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _be(e, t, n) {
- return (t = vbe(t)) in e ? Object.defineProperty(e, t, {
+function bbe(e, t, n) {
+ return (t = xbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vbe(e) {
- var t = ybe(e, "string");
+function xbe(e) {
+ var t = Sbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ybe(e, t) {
+function Sbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57188,81 +57189,81 @@ function ybe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var n6 = $([(e, t) => ZJ(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
+var n6 = $([(e, t) => $J(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
if (e != null && t != null) return t6(t6({}, e), {}, { scale: t });
-}), r6 = (e, t) => M_e(e, "radiusAxis", t, !1), i6 = $([(e, t, n) => XJ(e, n), (e, t, n) => O4(e, "angleAxis", n)], (e, t) => {
+}), r6 = (e, t) => F_e(e, "radiusAxis", t, !1), i6 = $([(e, t, n) => QJ(e, n), (e, t, n) => O4(e, "angleAxis", n)], (e, t) => {
if (e != null && t != null) return t6(t6({}, e), {}, { scale: t });
}), a6 = (e, t, n) => A4(e, "angleAxis", n, !1), o6 = $([y4, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
}), s6 = $([
- TU,
+ DU,
n6,
r6,
i6,
a6
-], (e, t, n, r, i) => iH(e, "radiusAxis") ? yH(t, n, !1) : yH(r, i, !1)), bbe = $([
+], (e, t, n, r, i) => oH(e, "radiusAxis") ? xH(t, n, !1) : xH(r, i, !1)), Cbe = $([
i6,
n6,
- TU
+ DU
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return pH({ numericAxis: r });
-}), xbe = (e, t, n, r, i) => i, Sbe = (e, t, n, r, i) => n, Cbe = (e, t, n, r, i) => t, c6 = (e, t, n, r, i) => r.maxBarSize, l6 = (e) => e.type === "radialBar", wbe = $([$([
+ if (r != null && r.scale != null) return hH({ numericAxis: r });
+}), wbe = (e, t, n, r, i) => i, Tbe = (e, t, n, r, i) => n, Ebe = (e, t, n, r, i) => t, c6 = (e, t, n, r, i) => r.maxBarSize, l6 = (e) => e.type === "radialBar", Dbe = $([$([
$([
$([
- TU,
+ DU,
y4,
- Sbe,
- Cbe
+ Tbe,
+ Ebe
], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(l6)),
- AJ,
+ MJ,
() => void 0
], J3),
- DJ,
- OJ,
kJ,
+ AJ,
+ jJ,
$([
- TU,
- DJ,
+ DU,
+ kJ,
i6,
a6,
n6,
r6,
c6
], (e, t, n, r, i, a, o) => {
- var s = KR(o) ? t : o;
- return e === "centric" ? yH(n, r, !0) ?? s ?? 0 : yH(i, a, !0) ?? s ?? 0;
+ var s = qR(o) ? t : o;
+ return e === "centric" ? xH(n, r, !0) ?? s ?? 0 : xH(i, a, !0) ?? s ?? 0;
}),
s6,
c6
-], Z3), o6], $3), u6 = $([b4], (e) => e.filter(l6).filter(dY)), d6 = $([
+], Z3), o6], $3), u6 = $([b4], (e) => e.filter(l6).filter(pY)), d6 = $([
$([
u6,
- uJ,
+ fJ,
n1
- ], uY),
+ ], fY),
u6,
- jJ,
- MJ
-], i1), Tbe = $([
+ NJ,
+ PJ
+], i1), Obe = $([
i6,
a6,
n6,
r6,
- lJ,
+ dJ,
o6,
s6,
- TU,
- bbe,
- oY,
- xbe,
+ DU,
+ Cbe,
+ cY,
wbe,
- $([(e, t, n) => TU(e) === "centric" ? d6(e, "radiusAxis", t) : d6(e, "angleAxis", n), o6], Q3)
+ Dbe,
+ $([(e, t, n) => DU(e) === "centric" ? d6(e, "radiusAxis", t) : d6(e, "angleAxis", n), o6], Q3)
], (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 Hbe({
+ return Gbe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -57283,7 +57284,7 @@ var n6 = $([(e, t) => ZJ(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), Ebe = $([uJ, (e, t) => t], (e, t) => {
+}), kbe = $([fJ, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -57297,20 +57298,20 @@ var n6 = $([(e, t) => ZJ(e, t), (e, t) => O4(e, "radiusAxis", t)], (e, t) => {
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
function f6(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && YV(e.zIndex) ? e.zIndex : t;
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && ZV(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var Dbe = [
+var Abe = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], Obe = [
+], jbe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], kbe = ["value", "background"];
+], Mbe = ["value", "background"];
function p6() {
return p6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -57334,26 +57335,26 @@ function h6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? m6(Object(n), !0).forEach(function(t) {
- Abe(e, t, n[t]);
+ Nbe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Abe(e, t, n) {
- return (t = jbe(t)) in e ? Object.defineProperty(e, t, {
+function Nbe(e, t, n) {
+ return (t = Pbe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jbe(e) {
- var t = Mbe(e, "string");
+function Pbe(e) {
+ var t = Fbe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Mbe(e, t) {
+function Fbe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57365,14 +57366,14 @@ function Mbe(e, t) {
}
function g6(e, t) {
if (e == null) return {};
- var n, r, i = Nbe(e, t);
+ var n, r, i = Ibe(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 Nbe(e, t) {
+function Ibe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57382,7 +57383,7 @@ function Nbe(e, t) {
return n;
}
var _6 = [];
-function Pbe(e) {
+function Lbe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -57399,15 +57400,15 @@ function Pbe(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ N.createElement(b_e, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ N.createElement(C_e, { value: t ? i : void 0 }, r);
}
-function Fbe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = g6(n, Dbe), l = kL(c), u = Q(P0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = g6(n, Obe), h = f3(d, n.dataKey, s), g = p3(p), _ = m3(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ N.createElement(Pbe, {
+function Rbe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = g6(n, Abe), l = AL(c), u = Q(P0), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = g6(n, jbe), h = f3(d, n.dataKey, s), g = p3(p), _ = m3(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ N.createElement(Lbe, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = h6(h6(h6(h6({}, l), {}, { cornerRadius: G3(o) }, e), rz(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = h6(h6(h6(h6({}, l), {}, { cornerRadius: G3(o) }, e), iz(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -57419,18 +57420,18 @@ function Fbe(e) {
index: t
});
return n ? /*#__PURE__*/ N.createElement(t2, {
- zIndex: RJ.activeBar,
+ zIndex: BJ.activeBar,
key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`
}, /*#__PURE__*/ N.createElement(K3, f)) : /*#__PURE__*/ N.createElement(K3, p6({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
}), /*#__PURE__*/ N.createElement(f4, { label: n.label }), n.children);
}
-function Ibe(e) {
- var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = rq(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, N.useState)(!1), m = (0, N.useCallback)(() => {
+function zbe(e) {
+ var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = aq(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, N.useState)(!1), m = (0, N.useCallback)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, N.useCallback)(() => {
typeof l == "function" && l(), p(!0);
}, [l]);
- return /*#__PURE__*/ N.createElement(nq, {
+ return /*#__PURE__*/ N.createElement(iq, {
animationId: u,
begin: a,
duration: o,
@@ -57443,34 +57444,34 @@ function Ibe(e) {
var i = e === 1 ? r : (r ?? _6).map((t, n) => {
var r = d && d[n];
if (r) return h6(h6({}, t), {}, {
- startAngle: WR(r.startAngle, t.startAngle, e),
- endAngle: WR(r.endAngle, t.endAngle, e)
+ startAngle: GR(r.startAngle, t.startAngle, e),
+ endAngle: GR(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return h6(h6({}, t), {}, { endAngle: WR(a, i, e) });
+ return h6(h6({}, t), {}, { endAngle: GR(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ N.createElement(Fbe, {
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ N.createElement(Rbe, {
sectors: i ?? _6,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function Lbe(e) {
+function Bbe(e) {
var t = (0, N.useRef)(null);
- return /*#__PURE__*/ N.createElement(Ibe, {
+ return /*#__PURE__*/ N.createElement(zbe, {
props: e,
previousSectorsRef: t
});
}
-function Rbe(e) {
- var t = Q((t) => Ebe(t, e.legendType));
+function Vbe(e) {
+ var t = Q((t) => kbe(t, e.legendType));
return /*#__PURE__*/ N.createElement(_3, { legendPayload: t ?? [] });
}
-var zbe = /*#__PURE__*/ N.memo((e) => {
+var Hbe = /*#__PURE__*/ N.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: YR,
+ getPosition: XR,
settings: {
graphicalItemId: l,
stroke: r,
@@ -57478,7 +57479,7 @@ var zbe = /*#__PURE__*/ N.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: xH(a, t),
+ name: CH(a, t),
hide: o,
type: c,
color: s,
@@ -57486,14 +57487,14 @@ var zbe = /*#__PURE__*/ N.memo((e) => {
}
};
return /*#__PURE__*/ N.createElement(h3, { tooltipEntrySettings: u });
-}), Bbe = class extends N.PureComponent {
+}), Ube = class extends N.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = AL(this.props.background);
- return /*#__PURE__*/ N.createElement(t2, { zIndex: f6(this.props.background, RJ.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = g6(e, kbe);
+ var { cornerRadius: t } = this.props, n = jL(this.props.background);
+ return /*#__PURE__*/ N.createElement(t2, { zIndex: f6(this.props.background, BJ.barBackground) }, e.map((e, r) => {
+ var { value: i, background: a } = e, o = g6(e, Mbe);
if (!a) return null;
- var s = h6(h6(h6(h6(h6({ cornerRadius: G3(t) }, o), {}, { fill: "#eee" }, a), n), rz(this.props, e, r)), {}, {
+ var s = h6(h6(h6(h6(h6({ cornerRadius: G3(t) }, o), {}, { fill: "#eee" }, a), n), iz(this.props, e, r)), {}, {
index: r,
className: Nm("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
@@ -57506,17 +57507,17 @@ var zbe = /*#__PURE__*/ N.memo((e) => {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
var i = Nm("recharts-area", n);
- return /*#__PURE__*/ N.createElement(t2, { zIndex: this.props.zIndex }, /*#__PURE__*/ N.createElement(FL, { className: i }, r && /*#__PURE__*/ N.createElement(FL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ N.createElement(FL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ N.createElement(Lbe, this.props))));
+ return /*#__PURE__*/ N.createElement(t2, { zIndex: this.props.zIndex }, /*#__PURE__*/ N.createElement(IL, { className: i }, r && /*#__PURE__*/ N.createElement(IL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ N.createElement(IL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ N.createElement(Bbe, this.props))));
}
};
-function Vbe(e) {
+function Wbe(e) {
var t = N.useMemo(() => t3(e.children, v2), [e.children]), n = N.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: uH(e.stackId),
+ stackId: fH(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -57531,8 +57532,8 @@ function Vbe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => Tbe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? _6;
- return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(zbe, {
+ ]), r = Q((r) => Obe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? _6;
+ return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(Hbe, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -57542,7 +57543,7 @@ function Vbe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ N.createElement(Bbe, p6({}, e, { sectors: r })));
+ }), /*#__PURE__*/ N.createElement(Ube, p6({}, e, { sectors: r })));
}
var v6 = {
angleAxisId: 0,
@@ -57559,14 +57560,14 @@ var v6 = {
legendType: "rect",
minPointSize: 0,
radiusAxisId: 0,
- zIndex: RJ.bar
+ zIndex: BJ.bar
};
-function Hbe(e) {
+function Gbe(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 ? _6 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = sH(n[r + t], i) : (b = nH(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
- if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = fH({
+ if (n ? b = lH(n[r + t], i) : (b = iH(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
+ if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = mH({
axis: c,
ticks: l,
bandSize: u,
@@ -57577,7 +57578,7 @@ function Hbe(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = LR(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = RR(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -57589,7 +57590,7 @@ function Hbe(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = fH({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = mH({
axis: f,
ticks: g,
bandSize: u,
@@ -57600,7 +57601,7 @@ function Hbe(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = LR(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = RR(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -57617,7 +57618,7 @@ function Hbe(e) {
});
}
function y6(e) {
- var t = az(e, v6);
+ var t = oz(e, v6);
return /*#__PURE__*/ N.createElement(v3, {
id: t.id,
type: "radialBar"
@@ -57629,17 +57630,17 @@ function y6(e) {
hide: t.hide ?? v6.hide,
angleAxisId: t.angleAxisId ?? v6.angleAxisId,
radiusAxisId: t.radiusAxisId ?? v6.radiusAxisId,
- stackId: uH(t.stackId),
+ stackId: fH(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ N.createElement(Rbe, t), /*#__PURE__*/ N.createElement(Vbe, p6({}, t, { id: e }))));
+ }), /*#__PURE__*/ N.createElement(Vbe, t), /*#__PURE__*/ N.createElement(Wbe, p6({}, t, { id: e }))));
}
y6.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
var b6 = (e) => {
- var { chartData: t } = e, n = Mz(), r = GH();
+ var { chartData: t } = e, n = Nz(), r = qH();
return (0, N.useEffect)(() => r ? () => {} : (n(f2(t)), () => {
n(f2(void 0));
}), [
@@ -57658,13 +57659,13 @@ var b6 = (e) => {
bottom: 0,
left: 0
}
-}, S6 = _V({
+}, S6 = vV({
name: "brush",
initialState: x6,
reducers: { setBrushSettings(e, t) {
return t.payload == null ? x6 : t.payload;
} }
-}), { setBrushSettings: Ube } = S6.actions, Wbe = S6.reducer, Gbe = (e, t) => {
+}), { setBrushSettings: Kbe } = S6.actions, qbe = S6.reducer, Jbe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -57672,9 +57673,9 @@ var b6 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, Kbe = (e) => {
+}, Ybe = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return Gbe({
+ return Jbe({
x: t,
y: n
}, {
@@ -57682,13 +57683,13 @@ var b6 = (e) => {
y: i
});
};
-function qbe(e) {
+function Xbe(e) {
return (e % 180 + 180) % 180;
}
-var Jbe = function(e) {
- var { width: t, height: n } = e, r = qbe(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 Zbe = function(e) {
+ var { width: t, height: n } = e, r = Xbe(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);
-}, C6 = _V({
+}, C6 = vV({
name: "referenceElements",
initialState: {
dots: [],
@@ -57700,26 +57701,26 @@ var Jbe = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = iV(e).dots.findIndex((e) => e === t.payload);
+ var n = aV(e).dots.findIndex((e) => e === t.payload);
n !== -1 && e.dots.splice(n, 1);
},
addArea: (e, t) => {
e.areas.push(t.payload);
},
removeArea: (e, t) => {
- var n = iV(e).areas.findIndex((e) => e === t.payload);
+ var n = aV(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(DW(t.payload));
+ e.lines.push(kW(t.payload));
},
removeLine: (e, t) => {
- var n = iV(e).lines.findIndex((e) => e === t.payload);
+ var n = aV(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: Ybe, removeDot: Xbe, addArea: Zbe, removeArea: Qbe, addLine: $be, removeLine: exe } = C6.actions, txe = C6.reducer, w6 = /*#__PURE__*/ (0, N.createContext)(void 0), nxe = (e) => {
- var { children: t } = e, [n] = (0, N.useState)(`${VR("recharts")}-clip`), r = k3();
+}), { addDot: Qbe, removeDot: $be, addArea: exe, removeArea: txe, addLine: nxe, removeLine: rxe } = C6.actions, ixe = C6.reducer, w6 = /*#__PURE__*/ (0, N.createContext)(void 0), axe = (e) => {
+ var { children: t } = e, [n] = (0, N.useState)(`${HR("recharts")}-clip`), r = k3();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
return /*#__PURE__*/ N.createElement(w6.Provider, { value: n }, /*#__PURE__*/ N.createElement("defs", null, /*#__PURE__*/ N.createElement("clipPath", { id: n }, /*#__PURE__*/ N.createElement("rect", {
@@ -57728,7 +57729,7 @@ var Jbe = function(e) {
height: s,
width: o
}))), t);
-}, rxe = () => (0, N.useContext)(w6), ixe = class {
+}, oxe = () => (0, N.useContext)(w6), sxe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -57768,26 +57769,26 @@ function E6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? T6(Object(n), !0).forEach(function(t) {
- axe(e, t, n[t]);
+ cxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function axe(e, t, n) {
- return (t = oxe(t)) in e ? Object.defineProperty(e, t, {
+function cxe(e, t, n) {
+ return (t = lxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oxe(e) {
- var t = sxe(e, "string");
+function lxe(e) {
+ var t = uxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sxe(e, t) {
+function uxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57806,18 +57807,18 @@ function D6() {
return e;
}, D6.apply(null, arguments);
}
-var cxe = (e, t) => {
+var dxe = (e, t) => {
var n;
if (/*#__PURE__*/ N.isValidElement(e)) n = /*#__PURE__*/ N.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!YV(t.x1) || !YV(t.y1) || !YV(t.x2) || !YV(t.y2)) return null;
+ if (!ZV(t.x1) || !ZV(t.y1) || !ZV(t.x2) || !ZV(t.y2)) return null;
n = /*#__PURE__*/ N.createElement("line", D6({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, lxe = (e, t, n, r, i, a) => {
+}, fxe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
- if (!YV(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!ZV(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -57826,9 +57827,9 @@ var cxe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, uxe = (e, t, n, r, i, a) => {
+}, pxe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
- if (!YV(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!ZV(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -57837,7 +57838,7 @@ var cxe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, dxe = (e, t, n, r) => {
+}, mxe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -57846,43 +57847,43 @@ var cxe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, fxe = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = BR(s);
- return BR(c) ? lxe(c, u, r, a, t, n) : d ? uxe(s, u, r, i, e, n) : l != null && l.length === 2 ? dxe(l, u, r, new ixe({
+}, hxe = (e, t, n, r, i, a, o) => {
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = VR(s);
+ return VR(c) ? fxe(c, u, r, a, t, n) : d ? pxe(s, u, r, i, e, n) : l != null && l.length === 2 ? mxe(l, u, r, new sxe({
x: e,
y: t
})) : null;
};
-function pxe(e) {
- var t = Mz();
- return (0, N.useEffect)(() => (t($be(e)), () => {
- t(exe(e));
+function gxe(e) {
+ var t = Nz();
+ return (0, N.useEffect)(() => (t(nxe(e)), () => {
+ t(rxe(e));
})), null;
}
-function mxe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = GH(), s = rxe(), c = Q((e) => N$(e, t)), l = Q((e) => I$(e, n)), u = Q((e) => N1(e, "xAxis", t, o)), d = Q((e) => N1(e, "yAxis", n, o)), f = yU();
+function _xe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = qH(), s = oxe(), c = Q((e) => N$(e, t)), l = Q((e) => I$(e, n)), u = Q((e) => N1(e, "xAxis", t, o)), d = Q((e) => N1(e, "yAxis", n, o)), f = xU();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = fxe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = hxe(u, d, f, e.position, c.orientation, l.orientation, e);
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
- var { x: g, y: _ } = m, { x: v, y } = h, b = E6(E6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, jL(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = E6(E6({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, ML(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = Kbe({
+ }), x = Ybe({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ N.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ N.createElement(FL, { className: Nm("recharts-reference-line", i) }, cxe(r, b), /*#__PURE__*/ N.createElement(Z2, D6({}, x, {
+ return /*#__PURE__*/ N.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ N.createElement(IL, { className: Nm("recharts-reference-line", i) }, dxe(r, b), /*#__PURE__*/ N.createElement(Z2, D6({}, x, {
lowerWidth: x.width,
upperWidth: x.width
}), /*#__PURE__*/ N.createElement(a4, { label: e.label }), e.children)));
}
-var hxe = {
+var vxe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -57892,18 +57893,18 @@ var hxe = {
fillOpacity: 1,
strokeWidth: 1,
position: "middle",
- zIndex: RJ.line
+ zIndex: BJ.line
};
function O6(e) {
- var t = az(e, hxe);
- return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(pxe, {
+ var t = oz(e, vxe);
+ return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(gxe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ N.createElement(mxe, t));
+ }), /*#__PURE__*/ N.createElement(_xe, t));
}
O6.displayName = "ReferenceLine";
//#endregion
@@ -57919,13 +57920,13 @@ function k6(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function gxe(e, t, n) {
- return Jbe({
+function yxe(e, t, n) {
+ return Zbe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function _xe(e, t, n) {
+function bxe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -57940,12 +57941,12 @@ function A6(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function vxe(e, t) {
+function xxe(e, t) {
return k6(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function yxe(e, t, n, r, i) {
+function Sxe(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: k6(r, l) };
@@ -57954,7 +57955,7 @@ function yxe(e, t, n, r, i) {
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function bxe(e, t, n, r, i) {
+function Cxe(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++) {
@@ -57991,26 +57992,26 @@ function M6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? j6(Object(n), !0).forEach(function(t) {
- xxe(e, t, n[t]);
+ wxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xxe(e, t, n) {
- return (t = Sxe(t)) in e ? Object.defineProperty(e, t, {
+function wxe(e, t, n) {
+ return (t = Txe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Sxe(e) {
- var t = Cxe(e, "string");
+function Txe(e) {
+ var t = Exe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Cxe(e, t) {
+function Exe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58020,7 +58021,7 @@ function Cxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function wxe(e, t, n, r, i) {
+function Dxe(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;
@@ -58033,7 +58034,7 @@ function wxe(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function Txe(e, t, n, r, i, a) {
+function Oxe(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];
@@ -58057,7 +58058,7 @@ function Txe(e, t, n, r, i, a) {
function N6(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) || PG.isSsr) return vxe(i, Z(c) ? c : 0) ?? [];
+ if (Z(c) || IG.isSsr) return xxe(i, Z(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? w2(u, {
fontSize: t,
letterSpacing: n
@@ -58066,19 +58067,19 @@ function N6(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? gxe(w2(i, {
+ return p === "width" ? yxe(w2(i, {
fontSize: t,
letterSpacing: n
}), m, d) : w2(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? LR(_.coordinate - g.coordinate) : 1, y = _xe(a, v, p);
- return c === "equidistantPreserveStart" ? yxe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? bxe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? Txe(v, y, h, i, o, c === "preserveStartEnd") : wxe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? RR(_.coordinate - g.coordinate) : 1, y = bxe(a, v, p);
+ return c === "equidistantPreserveStart" ? Sxe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? Cxe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? Oxe(v, y, h, i, o, c === "preserveStartEnd") : Dxe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var Exe = (e) => {
+var kxe = (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) => {
@@ -58091,7 +58092,7 @@ var Exe = (e) => {
return Math.round(l);
}
return 0;
-}, P6 = _V({
+}, P6 = vV({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -58100,14 +58101,14 @@ var Exe = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var { axisType: n, axisId: r, ticks: i } = t.payload;
- e[n][r] = DW(i);
+ e[n][r] = kW(i);
},
removeRenderedTicks: (e, t) => {
var { axisType: n, axisId: r } = t.payload;
delete e[n][r];
}
}
-}), { setRenderedTicks: Dxe, removeRenderedTicks: Oxe } = P6.actions, kxe = P6.reducer, Axe = [
+}), { setRenderedTicks: Axe, removeRenderedTicks: jxe } = P6.actions, Mxe = P6.reducer, Nxe = [
"axisLine",
"width",
"height",
@@ -58117,16 +58118,16 @@ var Exe = (e) => {
"axisType",
"axisId"
];
-function jxe(e, t) {
+function Pxe(e, t) {
if (e == null) return {};
- var n, r, i = Mxe(e, t);
+ var n, r, i = Fxe(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 Fxe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58158,26 +58159,26 @@ function L6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? I6(Object(n), !0).forEach(function(t) {
- Nxe(e, t, n[t]);
+ Ixe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Nxe(e, t, n) {
- return (t = Pxe(t)) in e ? Object.defineProperty(e, t, {
+function Ixe(e, t, n) {
+ return (t = Lxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Pxe(e) {
- var t = Fxe(e, "string");
+function Lxe(e) {
+ var t = Rxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Fxe(e, t) {
+function Rxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58209,12 +58210,12 @@ var R6 = {
tickSize: 6,
tickMargin: 2,
interval: "preserveEnd",
- zIndex: RJ.axis
+ zIndex: BJ.axis
};
-function Ixe(e) {
+function zxe(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 = L6(L6(L6({}, c), kL(s)), {}, { fill: "none" });
+ var l = L6(L6(L6({}, c), AL(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = L6(L6({}, l), {}, {
@@ -58232,9 +58233,9 @@ function Ixe(e) {
y2: n + i
});
}
- return /*#__PURE__*/ N.createElement("line", F6({}, l, { className: Nm("recharts-cartesian-axis-line", PR(s, "className")) }));
+ return /*#__PURE__*/ N.createElement("line", F6({}, l, { className: Nm("recharts-cartesian-axis-line", FR(s, "className")) }));
}
-function Lxe(e, t, n, r, i, a, o, s, c) {
+function Bxe(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":
@@ -58261,14 +58262,14 @@ function Lxe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function Rxe(e, t) {
+function Vxe(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function zxe(e, t) {
+function Hxe(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -58276,7 +58277,7 @@ function zxe(e, t) {
default: return t ? "end" : "start";
}
}
-function Bxe(e) {
+function Uxe(e) {
var { option: t, tickProps: n, value: r } = e, i, a = Nm(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ N.isValidElement(t)) i = /*#__PURE__*/ N.cloneElement(t, L6(L6({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(L6(L6({}, n), {}, { className: a }));
@@ -58286,9 +58287,9 @@ function Bxe(e) {
}
return i;
}
-function Vxe(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = Mz();
- return (0, N.useEffect)(() => r == null || n == null ? YR : (i(Dxe({
+function Wxe(e) {
+ var { ticks: t, axisType: n, axisId: r } = e, i = Nz();
+ return (0, N.useEffect)(() => r == null || n == null ? XR : (i(Axe({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -58298,7 +58299,7 @@ function Vxe(e) {
axisId: r,
axisType: n
})), () => {
- i(Oxe({
+ i(jxe({
axisId: r,
axisType: n
}));
@@ -58309,15 +58310,15 @@ function Vxe(e) {
n
]), null;
}
-var Hxe = /*#__PURE__*/ (0, N.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 = N6(L6(L6({}, b), {}, { ticks: n }), v, y), T = kL(b), E = AL(r), D = L2(T.textAnchor) ? T.textAnchor : Rxe(u, d), O = zxe(u, d), k = {};
+var Gxe = /*#__PURE__*/ (0, N.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 = N6(L6(L6({}, b), {}, { ticks: n }), v, y), T = AL(b), E = jL(r), D = L2(T.textAnchor) ? T.textAnchor : Vxe(u, d), O = Hxe(u, d), k = {};
typeof i == "object" && (k = i);
- var A = L6(L6({}, T), {}, { fill: "none" }, k), j = w.map((e) => L6({ entry: e }, Lxe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = L6(L6({}, T), {}, { fill: "none" }, k), j = w.map((e) => L6({ entry: e }, Bxe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
- return /*#__PURE__*/ N.createElement(FL, {
+ return /*#__PURE__*/ N.createElement(IL, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ N.createElement("line", F6({}, A, n, { className: Nm("recharts-cartesian-axis-tick-line", PR(i, "className")) })));
+ }, i && /*#__PURE__*/ N.createElement("line", F6({}, A, n, { className: Nm("recharts-cartesian-axis-tick-line", FR(i, "className")) })));
}), P = j.map((e, t) => {
var { entry: n, tick: i } = e, u = L6(L6({}, L6(L6(L6(L6({ verticalAnchor: O }, T), {}, {
textAnchor: D,
@@ -58330,26 +58331,26 @@ var Hxe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
tickFormatter: o,
padding: c
}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
- return /*#__PURE__*/ N.createElement(FL, F6({
+ return /*#__PURE__*/ N.createElement(IL, F6({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, rz(x, n, t)), r && /*#__PURE__*/ N.createElement(Bxe, {
+ }, iz(x, n, t)), r && /*#__PURE__*/ N.createElement(Uxe, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
}));
});
- return /*#__PURE__*/ N.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ N.createElement(Vxe, {
+ return /*#__PURE__*/ N.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ N.createElement(Wxe, {
ticks: w,
axisId: C,
axisType: S
- }), P.length > 0 && /*#__PURE__*/ N.createElement(t2, { zIndex: RJ.label }, /*#__PURE__*/ N.createElement("g", {
+ }), P.length > 0 && /*#__PURE__*/ N.createElement(t2, { zIndex: BJ.label }, /*#__PURE__*/ N.createElement("g", {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, P)), M.length > 0 && /*#__PURE__*/ N.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));
-}), Uxe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = jxe(e, Axe), [d, f] = (0, N.useState)(""), [p, m] = (0, N.useState)(""), h = (0, N.useRef)(null);
- (0, N.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => Exe({
+}), Kxe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = Pxe(e, Nxe), [d, f] = (0, N.useState)(""), [p, m] = (0, N.useState)(""), h = (0, N.useRef)(null);
+ (0, N.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => kxe({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -58367,7 +58368,7 @@ var Hxe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ N.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ N.createElement(FL, { className: Nm("recharts-cartesian-axis", a) }, /*#__PURE__*/ N.createElement(Ixe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ N.createElement(t2, { zIndex: e.zIndex }, /*#__PURE__*/ N.createElement(IL, { className: Nm("recharts-cartesian-axis", a) }, /*#__PURE__*/ N.createElement(zxe, {
x: e.x,
y: e.y,
width: r,
@@ -58375,8 +58376,8 @@ var Hxe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: kL(e)
- }), /*#__PURE__*/ N.createElement(Hxe, {
+ otherSvgProps: AL(e)
+ }), /*#__PURE__*/ N.createElement(Gxe, {
ref: g,
axisType: c,
events: u,
@@ -58412,19 +58413,19 @@ var Hxe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
labelRef: e.labelRef
}), e.children)));
}), z6 = /*#__PURE__*/ N.forwardRef((e, t) => {
- var n = az(e, R6);
- return /*#__PURE__*/ N.createElement(Uxe, F6({}, n, { ref: t }));
+ var n = oz(e, R6);
+ return /*#__PURE__*/ N.createElement(Kxe, F6({}, n, { ref: t }));
});
z6.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var Wxe = [
+var qxe = [
"x1",
"y1",
"x2",
"y2",
"key"
-], Gxe = ["offset"], Kxe = ["xAxisId", "yAxisId"], qxe = ["xAxisId", "yAxisId"];
+], Jxe = ["offset"], Yxe = ["xAxisId", "yAxisId"], Xxe = ["xAxisId", "yAxisId"];
function B6(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -58439,26 +58440,26 @@ function V6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B6(Object(n), !0).forEach(function(t) {
- Jxe(e, t, n[t]);
+ Zxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Jxe(e, t, n) {
- return (t = Yxe(t)) in e ? Object.defineProperty(e, t, {
+function Zxe(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 Yxe(e) {
- var t = Xxe(e, "string");
+function Qxe(e) {
+ var t = $xe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Xxe(e, t) {
+function $xe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58479,14 +58480,14 @@ function H6() {
}
function U6(e, t) {
if (e == null) return {};
- var n, r, i = Zxe(e, t);
+ var n, r, i = eSe(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 Zxe(e, t) {
+function eSe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58495,7 +58496,7 @@ function Zxe(e, t) {
}
return n;
}
-var Qxe = (e) => {
+var tSe = (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;
@@ -58516,7 +58517,7 @@ function W6(e) {
if (/*#__PURE__*/ N.isValidElement(t)) r = /*#__PURE__*/ N.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 = kL(U6(n, Wxe)) ?? {}, { offset: u } = l, d = U6(l, Gxe);
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = AL(U6(n, qxe)) ?? {}, { offset: u } = l, d = U6(l, Jxe);
r = /*#__PURE__*/ N.createElement("line", H6({}, d, {
x1: i,
y1: a,
@@ -58528,10 +58529,10 @@ function W6(e) {
}
return r;
}
-function $xe(e) {
+function nSe(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 = U6(e, Kxe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = U6(e, Yxe), c = i.map((e, i) => {
var a = V6(V6({}, s), {}, {
x1: t,
y1: e,
@@ -58548,10 +58549,10 @@ function $xe(e) {
});
return /*#__PURE__*/ N.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function eSe(e) {
+function rSe(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 = U6(e, qxe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = U6(e, Xxe), c = i.map((e, i) => {
var a = V6(V6({}, s), {}, {
x1: e,
y1: t,
@@ -58568,7 +58569,7 @@ function eSe(e) {
});
return /*#__PURE__*/ N.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function tSe(e) {
+function iSe(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);
@@ -58591,7 +58592,7 @@ function tSe(e) {
});
return /*#__PURE__*/ N.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function nSe(e) {
+function aSe(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);
@@ -58614,10 +58615,10 @@ function nSe(e) {
});
return /*#__PURE__*/ N.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var rSe = (e, t) => {
+var oSe = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
- return aH(N6(V6(V6(V6({}, R6), n), {}, {
- ticks: oH(n, !0),
+ return sH(N6(V6(V6(V6({}, R6), n), {}, {
+ ticks: cH(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -58625,10 +58626,10 @@ var rSe = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, iSe = (e, t) => {
+}, sSe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
- return aH(N6(V6(V6(V6({}, R6), n), {}, {
- ticks: oH(n, !0),
+ return sH(N6(V6(V6(V6({}, R6), n), {}, {
+ ticks: cH(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -58636,7 +58637,7 @@ var rSe = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, aSe = {
+}, cSe = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -58648,17 +58649,17 @@ var rSe = (e, t) => {
xAxisId: 0,
yAxisId: 0,
syncWithTicks: !1,
- zIndex: RJ.grid
+ zIndex: BJ.grid
};
function G6(e) {
- var t = SU(), n = CU(), r = xU(), i = V6(V6({}, az(e, aSe)), {}, {
+ var t = wU(), n = TU(), r = CU(), i = V6(V6({}, oz(e, cSe)), {}, {
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 = GH(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
- if (!XV(l) || !XV(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || rSe, v = i.horizontalCoordinatesGenerator || iSe, { horizontalPoints: y, verticalPoints: b } = i;
+ }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = qH(), h = Q((e) => U1(e, "xAxis", a, m)), g = Q((e) => U1(e, "yAxis", o, m));
+ if (!QV(l) || !QV(u) || !Z(s) || !Z(c)) return null;
+ var _ = i.verticalCoordinatesGenerator || oSe, v = i.horizontalCoordinatesGenerator || sSe, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
yAxis: g ? V6(V6({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
@@ -58666,7 +58667,7 @@ function G6(e) {
height: n ?? u,
offset: r
}, x ? !0 : d);
- ZH(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
+ $H(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
}
if ((!b || !b.length) && typeof _ == "function") {
var C = p && p.length, w = _({
@@ -58675,9 +58676,9 @@ function G6(e) {
height: n ?? u,
offset: r
}, C ? !0 : d);
- ZH(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
+ $H(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ N.createElement(t2, { zIndex: i.zIndex }, /*#__PURE__*/ N.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ N.createElement(Qxe, {
+ return /*#__PURE__*/ N.createElement(t2, { zIndex: i.zIndex }, /*#__PURE__*/ N.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ N.createElement(tSe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -58685,12 +58686,12 @@ function G6(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ N.createElement(tSe, H6({}, i, { horizontalPoints: y })), /*#__PURE__*/ N.createElement(nSe, H6({}, i, { verticalPoints: b })), /*#__PURE__*/ N.createElement($xe, H6({}, i, {
+ }), /*#__PURE__*/ N.createElement(iSe, H6({}, i, { horizontalPoints: y })), /*#__PURE__*/ N.createElement(aSe, H6({}, i, { verticalPoints: b })), /*#__PURE__*/ N.createElement(nSe, H6({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ N.createElement(eSe, H6({}, i, {
+ })), /*#__PURE__*/ N.createElement(rSe, H6({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
@@ -58700,7 +58701,7 @@ function G6(e) {
G6.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var K6 = _V({
+var K6 = vV({
name: "errorBars",
initialState: {},
reducers: {
@@ -58717,17 +58718,17 @@ var K6 = _V({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: oSe, replaceErrorBar: sSe, removeErrorBar: cSe } = K6.actions, lSe = K6.reducer, uSe = ["children"];
-function dSe(e, t) {
+}), { addErrorBar: lSe, replaceErrorBar: uSe, removeErrorBar: dSe } = K6.actions, fSe = K6.reducer, pSe = ["children"];
+function mSe(e, t) {
if (e == null) return {};
- var n, r, i = fSe(e, t);
+ var n, r, i = hSe(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 fSe(e, t) {
+function hSe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58736,7 +58737,7 @@ function fSe(e, t) {
}
return n;
}
-var pSe = /*#__PURE__*/ (0, N.createContext)({
+var gSe = /*#__PURE__*/ (0, N.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -58748,8 +58749,8 @@ var pSe = /*#__PURE__*/ (0, N.createContext)({
errorBarOffset: 0
});
function q6(e) {
- var { children: t } = e, n = dSe(e, uSe);
- return /*#__PURE__*/ N.createElement(pSe.Provider, { value: n }, t);
+ var { children: t } = e, n = mSe(e, pSe);
+ return /*#__PURE__*/ N.createElement(gSe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
@@ -58774,30 +58775,30 @@ function Y6(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var X6 = (e, t, n, r) => J1(e, "xAxis", t, r), Z6 = (e, t, n, r) => q1(e, "xAxis", t, r), Q6 = (e, t, n, r) => J1(e, "yAxis", n, r), $6 = (e, t, n, r) => q1(e, "yAxis", n, r), mSe = $([
- TU,
+var X6 = (e, t, n, r) => J1(e, "xAxis", t, r), Z6 = (e, t, n, r) => q1(e, "xAxis", t, r), Q6 = (e, t, n, r) => J1(e, "yAxis", n, r), $6 = (e, t, n, r) => q1(e, "yAxis", n, r), _Se = $([
+ DU,
X6,
Q6,
Z6,
$6
-], (e, t, n, r, i) => iH(e, "xAxis") ? yH(t, r, !1) : yH(n, i, !1)), hSe = (e, t, n, r, i) => i;
-function gSe(e) {
+], (e, t, n, r, i) => oH(e, "xAxis") ? xH(t, r, !1) : xH(n, i, !1)), vSe = (e, t, n, r, i) => i;
+function ySe(e) {
return e.type === "line";
}
-var _Se = $([
- TU,
+var bSe = $([
+ DU,
X6,
Q6,
Z6,
$6,
- $([H$, hSe], (e, t) => e.filter(gSe).find((e) => e.id === t)),
- mSe,
- dJ
+ $([H$, vSe], (e, t) => e.filter(ySe).find((e) => e.id === t)),
+ _Se,
+ pJ
], (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 LSe({
+ if (p != null) return BSe({
layout: e,
xAxis: t,
yAxis: n,
@@ -58812,7 +58813,7 @@ var _Se = $([
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
function e8(e) {
- var t = AL(e), n = 3, r = 2;
+ var t = jL(e), n = 3, r = 2;
if (t != null) {
var { r: i, strokeWidth: a } = t, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -58827,13 +58828,13 @@ function e8(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var vSe = ["id"], ySe = [
+var xSe = ["id"], SSe = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], bSe = [
+], CSe = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -58872,26 +58873,26 @@ function r8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? n8(Object(n), !0).forEach(function(t) {
- xSe(e, t, n[t]);
+ wSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xSe(e, t, n) {
- return (t = SSe(t)) in e ? Object.defineProperty(e, t, {
+function wSe(e, t, n) {
+ return (t = TSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function SSe(e) {
- var t = CSe(e, "string");
+function TSe(e) {
+ var t = ESe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function CSe(e, t) {
+function ESe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58903,14 +58904,14 @@ function CSe(e, t) {
}
function i8(e, t) {
if (e == null) return {};
- var n, r, i = wSe(e, t);
+ var n, r, i = DSe(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 wSe(e, t) {
+function DSe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58919,27 +58920,27 @@ function wSe(e, t) {
}
return n;
}
-var TSe = (e) => {
+var OSe = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: xH(n, t),
+ value: CH(n, t),
payload: e
}];
-}, ESe = /*#__PURE__*/ N.memo((e) => {
+}, kSe = /*#__PURE__*/ N.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: YR,
+ getPosition: XR,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: xH(o, t),
+ name: CH(o, t),
hide: s,
type: l,
color: r,
@@ -58949,11 +58950,11 @@ var TSe = (e) => {
};
return /*#__PURE__*/ N.createElement(h3, { tooltipEntrySettings: d });
}), a8 = (e, t) => `${t}px ${e}px`;
-function DSe(e, t) {
+function ASe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var OSe = (e, t, n) => {
+var jSe = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
if (!r) return a8(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) {
@@ -58965,13 +58966,13 @@ var OSe = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...DSe(n, i),
+ ...ASe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function kSe(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = kL(i8(r, vSe));
+function MSe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = AL(i8(r, xSe));
return /*#__PURE__*/ N.createElement(T3, {
points: n,
dot: i,
@@ -58983,7 +58984,7 @@ function kSe(e) {
clipPathId: t
});
}
-function ASe(e) {
+function NSe(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, N.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -59004,7 +59005,7 @@ function ASe(e) {
return /*#__PURE__*/ N.createElement(l4, { value: t ? i : void 0 }, n);
}
function o8(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 = r8(r8({}, jL(i8(a, ySe))), {}, {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = r8(r8({}, ML(i8(a, SSe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -59017,31 +59018,31 @@ function o8(e) {
return /*#__PURE__*/ N.createElement(N.Fragment, null, r?.length > 1 && /*#__PURE__*/ N.createElement(d3, t8({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ N.createElement(kSe, {
+ }, d, { pathRef: n })), /*#__PURE__*/ N.createElement(MSe, {
points: r,
clipPathId: t,
props: a
}));
}
-function jSe(e) {
+function PSe(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function MSe(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 = rq(o, "recharts-line-"), y = (0, N.useRef)(v), [b, x] = (0, N.useState)(!1), S = !b, C = (0, N.useCallback)(() => {
+function FSe(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 = aq(o, "recharts-line-"), y = (0, N.useRef)(v), [b, x] = (0, N.useState)(!1), S = !b, C = (0, N.useCallback)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, N.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = jSe(r.current), E = (0, N.useRef)(0);
+ }, [g]), T = PSe(r.current), E = (0, N.useRef)(0);
y.current !== v && (E.current = a.current, y.current = v);
var D = E.current;
- return /*#__PURE__*/ N.createElement(ASe, {
+ return /*#__PURE__*/ N.createElement(NSe, {
points: o,
showLabels: S
- }, n.children, /*#__PURE__*/ N.createElement(nq, {
+ }, n.children, /*#__PURE__*/ N.createElement(iq, {
animationId: v,
begin: l,
duration: u,
@@ -59051,20 +59052,20 @@ function MSe(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = WR(D, T + D, e), u = Math.min(l, T), d = c ? s ? OSe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : a8(T, u) : s == null ? void 0 : String(s);
+ var l = GR(D, T + D, e), u = Math.min(l, T), d = c ? s ? jSe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : a8(T, u) : s == null ? void 0 : String(s);
if (e > 0 && T > 0 && (i.current = o, a.current = Math.max(a.current, u)), _) {
var h = _.length / o.length, g = e === 1 ? o : o.map((t, n) => {
var r = Math.floor(n * h);
if (_[r]) {
var i = _[r];
return r8(r8({}, t), {}, {
- x: WR(i.x, t.x, e),
- y: WR(i.y, t.y, e)
+ x: GR(i.x, t.x, e),
+ y: GR(i.y, t.y, e)
});
}
return f ? r8(r8({}, t), {}, {
- x: WR(p * 2, t.x, e),
- y: WR(m / 2, t.y, e)
+ x: GR(p * 2, t.x, e),
+ y: GR(m / 2, t.y, e)
}) : r8(r8({}, t), {}, {
x: t.x,
y: t.y
@@ -59087,9 +59088,9 @@ function MSe(e) {
});
}), /*#__PURE__*/ N.createElement(f4, { label: n.label }));
}
-function NSe(e) {
+function ISe(e) {
var { clipPathId: t, props: n } = e, r = (0, N.useRef)(null), i = (0, N.useRef)(0), a = (0, N.useRef)(null);
- return /*#__PURE__*/ N.createElement(MSe, {
+ return /*#__PURE__*/ N.createElement(FSe, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -59097,17 +59098,17 @@ function NSe(e) {
pathRef: a
});
}
-var PSe = (e, t) => ({
+var LSe = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: nH(e.payload, t)
-}), FSe = class extends N.Component {
+ errorVal: iH(e.payload, t)
+}), RSe = class extends N.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 = Nm("recharts-line", r), m = u, { r: h, strokeWidth: g } = e8(t), _ = n3(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
- return /*#__PURE__*/ N.createElement(t2, { zIndex: f }, /*#__PURE__*/ N.createElement(FL, { className: p }, d && /*#__PURE__*/ N.createElement("defs", null, /*#__PURE__*/ N.createElement(Y6, {
+ return /*#__PURE__*/ N.createElement(t2, { zIndex: f }, /*#__PURE__*/ N.createElement(IL, { className: p }, d && /*#__PURE__*/ N.createElement("defs", null, /*#__PURE__*/ N.createElement(Y6, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -59120,9 +59121,9 @@ var PSe = (e, t) => ({
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: PSe,
+ dataPointFormatter: LSe,
errorBarOffset: 0
- }, /*#__PURE__*/ N.createElement(NSe, {
+ }, /*#__PURE__*/ N.createElement(ISe, {
props: this.props,
clipPathId: m
}))), /*#__PURE__*/ N.createElement(M3, {
@@ -59150,14 +59151,14 @@ var PSe = (e, t) => ({
strokeWidth: 1,
xAxisId: 0,
yAxisId: 0,
- zIndex: RJ.line,
+ zIndex: BJ.line,
type: "linear"
};
-function ISe(e) {
- var t = az(e, s8), { 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 = i8(t, bSe), { needClip: _ } = J6(p, m), v = k3(), y = EU(), b = GH(), x = Q((e) => _Se(e, p, m, b, h));
+function zSe(e) {
+ var t = oz(e, s8), { 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 = i8(t, CSe), { needClip: _ } = J6(p, m), v = k3(), y = OU(), b = qH(), x = Q((e) => bSe(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__*/ N.createElement(FSe, t8({}, g, {
+ return /*#__PURE__*/ N.createElement(RSe, t8({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -59181,23 +59182,23 @@ function ISe(e) {
needClip: _
}));
}
-function LSe(e) {
+function BSe(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 = nH(e, o);
+ var l = iH(e, o);
if (t === "horizontal") return {
- x: dH({
+ x: pH({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (KR(l) ? null : r.scale.map(l)) ?? null,
+ y: (qR(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = KR(l) ? null : n.scale.map(l), d = dH({
+ var u = qR(l) ? null : n.scale.map(l), d = pH({
axis: r,
ticks: a,
bandSize: s,
@@ -59212,12 +59213,12 @@ function LSe(e) {
};
}).filter(Boolean);
}
-function RSe(e) {
- var t = az(e, s8), n = GH();
+function VSe(e) {
+ var t = oz(e, s8), n = qH();
return /*#__PURE__*/ N.createElement(v3, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(g3, { legendPayload: TSe(t) }), /*#__PURE__*/ N.createElement(ESe, {
+ }, (e) => /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(g3, { legendPayload: OSe(t) }), /*#__PURE__*/ N.createElement(kSe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -59238,9 +59239,9 @@ function RSe(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ N.createElement(ISe, t8({}, t, { id: e }))));
+ }), /*#__PURE__*/ N.createElement(zSe, t8({}, t, { id: e }))));
}
-var c8 = /*#__PURE__*/ N.memo(RSe, $W);
+var c8 = /*#__PURE__*/ N.memo(VSe, tG);
c8.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -59252,36 +59253,36 @@ function u8(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxis", l8(e, t), n), p8 = (e, t, n) => J1(e, "yAxis", u8(e, t), n), m8 = (e, t, n) => q1(e, "yAxis", u8(e, t), n), zSe = $([
- TU,
+var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxis", l8(e, t), n), p8 = (e, t, n) => J1(e, "yAxis", u8(e, t), n), m8 = (e, t, n) => q1(e, "yAxis", u8(e, t), n), HSe = $([
+ DU,
d8,
p8,
f8,
m8
-], (e, t, n, r, i) => iH(e, "xAxis") ? yH(t, r, !1) : yH(n, i, !1)), h8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), g8 = (e) => iH(TU(e), "xAxis") ? "yAxis" : "xAxis", BSe = (e, t) => g8(e) === "yAxis" ? u8(e, t) : l8(e, t), VSe = $([
- TU,
+], (e, t, n, r, i) => oH(e, "xAxis") ? xH(t, r, !1) : xH(n, i, !1)), h8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), g8 = (e) => oH(DU(e), "xAxis") ? "yAxis" : "xAxis", USe = (e, t) => g8(e) === "yAxis" ? u8(e, t) : l8(e, t), WSe = $([
+ DU,
d8,
p8,
f8,
m8,
- $([h8, (e, t, n) => a1(e, g8(e), BSe(e, t), n)], (e, t) => {
+ $([h8, (e, t, n) => a1(e, g8(e), USe(e, t), n)], (e, t) => {
if (e != null && t != null) {
- var { stackId: n } = e, r = lY(e);
+ var { stackId: n } = e, r = dY(e);
if (n != null && r != null) {
var i = (t[n]?.stackedData)?.find((e) => e.key === r);
if (i != null) return i.map((e) => [e[0], e[1]]);
}
}
}),
- fJ,
- zSe,
+ mJ,
+ HSe,
h8,
- LJ
+ zJ
], (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 sCe({
+ if (m != null) return uCe({
layout: e,
xAxis: t,
yAxis: n,
@@ -59295,7 +59296,7 @@ var d8 = (e, t, n) => J1(e, "xAxis", l8(e, t), n), f8 = (e, t, n) => q1(e, "xAxi
bandSize: s
});
}
-}), HSe = ["id"], USe = [
+}), GSe = ["id"], KSe = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -59322,14 +59323,14 @@ function _8() {
}
function v8(e, t) {
if (e == null) return {};
- var n, r, i = WSe(e, t);
+ var n, r, i = qSe(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 WSe(e, t) {
+function qSe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59352,26 +59353,26 @@ function b8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? y8(Object(n), !0).forEach(function(t) {
- GSe(e, t, n[t]);
+ JSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function GSe(e, t, n) {
- return (t = KSe(t)) in e ? Object.defineProperty(e, t, {
+function JSe(e, t, n) {
+ return (t = YSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KSe(e) {
- var t = qSe(e, "string");
+function YSe(e) {
+ var t = XSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qSe(e, t) {
+function XSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59384,27 +59385,27 @@ function qSe(e, t) {
function x8(e, t) {
return e && e !== "none" ? e : t;
}
-var JSe = (e) => {
+var ZSe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: x8(r, i),
- value: xH(n, t),
+ value: CH(n, t),
payload: e
}];
-}, YSe = /*#__PURE__*/ N.memo((e) => {
+}, QSe = /*#__PURE__*/ N.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: YR,
+ getPosition: XR,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: xH(o, t),
+ name: CH(o, t),
hide: s,
type: l,
color: x8(r, a),
@@ -59414,8 +59415,8 @@ var JSe = (e) => {
};
return /*#__PURE__*/ N.createElement(h3, { tooltipEntrySettings: d });
});
-function XSe(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = kL(r);
+function $Se(e) {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = AL(r);
return /*#__PURE__*/ N.createElement(T3, {
points: n,
dot: a,
@@ -59427,7 +59428,7 @@ function XSe(e) {
clipPathId: t
});
}
-function ZSe(e) {
+function eCe(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -59448,8 +59449,8 @@ function ZSe(e) {
return /*#__PURE__*/ N.createElement(l4, { value: t ? i : void 0 }, n);
}
function S8(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 = v8(a, HSe), p = kL(f), m = jL(f);
- return /*#__PURE__*/ N.createElement(N.Fragment, null, t?.length > 1 && /*#__PURE__*/ N.createElement(FL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ N.createElement(aK, _8({}, m, {
+ var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = v8(a, GSe), p = AL(f), m = ML(f);
+ return /*#__PURE__*/ N.createElement(N.Fragment, null, t?.length > 1 && /*#__PURE__*/ N.createElement(IL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ N.createElement(sK, _8({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -59458,29 +59459,29 @@ function S8(e) {
layout: o,
stroke: "none",
className: "recharts-area-area"
- })), c !== "none" && /*#__PURE__*/ N.createElement(aK, _8({}, p, {
+ })), c !== "none" && /*#__PURE__*/ N.createElement(sK, _8({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: t
- })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ N.createElement(aK, _8({}, p, {
+ })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ N.createElement(sK, _8({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ N.createElement(XSe, {
+ }))), /*#__PURE__*/ N.createElement($Se, {
points: t,
props: f,
clipPathId: i
}));
}
-function QSe(e) {
+function tCe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!YV(a) || !YV(o)) return null;
+ if (!ZV(a) || !ZV(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), Z(c) ? /*#__PURE__*/ N.createElement("rect", {
x: 0,
@@ -59489,9 +59490,9 @@ function QSe(e) {
height: Math.floor(s)
}) : null;
}
-function $Se(e) {
+function nCe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!YV(a) || !YV(o)) return null;
+ if (!ZV(a) || !ZV(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), Z(c) ? /*#__PURE__*/ N.createElement("rect", {
x: a < o ? a : a - s,
@@ -59500,35 +59501,35 @@ function $Se(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function eCe(e) {
+function rCe(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ N.createElement(QSe, {
+ return n === "vertical" ? /*#__PURE__*/ N.createElement(tCe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ N.createElement($Se, {
+ }) : /*#__PURE__*/ N.createElement(nCe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function tCe(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 = rq((0, N.useMemo)(() => ({
+function iCe(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 = aq((0, N.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), "recharts-area-"), h = DU(), [g, _] = (0, N.useState)(!1), v = !g, y = (0, N.useCallback)(() => {
+ }), [o, s]), "recharts-area-"), h = kU(), [g, _] = (0, N.useState)(!1), v = !g, y = (0, N.useCallback)(() => {
typeof p == "function" && p(), _(!1);
}, [p]), b = (0, N.useCallback)(() => {
typeof f == "function" && f(), _(!0);
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ N.createElement(ZSe, {
+ return /*#__PURE__*/ N.createElement(eCe, {
showLabels: v,
points: o
- }, r.children, /*#__PURE__*/ N.createElement(nq, {
+ }, r.children, /*#__PURE__*/ N.createElement(iq, {
animationId: m,
begin: l,
duration: u,
@@ -59544,18 +59545,18 @@ function tCe(e) {
if (x[r]) {
var i = x[r];
return b8(b8({}, t), {}, {
- x: WR(i.x, t.x, e),
- y: WR(i.y, t.y, e)
+ x: GR(i.x, t.x, e),
+ y: GR(i.y, t.y, e)
});
}
return t;
- }), d = Z(s) ? WR(S, s, e) : KR(s) || RR(s) ? WR(S, 0, e) : s.map((t, n) => {
+ }), d = Z(s) ? GR(S, s, e) : qR(s) || zR(s) ? GR(S, 0, e) : s.map((t, n) => {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
return b8(b8({}, t), {}, {
- x: WR(i.x, t.x, e),
- y: WR(i.y, t.y, e)
+ x: GR(i.x, t.x, e),
+ y: GR(i.y, t.y, e)
});
}
return t;
@@ -59568,13 +59569,13 @@ function tCe(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ N.createElement(FL, null, c && /*#__PURE__*/ N.createElement("defs", null, /*#__PURE__*/ N.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ N.createElement(eCe, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ N.createElement(IL, null, c && /*#__PURE__*/ N.createElement("defs", null, /*#__PURE__*/ N.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ N.createElement(rCe, {
alpha: e,
points: o,
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ N.createElement(FL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ N.createElement(S8, {
+ }))), /*#__PURE__*/ N.createElement(IL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ N.createElement(S8, {
points: o,
baseLine: s,
needClip: t,
@@ -59583,9 +59584,9 @@ function tCe(e) {
})));
}), /*#__PURE__*/ N.createElement(f4, { label: r.label }));
}
-function nCe(e) {
+function aCe(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, N.useRef)(null), a = (0, N.useRef)();
- return /*#__PURE__*/ N.createElement(tCe, {
+ return /*#__PURE__*/ N.createElement(iCe, {
needClip: t,
clipPathId: n,
props: r,
@@ -59593,12 +59594,12 @@ function nCe(e) {
previousBaselineRef: a
});
}
-var rCe = class extends N.PureComponent {
+var oCe = class extends N.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 = Nm("recharts-area", r), h = d, { r: g, strokeWidth: _ } = e8(t), v = n3(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ N.createElement(t2, { zIndex: p }, /*#__PURE__*/ N.createElement(FL, { className: m }, o && /*#__PURE__*/ N.createElement("defs", null, /*#__PURE__*/ N.createElement(Y6, {
+ return /*#__PURE__*/ N.createElement(t2, { zIndex: p }, /*#__PURE__*/ N.createElement(IL, { className: m }, o && /*#__PURE__*/ N.createElement("defs", null, /*#__PURE__*/ N.createElement(Y6, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -59607,7 +59608,7 @@ var rCe = class extends N.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ N.createElement(nCe, {
+ }))), /*#__PURE__*/ N.createElement(aCe, {
needClip: o,
clipPathId: h,
props: this.props
@@ -59625,7 +59626,7 @@ var rCe = class extends N.PureComponent {
clipPath: b
}));
}
-}, iCe = {
+}, sCe = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -59643,13 +59644,13 @@ var rCe = class extends N.PureComponent {
label: !1,
xAxisId: 0,
yAxisId: 0,
- zIndex: RJ.area
+ zIndex: BJ.area
};
-function aCe(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 = v8(e, USe), g = EU(), _ = U0(), { needClip: v } = J6(p, m), y = GH(), { points: b, isRange: x, baseLine: S } = Q((t) => VSe(t, e.id, y)) ?? {}, C = k3();
+function cCe(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 = v8(e, KSe), g = OU(), _ = U0(), { needClip: v } = J6(p, m), y = qH(), { points: b, isRange: x, baseLine: S } = Q((t) => WSe(t, e.id, y)) ?? {}, C = k3();
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__*/ N.createElement(rCe, _8({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ N.createElement(oCe, _8({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -59675,7 +59676,7 @@ function aCe(e) {
yAxisId: m
}));
}
-var oCe = (e, t, n, r, i) => {
+var lCe = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -59685,17 +59686,17 @@ var oCe = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function sCe(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 = oCe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function uCe(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 = lCe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
var a;
if (m) a = i[u + n];
else {
- var o = nH(e, r);
+ var o = iH(e, r);
Array.isArray(o) ? (a = o, _ = !0) : a = [h, o];
}
- var l = a?.[1] ?? null, v = l == null || m && !t && nH(e, r) == null;
+ var l = a?.[1] ?? null, v = l == null || m && !t && iH(e, r) == null;
return g ? {
- x: dH({
+ x: pH({
axis: s,
ticks: d,
bandSize: p,
@@ -59707,7 +59708,7 @@ function sCe(e) {
payload: e
} : {
x: v ? null : s.scale.map(l) ?? null,
- y: dH({
+ y: pH({
axis: c,
ticks: f,
bandSize: p,
@@ -59735,12 +59736,12 @@ function sCe(e) {
isRange: _
};
}
-function cCe(e) {
- var t = az(e, iCe), n = GH();
+function dCe(e) {
+ var t = oz(e, sCe), n = qH();
return /*#__PURE__*/ N.createElement(v3, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(g3, { legendPayload: JSe(t) }), /*#__PURE__*/ N.createElement(YSe, {
+ }, (e) => /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(g3, { legendPayload: ZSe(t) }), /*#__PURE__*/ N.createElement(QSe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -59759,21 +59760,21 @@ function cCe(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: uH(t.stackId),
+ stackId: fH(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ N.createElement(aCe, _8({}, t, { id: e }))));
+ }), /*#__PURE__*/ N.createElement(cCe, _8({}, t, { id: e }))));
}
-var C8 = /*#__PURE__*/ N.memo(cCe, $W);
+var C8 = /*#__PURE__*/ N.memo(dCe, tG);
C8.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var lCe = "Invariant failed";
-function uCe(e, t) {
- if (!e) throw Error(lCe);
+var fCe = "Invariant failed";
+function pCe(e, t) {
+ if (!e) throw Error(fCe);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
@@ -59793,45 +59794,45 @@ function T8(e) {
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var dCe = function(e) {
+var mCe = 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) || KR(n);
- return i ? e(n, r) : (!i && uCe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ var i = Z(n) || qR(n);
+ return i ? e(n, r) : (!i && pCe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, fCe = (e, t, n) => n, E8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), pCe = $([E8], (e) => e?.maxBarSize), mCe = (e, t, n, r) => r, hCe = $([
- TU,
+}, hCe = (e, t, n) => n, E8 = $([H$, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), gCe = $([E8], (e) => e?.maxBarSize), _Ce = (e, t, n, r) => r, vCe = $([
+ DU,
H$,
l8,
u8,
- fCe
-], (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")), gCe = (e, t, n) => {
- var r = TU(e), i = l8(e, t), a = u8(e, t);
+ hCe
+], (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")), yCe = (e, t, n) => {
+ var r = DU(e), i = l8(e, t), a = u8(e, t);
if (i != null && a != null) return r === "horizontal" ? a1(e, "yAxis", a, n) : a1(e, "xAxis", i, n);
-}, _Ce = $([
- hCe,
- AJ,
+}, bCe = $([
+ vCe,
+ MJ,
(e, t) => {
- var n = TU(e), r = l8(e, t), i = u8(e, t);
+ var n = DU(e), r = l8(e, t), i = u8(e, t);
if (r != null && i != null) return n === "horizontal" ? B1(e, "xAxis", r) : B1(e, "yAxis", i);
}
-], J3), vCe = (e, t, n) => {
+], J3), xCe = (e, t, n) => {
var r = E8(e, t);
if (r == null) return 0;
var i = l8(e, t), a = u8(e, t);
if (i == null || a == null) return 0;
- var o = TU(e), s = DJ(e), { maxBarSize: c } = r, l = KR(c) ? s : c, u, d;
- return o === "horizontal" ? (u = J1(e, "xAxis", i, n), d = q1(e, "xAxis", i, n)) : (u = J1(e, "yAxis", a, n), d = q1(e, "yAxis", a, n)), yH(u, d, !0) ?? l ?? 0;
+ var o = DU(e), s = kJ(e), { maxBarSize: c } = r, l = qR(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = J1(e, "xAxis", i, n), d = q1(e, "xAxis", i, n)) : (u = J1(e, "yAxis", a, n), d = q1(e, "yAxis", a, n)), xH(u, d, !0) ?? l ?? 0;
}, D8 = (e, t, n) => {
- var r = TU(e), i = l8(e, t), a = u8(e, t);
+ var r = DU(e), i = l8(e, t), a = u8(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = J1(e, "xAxis", i, n), s = q1(e, "xAxis", i, n)) : (o = J1(e, "yAxis", a, n), s = q1(e, "yAxis", a, n)), yH(o, s);
+ return r === "horizontal" ? (o = J1(e, "xAxis", i, n), s = q1(e, "xAxis", i, n)) : (o = J1(e, "yAxis", a, n), s = q1(e, "yAxis", a, n)), xH(o, s);
}
-}, yCe = $([
- VH,
+}, SCe = $([
UH,
+ GH,
(e, t, n) => {
var r = l8(e, t);
if (r != null) return J1(e, "xAxis", r, n);
@@ -59849,25 +59850,25 @@ var dCe = function(e) {
if (r != null) return q1(e, "yAxis", r, n);
},
$([$([
- _Ce,
- DJ,
- OJ,
+ bCe,
kJ,
- vCe,
+ AJ,
+ jJ,
+ xCe,
D8,
- pCe
+ gCe
], Z3), E8], $3),
- TU,
- fJ,
+ DU,
+ mJ,
D8,
- $([gCe, E8], Q3),
+ $([yCe, E8], Q3),
E8,
- mCe
+ _Ce
], (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 qCe({
+ if (_ != null) return XCe({
layout: s,
barSettings: d,
pos: o,
@@ -59884,7 +59885,7 @@ var dCe = function(e) {
dataStartIndex: m
});
}
-}), bCe = ["index"];
+}), CCe = ["index"];
function O8() {
return O8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -59894,16 +59895,16 @@ function O8() {
return e;
}, O8.apply(null, arguments);
}
-function xCe(e, t) {
+function wCe(e, t) {
if (e == null) return {};
- var n, r, i = SCe(e, t);
+ var n, r, i = TCe(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 SCe(e, t) {
+function TCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59912,31 +59913,31 @@ function SCe(e, t) {
}
return n;
}
-var k8 = /*#__PURE__*/ (0, N.createContext)(void 0), CCe = (e) => {
+var k8 = /*#__PURE__*/ (0, N.createContext)(void 0), ECe = (e) => {
var t = (0, N.useContext)(k8);
if (t != null) return t.stackId;
- if (e != null) return uH(e);
-}, wCe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, TCe = (e) => {
+ if (e != null) return fH(e);
+}, DCe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, OCe = (e) => {
var t = (0, N.useContext)(k8);
if (t != null) {
var { stackId: n } = t;
- return `url(#${wCe(n, e)})`;
+ return `url(#${DCe(n, e)})`;
}
}, A8 = (e) => {
- var { index: t } = e, n = xCe(e, bCe), r = TCe(t);
- return /*#__PURE__*/ N.createElement(FL, O8({
+ var { index: t } = e, n = wCe(e, CCe), r = OCe(t);
+ return /*#__PURE__*/ N.createElement(IL, O8({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, ECe = [
+}, kCe = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], DCe = [
+], ACe = [
"value",
"background",
"tooltipPosition"
-], OCe = ["id"], kCe = [
+], jCe = ["id"], MCe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
@@ -59964,26 +59965,26 @@ function N8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M8(Object(n), !0).forEach(function(t) {
- ACe(e, t, n[t]);
+ NCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ACe(e, t, n) {
- return (t = jCe(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 jCe(e) {
- var t = MCe(e, "string");
+function PCe(e) {
+ var t = FCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MCe(e, t) {
+function FCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59995,14 +59996,14 @@ function MCe(e, t) {
}
function P8(e, t) {
if (e == null) return {};
- var n, r, i = NCe(e, t);
+ var n, r, i = ICe(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 ICe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60011,27 +60012,27 @@ function NCe(e, t) {
}
return n;
}
-var PCe = (e) => {
+var LCe = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: xH(n, t),
+ value: CH(n, t),
payload: e
}];
-}, FCe = /*#__PURE__*/ N.memo((e) => {
+}, RCe = /*#__PURE__*/ N.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: YR,
+ getPosition: XR,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: xH(a, t),
+ name: CH(a, t),
hide: o,
type: c,
color: i,
@@ -60041,17 +60042,17 @@ var PCe = (e) => {
};
return /*#__PURE__*/ N.createElement(h3, { tooltipEntrySettings: u });
});
-function ICe(e) {
- var t = Q(P0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = P8(a, ECe), u = f3(o, r, a.id), d = p3(s), f = m3(c, r, a.id);
+function zCe(e) {
+ var t = Q(P0), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = P8(a, kCe), u = f3(o, r, a.id), d = p3(s), f = m3(c, r, a.id);
if (!i || n == null) return null;
- var p = AL(i);
- return /*#__PURE__*/ N.createElement(t2, { zIndex: f6(i, RJ.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = P8(e, DCe);
+ var p = jL(i);
+ return /*#__PURE__*/ N.createElement(t2, { zIndex: f6(i, BJ.barBackground) }, n.map((e, n) => {
+ var { value: a, background: o, tooltipPosition: s } = e, c = P8(e, ACe);
if (!o) return null;
var m = u(e, n), h = d(e, n), g = f(e, n), _ = N8(N8(N8(N8(N8({
option: i,
isActive: String(n) === t
- }, c), {}, { fill: "#eee" }, o), p), rz(l, e, n)), {}, {
+ }, c), {}, { fill: "#eee" }, o), p), iz(l, e, n)), {}, {
onMouseEnter: m,
onMouseLeave: h,
onClick: g,
@@ -60062,7 +60063,7 @@ function ICe(e) {
return /*#__PURE__*/ N.createElement(T8, j8({ key: `background-bar-${n}` }, _));
}));
}
-function LCe(e) {
+function BCe(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -60082,7 +60083,7 @@ function LCe(e) {
});
return /*#__PURE__*/ N.createElement(l4, { value: t ? i : void 0 }, n);
}
-function RCe(e) {
+function VCe(e) {
var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(P0), c = Q(I0), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, N.useState)(!1), [f, p] = (0, N.useState)(!1);
(0, N.useEffect)(() => {
var e;
@@ -60101,9 +60102,9 @@ function RCe(e) {
dataKey: o,
onTransitionEnd: m
}));
- return g ? /*#__PURE__*/ N.createElement(t2, { zIndex: RJ.activeBar }, /*#__PURE__*/ N.createElement(A8, { index: i.originalDataIndex }, v)) : v;
+ return g ? /*#__PURE__*/ N.createElement(t2, { zIndex: BJ.activeBar }, /*#__PURE__*/ N.createElement(A8, { index: i.originalDataIndex }, v)) : v;
}
-function zCe(e) {
+function HCe(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
return /*#__PURE__*/ N.createElement(T8, j8({}, n, { name: String(n.name) }, r, {
isActive: !1,
@@ -60112,24 +60113,24 @@ function zCe(e) {
dataKey: a
}));
}
-function BCe(e) {
- var { data: t, props: n } = e, r = kL(n) ?? {}, { id: i } = r, a = P8(r, OCe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = P8(n, kCe), p = f3(l, s, i), m = p3(d), h = m3(u, s, i);
+function UCe(e) {
+ var { data: t, props: n } = e, r = AL(n) ?? {}, { id: i } = r, a = P8(r, jCe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = P8(n, MCe), p = f3(l, s, i), m = p3(d), h = m3(u, s, i);
return t ? /*#__PURE__*/ N.createElement(N.Fragment, null, t.map((e, t) => /*#__PURE__*/ N.createElement(A8, j8({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, rz(f, e, t), {
+ }, iz(f, e, t), {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ N.createElement(RCe, {
+ }), c ? /*#__PURE__*/ N.createElement(VCe, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ N.createElement(zCe, {
+ }) : /*#__PURE__*/ N.createElement(HCe, {
shape: o,
baseProps: a,
entry: e,
@@ -60137,16 +60138,16 @@ function BCe(e) {
dataKey: s
})))) : null;
}
-function VCe(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 = rq(t, "recharts-bar-"), [p, m] = (0, N.useState)(!1), h = !p, g = (0, N.useCallback)(() => {
+function WCe(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 = aq(t, "recharts-bar-"), [p, m] = (0, N.useState)(!1), h = !p, g = (0, N.useCallback)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, N.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ N.createElement(LCe, {
+ return /*#__PURE__*/ N.createElement(BCe, {
showLabels: h,
rects: r
- }, /*#__PURE__*/ N.createElement(nq, {
+ }, /*#__PURE__*/ N.createElement(iq, {
animationId: f,
begin: o,
duration: s,
@@ -60159,68 +60160,68 @@ function VCe(e) {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
if (r) return N8(N8({}, t), {}, {
- x: WR(r.x, t.x, e),
- y: WR(r.y, t.y, e),
- width: WR(r.width, t.width, e),
- height: WR(r.height, t.height, e)
+ x: GR(r.x, t.x, e),
+ y: GR(r.y, t.y, e),
+ width: GR(r.width, t.width, e),
+ height: GR(r.height, t.height, e)
});
if (i === "horizontal") {
- var a = WR(0, t.height, e), o = WR(t.stackedBarStart, t.y, e);
+ var a = GR(0, t.height, e), o = GR(t.stackedBarStart, t.y, e);
return N8(N8({}, t), {}, {
y: o,
height: a
});
}
- var s = WR(0, t.width, e), c = WR(t.stackedBarStart, t.x, e);
+ var s = GR(0, t.width, e), c = GR(t.stackedBarStart, t.x, e);
return N8(N8({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ N.createElement(FL, null, /*#__PURE__*/ N.createElement(BCe, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ N.createElement(IL, null, /*#__PURE__*/ N.createElement(UCe, {
props: t,
data: a
}));
}), /*#__PURE__*/ N.createElement(f4, { label: t.label }), t.children);
}
-function HCe(e) {
+function GCe(e) {
var t = (0, N.useRef)(null);
- return /*#__PURE__*/ N.createElement(VCe, {
+ return /*#__PURE__*/ N.createElement(WCe, {
previousRectanglesRef: t,
props: e
});
}
-var F8 = 0, UCe = (e, t) => {
+var F8 = 0, KCe = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
y: e.y,
value: n,
- errorVal: nH(e, t)
+ errorVal: iH(e, t)
};
-}, WCe = class extends N.PureComponent {
+}, qCe = class extends N.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 = Nm("recharts-bar", r), u = c;
- return /*#__PURE__*/ N.createElement(FL, {
+ return /*#__PURE__*/ N.createElement(IL, {
className: l,
id: c
}, o && /*#__PURE__*/ N.createElement("defs", null, /*#__PURE__*/ N.createElement(Y6, {
clipPathId: u,
xAxisId: i,
yAxisId: a
- })), /*#__PURE__*/ N.createElement(FL, {
+ })), /*#__PURE__*/ N.createElement(IL, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ N.createElement(ICe, {
+ }, /*#__PURE__*/ N.createElement(zCe, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ N.createElement(HCe, this.props)));
+ }), /*#__PURE__*/ N.createElement(GCe, this.props)));
}
-}, GCe = {
+}, JCe = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -60233,19 +60234,19 @@ var F8 = 0, UCe = (e, t) => {
minPointSize: F8,
xAxisId: 0,
yAxisId: 0,
- zIndex: RJ.bar
+ zIndex: BJ.bar
};
-function KCe(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 } = J6(t, n), f = EU(), p = GH(), m = t3(e.children, v2), h = Q((t) => yCe(t, e.id, p, m));
+function YCe(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 } = J6(t, n), f = OU(), p = qH(), m = t3(e.children, v2), h = Q((t) => SCe(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__*/ N.createElement(q6, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: UCe,
+ dataPointFormatter: KCe,
errorBarOffset: g
- }, /*#__PURE__*/ N.createElement(WCe, j8({}, e, {
+ }, /*#__PURE__*/ N.createElement(qCe, j8({}, e, {
layout: f,
needClip: d,
data: h,
@@ -60261,20 +60262,20 @@ function KCe(e) {
isAnimationActive: u
})));
}
-function qCe(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 = pH({ numericAxis: _ }), b = _.scale.map(y);
+function XCe(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 = hH({ numericAxis: _ }), b = _.scale.map(y);
return f.map((e, f) => {
var _, x, S, C, w, T;
if (d) {
var E = d[f + g];
if (E == null) return null;
- _ = sH(E, v);
- } else _ = nH(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = dCe(r, F8)(_[1], f);
+ _ = lH(E, v);
+ } else _ = iH(e, n), Array.isArray(_) || (_ = [y, _]);
+ var D = mCe(r, F8)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
- x = fH({
+ x = mH({
axis: s,
ticks: l,
bandSize: o,
@@ -60283,19 +60284,19 @@ function qCe(e) {
index: f
}), S = k ?? O ?? void 0, C = a.size;
var A = O - k;
- if (w = RR(A) ? 0 : A, T = {
+ if (w = zR(A) ? 0 : A, T = {
x,
y: p.top,
width: C,
height: p.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = LR(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = RR(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
var M = s.scale.map(_[0]), N = s.scale.map(_[1]);
if (M == null || N == null) return null;
- if (x = M, S = fH({
+ if (x = M, S = mH({
axis: c,
ticks: u,
bandSize: o,
@@ -60308,7 +60309,7 @@ function qCe(e) {
width: p.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var P = LR(C || D) * (Math.abs(D) - Math.abs(C));
+ var P = RR(C || D) * (Math.abs(D) - Math.abs(C));
C += P;
}
}
@@ -60330,12 +60331,12 @@ function qCe(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function JCe(e) {
- var t = az(e, GCe), n = CCe(t.stackId), r = GH();
+function ZCe(e) {
+ var t = oz(e, JCe), n = ECe(t.stackId), r = qH();
return /*#__PURE__*/ N.createElement(v3, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(g3, { legendPayload: PCe(t) }), /*#__PURE__*/ N.createElement(FCe, {
+ }, (e) => /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(g3, { legendPayload: LCe(t) }), /*#__PURE__*/ N.createElement(RCe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -60360,23 +60361,23 @@ function JCe(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ N.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ N.createElement(KCe, j8({}, t, { id: e })))));
+ }), /*#__PURE__*/ N.createElement(t2, { zIndex: t.zIndex }, /*#__PURE__*/ N.createElement(YCe, j8({}, t, { id: e })))));
}
-var I8 = /*#__PURE__*/ N.memo(JCe, $W);
+var I8 = /*#__PURE__*/ N.memo(ZCe, tG);
I8.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var YCe = ["domain", "range"], XCe = ["domain", "range"];
+var QCe = ["domain", "range"], $Ce = ["domain", "range"];
function L8(e, t) {
if (e == null) return {};
- var n, r, i = ZCe(e, t);
+ var n, r, i = ewe(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 ZCe(e, t) {
+function ewe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60390,16 +60391,16 @@ function R8(e, t) {
}
function z8(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = L8(e, YCe), { domain: a, range: o } = t, s = L8(t, XCe);
- return !R8(n, a) || !R8(r, o) ? !1 : $W(i, s);
+ var { domain: n, range: r } = e, i = L8(e, QCe), { domain: a, range: o } = t, s = L8(t, $Ce);
+ return !R8(n, a) || !R8(r, o) ? !1 : tG(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var QCe = ["type"], $Ce = [
+var twe = ["type"], nwe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], ewe = ["id", "scale"];
+], rwe = ["id", "scale"];
function B8() {
return B8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -60423,26 +60424,26 @@ function H8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V8(Object(n), !0).forEach(function(t) {
- twe(e, t, n[t]);
+ iwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function twe(e, t, n) {
- return (t = nwe(t)) in e ? Object.defineProperty(e, t, {
+function iwe(e, t, n) {
+ return (t = awe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nwe(e) {
- var t = rwe(e, "string");
+function awe(e) {
+ var t = owe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rwe(e, t) {
+function owe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60454,14 +60455,14 @@ function rwe(e, t) {
}
function U8(e, t) {
if (e == null) return {};
- var n, r, i = iwe(e, t);
+ var n, r, i = swe(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 iwe(e, t) {
+function swe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60470,23 +60471,23 @@ function iwe(e, t) {
}
return n;
}
-function awe(e) {
- var t = Mz(), n = (0, N.useRef)(null), r = DU(), { type: i } = e, a = U8(e, QCe), o = HJ(r, "xAxis", i), s = (0, N.useMemo)(() => {
+function cwe(e) {
+ var t = Nz(), n = (0, N.useRef)(null), r = kU(), { type: i } = e, a = U8(e, twe), o = WJ(r, "xAxis", i), s = (0, N.useMemo)(() => {
if (o != null) return H8(H8({}, a), {}, { type: o });
}, [a, o]);
return (0, N.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(xye(s)) : n.current !== s && t(Sye({
+ s != null && (n.current === null ? t(wye(s)) : n.current !== s && t(Tye({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, N.useLayoutEffect)(() => () => {
- n.current &&= (t(Cye(n.current)), null);
+ n.current &&= (t(Eye(n.current)), null);
}, [t]), null;
}
-var owe = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(UH), i = GH(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => Dme(e, t)), l = Q((e) => M$(e, t));
+var lwe = (e) => {
+ var { xAxisId: t, className: n } = e, r = Q(GH), i = qH(), a = "xAxis", o = Q((e) => G1(e, a, t, i)), s = Q((e) => R1(e, t)), c = Q((e) => Ame(e, t)), l = Q((e) => M$(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = U8(e, $Ce), { id: m, scale: h } = l, g = U8(l, ewe);
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = U8(e, nwe), { id: m, scale: h } = l, g = U8(l, rwe);
return /*#__PURE__*/ N.createElement(z6, B8({}, p, g, {
x: c.x,
y: c.y,
@@ -60498,7 +60499,7 @@ var owe = (e) => {
axisType: a,
axisId: t
}));
-}, swe = {
+}, uwe = {
allowDataOverflow: j$.allowDataOverflow,
allowDecimals: j$.allowDecimals,
allowDuplicatedCategory: j$.allowDuplicatedCategory,
@@ -60523,8 +60524,8 @@ var owe = (e) => {
niceTicks: j$.niceTicks,
xAxisId: 0
}, W8 = /*#__PURE__*/ N.memo((e) => {
- var t = az(e, swe);
- return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(awe, {
+ var t = oz(e, uwe);
+ return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(cwe, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -60550,16 +60551,16 @@ var owe = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ N.createElement(owe, t));
+ }), /*#__PURE__*/ N.createElement(lwe, t));
}, z8);
W8.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var cwe = ["type"], lwe = [
+var dwe = ["type"], fwe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], uwe = ["id", "scale"];
+], pwe = ["id", "scale"];
function G8() {
return G8 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -60583,26 +60584,26 @@ function q8(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K8(Object(n), !0).forEach(function(t) {
- dwe(e, t, n[t]);
+ mwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K8(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dwe(e, t, n) {
- return (t = fwe(t)) in e ? Object.defineProperty(e, t, {
+function mwe(e, t, n) {
+ return (t = hwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fwe(e) {
- var t = pwe(e, "string");
+function hwe(e) {
+ var t = gwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pwe(e, t) {
+function gwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60614,14 +60615,14 @@ function pwe(e, t) {
}
function J8(e, t) {
if (e == null) return {};
- var n, r, i = mwe(e, t);
+ var n, r, i = _we(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 mwe(e, t) {
+function _we(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60630,27 +60631,27 @@ function mwe(e, t) {
}
return n;
}
-function hwe(e) {
- var t = Mz(), n = (0, N.useRef)(null), r = DU(), { type: i } = e, a = J8(e, cwe), o = HJ(r, "yAxis", i), s = (0, N.useMemo)(() => {
+function vwe(e) {
+ var t = Nz(), n = (0, N.useRef)(null), r = kU(), { type: i } = e, a = J8(e, dwe), o = WJ(r, "yAxis", i), s = (0, N.useMemo)(() => {
if (o != null) return q8(q8({}, a), {}, { type: o });
}, [o, a]);
return (0, N.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(wye(s)) : n.current !== s && t(Tye({
+ s != null && (n.current === null ? t(Dye(s)) : n.current !== s && t(Oye({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, N.useLayoutEffect)(() => () => {
- n.current &&= (t(Eye(n.current)), null);
+ n.current &&= (t(kye(n.current)), null);
}, [t]), null;
}
-function gwe(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, N.useRef)(null), o = (0, N.useRef)(null), s = Q(UH), c = GH(), l = Mz(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => Ome(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
+function ywe(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, N.useRef)(null), o = (0, N.useRef)(null), s = Q(GH), c = qH(), l = Nz(), u = "yAxis", d = Q((e) => z1(e, t)), f = Q((e) => jme(e, t)), p = Q((e) => G1(e, u, t, c)), m = Q((e) => F$(e, t));
if ((0, N.useLayoutEffect)(() => {
if (!(r !== "auto" || !d || t4(i) || /*#__PURE__*/ (0, N.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(Aye({
+ Math.round(d.width) !== Math.round(n) && l(Nye({
id: t,
width: n
}));
@@ -60665,7 +60666,7 @@ function gwe(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = J8(e, lwe), { id: y, scale: b } = m, x = J8(m, uwe);
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = J8(e, fwe), { id: y, scale: b } = m, x = J8(m, pwe);
return /*#__PURE__*/ N.createElement(z6, G8({}, v, x, {
ref: a,
labelRef: o,
@@ -60681,7 +60682,7 @@ function gwe(e) {
axisId: t
}));
}
-var _we = {
+var bwe = {
allowDataOverflow: P$.allowDataOverflow,
allowDecimals: P$.allowDecimals,
allowDuplicatedCategory: P$.allowDuplicatedCategory,
@@ -60706,8 +60707,8 @@ var _we = {
width: P$.width,
yAxisId: 0
}, Y8 = /*#__PURE__*/ N.memo((e) => {
- var t = az(e, _we);
- return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(hwe, {
+ var t = oz(e, bwe);
+ return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(vwe, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -60733,27 +60734,27 @@ var _we = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ N.createElement(gwe, t));
+ }), /*#__PURE__*/ N.createElement(ywe, t));
}, z8);
Y8.displayName = "YAxis";
var X8 = $([
(e, t) => t,
- TU,
- oY,
- hY,
+ DU,
+ cY,
+ _Y,
D0,
k0,
- whe,
- VH
-], jhe);
+ Dhe,
+ UH
+], Phe);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function vwe(e) {
+function xwe(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function Z8(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (vwe(e)) {
+ if (xwe(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 {
@@ -60768,19 +60769,19 @@ function Z8(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var Q8 = cV("mouseClick"), $8 = HV();
+var Q8 = lV("mouseClick"), $8 = UV();
$8.startListening({
actionCreator: Q8,
effect: (e, t) => {
var n = e.payload, r = X8(t.getState(), Z8(n));
- r?.activeIndex != null && t.dispatch(Rme({
+ r?.activeIndex != null && t.dispatch(Vme({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var e5 = cV("mouseMove"), t5 = HV(), n5 = null, r5 = null, i5 = null;
+var e5 = lV("mouseMove"), t5 = UV(), n5 = null, r5 = null, i5 = null;
t5.startListening({
actionCreator: e5,
effect: (e, t) => {
@@ -60811,7 +60812,7 @@ t5.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function ywe(e, t) {
+function Swe(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
@@ -60828,17 +60829,17 @@ var a5 = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, o5 = _V({
+}, o5 = vV({
name: "rootProps",
initialState: a5,
reducers: { updateOptions: (e, t) => {
e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? a5.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;
} }
-}), bwe = o5.reducer, { updateOptions: xwe } = o5.actions, s5 = _V({
+}), Cwe = o5.reducer, { updateOptions: wwe } = o5.actions, s5 = vV({
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: Swe } = s5.actions, Cwe = s5.reducer, c5 = cV("keyDown"), l5 = cV("focus"), u5 = cV("blur"), d5 = HV(), f5 = null, p5 = null, m5 = null;
+}), { updatePolarOptions: Twe } = s5.actions, Ewe = s5.reducer, c5 = lV("keyDown"), l5 = lV("focus"), u5 = lV("blur"), d5 = UV(), f5 = null, p5 = null, m5 = null;
d5.startListening({
actionCreator: c5,
effect: (e, t) => {
@@ -60863,7 +60864,7 @@ d5.startListening({
}));
return;
}
- var c = kme(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = Mme(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
if (o == null || l >= o.length || l < 0) return;
var u = X0(e, "axis", "hover", String(l));
t.dispatch(o0({
@@ -60926,7 +60927,7 @@ function h5(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var g5 = cV("externalEvent"), _5 = HV(), v5 = /* @__PURE__ */ new Map(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map();
+var g5 = lV("externalEvent"), _5 = UV(), v5 = /* @__PURE__ */ new Map(), y5 = /* @__PURE__ */ new Map(), b5 = /* @__PURE__ */ new Map();
_5.startListening({
actionCreator: g5,
effect: (e, t) => {
@@ -60946,12 +60947,12 @@ _5.startListening({
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: uhe(a),
+ activeCoordinate: phe(a),
activeDataKey: I0(a),
activeIndex: P0(a),
activeLabel: F0(a),
activeTooltipIndex: P0(a),
- isTooltipActive: dhe(a)
+ isTooltipActive: mhe(a)
};
n && n(o, r);
} finally {
@@ -60975,7 +60976,7 @@ _5.startListening({
}
}
});
-var wwe = $([
+var Dwe = $([
$([m0], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
@@ -60987,7 +60988,7 @@ var wwe = $([
if (i != null) return i(t);
}
}
-}), x5 = cV("touchMove"), S5 = HV(), C5 = null, w5 = null, T5 = null, E5 = null;
+}), x5 = lV("touchMove"), S5 = UV(), C5 = null, w5 = null, T5 = null, E5 = null;
S5.startListening({
actionCreator: x5,
effect: (e, t) => {
@@ -61020,9 +61021,9 @@ S5.startListening({
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(AH), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = b0(e).find((e) => e.id === c);
+ var s = o.getAttribute(MH), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = b0(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = wwe(e, s, c);
+ var { dataKey: u } = l, d = Dwe(e, s, c);
t.dispatch(n0({
activeDataKey: u,
activeIndex: s,
@@ -61054,33 +61055,33 @@ var D5 = {
"scroll",
"wheel"
]
-}, O5 = _V({
+}, O5 = vV({
name: "eventSettings",
initialState: D5,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = DW(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = kW(t.payload.throttledEvents));
} }
-}), { setEventSettings: Twe } = O5.actions, Ewe = O5.reducer, Dwe = Xz({
- brush: Wbe,
- cartesianAxis: jye,
- chartData: ige,
- errorBars: lSe,
- eventSettings: Ewe,
- graphicalItems: sye,
- layout: qV,
- legend: PW,
- options: $he,
- polarAxis: Z_e,
- polarOptions: Cwe,
- referenceElements: txe,
- renderedTicks: kxe,
- rootProps: bwe,
- tooltip: zme,
- zIndex: Whe
-}), Owe = function(e) {
+}), { setEventSettings: Owe } = O5.actions, kwe = O5.reducer, Awe = Zz({
+ brush: qbe,
+ cartesianAxis: Pye,
+ chartData: sge,
+ errorBars: fSe,
+ eventSettings: kwe,
+ graphicalItems: uye,
+ layout: YV,
+ legend: IW,
+ options: nge,
+ polarAxis: eve,
+ polarOptions: Ewe,
+ referenceElements: ixe,
+ renderedTicks: Mxe,
+ rootProps: Cwe,
+ tooltip: Hme,
+ zIndex: qhe
+}), jwe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return Ide({
- reducer: Dwe,
+ return Rde({
+ reducer: Awe,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -61098,10 +61099,10 @@ var D5 = {
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(hV({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(gV({ type: "raf" }));
},
- devTools: PG.devToolsEnabled && {
- serialize: { replacer: ywe },
+ devTools: IG.devToolsEnabled && {
+ serialize: { replacer: Swe },
name: `recharts-${t}`
}
});
@@ -61109,21 +61110,21 @@ var D5 = {
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
function k5(e) {
- var { preloadedState: t, children: n, reduxStoreName: r } = e, i = GH(), a = (0, N.useRef)(null);
+ var { preloadedState: t, children: n, reduxStoreName: r } = e, i = qH(), a = (0, N.useRef)(null);
if (i) return n;
- a.current ??= Owe(t, r);
- var o = jz;
- return /*#__PURE__*/ N.createElement(XW, {
+ a.current ??= jwe(t, r);
+ var o = Mz;
+ return /*#__PURE__*/ N.createElement(QW, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function kwe(e) {
- var { layout: t, margin: n } = e, r = Mz(), i = GH();
+function Mwe(e) {
+ var { layout: t, margin: n } = e, r = Nz(), i = qH();
return (0, N.useEffect)(() => {
- i || (r(sfe(t)), r(ofe(n)));
+ i || (r(KV(t)), r(cfe(n)));
}, [
r,
i,
@@ -61131,31 +61132,31 @@ function kwe(e) {
n
]), null;
}
-var A5 = /*#__PURE__*/ (0, N.memo)(kwe, $W);
+var A5 = /*#__PURE__*/ (0, N.memo)(Mwe, tG);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function j5(e) {
- var t = Mz();
+ var t = Nz();
return (0, N.useEffect)(() => {
- t(xwe(e));
+ t(wwe(e));
}, [t, e]), null;
}
var M5 = /*#__PURE__*/ (0, N.memo)((e) => {
- var t = Mz();
+ var t = Nz();
return (0, N.useEffect)(() => {
- t(Twe(e));
+ t(Owe(e));
}, [t, e]), null;
-}, $W);
+}, tG);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
function N5(e) {
- var { zIndex: t, isPanorama: n } = e, r = (0, N.useRef)(null), i = Mz();
- return (0, N.useLayoutEffect)(() => (r.current && i(Hhe({
+ var { zIndex: t, isPanorama: n } = e, r = (0, N.useRef)(null), i = Nz();
+ return (0, N.useLayoutEffect)(() => (r.current && i(Ghe({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(Uhe({
+ i(Khe({
zIndex: t,
isPanorama: n
}));
@@ -61170,7 +61171,7 @@ function N5(e) {
});
}
function P5(e) {
- var { children: t, isPanorama: n } = e, r = Q(Nhe);
+ var { children: t, isPanorama: n } = e, r = Q(Ihe);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
return /*#__PURE__*/ N.createElement(N.Fragment, null, i.map((e) => /*#__PURE__*/ N.createElement(N5, {
@@ -61185,17 +61186,17 @@ function P5(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var Awe = ["children"];
-function jwe(e, t) {
+var Nwe = ["children"];
+function Pwe(e, t) {
if (e == null) return {};
- var n, r, i = Mwe(e, t);
+ var n, r, i = Fwe(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 Mwe(e, t) {
+function Fwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61213,46 +61214,46 @@ function F5() {
return e;
}, F5.apply(null, arguments);
}
-var Nwe = {
+var Iwe = {
width: "100%",
height: "100%",
display: "block"
-}, Pwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
- var n = SU(), r = CU(), i = WG();
- if (!XV(n) || !XV(r)) return null;
+}, Lwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
+ var n = wU(), r = TU(), i = KG();
+ if (!QV(n) || !QV(r)) return null;
var { children: a, otherAttributes: o, title: s, desc: c } = e, l, u;
- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ N.createElement(NL, F5({}, o, {
+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ N.createElement(PL, F5({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: Nwe,
+ style: Iwe,
ref: t
}), a);
-}), Fwe = (e) => {
- var { children: t } = e, n = Q(qH);
+}), Rwe = (e) => {
+ var { children: t } = e, n = Q(YH);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
- return /*#__PURE__*/ N.createElement(NL, {
+ return /*#__PURE__*/ N.createElement(PL, {
width: r,
height: i,
x: o,
y: a
}, t);
}, I5 = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
- var { children: n } = e, r = jwe(e, Awe);
- return GH() ? /*#__PURE__*/ N.createElement(Fwe, null, /*#__PURE__*/ N.createElement(P5, { isPanorama: !0 }, n)) : /*#__PURE__*/ N.createElement(Pwe, F5({ ref: t }, r), /*#__PURE__*/ N.createElement(P5, { isPanorama: !1 }, n));
+ var { children: n } = e, r = Pwe(e, Nwe);
+ return qH() ? /*#__PURE__*/ N.createElement(Rwe, null, /*#__PURE__*/ N.createElement(P5, { isPanorama: !0 }, n)) : /*#__PURE__*/ N.createElement(Lwe, F5({ ref: t }, r), /*#__PURE__*/ N.createElement(P5, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function Iwe() {
- var e = Mz(), [t, n] = (0, N.useState)(null), r = Q(EH);
+function zwe() {
+ var e = Nz(), [t, n] = (0, N.useState)(null), r = Q(OH);
return (0, N.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- YV(n) && n !== r && e(KV(n));
+ ZV(n) && n !== r && e(JV(n));
}
}, [
t,
@@ -61272,30 +61273,30 @@ function L5(e, t) {
}
return n;
}
-function Lwe(e) {
+function Bwe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? L5(Object(n), !0).forEach(function(t) {
- Rwe(e, t, n[t]);
+ Vwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Rwe(e, t, n) {
- return (t = zwe(t)) in e ? Object.defineProperty(e, t, {
+function Vwe(e, t, n) {
+ return (t = Hwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zwe(e) {
- var t = Bwe(e, "string");
+function Hwe(e) {
+ var t = Uwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Bwe(e, t) {
+function Uwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61314,7 +61315,7 @@ function R5() {
return e;
}, R5.apply(null, arguments);
}
-var Vwe = () => (pge(), null);
+var Wwe = () => (gge(), null);
function z5(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -61323,7 +61324,7 @@ function z5(e) {
}
return 0;
}
-var Hwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
+var Gwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
var n = (0, N.useRef)(null), [r, i] = (0, N.useState)({
containerWidth: z5(e.style?.width),
containerHeight: z5(e.style?.height)
@@ -61351,11 +61352,11 @@ var Hwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
}, [t, a]);
return (0, N.useEffect)(() => () => {
n.current?.disconnect();
- }, [a]), /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(jU, {
+ }, [a]), /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(NU, {
width: r.containerWidth,
height: r.containerHeight
}), /*#__PURE__*/ N.createElement("div", R5({ ref: o }, e)));
-}), Uwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
+}), Kwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, N.useState)({
containerWidth: z5(n),
containerHeight: z5(r)
@@ -61373,32 +61374,32 @@ var Hwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
o(n, r);
}
}, [t, o]);
- return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(jU, {
+ return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(NU, {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ N.createElement("div", R5({ ref: s }, e)));
-}), Wwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
+}), qwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(jU, {
+ return /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(NU, {
width: n,
height: r
}), /*#__PURE__*/ N.createElement("div", R5({ ref: t }, e)));
-}), Gwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
+}), Jwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ N.createElement(Uwe, R5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ N.createElement(Wwe, R5({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ N.createElement(Kwe, R5({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ N.createElement(qwe, R5({}, e, {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(jU, {
+ })) : /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(NU, {
width: n,
height: r
}), /*#__PURE__*/ N.createElement("div", R5({ ref: t }, e)));
});
-function Kwe(e) {
- return e ? Hwe : Gwe;
+function Ywe(e) {
+ return e ? Gwe : Jwe;
}
-var qwe = /*#__PURE__*/ (0, N.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, N.useRef)(null), x = Mz(), [S, C] = (0, N.useState)(null), [w, T] = (0, N.useState)(null), E = Iwe(), D = hU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, N.useCallback)((e) => {
+var Xwe = /*#__PURE__*/ (0, N.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, N.useRef)(null), x = Nz(), [S, C] = (0, N.useState)(null), [w, T] = (0, N.useState)(null), E = zwe(), D = _U(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, N.useCallback)((e) => {
E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
E,
@@ -61470,12 +61471,12 @@ var qwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [x, p]), ce = Kwe(v);
- return /*#__PURE__*/ N.createElement(a2.Provider, { value: S }, /*#__PURE__*/ N.createElement(IL.Provider, { value: w }, /*#__PURE__*/ N.createElement(ce, {
+ }, [x, p]), ce = Ywe(v);
+ return /*#__PURE__*/ N.createElement(a2.Provider, { value: S }, /*#__PURE__*/ N.createElement(LL.Provider, { value: w }, /*#__PURE__*/ N.createElement(ce, {
width: O ?? g?.width,
height: k ?? g?.height,
className: Nm("recharts-wrapper", r),
- style: Lwe({
+ style: Bwe({
position: "relative",
cursor: "default",
width: O,
@@ -61496,8 +61497,8 @@ var qwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
onTouchMove: oe,
onTouchStart: ae,
ref: A
- }, /*#__PURE__*/ N.createElement(Vwe, null), n)));
-}), Jwe = [
+ }, /*#__PURE__*/ N.createElement(Wwe, null), n)));
+}), Zwe = [
"width",
"height",
"responsive",
@@ -61508,16 +61509,16 @@ var qwe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
"title",
"desc"
];
-function Ywe(e, t) {
+function Qwe(e, t) {
if (e == null) return {};
- var n, r, i = Xwe(e, t);
+ var n, r, i = $we(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Xwe(e, t) {
+function $we(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61527,15 +61528,15 @@ function Xwe(e, t) {
return n;
}
var B5 = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = kL(Ywe(e, Jwe));
- return c ? /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(jU, {
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = AL(Qwe(e, Zwe));
+ return c ? /*#__PURE__*/ N.createElement(N.Fragment, null, /*#__PURE__*/ N.createElement(NU, {
width: n,
height: r
}), /*#__PURE__*/ N.createElement(I5, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ N.createElement(qwe, {
+ }, a)) : /*#__PURE__*/ N.createElement(Xwe, {
className: o,
style: s,
width: n,
@@ -61557,7 +61558,7 @@ var B5 = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ N.createElement(nxe, null, a)));
+ }, /*#__PURE__*/ N.createElement(axe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -61580,30 +61581,30 @@ function H5(e, t) {
}
return n;
}
-function Zwe(e) {
+function eTe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? H5(Object(n), !0).forEach(function(t) {
- Qwe(e, t, n[t]);
+ tTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Qwe(e, t, n) {
- return (t = $we(t)) in e ? Object.defineProperty(e, t, {
+function tTe(e, t, n) {
+ return (t = nTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $we(e) {
- var t = eTe(e, "string");
+function nTe(e) {
+ var t = rTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eTe(e, t) {
+function rTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61613,7 +61614,7 @@ function eTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var tTe = Zwe({
+var iTe = eTe({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -61629,7 +61630,7 @@ var tTe = Zwe({
stackOffset: "none",
syncMethod: "index"
}, D5), U5 = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
- var n = az(e.categoricalChartProps, tTe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+ var n = oz(e.categoricalChartProps, iTe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -61658,32 +61659,32 @@ var tTe = Zwe({
className: n.className,
reverseStackOrder: n.reverseStackOrder
}), /*#__PURE__*/ N.createElement(B5, V5({}, n, { ref: t })));
-}), nTe = ["axis"], rTe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => /*#__PURE__*/ N.createElement(U5, {
+}), aTe = ["axis"], oTe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => /*#__PURE__*/ N.createElement(U5, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: nTe,
+ validateTooltipEventTypes: aTe,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
-})), iTe = ["axis", "item"], W5 = /*#__PURE__*/ (0, N.forwardRef)((e, t) => /*#__PURE__*/ N.createElement(U5, {
+})), sTe = ["axis", "item"], W5 = /*#__PURE__*/ (0, N.forwardRef)((e, t) => /*#__PURE__*/ N.createElement(U5, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: iTe,
+ validateTooltipEventTypes: sTe,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function aTe(e) {
- var t = Mz();
+function cTe(e) {
+ var t = Nz();
return (0, N.useEffect)(() => {
- t(Swe(e));
+ t(Twe(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var oTe = ["layout"];
+var lTe = ["layout"];
function G5() {
return G5 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -61693,16 +61694,16 @@ function G5() {
return e;
}, G5.apply(null, arguments);
}
-function sTe(e, t) {
+function uTe(e, t) {
if (e == null) return {};
- var n, r, i = cTe(e, t);
+ var n, r, i = dTe(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 cTe(e, t) {
+function dTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61721,30 +61722,30 @@ function K5(e, t) {
}
return n;
}
-function lTe(e) {
+function fTe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K5(Object(n), !0).forEach(function(t) {
- uTe(e, t, n[t]);
+ pTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uTe(e, t, n) {
- return (t = dTe(t)) in e ? Object.defineProperty(e, t, {
+function pTe(e, t, n) {
+ return (t = mTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dTe(e) {
- var t = fTe(e, "string");
+function mTe(e) {
+ var t = hTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fTe(e, t) {
+function hTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61754,7 +61755,7 @@ function fTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var q5 = lTe({
+var q5 = fTe({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -61774,7 +61775,7 @@ var q5 = lTe({
innerRadius: 0,
outerRadius: "80%"
}, D5), J5 = /*#__PURE__*/ (0, N.forwardRef)(function(e, t) {
- var n = az(e.categoricalChartProps, q5), { layout: r } = n, i = sTe(n, oTe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+ var n = oz(e.categoricalChartProps, q5), { layout: r } = n, i = uTe(n, lTe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
@@ -61802,7 +61803,7 @@ var q5 = lTe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ N.createElement(aTe, {
+ }), /*#__PURE__*/ N.createElement(cTe, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
@@ -61827,26 +61828,26 @@ function X5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Y5(Object(n), !0).forEach(function(t) {
- pTe(e, t, n[t]);
+ gTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Y5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pTe(e, t, n) {
- return (t = mTe(t)) in e ? Object.defineProperty(e, t, {
+function gTe(e, t, n) {
+ return (t = _Te(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mTe(e) {
- var t = hTe(e, "string");
+function _Te(e) {
+ var t = vTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hTe(e, t) {
+function vTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61856,24 +61857,24 @@ function hTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var gTe = ["axis"], _Te = X5(X5({}, q5), {}, {
+var yTe = ["axis"], bTe = X5(X5({}, q5), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), vTe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
- var n = az(e, _Te);
+}), xTe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
+ var n = oz(e, bTe);
return /*#__PURE__*/ N.createElement(J5, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: gTe,
+ validateTooltipEventTypes: yTe,
tooltipPayloadSearcher: l2,
categoricalChartProps: n,
ref: t
});
-}), yTe = ["axis"], bTe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => /*#__PURE__*/ N.createElement(U5, {
+}), STe = ["axis"], CTe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => /*#__PURE__*/ N.createElement(U5, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: yTe,
+ validateTooltipEventTypes: STe,
tooltipPayloadSearcher: l2,
categoricalChartProps: e,
ref: t
@@ -61894,26 +61895,26 @@ function Q5(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Z5(Object(n), !0).forEach(function(t) {
- xTe(e, t, n[t]);
+ wTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z5(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xTe(e, t, n) {
- return (t = STe(t)) in e ? Object.defineProperty(e, t, {
+function wTe(e, t, n) {
+ return (t = TTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function STe(e) {
- var t = CTe(e, "string");
+function TTe(e) {
+ var t = ETe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function CTe(e, t) {
+function ETe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61923,16 +61924,16 @@ function CTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var wTe = ["axis", "item"], TTe = Q5(Q5({}, q5), {}, {
+var DTe = ["axis", "item"], OTe = Q5(Q5({}, q5), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), ETe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
- var n = az(e, TTe);
+}), kTe = /*#__PURE__*/ (0, N.forwardRef)((e, t) => {
+ var n = oz(e, OTe);
return /*#__PURE__*/ N.createElement(J5, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: wTe,
+ validateTooltipEventTypes: DTe,
tooltipPayloadSearcher: l2,
categoricalChartProps: n,
ref: t
@@ -61941,7 +61942,7 @@ var wTe = ["axis", "item"], TTe = Q5(Q5({}, q5), {}, {
//#endregion
//#region src/react/charts/cn.ts
function $5(...e) {
- return yw(Nm(e));
+ return vw(Nm(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
@@ -61949,7 +61950,7 @@ var e7 = {
light: "",
dark: ".dark"
}, t7 = Object.keys(e7);
-function DTe(e) {
+function ATe(e) {
for (let [t, n] of Object.entries(e)) if (n.colors && !t7.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${t7.join(", ")}). Received empty object or invalid keys.`);
}
var n7 = N.createContext(null);
@@ -61963,7 +61964,7 @@ function i7({ id: e, config: t, initialDimension: n = {
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = N.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return DTe(t), /* @__PURE__ */ (0, P.jsx)(n7.Provider, {
+ return ATe(t), /* @__PURE__ */ (0, P.jsx)(n7.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, P.jsxs)("div", {
"data-slot": "chart",
@@ -61975,7 +61976,7 @@ function i7({ id: e, config: t, initialDimension: n = {
id: c,
config: t
}),
- /* @__PURE__ */ (0, P.jsx)(_U, {
+ /* @__PURE__ */ (0, P.jsx)(yU, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -61994,7 +61995,7 @@ function a7({ isLoading: e }) {
})
}) : null;
}
-function OTe(e, t) {
+function jTe(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -62009,7 +62010,7 @@ var o7 = ({ 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 ? [] : OTe(r, c7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : jTe(r, c7(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
}).filter(Boolean).join("\n"), i = Object.entries(e7).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, P.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
@@ -62023,19 +62024,19 @@ function c7(e) {
let t = t7.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var l7 = (e = 10, t = 0, n = 70) => {
+var MTe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, kTe = {
+}, NTe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, ATe = {
+}, PTe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
-function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {
+function l7({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {
let { config: h } = r7(), g = N.useMemo(() => {
if (i || !t?.length) return null;
let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = s7(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
@@ -62058,7 +62059,7 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, P.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, P.jsxs)("div", {
- className: $5("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", kTe[p], ATe[m], n),
+ className: $5("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", NTe[p], PTe[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, P.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
@@ -62072,7 +62073,7 @@ function u7({ 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: jTe(n, o)
+ style: FTe(n, o)
}), /* @__PURE__ */ (0, P.jsxs)("div", {
className: $5("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, P.jsxs)("div", {
@@ -62091,16 +62092,16 @@ function u7({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function jTe(e, t) {
+function FTe(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 d7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, P.jsx)(xge, {
+var u7 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, P.jsx)(wge, {
animationDuration: e,
...t
});
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-legend.tsx
-function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {
+function d7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {
let { config: u } = r7();
return r?.length ? /* @__PURE__ */ (0, P.jsx)("div", {
className: $5("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),
@@ -62111,7 +62112,7 @@ function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, P.jsx)(i.icon, {}) : /* @__PURE__ */ (0, P.jsx)(MTe, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, P.jsx)(i.icon, {}) : /* @__PURE__ */ (0, P.jsx)(ITe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -62120,8 +62121,8 @@ function f7({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function MTe({ variant: e, dataKey: t, colorsCount: n }) {
- let r = NTe(t, n), i = PTe(t, n);
+function ITe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = LTe(t, n), i = RTe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, P.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -62153,10 +62154,10 @@ function MTe({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function NTe(e, t) {
+function LTe(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 PTe(e, t) {
+function RTe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -62171,12 +62172,12 @@ function PTe(e, t) {
...n
};
}
-var p7 = _G, m7 = () => null, h7 = {
+var f7 = yG, p7 = () => null, m7 = {
stiffness: 300,
damping: 35,
mass: .8
};
-function FTe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function zTe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = N.useRef(null), [a, o] = N.useState(!1), s = (0, N.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, N.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -62222,7 +62223,7 @@ function FTe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function ITe({ 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 BTe({ 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 = N.useRef(null), S = N.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = N.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, D] = N.useState(() => ({
startIndex: Math.max(0, Math.min(p, C - 1)),
endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))
@@ -62256,7 +62257,7 @@ function ITe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = FTe({
+ }, [C, v]), { isDragging: A, bind: j } = zTe({
range: E,
totalPoints: C,
containerRef: x,
@@ -62283,7 +62284,7 @@ function ITe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]);
let F = C > 1 ? M.startIndex / (C - 1) * 100 : 0, I = C > 1 ? M.endIndex / (C - 1) * 100 : 100, ee = df(F), te = df(I);
ee.get() !== F && ee.set(F), te.get() !== I && te.set(I);
- let ne = vf(ee, h7), re = vf(te, h7), ie = mf(ne, (e) => `${e}%`), L = mf(re, (e) => `${e}%`), ae = mf(ne, (e) => `${e}%`), oe = mf(re, (e) => `${Math.max(0, 100 - e)}%`), se = df(`${Math.max(0, I - F)}%`), ce = (0, N.useCallback)(() => {
+ let ne = vf(ee, m7), re = vf(te, m7), ie = mf(ne, (e) => `${e}%`), L = mf(re, (e) => `${e}%`), ae = mf(ne, (e) => `${e}%`), oe = mf(re, (e) => `${Math.max(0, 100 - e)}%`), se = df(`${Math.max(0, I - F)}%`), ce = (0, N.useCallback)(() => {
se.set(`${Math.max(0, re.get() - ne.get())}%`);
}, [
ne,
@@ -62312,7 +62313,7 @@ function ITe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}),
/* @__PURE__ */ (0, P.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, P.jsx)(LTe, {
+ children: /* @__PURE__ */ (0, P.jsx)(VTe, {
data: e,
keys: S,
chartConfig: t,
@@ -62341,13 +62342,13 @@ function ITe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
},
...j("middle")
}),
- /* @__PURE__ */ (0, P.jsx)(g7, {
+ /* @__PURE__ */ (0, P.jsx)(h7, {
side: "left",
position: ie,
label: y ? le(M.startIndex) : void 0,
bind: j("left")
}),
- /* @__PURE__ */ (0, P.jsx)(g7, {
+ /* @__PURE__ */ (0, P.jsx)(h7, {
side: "right",
position: L,
label: y ? le(M.endIndex) : void 0,
@@ -62356,7 +62357,7 @@ function ITe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]
});
}
-function g7({ side: e, position: t, label: n, bind: r }) {
+function h7({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
return /* @__PURE__ */ (0, P.jsxs)(bf.div, {
className: "absolute inset-y-0 z-10",
@@ -62381,7 +62382,7 @@ function g7({ side: e, position: t, label: n, bind: r }) {
})]
});
}
-function LTe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function VTe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = N.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
colorsCount: c7(t)
@@ -62438,10 +62439,10 @@ function LTe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, P.jsx)(_U, {
+ if (r === "line") return /* @__PURE__ */ (0, P.jsx)(yU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, P.jsxs)(rTe, {
+ children: /* @__PURE__ */ (0, P.jsxs)(oTe, {
data: e,
margin: {
top: 4,
@@ -62465,7 +62466,7 @@ function LTe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, P.jsx)(_U, {
+ return /* @__PURE__ */ (0, P.jsx)(yU, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, P.jsxs)(W5, {
@@ -62494,10 +62495,10 @@ function LTe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, P.jsx)(_U, {
+ return /* @__PURE__ */ (0, P.jsx)(yU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, P.jsxs)(bTe, {
+ children: /* @__PURE__ */ (0, P.jsxs)(CTe, {
data: e,
margin: {
top: 4,
@@ -62523,7 +62524,7 @@ function LTe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function RTe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function HTe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = N.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -62547,7 +62548,7 @@ function RTe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var zTe = {
+var UTe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, P.jsx)("pattern", {
id: e,
x: "0",
@@ -62719,8 +62720,8 @@ var zTe = {
})
})
};
-function _7({ variant: e }) {
- let t = (0, N.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = zTe[e];
+function g7({ variant: e }) {
+ let t = (0, N.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = UTe[e];
return /* @__PURE__ */ (0, P.jsxs)(t2, {
zIndex: -1,
children: [/* @__PURE__ */ (0, P.jsxs)("defs", { children: [
@@ -62751,20 +62752,20 @@ function _7({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var v7 = 2, BTe = "loading", VTe = 2e3, HTe = "evil-stacked", UTe = .5, WTe = .05, GTe = [
+var _7 = 2, WTe = "loading", GTe = 2e3, KTe = "evil-stacked", qTe = .5, JTe = .05, YTe = [
0,
.7,
.5,
1
-], y7 = (0, N.createContext)(null);
-function b7() {
- let e = (0, N.use)(y7);
+], v7 = (0, N.createContext)(null);
+function y7() {
+ let e = (0, N.use)(v7);
if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");
return e;
}
-function x7({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = v7, 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, N.useId)().replace(/:/g, ""), [v] = (0, N.useState)(() => Date.now()), [y, b] = (0, N.useState)(f), [x, S] = (0, N.useState)(!1), { loadingData: C, onShimmerExit: w } = uEe(m, h), { visibleData: T, brushProps: E } = RTe({ data: t }), D = (0, N.useMemo)(() => {
- let e = N.Children.toArray(n), t = e.find((e) => (0, N.isValidElement)(e) && e.type === m7), r = (0, N.isValidElement)(t) ? t.props : {};
+function b7({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = _7, 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, N.useId)().replace(/:/g, ""), [v] = (0, N.useState)(() => Date.now()), [y, b] = (0, N.useState)(f), [x, S] = (0, N.useState)(!1), { loadingData: C, onShimmerExit: w } = mEe(m, h), { visibleData: T, brushProps: E } = HTe({ data: t }), D = (0, N.useMemo)(() => {
+ let e = N.Children.toArray(n), t = e.find((e) => (0, N.isValidElement)(e) && e.type === p7), r = (0, N.isValidElement)(t) ? t.props : {};
return {
slot: {
present: (0, N.isValidElement)(t),
@@ -62772,7 +62773,7 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
formatLabel: r.formatLabel,
onChange: r.onChange
},
- chartChildren: e.filter((e) => !((0, N.isValidElement)(e) && e.type === m7))
+ chartChildren: e.filter((e) => !((0, N.isValidElement)(e) && e.type === p7))
};
}, [n]), O = D.slot.present, k = a === "stacked" || a === "percent", A = o === "horizontal", j = O && !m ? T : t, M = (0, N.useCallback)((e) => {
b(e), p?.(e);
@@ -62801,12 +62802,12 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
M,
x
]);
- return /* @__PURE__ */ (0, P.jsx)(y7, {
+ return /* @__PURE__ */ (0, P.jsx)(v7, {
value: F,
children: /* @__PURE__ */ (0, P.jsxs)(i7, {
className: r,
config: e,
- footer: O && !m && /* @__PURE__ */ (0, P.jsx)(ITe, {
+ footer: O && !m && /* @__PURE__ */ (0, P.jsx)(BTe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -62834,10 +62835,10 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
onMouseLeave: () => S(!1),
...i,
children: [
- d && /* @__PURE__ */ (0, P.jsx)(_7, { variant: d }),
+ d && /* @__PURE__ */ (0, P.jsx)(g7, { variant: d }),
/* @__PURE__ */ (0, P.jsx)(O6, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, P.jsx)(dEe, {
+ m && /* @__PURE__ */ (0, P.jsx)(hEe, {
chartId: _,
onShimmerExit: w
})
@@ -62846,8 +62847,8 @@ function x7({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function KTe({ 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 } = b7(), b = (0, N.useId)().replace(/:/g, ""), x = yf();
+function XTe({ 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 } = y7(), b = (0, N.useId)().replace(/:/g, ""), x = yf();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
id: b,
@@ -62869,62 +62870,62 @@ function KTe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
};
return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(I8, {
dataKey: e,
- stackId: u ? HTe : void 0,
+ stackId: u ? KTe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
style: i || a ? { cursor: "pointer" } : void 0,
- shape: (e) => /* @__PURE__ */ (0, P.jsx)(S7, {
+ shape: (e) => /* @__PURE__ */ (0, P.jsx)(x7, {
...e,
...T,
animationType: w
}),
- activeBar: (e) => /* @__PURE__ */ (0, P.jsx)(S7, {
+ activeBar: (e) => /* @__PURE__ */ (0, P.jsx)(x7, {
...e,
...T,
animationType: "none"
}),
...c
}), /* @__PURE__ */ (0, P.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, P.jsx)(tEe, {
+ /* @__PURE__ */ (0, P.jsx)(aEe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, P.jsx)(nEe, {
+ t === "hatched" && /* @__PURE__ */ (0, P.jsx)(oEe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, P.jsx)(iEe, {
+ t === "duotone" && /* @__PURE__ */ (0, P.jsx)(cEe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, P.jsx)(aEe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, P.jsx)(lEe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, P.jsx)(oEe, {
+ t === "gradient" && /* @__PURE__ */ (0, P.jsx)(uEe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, P.jsx)(sEe, {
+ t === "stripped" && /* @__PURE__ */ (0, P.jsx)(dEe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, P.jsx)(rEe, {
+ s && /* @__PURE__ */ (0, P.jsx)(sEe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, P.jsx)(cEe, {
+ o && /* @__PURE__ */ (0, P.jsx)(fEe, {
id: b,
dataKey: e
})
] })] });
}
-function qTe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
- let { isLoading: o, isHorizontal: s } = b7();
+function ZTe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+ let { isLoading: o, isHorizontal: s } = y7();
return o ? null : /* @__PURE__ */ (0, P.jsx)(W8, {
tickLine: e,
axisLine: t,
@@ -62934,8 +62935,8 @@ function qTe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function JTe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
- let { isLoading: s, isHorizontal: c } = b7();
+function QTe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+ let { isLoading: s, isHorizontal: c } = y7();
return s ? null : /* @__PURE__ */ (0, P.jsx)(Y8, {
tickLine: e,
axisLine: t,
@@ -62946,8 +62947,8 @@ function JTe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function YTe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
- let { isHorizontal: i } = b7();
+function $Te({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+ let { isHorizontal: i } = y7();
return /* @__PURE__ */ (0, P.jsx)(G6, {
strokeDasharray: e,
vertical: t ?? i,
@@ -62955,24 +62956,24 @@ function YTe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
...r
});
}
-function XTe({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = b7();
- return r ? null : /* @__PURE__ */ (0, P.jsx)(d7, {
+function eEe({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = y7();
+ return r ? null : /* @__PURE__ */ (0, P.jsx)(u7, {
cursor: !1,
defaultIndex: n,
- content: /* @__PURE__ */ (0, P.jsx)(u7, {
+ content: /* @__PURE__ */ (0, P.jsx)(l7, {
selected: i,
roundness: t,
variant: e
})
});
}
-function ZTe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
- let { selectedDataKey: i, selectDataKey: a } = b7();
- return /* @__PURE__ */ (0, P.jsx)(p7, {
+function tEe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+ let { selectedDataKey: i, selectDataKey: a } = y7();
+ return /* @__PURE__ */ (0, P.jsx)(f7, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, P.jsx)(f7, {
+ content: /* @__PURE__ */ (0, P.jsx)(d7, {
selected: i,
onSelectChange: a,
isClickable: r,
@@ -62980,8 +62981,8 @@ function ZTe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
})
});
}
-var S7 = (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 = QTe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : $Te(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = eEe({
+var x7 = (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 = nEe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : rEe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = iEe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -62993,7 +62994,7 @@ var S7 = (e) => {
c,
0,
0
- ] : c, A = /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(Dq, {
+ ] : c, A = /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(kq, {
x: t,
y: n,
width: r,
@@ -63004,7 +63005,7 @@ var S7 = (e) => {
filter: E,
stroke: S ? `url(#${a}-colors-${o})` : void 0,
strokeWidth: S ? 1 : void 0
- }), C && /* @__PURE__ */ (0, P.jsx)(Dq, {
+ }), C && /* @__PURE__ */ (0, P.jsx)(kq, {
x: t,
y: n - 4,
width: r,
@@ -63015,7 +63016,7 @@ var S7 = (e) => {
return /* @__PURE__ */ (0, P.jsxs)("g", {
style: O,
onClick: b,
- children: [/* @__PURE__ */ (0, P.jsx)(Dq, {
+ children: [/* @__PURE__ */ (0, P.jsx)(kq, {
...e,
fill: "transparent"
}), w ? /* @__PURE__ */ (0, P.jsx)(bf.g, {
@@ -63026,7 +63027,7 @@ var S7 = (e) => {
children: A
}) : A]
});
-}, QTe = (e, t, n, r, i) => {
+}, nEe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -63041,11 +63042,11 @@ var S7 = (e) => {
break;
default: s = t;
}
- let c = s * WTe * 1e3, l = UTe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * JTe * 1e3, l = qTe * 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: GTe,
+ ease: YTe,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -63059,7 +63060,7 @@ var S7 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, $Te = (e, t, n) => {
+}, rEe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -63068,10 +63069,10 @@ var S7 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, eEe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, iEe = ({ 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;
-}, tEe = ({ id: e, dataKey: t, config: n }) => {
+}, aEe = ({ id: e, dataKey: t, config: n }) => {
let r = c7(n[t] ?? {});
return /* @__PURE__ */ (0, P.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -63093,7 +63094,7 @@ var S7 = (e) => {
}, i);
})
});
-}, nEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
+}, oEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
/* @__PURE__ */ (0, P.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -63134,7 +63135,7 @@ var S7 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), rEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
+] }), sEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
/* @__PURE__ */ (0, P.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -63175,7 +63176,7 @@ var S7 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), iEe = ({ id: e, dataKey: t, config: n }) => {
+] }), cEe = ({ id: e, dataKey: t, config: n }) => {
let r = c7(n[t] ?? {});
return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
/* @__PURE__ */ (0, P.jsxs)("linearGradient", {
@@ -63243,7 +63244,7 @@ var S7 = (e) => {
})
})
] });
-}, aEe = ({ id: e, dataKey: t, config: n }) => {
+}, lEe = ({ id: e, dataKey: t, config: n }) => {
let r = c7(n[t] ?? {});
return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
/* @__PURE__ */ (0, P.jsxs)("linearGradient", {
@@ -63311,7 +63312,7 @@ var S7 = (e) => {
})
})
] });
-}, oEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
+}, uEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
/* @__PURE__ */ (0, P.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -63348,7 +63349,7 @@ var S7 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), sEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
+] }), dEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
/* @__PURE__ */ (0, P.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -63385,7 +63386,7 @@ var S7 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), cEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, P.jsxs)("filter", {
+] }), fEe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, P.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -63405,35 +63406,35 @@ var S7 = (e) => {
}),
/* @__PURE__ */ (0, P.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, P.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, P.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), lEe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), pEe = (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 uEe(e, t = 12) {
+function mEe(e, t = 12) {
let [n, r] = (0, N.useState)(!1), i = (0, N.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, N.useMemo)(() => l7(t, 20, 80), [t, n]),
+ loadingData: (0, N.useMemo)(() => MTe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var dEe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(I8, {
- dataKey: BTe,
+var hEe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(I8, {
+ dataKey: WTe,
fill: "currentColor",
fillOpacity: .15,
- radius: v7,
+ radius: _7,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, P.jsx)("defs", { children: /* @__PURE__ */ (0, P.jsx)(fEe, {
+}), /* @__PURE__ */ (0, P.jsx)("defs", { children: /* @__PURE__ */ (0, P.jsx)(gEe, {
chartId: e,
onShimmerExit: t
-}) })] }), fEe = ({ chartId: e, onShimmerExit: t }) => {
- let n = lEe(), r = (0, N.useRef)(-1);
+}) })] }), gEe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = pEe(), r = (0, N.useRef)(-1);
return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [
/* @__PURE__ */ (0, P.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -63464,7 +63465,7 @@ var dEe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, P.jsxs)(P.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: VTe / 1e3,
+ duration: GTe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -63486,11 +63487,11 @@ var dEe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, P.jsxs)(P.Fr
})
] });
};
-x7.Bar = KTe, x7.XAxis = qTe, x7.YAxis = JTe, x7.Grid = YTe, x7.Tooltip = XTe, x7.Legend = ZTe, x7.Brush = m7;
+b7.Bar = XTe, b7.XAxis = ZTe, b7.YAxis = QTe, b7.Grid = $Te, b7.Tooltip = eEe, b7.Legend = tEe, b7.Brush = p7;
//#endregion
//#region src/react/charts/chart-card.tsx
-var C7 = `${Ow({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
-function w7({ title: e, figure: t, note: n }) {
+var S7 = `${Dw({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+function C7({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, P.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
children: [/* @__PURE__ */ (0, P.jsxs)("span", {
@@ -63508,24 +63509,24 @@ function w7({ title: e, figure: t, note: n }) {
})]
});
}
-var T7 = [
+var w7 = [
"var(--color-chart-1)",
"var(--color-chart-2)",
"var(--color-chart-3)",
"var(--color-chart-4)",
"var(--color-chart-5)",
"var(--color-chart-6)"
-], E7 = (e) => ({ light: [e] }), D7 = (e) => `s${e}`;
-function pEe(e) {
- return Object.fromEntries(e.map((e, t) => [D7(t), {
+], T7 = (e) => ({ light: [e] }), E7 = (e) => `s${e}`;
+function _Ee(e) {
+ return Object.fromEntries(e.map((e, t) => [E7(t), {
label: e,
- colors: E7(T7[t % T7.length])
+ colors: T7(w7[t % w7.length])
}]));
}
//#endregion
//#region src/react/charts/chart-tip.tsx
-var O7 = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";
-function k7({ swatch: e, name: t, value: n }) {
+var D7 = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";
+function O7({ swatch: e, name: t, value: n }) {
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex w-full items-center gap-2",
children: [e, /* @__PURE__ */ (0, P.jsxs)("div", {
@@ -63540,33 +63541,33 @@ function k7({ swatch: e, name: t, value: n }) {
})]
});
}
-var A7 = "size-2.5 shrink-0 rounded-xs";
-function mEe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+var k7 = "size-2.5 shrink-0 rounded-xs";
+function vEe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
let { config: o } = r7(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, P.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
return /* @__PURE__ */ (0, P.jsxs)("div", {
- className: O7,
+ className: D7,
children: [c ? /* @__PURE__ */ (0, P.jsx)("div", {
className: "font-medium text-foreground",
children: c
}) : null, s.map((e, t) => {
let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = s7(o, e, a), c = i ? n[i] : e.value;
- return /* @__PURE__ */ (0, P.jsx)(k7, {
+ return /* @__PURE__ */ (0, P.jsx)(O7, {
name: s?.label ?? e.name,
value: Number(c ?? 0),
swatch: /* @__PURE__ */ (0, P.jsx)("i", {
- className: A7,
+ className: k7,
style: { background: `var(--color-${a}-0)` }
})
}, a + t);
})]
});
}
-function j7({ nameKey: e, valueKey: t, hideLabel: n }) {
- return /* @__PURE__ */ (0, P.jsx)(d7, {
+function A7({ nameKey: e, valueKey: t, hideLabel: n }) {
+ return /* @__PURE__ */ (0, P.jsx)(u7, {
cursor: !1,
- content: /* @__PURE__ */ (0, P.jsx)(mEe, {
+ content: /* @__PURE__ */ (0, P.jsx)(vEe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -63575,12 +63576,12 @@ function j7({ nameKey: e, valueKey: t, hideLabel: n }) {
}
//#endregion
//#region src/react/charts/bar-card.tsx
-var M7 = [0, (e) => e * 1.2], N7 = (e) => ({
+var j7 = [0, (e) => e * 1.2], M7 = (e) => ({
position: e,
className: "fill-text-secondary",
formatter: (e) => Number(e).toLocaleString()
});
-function P7({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertical" }) {
+function N7({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertical" }) {
let o = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({
name: e.name,
value: e.value
@@ -63588,53 +63589,53 @@ function P7({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vert
if (!s) return null;
let c = a === "horizontal";
return /* @__PURE__ */ (0, P.jsxs)("section", {
- className: C7,
+ className: S7,
"aria-label": e,
- children: [/* @__PURE__ */ (0, P.jsx)(w7, {
+ children: [/* @__PURE__ */ (0, P.jsx)(C7, {
title: e,
figure: s.toLocaleString(),
note: t
- }), /* @__PURE__ */ (0, P.jsxs)(x7, {
+ }), /* @__PURE__ */ (0, P.jsxs)(b7, {
data: o,
config: { value: {
label: n,
- colors: E7(i)
+ colors: T7(i)
} },
layout: a,
barRadius: 4,
className: c ? "aspect-auto h-64 flex-none text-text-secondary" : "aspect-auto h-56 flex-none text-text-secondary",
children: [
- /* @__PURE__ */ (0, P.jsx)(x7.Grid, {}),
- c ? /* @__PURE__ */ (0, P.jsx)(x7.YAxis, {
+ /* @__PURE__ */ (0, P.jsx)(b7.Grid, {}),
+ c ? /* @__PURE__ */ (0, P.jsx)(b7.YAxis, {
dataKey: "name",
interval: 0
- }) : /* @__PURE__ */ (0, P.jsx)(x7.XAxis, {
+ }) : /* @__PURE__ */ (0, P.jsx)(b7.XAxis, {
dataKey: "name",
interval: 0
}),
- c ? /* @__PURE__ */ (0, P.jsx)(x7.XAxis, {
+ c ? /* @__PURE__ */ (0, P.jsx)(b7.XAxis, {
hide: !0,
- domain: M7
- }) : /* @__PURE__ */ (0, P.jsx)(x7.YAxis, {
+ domain: j7
+ }) : /* @__PURE__ */ (0, P.jsx)(b7.YAxis, {
hide: !0,
- domain: M7
+ domain: j7
}),
- /* @__PURE__ */ (0, P.jsx)(x7.Bar, {
+ /* @__PURE__ */ (0, P.jsx)(b7.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: N7(c ? "right" : "top")
+ label: M7(c ? "right" : "top")
}
}),
- /* @__PURE__ */ (0, P.jsx)(j7, {})
+ /* @__PURE__ */ (0, P.jsx)(A7, {})
]
})]
});
}
//#endregion
//#region src/react/charts/heat.ts
-var F7 = [
+var P7 = [
"周一",
"周二",
"周三",
@@ -63642,8 +63643,8 @@ var F7 = [
"周五",
"周六",
"周日"
-], I7 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function hEe(e) {
+], F7 = (e, t) => e ? Math.max(.12, e / t) : 0;
+function yEe(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;
@@ -63653,14 +63654,14 @@ function hEe(e) {
return {
cells: t.flatMap((e, t) => e.map((e, n) => ({
key: `${t}-${n}`,
- label: `${F7[t]} ${n}:00`,
+ label: `${P7[t]} ${n}:00`,
count: e,
- share: I7(e, r)
+ share: F7(e, r)
}))),
total: n.reduce((e, t) => e + t, 0)
};
}
-function gEe(e) {
+function bEe(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,
@@ -63678,7 +63679,7 @@ function gEe(e) {
key: r,
label: r,
count: s,
- share: I7(s, o)
+ share: F7(s, o)
};
});
return {
@@ -63690,7 +63691,7 @@ function gEe(e) {
}
//#endregion
//#region src/react/charts/heat-card.tsx
-var L7 = 14, R7 = 17, z7 = {
+var I7 = 14, L7 = 17, R7 = {
4: {
fill: "fill-chart-4",
dot: "bg-chart-4"
@@ -63699,42 +63700,42 @@ var L7 = 14, R7 = 17, z7 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, _Ee = {
+}, xEe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function vEe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function SEe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, P.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${O7} ${_Ee[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${D7} ${xEe[a]}`,
children: [/* @__PURE__ */ (0, P.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
- }), /* @__PURE__ */ (0, P.jsx)(k7, {
+ }), /* @__PURE__ */ (0, P.jsx)(O7, {
name: t,
value: e.count,
- swatch: /* @__PURE__ */ (0, P.jsx)("i", { className: `${A7} ${z7[n].dot}` })
+ swatch: /* @__PURE__ */ (0, P.jsx)("i", { className: `${k7} ${R7[n].dot}` })
})]
});
}
-function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
- let [l, u] = (0, N.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * R7, m = f + a * R7, h = (e) => ({
- x: d + e % i * R7,
- y: f + Math.floor(e / i) * R7
- }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + L7 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {
+function z7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
+ let [l, u] = (0, N.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * L7, m = f + a * L7, h = (e) => ({
+ x: d + e % i * L7,
+ y: f + Math.floor(e / i) * L7
+ }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + I7 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {
start: _.x,
- center: _.x + L7 / 2,
- end: _.x + L7
+ center: _.x + I7 / 2,
+ end: _.x + I7
}[y] : 0;
return /* @__PURE__ */ (0, P.jsxs)("section", {
- className: C7,
+ className: S7,
children: [
- /* @__PURE__ */ (0, P.jsx)(w7, {
+ /* @__PURE__ */ (0, P.jsx)(C7, {
title: e,
figure: (g ? g.count : r).toLocaleString(),
note: g ? g.label : t.unit
@@ -63757,19 +63758,19 @@ function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
"aria-label": `${e.label},${e.count} ${t.cellUnit}`,
x: r,
y: i,
- width: L7,
- height: L7,
+ width: I7,
+ height: I7,
rx: 3,
fillOpacity: e.share || 1,
opacity: l >= 0 && l !== n ? .4 : 1,
- className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${z7[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
+ className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${R7[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
onPointerEnter: () => u(n),
onFocus: () => u(n),
onBlur: () => u(-1)
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, P.jsx)(vEe, {
+ }), g && _ ? /* @__PURE__ */ (0, P.jsx)(SEe, {
cell: g,
series: t.series,
tone: c,
@@ -63785,24 +63786,24 @@ function B7({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var yEe = /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [F7.map((e, t) => /* @__PURE__ */ (0, P.jsx)("text", {
+var CEe = /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [P7.map((e, t) => /* @__PURE__ */ (0, P.jsx)("text", {
x: 0,
- y: 18 + t * R7 + 7,
+ y: 18 + t * L7 + 7,
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
children: e
}, e)), Array.from({ length: 24 }, (e, t) => t % 2 ? null : /* @__PURE__ */ (0, P.jsx)("text", {
- x: 30 + t * R7,
+ x: 30 + t * L7,
y: 8,
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
children: t
}, t))] });
-function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = hEe(e), s = gEe(e);
+function B7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
+ let o = yEe(e), s = bEe(e);
return s.cells.length ? /* @__PURE__ */ (0, P.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
- children: [/* @__PURE__ */ (0, P.jsx)(B7, {
+ children: [/* @__PURE__ */ (0, P.jsx)(z7, {
title: t,
words: r,
tone: i,
@@ -63810,9 +63811,9 @@ function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: yEe,
+ axis: CEe,
footer: /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, P.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
- }), /* @__PURE__ */ (0, P.jsx)(B7, {
+ }), /* @__PURE__ */ (0, P.jsx)(z7, {
title: n,
words: r,
tone: i,
@@ -63823,7 +63824,7 @@ function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
footer: /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)("span", { children: s.start }), /* @__PURE__ */ (0, P.jsx)("span", { children: s.end })] })
})]
}) : a ? /* @__PURE__ */ (0, P.jsxs)("section", {
- className: C7,
+ className: S7,
children: [/* @__PURE__ */ (0, P.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
children: t
@@ -63835,7 +63836,7 @@ function V7({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
}
//#endregion
//#region src/react/components/expandable-ranking.tsx
-function H7({ children: e, className: t = "", previewCount: n = 10 }) {
+function V7({ children: e, className: t = "", previewCount: n = 10 }) {
let r = (0, N.useId)(), i = (0, N.useRef)(null), [a, o] = (0, N.useState)(!1), [s, c] = (0, N.useState)(!1), l = N.Children.toArray(e), u = l.length > n;
(0, N.useLayoutEffect)(() => {
let e = i.current;
@@ -63876,20 +63877,20 @@ function H7({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, P.jsx)(gS, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, P.jsx)(hS, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var bEe = "30%", xEe = "100%", U7 = 5, W7 = 14, SEe = 5, G7 = 1500, K7 = (0, N.createContext)(null);
-function q7() {
- let e = (0, N.use)(K7);
+var wEe = "30%", TEe = "100%", H7 = 5, U7 = 14, EEe = 5, W7 = 1500, G7 = (0, N.createContext)(null);
+function K7() {
+ let e = (0, N.use)(G7);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = bEe, outerRadius: l = xEe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, N.useId)().replace(/:/g, ""), [h, g] = (0, N.useState)(u), _ = kEe(f), v = EEe(o), y = (0, N.useCallback)((e, t) => {
+function q7({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = wEe, outerRadius: l = TEe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, N.useId)().replace(/:/g, ""), [h, g] = (0, N.useState)(u), _ = NEe(f), v = AEe(o), y = (0, N.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -63916,12 +63917,12 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
h,
y
]);
- return /* @__PURE__ */ (0, P.jsx)(K7, {
+ return /* @__PURE__ */ (0, P.jsx)(G7, {
value: x,
children: /* @__PURE__ */ (0, P.jsxs)(i7, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, P.jsx)(a7, { isLoading: f }), /* @__PURE__ */ (0, P.jsxs)(ETe, {
+ children: [/* @__PURE__ */ (0, P.jsx)(a7, { isLoading: f }), /* @__PURE__ */ (0, P.jsxs)(kTe, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -63938,10 +63939,10 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
tick: !1,
axisLine: !1
}),
- p && /* @__PURE__ */ (0, P.jsx)(_7, { variant: p }),
+ p && /* @__PURE__ */ (0, P.jsx)(g7, { variant: p }),
r,
- f && /* @__PURE__ */ (0, P.jsx)(AEe, {}),
- /* @__PURE__ */ (0, P.jsx)("defs", { children: /* @__PURE__ */ (0, P.jsx)(DEe, {
+ f && /* @__PURE__ */ (0, P.jsx)(PEe, {}),
+ /* @__PURE__ */ (0, P.jsx)("defs", { children: /* @__PURE__ */ (0, P.jsx)(jEe, {
config: e,
chartId: m
}) })
@@ -63950,8 +63951,8 @@ function J7({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function CEe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
- let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = q7();
+function DEe({ dataKey: e, cornerRadius: t = H7, barSize: n = U7, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+ let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = K7();
return s ? null : /* @__PURE__ */ (0, P.jsx)(y6, {
dataKey: e,
cornerRadius: t,
@@ -63966,7 +63967,7 @@ function CEe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground
},
shape: (e) => {
let t = e[o], n = c === null || c === t;
- return /* @__PURE__ */ (0, P.jsx)(iJ, {
+ return /* @__PURE__ */ (0, P.jsx)(oJ, {
...e,
opacity: i && !n ? .15 : 1,
className: "transition-opacity duration-200"
@@ -63975,12 +63976,12 @@ function CEe({ dataKey: e, cornerRadius: t = U7, barSize: n = W7, showBackground
...a
});
}
-function wEe({ variant: e, roundness: t, defaultIndex: n }) {
- let { nameKey: r, isLoading: i } = q7();
- return i ? null : /* @__PURE__ */ (0, P.jsx)(d7, {
+function OEe({ variant: e, roundness: t, defaultIndex: n }) {
+ let { nameKey: r, isLoading: i } = K7();
+ return i ? null : /* @__PURE__ */ (0, P.jsx)(u7, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, P.jsx)(u7, {
+ content: /* @__PURE__ */ (0, P.jsx)(l7, {
nameKey: r,
hideLabel: !0,
roundness: t,
@@ -63988,12 +63989,12 @@ function wEe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function TEe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = q7();
- return a ? null : /* @__PURE__ */ (0, P.jsx)(p7, {
+function kEe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = K7();
+ return a ? null : /* @__PURE__ */ (0, P.jsx)(f7, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, P.jsx)(f7, {
+ content: /* @__PURE__ */ (0, P.jsx)(d7, {
selected: o,
onSelectChange: s,
isClickable: r,
@@ -64002,7 +64003,7 @@ function TEe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function EEe(e) {
+function AEe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -64018,7 +64019,7 @@ function EEe(e) {
};
}
}
-var DEe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, P.jsx)(P.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var jEe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, P.jsx)(P.Fragment, { children: Object.entries(e).map(([e, n]) => {
let r = c7(n);
return /* @__PURE__ */ (0, P.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
@@ -64041,47 +64042,47 @@ var DEe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, P.jsx)(P.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function OEe() {
- return Array.from({ length: SEe }, (e, t) => ({
+function MEe() {
+ return Array.from({ length: EEe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function kEe(e) {
+function NEe(e) {
let [t, n] = (0, N.useState)(0);
return (0, N.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
n((e) => e + 1);
- }, G7);
+ }, W7);
return () => clearInterval(t);
- }, [e]), (0, N.useMemo)(() => OEe(), [t]);
+ }, [e]), (0, N.useMemo)(() => MEe(), [t]);
}
-var AEe = () => /* @__PURE__ */ (0, P.jsx)(y6, {
+var PEe = () => /* @__PURE__ */ (0, P.jsx)(y6, {
dataKey: "value",
- cornerRadius: U7,
- barSize: W7,
+ cornerRadius: H7,
+ barSize: U7,
background: !0,
isAnimationActive: !0,
- animationDuration: G7,
+ animationDuration: W7,
animationEasing: "ease-in-out",
- shape: (e) => /* @__PURE__ */ (0, P.jsx)(iJ, {
+ shape: (e) => /* @__PURE__ */ (0, P.jsx)(oJ, {
...e,
fill: "currentColor",
fillOpacity: .25
})
});
-J7.RadialBar = CEe, J7.Tooltip = wEe, J7.Legend = TEe;
+q7.RadialBar = DEe, q7.Tooltip = OEe, q7.Legend = kEe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var jEe = [
+var FEe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], MEe = [
+], IEe = [
"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",
@@ -64089,15 +64090,15 @@ var jEe = [
"aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5",
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
-function Y7({ title: e, rows: t, unit: n = "个视频" }) {
+function J7({ title: e, rows: t, unit: n = "个视频" }) {
let [r, i] = (0, N.useState)(-1), [a, o] = (0, N.useState)(-1), s = t.filter((e) => Number.isFinite(e.value) && e.value >= 0);
if (!s.length) return null;
let c = a >= 0 ? a : r, l = s.reduce((e, t) => e + t.value, 0), u = s[c], d = (e) => i((t) => t === e ? -1 : e), f = s.map((e, t) => ({
- slice: D7(t),
+ slice: E7(t),
value: e.value
}));
return /* @__PURE__ */ (0, P.jsxs)("section", {
- className: C7,
+ className: S7,
children: [
/* @__PURE__ */ (0, P.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -64119,18 +64120,18 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
role: "img",
"aria-label": e,
onPointerLeave: () => o(-1),
- children: /* @__PURE__ */ (0, P.jsxs)(J7, {
+ children: /* @__PURE__ */ (0, P.jsxs)(q7, {
data: f,
nameKey: "slice",
- config: pEe(s.map((e) => e.name)),
- max: Nce(s.map((e) => e.value)),
+ config: _Ee(s.map((e) => e.name)),
+ max: Fce(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
- children: [/* @__PURE__ */ (0, P.jsx)(J7.RadialBar, {
+ children: [/* @__PURE__ */ (0, P.jsx)(q7.RadialBar, {
dataKey: "value",
- barSize: Pce(s.length),
+ barSize: Ice(s.length),
radialBarProps: {
- shape: (e) => /* @__PURE__ */ (0, P.jsx)(iJ, {
+ shape: (e) => /* @__PURE__ */ (0, P.jsx)(oJ, {
...e,
opacity: c >= 0 && c !== e.index ? .3 : 1,
className: "cursor-pointer transition-opacity duration-200"
@@ -64138,7 +64139,7 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
onClick: (e, t) => d(t),
onMouseEnter: (e, t) => o(t)
}
- }), /* @__PURE__ */ (0, P.jsx)(j7, {
+ }), /* @__PURE__ */ (0, P.jsx)(A7, {
nameKey: "slice",
hideLabel: !0
})]
@@ -64154,13 +64155,13 @@ function Y7({ 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 ${MEe[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 ${IEe[t % 6]}`,
children: [
/* @__PURE__ */ (0, P.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, P.jsx)("i", {
"aria-hidden": !0,
- className: `size-3 shrink-0 rounded-sm ${jEe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${FEe[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, P.jsx)("b", {
@@ -64179,8 +64180,8 @@ function Y7({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var NEe = 10, X7 = T7[5], PEe = T7[4], FEe = `${Ow()} flex flex-col gap-4`, IEe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", LEe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", REe = "开始播放后,这里会显示最近的真实观看证据。", zEe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", BEe = "添加媒体文件夹后,这里会显示存储空间。";
-function Z7({ term: e, value: t }) {
+var LEe = 10, Y7 = w7[5], REe = w7[4], zEe = `${Dw()} flex flex-col gap-4`, BEe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", VEe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", HEe = "开始播放后,这里会显示最近的真实观看证据。", UEe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", WEe = "添加媒体文件夹后,这里会显示存储空间。";
+function X7({ term: e, value: t }) {
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, P.jsx)("span", {
@@ -64192,7 +64193,7 @@ function Z7({ term: e, value: t }) {
})]
});
}
-function Q7({ term: e, value: t, total: n }) {
+function Z7({ term: e, value: t, total: n }) {
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
children: [/* @__PURE__ */ (0, P.jsxs)("p", {
@@ -64201,7 +64202,7 @@ function Q7({ term: e, value: t, total: n }) {
className: "tabular-nums",
children: [t.toLocaleString(), /* @__PURE__ */ (0, P.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [SL(t, n), "%"]
+ children: [CL(t, n), "%"]
})]
})]
}), /* @__PURE__ */ (0, P.jsx)(Mw, {
@@ -64211,7 +64212,7 @@ function Q7({ term: e, value: t, total: n }) {
})]
});
}
-function $7({ term: e, figure: t, unit: n }) {
+function Q7({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-64 md:pr-6 md:pb-0",
children: [
@@ -64230,28 +64231,28 @@ function $7({ term: e, figure: t, unit: n }) {
]
});
}
-function e9({ headline: e, children: t }) {
+function $7({ headline: e, children: t }) {
return /* @__PURE__ */ (0, P.jsxs)("div", {
- className: `${FEe} md:flex-row md:gap-6`,
+ className: `${zEe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, P.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function VEe({ data: t, configurable: n, openMediaSettings: i }) {
+function GEe({ data: t, configurable: n, openMediaSettings: i }) {
return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, P.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2",
- children: [/* @__PURE__ */ (0, P.jsx)(Y7, {
+ children: [/* @__PURE__ */ (0, P.jsx)(J7, {
title: "网盘与本地",
rows: t.by_loc.map((t) => ({
name: e[t.k] ?? t.k,
value: t.videos,
detail: r(t.bytes)
}))
- }), /* @__PURE__ */ (0, P.jsx)(Y7, {
+ }), /* @__PURE__ */ (0, P.jsx)(J7, {
title: "媒体库",
rows: t.by_library.map((e) => ({
name: e.name,
@@ -64262,33 +64263,33 @@ function VEe({ data: t, configurable: n, openMediaSettings: i }) {
}), /* @__PURE__ */ (0, P.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3",
children: [
- /* @__PURE__ */ (0, P.jsx)(P7, {
+ /* @__PURE__ */ (0, P.jsx)(N7, {
title: "时长",
unit: "个视频",
series: "视频",
- color: X7,
- rows: Rce(t.by_length)
+ color: Y7,
+ rows: Bce(t.by_length)
}),
- /* @__PURE__ */ (0, P.jsx)(P7, {
+ /* @__PURE__ */ (0, P.jsx)(N7, {
title: "画质",
unit: "个视频",
series: "视频",
- color: X7,
- rows: TL(t.by_quality)
+ color: Y7,
+ rows: EL(t.by_quality)
}),
- /* @__PURE__ */ (0, P.jsx)(P7, {
+ /* @__PURE__ */ (0, P.jsx)(N7, {
title: "文件类型",
unit: "个条目",
series: "条目",
- color: X7,
+ color: Y7,
layout: "horizontal",
- rows: Ice(t.by_medium)
+ rows: Rce(t.by_medium)
})
]
})]
- }) : /* @__PURE__ */ (0, P.jsx)(kw, {
+ }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "plain",
- icon: qS,
+ icon: KS,
title: "还没有视频",
actions: /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [n ? /* @__PURE__ */ (0, P.jsx)(G, {
size: "small",
@@ -64299,11 +64300,11 @@ function VEe({ data: t, configurable: n, openMediaSettings: i }) {
size: "small",
children: "添加关注"
})] }),
- children: IEe
+ children: BEe
});
}
-function HEe({ data: e }) {
- return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(V7, {
+function KEe({ data: e }) {
+ return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(B7, {
activity: e.play_activity,
title: "播放时间",
dailyTitle: "每日播放",
@@ -64313,40 +64314,40 @@ function HEe({ data: e }) {
cellUnit: "个作品"
},
tone: 5
- }), /* @__PURE__ */ (0, P.jsx)(P7, {
+ }), /* @__PURE__ */ (0, P.jsx)(N7, {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: PEe,
- rows: Bce(e.replays)
+ color: REe,
+ rows: Hce(e.replays)
})] });
}
-function UEe({ attribution: e }) {
+function qEe({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex flex-col",
children: [
- /* @__PURE__ */ (0, P.jsx)(Q7, {
+ /* @__PURE__ */ (0, P.jsx)(Z7, {
term: "有创作者",
value: e.creator,
total: t
}),
- /* @__PURE__ */ (0, P.jsx)(Q7, {
+ /* @__PURE__ */ (0, P.jsx)(Z7, {
term: "有番号",
value: e.code,
total: t
}),
- /* @__PURE__ */ (0, P.jsx)(Q7, {
+ /* @__PURE__ */ (0, P.jsx)(Z7, {
term: "有厂牌",
value: e.studio,
total: t
}),
- /* @__PURE__ */ (0, P.jsx)(Q7, {
+ /* @__PURE__ */ (0, P.jsx)(Z7, {
term: "已抽帧",
value: e.thumb,
total: t
}),
- /* @__PURE__ */ (0, P.jsx)(Q7, {
+ /* @__PURE__ */ (0, P.jsx)(Z7, {
term: "已探测时长",
value: e.duration,
total: t
@@ -64354,61 +64355,64 @@ function UEe({ attribution: e }) {
]
});
}
-function WEe({ volume: e }) {
+function JEe({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, P.jsxs)("article", {
- className: "flex min-w-0 flex-col gap-1.5",
+ className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
children: [
/* @__PURE__ */ (0, P.jsxs)("header", {
- className: "flex items-baseline justify-between gap-3",
+ className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",
children: [/* @__PURE__ */ (0, P.jsx)("h3", {
- className: "min-w-0 text-body-2-medium break-words text-text-primary",
+ className: "min-w-0 break-words",
children: e.label
- }), /* @__PURE__ */ (0, P.jsx)("b", {
- className: "text-body-2-medium whitespace-nowrap text-text-primary",
- children: t == null ? e.online ? "容量未取得" : "离线" : `${SL(n, t)}%`
+ }), t == null ? /* @__PURE__ */ (0, P.jsx)("span", {
+ className: "whitespace-nowrap text-text-secondary",
+ children: e.online ? "容量未取得" : "离线"
+ }) : /* @__PURE__ */ (0, P.jsxs)("b", {
+ className: "whitespace-nowrap tabular-nums",
+ children: [r(n), /* @__PURE__ */ (0, P.jsxs)("span", {
+ className: "ml-1.5 text-caption-1-regular text-text-secondary",
+ children: [CL(n, t), "%"]
+ })]
})]
}),
- /* @__PURE__ */ (0, P.jsx)("small", {
- className: "text-caption-1-regular break-words text-text-secondary",
- children: e.root ?? "未映射"
- }),
- t == null ? null : /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(Mw, {
+ t == null ? null : /* @__PURE__ */ (0, P.jsx)(Mw, {
label: `${e.label}空间使用率`,
value: n,
max: Math.max(t, 1)
- }), /* @__PURE__ */ (0, P.jsxs)("p", {
+ }),
+ /* @__PURE__ */ (0, P.jsxs)("p", {
className: "flex justify-between gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, P.jsxs)("span", { children: ["已用 ", /* @__PURE__ */ (0, P.jsx)("b", {
- className: "font-normal text-text-primary",
- children: r(n)
- })] }), /* @__PURE__ */ (0, P.jsxs)("span", { children: ["可用 ", /* @__PURE__ */ (0, P.jsx)("b", {
- className: "font-normal text-text-primary",
- children: r(e.free ?? 0)
- })] })]
- })] })
+ children: [/* @__PURE__ */ (0, P.jsx)("span", {
+ className: "min-w-0 break-words",
+ children: e.root ?? "未映射"
+ }), t == null ? null : /* @__PURE__ */ (0, P.jsx)("span", {
+ className: "whitespace-nowrap tabular-nums",
+ children: `可用 ${r(e.free ?? 0)} · 共 ${r(t)}`
+ })]
+ })
]
});
}
-function GEe({ volumes: e, configurable: t, openMediaSettings: n }) {
+function YEe({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, P.jsx)("div", {
- className: "flex flex-col gap-5",
- children: e.map((e) => /* @__PURE__ */ (0, P.jsx)(WEe, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, P.jsx)(kw, {
+ className: "flex flex-col",
+ children: e.map((e) => /* @__PURE__ */ (0, P.jsx)(JEe, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "plain",
- icon: AS,
+ icon: kS,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, P.jsx)(G, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: BEe
+ children: WEe
});
}
-function KEe({ tags: e, tagLabel: t, onTag: n }) {
- return e.length ? /* @__PURE__ */ (0, P.jsx)(H7, {
- previewCount: NEe,
+function XEe({ tags: e, tagLabel: t, onTag: n }) {
+ return e.length ? /* @__PURE__ */ (0, P.jsx)(V7, {
+ previewCount: LEe,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, P.jsx)("li", {
className: "min-w-0",
@@ -64432,23 +64436,23 @@ function KEe({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, e.k))
- }) : /* @__PURE__ */ (0, P.jsx)(kw, {
+ }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "plain",
- icon: RS,
+ icon: LS,
title: "还没有内容标签",
actions: /* @__PURE__ */ (0, P.jsx)(HA, {
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: LEe
+ children: VEe
});
}
-function qEe({ rows: e }) {
+function ZEe({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, P.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = CL(e);
+ let t = wL(e);
return /* @__PURE__ */ (0, P.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, P.jsxs)("div", {
@@ -64456,14 +64460,14 @@ function qEe({ rows: e }) {
children: [/* @__PURE__ */ (0, P.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, P.jsx)("a", {
- href: Mce(e),
+ href: Pce(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
})
}), /* @__PURE__ */ (0, P.jsxs)("p", {
className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, P.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, P.jsx)("span", { children: jce(e) })]
+ children: [/* @__PURE__ */ (0, P.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, P.jsx)("span", { children: Nce(e) })]
})]
}), /* @__PURE__ */ (0, P.jsxs)("div", {
className: "min-w-0 basis-40",
@@ -64472,24 +64476,24 @@ function qEe({ rows: e }) {
value: t
}), /* @__PURE__ */ (0, P.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${wL(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${TL(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, P.jsx)(kw, {
+ }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "plain",
- icon: jS,
+ icon: AS,
title: "还没有观看记录",
actions: /* @__PURE__ */ (0, P.jsx)(HA, {
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: REe
+ children: HEe
});
}
-function JEe({ sources: e, videos: t }) {
+function QEe({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, P.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, P.jsxs)("article", {
@@ -64519,19 +64523,19 @@ function JEe({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, P.jsx)(kw, {
+ }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "plain",
- icon: RS,
+ icon: LS,
title: "还没有标签来源",
actions: /* @__PURE__ */ (0, P.jsx)(HA, {
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: zEe
+ children: UEe
});
}
-function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
+function e9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
return /* @__PURE__ */ (0, P.jsx)(hO, {
id: e,
className: FA({
@@ -64547,18 +64551,18 @@ function t9({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function YEe(e) {
+function $Ee(e) {
let t = xt({
- queryKey: bL,
- queryFn: ({ signal: e }) => xL(e)
+ queryKey: xL,
+ queryFn: ({ signal: e }) => SL(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, P.jsx)(jw, { children: /* @__PURE__ */ (0, P.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, P.jsx)(Aw, { children: /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
title: "读取失败",
children: t.error ? K(t.error) : "读取统计失败"
}) });
- let i = n.consumption, a = n.storage_summary, o = n.by_loc.reduce((e, t) => e + t.videos, 0), s = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = SL(n.tag_cov, n.attribution.videos);
- return /* @__PURE__ */ (0, P.jsxs)(jw, { children: [
+ let i = n.consumption, a = n.storage_summary, o = n.by_loc.reduce((e, t) => e + t.videos, 0), s = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = CL(n.tag_cov, n.attribution.videos);
+ return /* @__PURE__ */ (0, P.jsxs)(Aw, { children: [
/* @__PURE__ */ (0, P.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${o.toLocaleString()} 个视频 · ${r(s)}`
@@ -64570,34 +64574,34 @@ function YEe(e) {
"aria-label": "统计视图",
className: IA,
children: [
- /* @__PURE__ */ (0, P.jsx)(t9, {
+ /* @__PURE__ */ (0, P.jsx)(e9, {
id: "inventory",
label: "馆藏视频",
- icon: CS,
+ icon: SS,
accent: 0,
figure: o.toLocaleString(),
detail: r(s)
}),
- /* @__PURE__ */ (0, P.jsx)(t9, {
+ /* @__PURE__ */ (0, P.jsx)(e9, {
id: "viewing",
label: "看过",
- icon: DS,
+ icon: ES,
accent: 1,
figure: i.played.toLocaleString(),
- detail: Ace(i.play_seconds)
+ detail: Mce(i.play_seconds)
}),
- /* @__PURE__ */ (0, P.jsx)(t9, {
+ /* @__PURE__ */ (0, P.jsx)(e9, {
id: "coverage",
label: "内容标签",
- icon: RS,
+ icon: LS,
accent: 2,
figure: `${c}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- /* @__PURE__ */ (0, P.jsx)(t9, {
+ /* @__PURE__ */ (0, P.jsx)(e9, {
id: "storage",
label: "使用空间",
- icon: AS,
+ icon: kS,
accent: 3,
figure: `${a.online} 个卷`,
detail: a.measured ? `已用 ${r(a.used)}` : "容量未取得"
@@ -64606,7 +64610,7 @@ function YEe(e) {
}),
/* @__PURE__ */ (0, P.jsx)(gO, {
id: "inventory",
- children: /* @__PURE__ */ (0, P.jsx)(VEe, {
+ children: /* @__PURE__ */ (0, P.jsx)(GEe, {
data: n,
...e
})
@@ -64614,8 +64618,8 @@ function YEe(e) {
/* @__PURE__ */ (0, P.jsxs)(gO, {
id: "viewing",
className: "flex flex-col gap-5",
- children: [/* @__PURE__ */ (0, P.jsx)(e9, {
- headline: /* @__PURE__ */ (0, P.jsx)($7, {
+ children: [/* @__PURE__ */ (0, P.jsx)($7, {
+ headline: /* @__PURE__ */ (0, P.jsx)(Q7, {
term: "观看",
figure: i.played.toLocaleString(),
unit: "个作品有播放记录"
@@ -64623,62 +64627,62 @@ function YEe(e) {
children: /* @__PURE__ */ (0, P.jsxs)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: [
- /* @__PURE__ */ (0, P.jsx)(Z7, {
+ /* @__PURE__ */ (0, P.jsx)(X7, {
term: "馆藏观看",
value: i.library_played
}),
- /* @__PURE__ */ (0, P.jsx)(Z7, {
+ /* @__PURE__ */ (0, P.jsx)(X7, {
term: "在线直接观看",
value: i.online_played
}),
- /* @__PURE__ */ (0, P.jsx)(Z7, {
+ /* @__PURE__ */ (0, P.jsx)(X7, {
term: "高潮计数",
value: i.o_total
}),
- /* @__PURE__ */ (0, P.jsx)(Z7, {
+ /* @__PURE__ */ (0, P.jsx)(X7, {
term: "快进扫过",
value: i.skimmed
}),
- /* @__PURE__ */ (0, P.jsx)(Z7, {
+ /* @__PURE__ */ (0, P.jsx)(X7, {
term: "喜欢",
value: i.liked
}),
- /* @__PURE__ */ (0, P.jsx)(Z7, {
+ /* @__PURE__ */ (0, P.jsx)(X7, {
term: "明确不喜欢",
value: i.dislike
}),
- /* @__PURE__ */ (0, P.jsx)(Z7, {
+ /* @__PURE__ */ (0, P.jsx)(X7, {
term: "看过了",
value: i.seen
}),
- /* @__PURE__ */ (0, P.jsx)(Z7, {
+ /* @__PURE__ */ (0, P.jsx)(X7, {
term: "回收站",
value: i.trash
})
]
})
- }), /* @__PURE__ */ (0, P.jsx)(HEe, { data: n })]
+ }), /* @__PURE__ */ (0, P.jsx)(KEe, { data: n })]
}),
/* @__PURE__ */ (0, P.jsx)(gO, {
id: "coverage",
- children: /* @__PURE__ */ (0, P.jsx)(e9, {
- headline: /* @__PURE__ */ (0, P.jsx)($7, {
+ children: /* @__PURE__ */ (0, P.jsx)($7, {
+ headline: /* @__PURE__ */ (0, P.jsx)(Q7, {
term: "内容标签覆盖",
figure: `${c}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, P.jsx)(UEe, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, P.jsx)(qEe, { attribution: n.attribution })
})
}),
/* @__PURE__ */ (0, P.jsx)(gO, {
id: "storage",
- children: /* @__PURE__ */ (0, P.jsx)(e9, {
- headline: /* @__PURE__ */ (0, P.jsx)($7, {
+ children: /* @__PURE__ */ (0, P.jsx)($7, {
+ headline: /* @__PURE__ */ (0, P.jsx)(Q7, {
term: "使用空间",
figure: String(a.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, P.jsx)(GEe, {
+ children: /* @__PURE__ */ (0, P.jsx)(YEe, {
volumes: n.storage_volumes,
...e
})
@@ -64687,7 +64691,7 @@ function YEe(e) {
]
}),
/* @__PURE__ */ (0, P.jsxs)(pO, {
- className: `${Ow({ padding: "none" })} flex flex-col`,
+ className: `${Dw({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, P.jsx)("div", {
className: "px-4 pt-3",
@@ -64716,7 +64720,7 @@ function YEe(e) {
/* @__PURE__ */ (0, P.jsx)(gO, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, P.jsx)(KEe, {
+ children: /* @__PURE__ */ (0, P.jsx)(XEe, {
tags: n.top_tags,
...e
})
@@ -64724,12 +64728,12 @@ function YEe(e) {
/* @__PURE__ */ (0, P.jsx)(gO, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, P.jsx)(qEe, { rows: n.recent })
+ children: /* @__PURE__ */ (0, P.jsx)(ZEe, { rows: n.recent })
}),
/* @__PURE__ */ (0, P.jsx)(gO, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, P.jsx)(JEe, {
+ children: /* @__PURE__ */ (0, P.jsx)(QEe, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -64740,66 +64744,66 @@ function YEe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function XEe(e, t) {
+function eDe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
//#region node_modules/d3-sankey/src/constant.js
-function n9(e) {
+function t9(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-sankey/src/sankey.js
+function n9(e, t) {
+ return i9(e.source, t.source) || e.index - t.index;
+}
function r9(e, t) {
- return a9(e.source, t.source) || e.index - t.index;
+ return i9(e.target, t.target) || e.index - t.index;
}
function i9(e, t) {
- return a9(e.target, t.target) || e.index - t.index;
-}
-function a9(e, t) {
return e.y0 - t.y0;
}
-function o9(e) {
+function a9(e) {
return e.value;
}
-function ZEe(e) {
+function tDe(e) {
return e.index;
}
-function QEe(e) {
+function nDe(e) {
return e.nodes;
}
-function $Ee(e) {
+function rDe(e) {
return e.links;
}
-function s9(e, t) {
+function o9(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function c9({ nodes: e }) {
+function s9({ nodes: e }) {
for (let t of e) {
let e = t.y0, n = e;
for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function eDe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = ZEe, c = XEe, l, u, d = QEe, f = $Ee, p = 6;
+function iDe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = tDe, c = eDe, l, u, d = nDe, f = rDe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
links: f.apply(null, arguments)
};
- return h(e), g(e), _(e), v(e), x(e), c9(e), e;
+ return h(e), g(e), _(e), v(e), x(e), s9(e), e;
}
m.update = function(e) {
- return c9(e), e;
+ return s9(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : n9(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : t9(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : n9(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : t9(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -64807,9 +64811,9 @@ function eDe() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : n9(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : t9(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : n9(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : t9(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -64825,12 +64829,12 @@ function eDe() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = s9(n, t)), typeof i != "object" && (i = r.target = s9(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = o9(n, t)), typeof i != "object" && (i = r.target = o9(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
}
if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);
}
function g({ nodes: e }) {
- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(WY(t.sourceLinks, o9), WY(t.targetLinks, o9)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(KY(t.sourceLinks, a9), KY(t.targetLinks, a9)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -64855,7 +64859,7 @@ function eDe() {
}
}
function y({ nodes: t }) {
- let r = LY(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = zY(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
for (let n of t) {
let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
@@ -64864,7 +64868,7 @@ function eDe() {
return o;
}
function b(e) {
- let n = RY(e, (e) => (r - t - (e.length - 1) * o) / WY(e, o9));
+ let n = BY(e, (e) => (r - t - (e.length - 1) * o) / KY(e, a9));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -64881,7 +64885,7 @@ function eDe() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (LY(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (zY(n, (e) => e.length) - 1)), b(n);
for (let e = 0; e < p; ++e) {
let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);
C(n, t, r), S(n, t, r);
@@ -64900,7 +64904,7 @@ function eDe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(a9), w(i, n);
+ l === void 0 && i.sort(i9), w(i, n);
}
}
function C(e, t, n) {
@@ -64916,7 +64920,7 @@ function eDe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(a9), w(i, n);
+ l === void 0 && i.sort(i9), w(i, n);
}
}
function w(e, n) {
@@ -64937,12 +64941,12 @@ function eDe() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(i9);
- for (let { target: { targetLinks: t } } of e) t.sort(r9);
+ for (let { source: { sourceLinks: e } } of t) e.sort(r9);
+ for (let { target: { targetLinks: t } } of e) t.sort(n9);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(i9), n.sort(r9);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(r9), n.sort(n9);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -64972,15 +64976,15 @@ function eDe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var l9 = Math.PI, u9 = 2 * l9, d9 = 1e-6, tDe = u9 - d9;
-function f9() {
+var c9 = Math.PI, l9 = 2 * c9, u9 = 1e-6, aDe = l9 - u9;
+function d9() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function p9() {
- return new f9();
+function f9() {
+ return new d9();
}
-f9.prototype = p9.prototype = {
- constructor: f9,
+d9.prototype = f9.prototype = {
+ constructor: d9,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -65001,11 +65005,11 @@ f9.prototype = p9.prototype = {
var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (i < 0) throw Error("negative radius: " + i);
if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);
- else if (d > d9) {
- if (!(Math.abs(u * s - c * l) > d9) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > u9) {
+ if (!(Math.abs(u * s - c * l) > u9) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
else {
- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((l9 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > d9 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((c9 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > u9 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
}
}
},
@@ -65013,7 +65017,7 @@ f9.prototype = p9.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) > d9 || Math.abs(this._y1 - l) > d9) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % u9 + u9), d > tDe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > d9 && (this._ += "A" + n + "," + n + ",0," + +(d >= l9) + "," + 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) > u9 || Math.abs(this._y1 - l) > u9) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % l9 + l9), d > aDe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > u9 && (this._ += "A" + n + "," + n + ",0," + +(d >= c9) + "," + 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";
@@ -65024,90 +65028,90 @@ f9.prototype = p9.prototype = {
};
//#endregion
//#region node_modules/d3-shape/src/constant.js
-function m9(e) {
+function p9(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function nDe(e) {
+function oDe(e) {
return e[0];
}
-function rDe(e) {
+function sDe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var iDe = Array.prototype.slice;
+var cDe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function aDe(e) {
+function lDe(e) {
return e.source;
}
-function oDe(e) {
+function uDe(e) {
return e.target;
}
-function sDe(e) {
- var t = aDe, n = oDe, r = nDe, i = rDe, a = null;
+function dDe(e) {
+ var t = lDe, n = uDe, r = oDe, i = sDe, a = null;
function o() {
- var o, s = iDe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = p9(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
+ var o, s = cDe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = f9(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
}
return o.source = function(e) {
return arguments.length ? (t = e, o) : t;
}, o.target = function(e) {
return arguments.length ? (n = e, o) : n;
}, o.x = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : m9(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : p9(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : m9(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : p9(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function cDe(e, t, n, r, i) {
+function fDe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function lDe() {
- return sDe(cDe);
+function pDe() {
+ return dDe(fDe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function uDe(e) {
+function mDe(e) {
return [e.source.x1, e.y0];
}
-function dDe(e) {
+function hDe(e) {
return [e.target.x0, e.y1];
}
-function fDe() {
- return lDe().source(uDe).target(dDe);
+function gDe() {
+ return pDe().source(mDe).target(hDe);
}
//#endregion
//#region src/react/taste/taste.ts
-var pDe = "/api/taste", h9 = "/api/taste/refresh", mDe = "/api/taste/import", hDe = "/api/taste/source", g9 = (e) => ["taste", e], gDe = ["taste", "refresh"], _De = [
+var _De = "/api/taste", m9 = "/api/taste/refresh", vDe = "/api/taste/import", yDe = "/api/taste/source", h9 = (e) => ["taste", e], bDe = ["taste", "refresh"], xDe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], _9 = (e, t) => Dw(`${pDe}?window=${e}`, t), vDe = (e) => Dw(h9, e);
-async function yDe(e, t) {
+], g9 = (e, t) => Ew(`${_De}?window=${e}`, t), SDe = (e) => Ew(m9, e);
+async function CDe(e, t) {
await X.fetchQuery({
- queryKey: g9(e),
- queryFn: () => _9(e, t)
+ queryKey: h9(e),
+ queryFn: () => g9(e, t)
});
}
-var bDe = (e) => q(h9, {
+var wDe = (e) => q(m9, {
window: e,
background: !0
-}), xDe = (e, t) => q(hDe, {
+}), TDe = (e, t) => q(yDe, {
operation: "remove",
source_key: e,
window: t
});
-async function SDe(e) {
- let t = await fetch(mDe, {
+async function EDe(e) {
+ let t = await fetch(vDe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -65121,39 +65125,39 @@ async function SDe(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new Tw(e || `导入失败(${t.status})`, t.status, n);
+ throw new ww(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
-var CDe = 1e4, v9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", wDe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, TDe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function EDe(e) {
+var DDe = 1e4, _9 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", ODe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, kDe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function ADe(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 DDe(e) {
- let t = e.map(TDe), n = Math.max(1, ...t);
+function jDe(e) {
+ let t = e.map(kDe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var y9 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var v9 = (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 ODe(e) {
- let t = y9(e, 6);
+function MDe(e) {
+ let t = v9(e, 6);
return t.length < 3 ? [] : t;
}
-var b9 = {
+var y9 = {
width: 720,
height: 435
-}, x9 = {
+}, b9 = {
source: 145,
target: 545
};
-function kDe(e = []) {
+function NDe(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 = eDe().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 = iDe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -65168,7 +65172,7 @@ function kDe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = fDe();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = gDe();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -65198,11 +65202,11 @@ function kDe(e = []) {
total: a
};
}
-var ADe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = N.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var PDe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, x9 = N.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = N.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
- case "border": return /* @__PURE__ */ (0, P.jsx)(w9, {
+ case "border": return /* @__PURE__ */ (0, P.jsx)(C9, {
cx: e,
cy: t,
dotId: c,
@@ -65211,7 +65215,7 @@ var ADe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = N.memo(functio
className: i,
maskId: s
});
- case "colored-border": return /* @__PURE__ */ (0, P.jsx)(T9, {
+ case "colored-border": return /* @__PURE__ */ (0, P.jsx)(w9, {
cx: e,
cy: t,
dotId: c,
@@ -65220,7 +65224,7 @@ var ADe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = N.memo(functio
className: i,
maskId: s
});
- default: return /* @__PURE__ */ (0, P.jsx)(C9, {
+ default: return /* @__PURE__ */ (0, P.jsx)(S9, {
cx: e,
cy: t,
dotId: c,
@@ -65230,7 +65234,7 @@ var ADe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = N.memo(functio
maskId: s
});
}
-}), C9 = N.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, P.jsxs)("g", {
+}), S9 = N.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, P.jsxs)("g", {
className: a,
mask: o ? `url(#${o})` : void 0,
children: [/* @__PURE__ */ (0, P.jsx)("defs", { children: /* @__PURE__ */ (0, P.jsx)("clipPath", {
@@ -65250,8 +65254,8 @@ var ADe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, S9 = N.memo(functio
clipPath: `url(#dot-clip-${n})`
})]
}));
-C9.displayName = "DefaultDot";
-var w9 = N.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, P.jsxs)("g", {
+S9.displayName = "DefaultDot";
+var C9 = N.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, P.jsxs)("g", {
className: $5(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
@@ -65288,8 +65292,8 @@ var w9 = N.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
}) })
]
}));
-w9.displayName = "PrimaryBorderDot";
-var T9 = N.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, P.jsxs)("g", {
+C9.displayName = "PrimaryBorderDot";
+var w9 = N.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, P.jsxs)("g", {
className: $5(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
@@ -65318,17 +65322,17 @@ var T9 = N.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
})
]
}));
-T9.displayName = "ColoredBorderDot";
+w9.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var jDe = 1, MDe = .3, NDe = 6, E9 = 1500, D9 = "value", O9 = (0, N.createContext)(null);
-function k9() {
- let e = (0, N.use)(O9);
+var FDe = 1, IDe = .3, LDe = 6, T9 = 1500, E9 = "value", D9 = (0, N.createContext)(null);
+function O9() {
+ let e = (0, N.use)(D9);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
-function A9({ 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, N.useId)().replace(/:/g, ""), [d, f] = (0, N.useState)(o), p = KDe(c, l), m = (0, N.useCallback)((e) => {
+function k9({ 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, N.useId)().replace(/:/g, ""), [d, f] = (0, N.useState)(o), p = XDe(c, l), m = (0, N.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, N.useMemo)(() => ({
config: e,
@@ -65341,37 +65345,37 @@ function A9({ config: e, data: t, children: n, className: r, chartProps: i, back
d,
m
]);
- return /* @__PURE__ */ (0, P.jsx)(O9, {
+ return /* @__PURE__ */ (0, P.jsx)(D9, {
value: h,
children: /* @__PURE__ */ (0, P.jsxs)(i7, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, P.jsx)(a7, { isLoading: c }), /* @__PURE__ */ (0, P.jsxs)(vTe, {
+ children: [/* @__PURE__ */ (0, P.jsx)(a7, { isLoading: c }), /* @__PURE__ */ (0, P.jsxs)(xTe, {
id: u,
data: c ? p : t,
...i,
children: [
- a && /* @__PURE__ */ (0, P.jsx)(_7, { variant: a }),
+ a && /* @__PURE__ */ (0, P.jsx)(g7, { variant: a }),
n,
- c && /* @__PURE__ */ (0, P.jsx)(qDe, {})
+ c && /* @__PURE__ */ (0, P.jsx)(ZDe, {})
]
})]
})
});
}
-function PDe({ dataKey: e, variant: t = "filled", fillOpacity: n = MDe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
- let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = k9(), d = (0, N.useId)().replace(/:/g, "");
+function RDe({ dataKey: e, variant: t = "filled", fillOpacity: n = IDe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+ let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = O9(), d = (0, N.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 } = BDe(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = WDe(a, d, e, p.dot);
return /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)(U3, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: jDe,
+ strokeWidth: FDe,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -65384,29 +65388,29 @@ function PDe({ dataKey: e, variant: t = "filled", fillOpacity: n = MDe, isGlowin
},
...o
}), /* @__PURE__ */ (0, P.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, P.jsx)(VDe, {
+ /* @__PURE__ */ (0, P.jsx)(GDe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, P.jsx)(HDe, {
+ /* @__PURE__ */ (0, P.jsx)(KDe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, P.jsx)(UDe, {
+ m && /* @__PURE__ */ (0, P.jsx)(qDe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, P.jsx)(WDe, {
+ r && /* @__PURE__ */ (0, P.jsx)(JDe, {
id: d,
dataKey: e
})
] })] });
}
-var j9 = () => null, M9 = () => null;
-function FDe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+var A9 = () => null, j9 = () => null;
+function zDe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
return /* @__PURE__ */ (0, P.jsx)(I4, {
gridType: e,
stroke: t,
@@ -65415,22 +65419,22 @@ function FDe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function IDe({ tick: e = {
+function BDe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
- let { isLoading: r } = k9();
+ let { isLoading: r } = O9();
return r ? null : /* @__PURE__ */ (0, P.jsx)(X4, {
tick: e,
tickLine: t,
...n
});
}
-function LDe({ tick: e = {
+function VDe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
- let { isLoading: i } = k9();
+ let { isLoading: i } = O9();
return i ? null : /* @__PURE__ */ (0, P.jsx)(W4, {
tick: e,
tickLine: t,
@@ -65438,24 +65442,24 @@ function LDe({ tick: e = {
...r
});
}
-function RDe({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = k9();
- return r ? null : /* @__PURE__ */ (0, P.jsx)(d7, {
+function HDe({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = O9();
+ return r ? null : /* @__PURE__ */ (0, P.jsx)(u7, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, P.jsx)(u7, {
+ content: /* @__PURE__ */ (0, P.jsx)(l7, {
selected: i,
roundness: t,
variant: e
})
});
}
-function zDe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { isLoading: i, selectedDataKey: a, selectDataKey: o } = k9();
- return i ? null : /* @__PURE__ */ (0, P.jsx)(p7, {
+function UDe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { isLoading: i, selectedDataKey: a, selectDataKey: o } = O9();
+ return i ? null : /* @__PURE__ */ (0, P.jsx)(f7, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, P.jsx)(f7, {
+ content: /* @__PURE__ */ (0, P.jsx)(d7, {
selected: a,
onSelectChange: o,
isClickable: r,
@@ -65463,22 +65467,22 @@ function zDe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var BDe = (e, t, n, r) => {
+var WDe = (e, t, n, r) => {
let i = !1, a = !1;
return N.Children.forEach(e, (e) => {
if ((0, N.isValidElement)(e)) {
- if (e.type === j9) {
+ if (e.type === A9) {
let { variant: a } = e.props;
- i = /* @__PURE__ */ (0, P.jsx)(S9, {
+ i = /* @__PURE__ */ (0, P.jsx)(x9, {
type: a,
dataKey: n,
chartId: t,
fillOpacity: r
});
}
- if (e.type === M9) {
+ if (e.type === j9) {
let { variant: i } = e.props;
- a = /* @__PURE__ */ (0, P.jsx)(S9, {
+ a = /* @__PURE__ */ (0, P.jsx)(x9, {
type: i,
dataKey: n,
chartId: t,
@@ -65490,7 +65494,7 @@ var BDe = (e, t, n, r) => {
dot: i,
activeDot: a
};
-}, N9 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)("stop", {
+}, M9 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, P.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, P.jsx)("stop", {
offset: "0%",
stopColor: `var(--color-${e}-0)`,
stopOpacity: n?.[0]
@@ -65505,7 +65509,7 @@ var BDe = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), VDe = ({ id: e, dataKey: t, config: n }) => {
+}) }), GDe = ({ id: e, dataKey: t, config: n }) => {
let r = c7(n[t] ?? {});
return /* @__PURE__ */ (0, P.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -65513,12 +65517,12 @@ var BDe = (e, t, n, r) => {
y1: "0",
x2: "1",
y2: "0",
- children: /* @__PURE__ */ (0, P.jsx)(N9, {
+ children: /* @__PURE__ */ (0, P.jsx)(M9, {
dataKey: t,
colorsCount: r
})
});
-}, HDe = ({ id: e, dataKey: t, config: n }) => {
+}, KDe = ({ id: e, dataKey: t, config: n }) => {
let r = c7(n[t] ?? {});
return /* @__PURE__ */ (0, P.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -65526,25 +65530,25 @@ var BDe = (e, t, n, r) => {
y1: "0",
x2: "1",
y2: "1",
- children: /* @__PURE__ */ (0, P.jsx)(N9, {
+ children: /* @__PURE__ */ (0, P.jsx)(M9, {
dataKey: t,
colorsCount: r
})
});
-}, UDe = ({ id: e, dataKey: t, config: n }) => {
+}, qDe = ({ id: e, dataKey: t, config: n }) => {
let r = c7(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, P.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
cx: "50%",
cy: "50%",
r: "50%",
- children: /* @__PURE__ */ (0, P.jsx)(N9, {
+ children: /* @__PURE__ */ (0, P.jsx)(M9, {
dataKey: t,
colorsCount: r,
opacities: i
})
});
-}, WDe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, P.jsxs)("filter", {
+}, JDe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, P.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -65564,7 +65568,7 @@ var BDe = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, P.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, P.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, P.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), GDe = (e) => [
+}), YDe = (e) => [
"A",
"B",
"C",
@@ -65573,20 +65577,20 @@ var BDe = (e, t, n, r) => {
"F"
].slice(0, e).map((e) => ({
skill: e,
- [D9]: 30 + Math.random() * 70
+ [E9]: 30 + Math.random() * 70
}));
-function KDe(e, t = NDe) {
+function XDe(e, t = LDe) {
let [n, r] = (0, N.useState)(0);
return (0, N.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
r((e) => e + 1);
- }, E9);
+ }, T9);
return () => clearInterval(t);
- }, [e]), (0, N.useMemo)(() => GDe(t), [t, n]);
+ }, [e]), (0, N.useMemo)(() => YDe(t), [t, n]);
}
-var qDe = () => /* @__PURE__ */ (0, P.jsx)(U3, {
- dataKey: D9,
+var ZDe = () => /* @__PURE__ */ (0, P.jsx)(U3, {
+ dataKey: E9,
stroke: "currentColor",
strokeOpacity: .3,
strokeWidth: 2,
@@ -65594,30 +65598,30 @@ var qDe = () => /* @__PURE__ */ (0, P.jsx)(U3, {
fillOpacity: .1,
dot: !1,
isAnimationActive: !0,
- animationDuration: E9,
+ animationDuration: T9,
animationEasing: "ease-in-out"
});
-A9.Radar = PDe, A9.Dot = j9, A9.ActiveDot = M9, A9.PolarGrid = FDe, A9.PolarAngleAxis = IDe, A9.PolarRadiusAxis = LDe, A9.Tooltip = RDe, A9.Legend = zDe;
+k9.Radar = RDe, k9.Dot = A9, k9.ActiveDot = j9, k9.PolarGrid = zDe, k9.PolarAngleAxis = BDe, k9.PolarRadiusAxis = VDe, k9.Tooltip = HDe, k9.Legend = UDe;
//#endregion
//#region src/react/taste/charts.tsx
-var JDe = [
+var QDe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], YDe = [
+], $De = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
"fill-chart-4",
"fill-chart-5",
"fill-chart-6"
-], P9 = { value: {
+], N9 = { value: {
label: "标签命中",
- colors: E7(T7[3])
-} }, XDe = [
+ colors: T7(w7[3])
+} }, eOe = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -65627,78 +65631,78 @@ var JDe = [
"min-h-52",
"min-h-60",
"min-h-64"
-], ZDe = 26, QDe = { radius: P9.value }, $De = (e, t) => Math.sqrt(e / t);
-function eOe({ rows: e, label: t }) {
- let n = ODe(e);
+], tOe = 26, nOe = { radius: N9.value }, rOe = (e, t) => Math.sqrt(e / t);
+function iOe({ rows: e, label: t }) {
+ let n = MDe(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: $De(e.value, r)
+ radius: rOe(e.value, r)
}));
return /* @__PURE__ */ (0, P.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
- children: /* @__PURE__ */ (0, P.jsxs)(A9, {
+ children: /* @__PURE__ */ (0, P.jsxs)(k9, {
data: i,
- config: QDe,
+ config: nOe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
- /* @__PURE__ */ (0, P.jsx)(A9.PolarGrid, {}),
- /* @__PURE__ */ (0, P.jsx)(A9.PolarAngleAxis, { dataKey: "name" }),
- /* @__PURE__ */ (0, P.jsx)(A9.PolarRadiusAxis, {
+ /* @__PURE__ */ (0, P.jsx)(k9.PolarGrid, {}),
+ /* @__PURE__ */ (0, P.jsx)(k9.PolarAngleAxis, { dataKey: "name" }),
+ /* @__PURE__ */ (0, P.jsx)(k9.PolarRadiusAxis, {
domain: [0, 1],
allowDecimals: !0,
tick: !1
}),
- /* @__PURE__ */ (0, P.jsx)(A9.Radar, { dataKey: "radius" }),
- /* @__PURE__ */ (0, P.jsx)(j7, { valueKey: "value" })
+ /* @__PURE__ */ (0, P.jsx)(k9.Radar, { dataKey: "radius" }),
+ /* @__PURE__ */ (0, P.jsx)(A7, { valueKey: "value" })
]
})
});
}
-function tOe({ rows: e, label: t }) {
- let n = y9(e, 8);
+function aOe({ rows: e, label: t }) {
+ let n = v9(e, 8);
return n.length ? /* @__PURE__ */ (0, P.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${XDe[n.length]}`,
- children: /* @__PURE__ */ (0, P.jsxs)(x7, {
+ className: `flex grow flex-col ${eOe[n.length]}`,
+ children: /* @__PURE__ */ (0, P.jsxs)(b7, {
data: n,
- config: P9,
+ config: N9,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: ZDe },
+ chartProps: { maxBarSize: tOe },
className: "aspect-auto text-text-secondary",
children: [
- /* @__PURE__ */ (0, P.jsx)(x7.YAxis, {
+ /* @__PURE__ */ (0, P.jsx)(b7.YAxis, {
dataKey: "name",
interval: 0
}),
- /* @__PURE__ */ (0, P.jsx)(x7.XAxis, {
+ /* @__PURE__ */ (0, P.jsx)(b7.XAxis, {
hide: !0,
- domain: M7
+ domain: j7
}),
- /* @__PURE__ */ (0, P.jsx)(x7.Bar, {
+ /* @__PURE__ */ (0, P.jsx)(b7.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: N7("right")
+ label: M7("right")
}
}),
- /* @__PURE__ */ (0, P.jsx)(j7, {})
+ /* @__PURE__ */ (0, P.jsx)(A7, {})
]
})
}) : null;
}
-function nOe({ flows: e }) {
- let [t, n] = (0, N.useState)(null), r = kDe(e);
+function oOe({ flows: e }) {
+ let [t, n] = (0, N.useState)(null), r = NDe(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, P.jsxs)("section", {
- className: C7,
+ className: S7,
children: [
- /* @__PURE__ */ (0, P.jsx)(w7, {
+ /* @__PURE__ */ (0, P.jsx)(C7, {
title: "创作者线索来源",
figure: (t ? t.value : r.total).toLocaleString(),
note: t ? t.label : "条线索"
@@ -65706,7 +65710,7 @@ function nOe({ flows: e }) {
/* @__PURE__ */ (0, P.jsx)("div", {
className: "min-w-0 overflow-x-auto",
children: /* @__PURE__ */ (0, P.jsxs)("svg", {
- viewBox: `0 0 ${b9.width} ${b9.height}`,
+ viewBox: `0 0 ${y9.width} ${y9.height}`,
fill: "none",
role: "img",
"aria-label": "来源网站与创作者线索",
@@ -65720,7 +65724,7 @@ function nOe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${JDe[e.color]}`,
+ className: `outline-none transition-opacity ${QDe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -65754,15 +65758,15 @@ function nOe({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? YDe[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? $De[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, P.jsxs)("text", {
- x: x9[e.side],
+ x: b9[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: [ADe(e.name), /* @__PURE__ */ (0, P.jsx)("tspan", {
- x: x9[e.side],
+ children: [PDe(e.name), /* @__PURE__ */ (0, P.jsx)("tspan", {
+ x: b9[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
})]
@@ -65779,8 +65783,8 @@ function nOe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var rOe = 10, F9 = yw(KA, qA, "text-body-2-medium"), I9 = `${Ow()} flex flex-col gap-4`, L9 = "rounded-xl bg-background-primary-default p-3", iOe = "读取运行 Peach 的这台电脑上的浏览记录", aOe = "导入或读取浏览记录后,这里会列出已采集设备。", oOe = "馆藏里暂时没有对得上浏览信号的标签。", sOe = "采集浏览记录后,这里会显示聚合后的口味证据。", cOe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", lOe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", uOe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", dOe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", fOe = "这个数据源将不再用于口味分析。原始导出文件保留。", R9 = "peach-taste-guide-dismissed";
-function z9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
+var sOe = 10, P9 = vw(KA, qA, "text-body-2-medium"), F9 = `${Dw()} flex flex-col gap-4`, I9 = "rounded-xl bg-background-primary-default p-3", cOe = "读取运行 Peach 的这台电脑上的浏览记录", lOe = "导入或读取浏览记录后,这里会列出已采集设备。", uOe = "馆藏里暂时没有对得上浏览信号的标签。", dOe = "采集浏览记录后,这里会显示聚合后的口味证据。", fOe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", pOe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", mOe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", hOe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", gOe = "这个数据源将不再用于口味分析。原始导出文件保留。", L9 = "peach-taste-guide-dismissed";
+function R9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, P.jsx)("div", {
className: FA(),
children: /* @__PURE__ */ (0, P.jsx)(BA, {
@@ -65792,7 +65796,7 @@ function z9({ icon: e, term: t, figure: n, detail: r, accent: i }) {
})
});
}
-function B9({ name: e, domain: t }) {
+function z9({ name: e, domain: t }) {
return /* @__PURE__ */ (0, P.jsxs)("span", {
className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",
children: [e.slice(0, 1).toUpperCase(), /* @__PURE__ */ (0, P.jsx)("img", {
@@ -65806,22 +65810,22 @@ function B9({ name: e, domain: t }) {
})]
});
}
-function pOe({ html: e }) {
+function _Oe({ html: e }) {
return /* @__PURE__ */ (0, P.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 [&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-cover",
+ 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 ${ZI}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function mOe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
- if (!e.length) return /* @__PURE__ */ (0, P.jsx)(kw, {
+function vOe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
+ if (!e.length) return /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "plain",
- icon: VS,
+ icon: BS,
title: "暂无足够证据",
children: r
});
- let o = DDe(e);
- return /* @__PURE__ */ (0, P.jsx)(H7, {
- previewCount: rOe,
+ let o = jDe(e);
+ return /* @__PURE__ */ (0, P.jsx)(V7, {
+ previewCount: sOe,
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, P.jsxs)(P.Fragment, { children: [
@@ -65840,15 +65844,15 @@ function mOe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",
children: r + 1
}),
- n === "domain" ? /* @__PURE__ */ (0, P.jsx)(B9, {
+ n === "domain" ? /* @__PURE__ */ (0, P.jsx)(z9, {
name: e.name,
domain: e.name
}) : null,
- n === "creator" && !e.entity_id && !e.has_avatar && c ? /* @__PURE__ */ (0, P.jsx)(B9, {
+ n === "creator" && !e.entity_id && !e.has_avatar && c ? /* @__PURE__ */ (0, P.jsx)(z9, {
name: e.name,
domain: c
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, P.jsx)(pOe, { html: a(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, P.jsx)(_Oe, { html: a(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
avatar_focus: e.avatar_focus
@@ -65860,10 +65864,10 @@ function mOe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
children: e.name
}), /* @__PURE__ */ (0, P.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: EDe(e)
+ children: ADe(e)
})]
}),
- s ? /* @__PURE__ */ (0, P.jsx)(vS, {
+ s ? /* @__PURE__ */ (0, P.jsx)(_S, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -65883,9 +65887,9 @@ function mOe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
})
});
}
-function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
+function B9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
return /* @__PURE__ */ (0, P.jsxs)(pO, {
- className: `${Ow({ padding: "none" })} flex flex-col`,
+ className: `${Dw({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, P.jsx)("div", {
className: "px-4 pt-3",
children: /* @__PURE__ */ (0, P.jsx)(mO, {
@@ -65900,7 +65904,7 @@ function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
}), t.map((e) => /* @__PURE__ */ (0, P.jsx)(gO, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, P.jsx)(mOe, {
+ children: /* @__PURE__ */ (0, P.jsx)(vOe, {
...e.props,
onSignal: n,
avatarInner: r
@@ -65908,7 +65912,7 @@ function V9({ label: e, panels: t, onSignal: n, avatarInner: r }) {
}, e.id))]
});
}
-function hOe({ data: e, onSignal: t, navigate: n }) {
+function yOe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -65923,7 +65927,7 @@ function hOe({ data: e, onSignal: t, navigate: n }) {
act: () => n(e.route)
}))];
return /* @__PURE__ */ (0, P.jsxs)("section", {
- className: I9,
+ className: F9,
"aria-label": "口味总结",
children: [
/* @__PURE__ */ (0, P.jsxs)("header", {
@@ -65949,7 +65953,7 @@ function hOe({ data: e, onSignal: t, navigate: n }) {
r.points?.length ? /* @__PURE__ */ (0, P.jsx)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: r.points.map((e) => /* @__PURE__ */ (0, P.jsxs)("div", {
- className: `flex min-w-0 flex-col gap-1 ${L9}`,
+ className: `flex min-w-0 flex-col gap-1 ${I9}`,
children: [/* @__PURE__ */ (0, P.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: e.label
@@ -65964,7 +65968,7 @@ function hOe({ data: e, onSignal: t, navigate: n }) {
children: a.map((e) => /* @__PURE__ */ (0, P.jsxs)("button", {
type: "button",
onClick: e.act,
- className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${L9} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
+ className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${I9} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
children: [/* @__PURE__ */ (0, P.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-1",
children: [/* @__PURE__ */ (0, P.jsx)("b", {
@@ -65974,30 +65978,30 @@ function hOe({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, P.jsx)(vS, {
+ }), /* @__PURE__ */ (0, P.jsx)(_S, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, P.jsx)(kw, {
+ }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "plain",
- icon: VS,
+ icon: BS,
title: "还没有可探索的入口",
- children: oOe
+ children: uOe
})
]
});
}
-function gOe({ onboarding: e, done: t }) {
+function bOe({ onboarding: e, done: t }) {
let [n, r] = (0, N.useState)(() => {
try {
- return localStorage.getItem(R9) === "1";
+ return localStorage.getItem(L9) === "1";
} catch {
return !1;
}
});
return t || n ? null : /* @__PURE__ */ (0, P.jsx)("div", {
- className: Ow({
+ className: Dw({
padding: "none",
className: "p-4"
}),
@@ -66007,11 +66011,11 @@ function gOe({ onboarding: e, done: t }) {
children: [
/* @__PURE__ */ (0, P.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: lOe
+ children: pOe
}),
/* @__PURE__ */ (0, P.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: uOe
+ children: mOe
}),
/* @__PURE__ */ (0, P.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -66041,7 +66045,7 @@ function gOe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, P.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: dOe
+ children: hOe
}),
/* @__PURE__ */ (0, P.jsx)("span", {
className: "self-start",
@@ -66050,7 +66054,7 @@ function gOe({ onboarding: e, done: t }) {
size: "small",
onClick: () => {
try {
- localStorage.setItem(R9, "1");
+ localStorage.setItem(L9, "1");
} catch {}
r(!0);
},
@@ -66061,7 +66065,7 @@ function gOe({ onboarding: e, done: t }) {
})
});
}
-function _Oe({ busy: e, onRefresh: t, onImport: n }) {
+function xOe({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, N.useRef)(null), [i, a] = (0, N.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -66070,43 +66074,43 @@ function _Oe({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, P.jsx)(G, {
- leadingIcon: SS,
- title: iOe,
+ leadingIcon: xS,
+ title: cOe,
onClick: t,
...Y(e),
children: "读取浏览器历史"
}), /* @__PURE__ */ (0, P.jsx)(G, {
ref: r,
iconOnly: !0,
- leadingIcon: gS,
+ leadingIcon: hS,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
onClick: () => a(!0)
})]
- }), /* @__PURE__ */ (0, P.jsx)(GE, {
+ }), /* @__PURE__ */ (0, P.jsx)(KE, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
className: UA,
- children: /* @__PURE__ */ (0, P.jsxs)(YE, {
+ children: /* @__PURE__ */ (0, P.jsxs)(XE, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, P.jsxs)("button", {
type: "button",
- className: F9,
+ className: P9,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, P.jsx)(SS, {
+ children: [/* @__PURE__ */ (0, P.jsx)(xS, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
}), /* @__PURE__ */ (0, P.jsxs)("button", {
type: "button",
- className: F9,
+ className: P9,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, P.jsx)(GS, {
+ children: [/* @__PURE__ */ (0, P.jsx)(WS, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -66114,15 +66118,15 @@ function _Oe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function vOe({ sources: e, window: t, toast: n }) {
+function SOe({ sources: e, window: t, toast: n }) {
let r = St({
- mutationFn: (e) => xDe(e, t),
+ mutationFn: (e) => TDe(e, t),
onSuccess: (e) => {
- X.setQueryData(g9(t), e.dashboard), n("已移除口味数据源");
+ X.setQueryData(h9(t), e.dashboard), n("已移除口味数据源");
}
});
return /* @__PURE__ */ (0, P.jsxs)("section", {
- className: I9,
+ className: F9,
"aria-label": "数据源",
children: [
/* @__PURE__ */ (0, P.jsx)("h3", {
@@ -66136,14 +66140,14 @@ function vOe({ sources: e, window: t, toast: n }) {
e.length ? /* @__PURE__ */ (0, P.jsx)("div", {
className: "inline-grid w-full gap-2 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, P.jsxs)("div", {
- className: `flex min-w-0 items-center gap-3 ${L9}`,
+ className: `flex min-w-0 items-center gap-3 ${I9}`,
children: [
/* @__PURE__ */ (0, P.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, P.jsx)(GS, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, P.jsx)(WS, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, P.jsx)(CS, {
+ }) : /* @__PURE__ */ (0, P.jsx)(SS, {
"aria-hidden": !0,
className: "size-4"
})
@@ -66163,12 +66167,12 @@ function vOe({ sources: e, window: t, toast: n }) {
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: wS,
+ leadingIcon: CS,
...Y(r.isPending),
onClick: () => {
r.isPending || l({
title: "移除口味数据源",
- body: fOe,
+ body: gOe,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -66176,32 +66180,32 @@ function vOe({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, P.jsx)(kw, {
+ }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "plain",
- icon: CS,
+ icon: SS,
title: "还没有数据源",
- children: aOe
+ children: lOe
})
]
});
}
-function yOe(e) {
+function COe(e) {
let { onSignal: t, navigate: n, toast: i, avatarInner: a, onboarding: o } = e, [s, c] = (0, N.useState)("all"), [l, u] = (0, N.useState)("browser"), d = (0, N.useRef)(null), f = xt({
- queryKey: g9(s),
- queryFn: ({ signal: e }) => _9(s, e),
+ queryKey: h9(s),
+ queryFn: ({ signal: e }) => g9(s, e),
placeholderData: be
}), { job: p, running: m, outcome: h, start: g } = Gj({
- queryKey: gDe,
- queryFn: ({ signal: e }) => vDe(e),
- start: () => bDe(s),
- idlePollMs: CDe,
+ queryKey: bDe,
+ queryFn: ({ signal: e }) => SDe(e),
+ start: () => wDe(s),
+ idlePollMs: DDe,
onFinish: (e) => {
e.status !== "failed" && (X.invalidateQueries({ queryKey: ["taste"] }), i("已更新口味分析"));
}
}), _ = St({
- mutationFn: (e) => SDe(e),
+ mutationFn: (e) => EDe(e),
onSuccess: (e) => {
- X.setQueryData(g9("all"), e.dashboard), c("all"), i("已导入口味数据");
+ X.setQueryData(h9("all"), e.dashboard), c("all"), i("已导入口味数据");
}
}), v = (e) => {
let t = e.currentTarget.files?.[0];
@@ -66209,13 +66213,13 @@ function yOe(e) {
}, y = () => {
m || g.isPending || (g.reset(), g.mutate());
}, b = f.data;
- if (!b) return /* @__PURE__ */ (0, P.jsx)(jw, { children: /* @__PURE__ */ (0, P.jsx)(J, {
+ if (!b) return /* @__PURE__ */ (0, P.jsx)(Aw, { children: /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
title: "读取失败",
children: f.error ? K(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 ? K(g.error) : _.error ? K(_.error) : h?.status === "failed" ? h.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, P.jsxs)(jw, { children: [
+ return /* @__PURE__ */ (0, P.jsxs)(Aw, { children: [
/* @__PURE__ */ (0, P.jsxs)(pO, {
selectedKey: l,
onSelectionChange: (e) => u(String(e)),
@@ -66244,12 +66248,12 @@ function yOe(e) {
onSelectionChange: (e) => {
e !== null && c(String(e));
},
- children: _De.map(([e, t]) => /* @__PURE__ */ (0, P.jsx)(Vj, {
+ children: xDe.map(([e, t]) => /* @__PURE__ */ (0, P.jsx)(Vj, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, P.jsx)(_Oe, {
+ /* @__PURE__ */ (0, P.jsx)(xOe, {
busy: m || g.isPending || _.isPending,
onRefresh: y,
onImport: () => d.current?.click()
@@ -66265,7 +66269,7 @@ function yOe(e) {
]
})]
}),
- /* @__PURE__ */ (0, P.jsx)(gOe, {
+ /* @__PURE__ */ (0, P.jsx)(bOe, {
onboarding: o,
done: !!(x.history_sources || b.updated_at)
}),
@@ -66283,8 +66287,8 @@ function yOe(e) {
className: "text-caption-1-regular text-text-secondary",
children: `${p.message || "正在读取浏览记录"} · ${p.checked || 0} / ${p.total}`
})]
- }) : /* @__PURE__ */ (0, P.jsx)(Aw, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
- _.isPending ? /* @__PURE__ */ (0, P.jsx)(Aw, { label: "正在导入历史文件" }) : null,
+ }) : /* @__PURE__ */ (0, P.jsx)(kw, { label: p?.message || "正在读取浏览记录并更新口味分析" }) : null,
+ _.isPending ? /* @__PURE__ */ (0, P.jsx)(kw, { label: "正在导入历史文件" }) : null,
k ? /* @__PURE__ */ (0, P.jsx)(J, {
tone: "error",
children: k
@@ -66298,29 +66302,29 @@ function yOe(e) {
/* @__PURE__ */ (0, P.jsxs)("div", {
className: IA,
children: [
- /* @__PURE__ */ (0, P.jsx)(z9, {
+ /* @__PURE__ */ (0, P.jsx)(R9, {
accent: 0,
- icon: jS,
+ icon: AS,
term: "浏览记录",
figure: Number(x.history_visits || 0).toLocaleString(),
- detail: `${x.history_sources || 0} 个数据源 · ${v9(x.range_start)}—${v9(x.range_end)}`
+ detail: `${x.history_sources || 0} 个数据源 · ${_9(x.range_start)}—${_9(x.range_end)}`
}),
- /* @__PURE__ */ (0, P.jsx)(z9, {
+ /* @__PURE__ */ (0, P.jsx)(R9, {
accent: 1,
- icon: RS,
+ icon: LS,
term: "口味维度",
figure: T.length.toLocaleString(),
detail: T[0]?.name || "尚无主维度"
}),
- /* @__PURE__ */ (0, P.jsx)(z9, {
+ /* @__PURE__ */ (0, P.jsx)(R9, {
accent: 2,
- icon: VS,
+ icon: BS,
term: "浏览候选",
figure: E.length.toLocaleString()
}),
- /* @__PURE__ */ (0, P.jsx)(z9, {
+ /* @__PURE__ */ (0, P.jsx)(R9, {
accent: 3,
- icon: CS,
+ icon: SS,
term: "私有导出",
figure: Number(w.exports || 0).toLocaleString(),
detail: r(w.bytes || 0)
@@ -66328,7 +66332,7 @@ function yOe(e) {
]
}),
/* @__PURE__ */ (0, P.jsxs)("section", {
- className: `${I9} md:flex-row md:gap-6`,
+ className: `${F9} md:flex-row md:gap-6`,
"aria-label": "浏览器画像",
children: [/* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex shrink-0 flex-col gap-2 pb-5 md:w-80 md:pr-6 md:pb-0",
@@ -66337,29 +66341,29 @@ function yOe(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, P.jsx)(eOe, {
+ /* @__PURE__ */ (0, P.jsx)(iOe, {
rows: T,
label: "主要口味维度"
}),
/* @__PURE__ */ (0, P.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: b.updated_at ? `更新于 ${v9(b.updated_at)}` : "尚未采集浏览记录"
+ children: b.updated_at ? `更新于 ${_9(b.updated_at)}` : "尚未采集浏览记录"
})
]
}), /* @__PURE__ */ (0, P.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, P.jsx)(tOe, {
+ children: T.length ? /* @__PURE__ */ (0, P.jsx)(aOe, {
rows: T,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, P.jsx)(kw, {
+ }) : /* @__PURE__ */ (0, P.jsx)(Ow, {
shell: "plain",
- icon: VS,
+ icon: BS,
title: "暂无口味维度",
- children: sOe
+ children: dOe
})
})]
}),
- /* @__PURE__ */ (0, P.jsx)(V7, {
+ /* @__PURE__ */ (0, P.jsx)(B7, {
activity: b.activity,
title: "浏览活跃时间",
dailyTitle: "每日活跃",
@@ -66371,8 +66375,8 @@ function yOe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, P.jsx)(nOe, { flows: b.creator_flows }),
- /* @__PURE__ */ (0, P.jsx)(V9, {
+ /* @__PURE__ */ (0, P.jsx)(oOe, { flows: b.creator_flows }),
+ /* @__PURE__ */ (0, P.jsx)(B9, {
label: "浏览器口味维度",
onSignal: t,
avatarInner: a,
@@ -66414,7 +66418,7 @@ function yOe(e) {
rows: E,
kind: "",
visual: "none",
- empty: cOe
+ empty: fOe
}
}
]
@@ -66428,35 +66432,35 @@ function yOe(e) {
/* @__PURE__ */ (0, P.jsxs)("div", {
className: IA,
children: [
- /* @__PURE__ */ (0, P.jsx)(z9, {
+ /* @__PURE__ */ (0, P.jsx)(R9, {
accent: 0,
- icon: DS,
+ icon: ES,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
- detail: wDe(x.peach_seconds || 0)
+ detail: ODe(x.peach_seconds || 0)
}),
- /* @__PURE__ */ (0, P.jsx)(z9, {
+ /* @__PURE__ */ (0, P.jsx)(R9, {
accent: 1,
- icon: WS,
+ icon: US,
term: "喜欢",
figure: Number(x.liked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, P.jsx)(z9, {
+ /* @__PURE__ */ (0, P.jsx)(R9, {
accent: 2,
- icon: US,
+ icon: HS,
term: "不合口味",
figure: Number(x.disliked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, P.jsx)(z9, {
+ /* @__PURE__ */ (0, P.jsx)(R9, {
accent: 3,
- icon: RS,
+ icon: LS,
term: "有标签",
figure: D.toLocaleString()
})
]
}),
/* @__PURE__ */ (0, P.jsxs)("section", {
- className: `${I9} md:flex-row md:gap-6`,
+ className: `${F9} md:flex-row md:gap-6`,
"aria-label": "Peach 观看",
children: [/* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-72 md:pr-6 md:pb-0",
@@ -66476,18 +66480,18 @@ function yOe(e) {
]
}), /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex min-w-0 grow flex-col",
- children: [/* @__PURE__ */ (0, P.jsx)(H9, {
+ children: [/* @__PURE__ */ (0, P.jsx)(V9, {
term: "有标签",
value: D,
rest: S.untagged || 0
- }), /* @__PURE__ */ (0, P.jsx)(H9, {
+ }), /* @__PURE__ */ (0, P.jsx)(V9, {
term: "有身份",
value: O,
rest: S.unidentified || 0
})]
})]
}),
- /* @__PURE__ */ (0, P.jsx)(V9, {
+ /* @__PURE__ */ (0, P.jsx)(B9, {
label: "Peach 口味维度",
onSignal: t,
avatarInner: a,
@@ -66528,19 +66532,19 @@ function yOe(e) {
})
]
}),
- /* @__PURE__ */ (0, P.jsx)(hOe, {
+ /* @__PURE__ */ (0, P.jsx)(yOe, {
data: b,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, P.jsx)(vOe, {
+ /* @__PURE__ */ (0, P.jsx)(SOe, {
sources: b.sources || [],
window: s,
toast: i
})
] });
}
-function H9({ term: e, value: t, rest: n }) {
+function V9({ term: e, value: t, rest: n }) {
let r = Math.max(t + n, 1);
return /* @__PURE__ */ (0, P.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -66562,26 +66566,26 @@ function H9({ term: e, value: t, rest: n }) {
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function bOe(e) {
+function wOe(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 xOe = (e) => {
+var TOe = (e) => {
switch (e) {
- case "success": return wOe;
- case "info": return EOe;
- case "warning": return TOe;
- case "error": return DOe;
+ case "success": return OOe;
+ case "info": return AOe;
+ case "warning": return kOe;
+ case "error": return jOe;
default: return null;
}
-}, SOe = Array(12).fill(0), COe = ({ visible: e, className: t }) => /*#__PURE__*/ N.createElement("div", {
+}, EOe = Array(12).fill(0), DOe = ({ visible: e, className: t }) => /*#__PURE__*/ N.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ N.createElement("div", { className: "sonner-spinner" }, SOe.map((e, t) => /*#__PURE__*/ N.createElement("div", {
+}, /*#__PURE__*/ N.createElement("div", { className: "sonner-spinner" }, EOe.map((e, t) => /*#__PURE__*/ N.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), wOe = /*#__PURE__*/ N.createElement("svg", {
+})))), OOe = /*#__PURE__*/ N.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -66592,7 +66596,7 @@ var xOe = (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"
-})), TOe = /*#__PURE__*/ N.createElement("svg", {
+})), kOe = /*#__PURE__*/ N.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -66603,7 +66607,7 @@ var xOe = (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"
-})), EOe = /*#__PURE__*/ N.createElement("svg", {
+})), AOe = /*#__PURE__*/ N.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -66614,7 +66618,7 @@ var xOe = (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"
-})), DOe = /*#__PURE__*/ N.createElement("svg", {
+})), jOe = /*#__PURE__*/ N.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -66625,7 +66629,7 @@ var xOe = (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"
-})), OOe = /*#__PURE__*/ N.createElement("svg", {
+})), MOe = /*#__PURE__*/ N.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -66646,7 +66650,7 @@ var xOe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), kOe = () => {
+})), NOe = () => {
let [e, t] = N.useState(document.hidden);
return N.useEffect(() => {
let e = () => {
@@ -66654,7 +66658,7 @@ var xOe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, AOe = 1, jOe = 100, U9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : AOe++, W9 = new class {
+}, POe = 1, FOe = 100, H9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : POe++, U9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -66664,10 +66668,10 @@ var xOe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - jOe;
+ let e = this.toasts.length - FOe;
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 = U9(e), i = this.pendingDismissals.get(r);
+ let { message: t, ...n } = e, r = H9(e), i = this.pendingDismissals.get(r);
i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));
let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;
return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({
@@ -66742,7 +66746,7 @@ var xOe = (e) => {
type: "default",
message: e
});
- else if (NOe(e) && !e.ok) {
+ else if (LOe(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" && !N.isValidElement(r) ? r : { message: r };
this.create({
@@ -66786,7 +66790,7 @@ var xOe = (e) => {
}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));
return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });
}, this.custom = (e, t) => {
- let n = U9(t);
+ let n = H9(t);
return this.create({
...t,
jsx: e(n),
@@ -66795,34 +66799,34 @@ var xOe = (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();
}
-}(), MOe = (e, t) => W9.message(e, t), NOe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", G9 = Object.assign(MOe, {
- success: W9.success,
- info: W9.info,
- warning: W9.warning,
- error: W9.error,
- custom: W9.custom,
- message: W9.message,
- promise: W9.promise,
- dismiss: W9.dismiss,
- loading: W9.loading
+}(), IOe = (e, t) => U9.message(e, t), LOe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", W9 = Object.assign(IOe, {
+ success: U9.success,
+ info: U9.info,
+ warning: U9.warning,
+ error: U9.error,
+ custom: U9.custom,
+ message: U9.message,
+ promise: U9.promise,
+ dismiss: U9.dismiss,
+ loading: U9.loading
}, {
- getHistory: () => W9.toasts,
- getToasts: () => W9.getActiveToasts()
+ getHistory: () => U9.toasts,
+ getToasts: () => U9.getActiveToasts()
});
-bOe("[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 K9(e) {
+wOe("[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 G9(e) {
return e.label !== void 0;
}
-var POe = 3, FOe = "24px", IOe = "16px", q9 = 4e3, LOe = 356, ROe = 14, zOe = 45, BOe = 200;
+var ROe = 3, zOe = "24px", BOe = "16px", K9 = 4e3, VOe = 356, q9 = 14, HOe = 45, UOe = 200;
function J9(...e) {
return e.filter(Boolean).join(" ");
}
-function VOe(e) {
+function WOe(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var HOe = (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] = N.useState(null), [O, k] = N.useState(null), [A, j] = N.useState(!1), [M, P] = N.useState(!1), [F, I] = N.useState(!1), [ee, te] = N.useState(!1), [ne, re] = N.useState(!1), [ie, L] = N.useState(0), [ae, oe] = N.useState(0), se = N.useRef(n.duration || y || q9), ce = N.useRef(null), le = N.useRef(null), ue = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = N.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = N.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = N.useMemo(() => n.duration || y || q9, [n.duration, y]), ve = N.useRef(0), ye = N.useRef(0), be = N.useRef(0), xe = N.useRef(null), [Se, Ce] = b.split("-"), we = N.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = kOe(), Ee = N.useMemo(() => e.swipeDirections ?? VOe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
+var GOe = (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] = N.useState(null), [O, k] = N.useState(null), [A, j] = N.useState(!1), [M, P] = N.useState(!1), [F, I] = N.useState(!1), [ee, te] = N.useState(!1), [ne, re] = N.useState(!1), [ie, L] = N.useState(0), [ae, oe] = N.useState(0), se = N.useRef(n.duration || y || K9), ce = N.useRef(null), le = N.useRef(null), ue = c === 0, R = c + 1 <= o, z = n.type, de = z ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = N.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = N.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = N.useMemo(() => n.duration || y || K9, [n.duration, y]), ve = N.useRef(0), ye = N.useRef(0), be = N.useRef(0), xe = N.useRef(null), [Se, Ce] = b.split("-"), we = N.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = NOe(), Ee = N.useMemo(() => e.swipeDirections ?? WOe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = z === "loading";
ye.current = N.useMemo(() => he * x + we, [he, we]), N.useEffect(() => {
se.current = _e;
}, [_e]), N.useEffect(() => {
@@ -66863,7 +66867,7 @@ var HOe = (e) => {
let ke = N.useCallback(() => {
P(!0), L(ye.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, BOe);
+ }, UOe);
}, [
n,
d,
@@ -66896,12 +66900,12 @@ var HOe = (e) => {
return w?.loading ? /*#__PURE__*/ N.createElement("div", {
className: J9(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": z === "loading"
- }, w.loading) : /*#__PURE__*/ N.createElement(COe, {
+ }, w.loading) : /*#__PURE__*/ N.createElement(DOe, {
className: J9(C?.loader, n?.classNames?.loader),
visible: z === "loading"
});
}
- let je = n.icon || w?.[z] || xOe(z);
+ let je = n.icon || w?.[z] || TOe(z);
return /*#__PURE__*/ N.createElement("li", {
tabIndex: 0,
ref: le,
@@ -66948,7 +66952,7 @@ var HOe = (e) => {
if (ee || !fe) return;
xe.current = null;
let e = Number(le.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(le.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ce.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= zOe || a > .11)) {
+ if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= HOe || a > .11)) {
L(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), te(!0);
return;
}
@@ -66989,7 +66993,7 @@ var HOe = (e) => {
ke(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: J9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? OOe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ N.createElement("div", {
+ }, w?.close ?? MOe) : null, (z || n.icon || n.promise) && n.icon !== null && (w?.[z] !== null || n.icon) ? /*#__PURE__*/ N.createElement("div", {
"data-icon": "",
className: J9(C?.icon, n?.classNames?.icon)
}, z === "loading" ? n.icon || Ae() : n.promise ? Ae() : null, z === "loading" ? null : je) : null, /*#__PURE__*/ N.createElement("div", {
@@ -67001,20 +67005,20 @@ var HOe = (e) => {
}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ N.createElement("div", {
"data-description": "",
className: J9(v, me, C?.description, n?.classNames?.description)
- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ N.isValidElement(n.cancel) ? n.cancel : n.cancel && K9(n.cancel) ? /*#__PURE__*/ N.createElement("button", {
+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ N.isValidElement(n.cancel) ? n.cancel : n.cancel && G9(n.cancel) ? /*#__PURE__*/ N.createElement("button", {
"data-button": !0,
"data-cancel": !0,
style: n.cancelButtonStyle || h,
onClick: (e) => {
- K9(n.cancel) && fe && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), ke());
+ G9(n.cancel) && fe && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), ke());
},
className: J9(C?.cancelButton, n?.classNames?.cancelButton)
- }, n.cancel.label) : null, /*#__PURE__*/ N.isValidElement(n.action) ? n.action : n.action && K9(n.action) ? /*#__PURE__*/ N.createElement("button", {
+ }, n.cancel.label) : null, /*#__PURE__*/ N.isValidElement(n.action) ? n.action : n.action && G9(n.action) ? /*#__PURE__*/ N.createElement("button", {
"data-button": !0,
"data-action": !0,
style: n.actionButtonStyle || g,
onClick: (e) => {
- K9(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && ke());
+ G9(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && ke());
},
className: J9(C?.actionButton, n?.classNames?.actionButton)
}, n.action.label) : null);
@@ -67024,10 +67028,10 @@ function Y9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function UOe(e, t) {
+function KOe(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? IOe : FOe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? BOe : zOe;
function o(e) {
[
"top",
@@ -67048,11 +67052,11 @@ function UOe(e, t) {
}) : o(a);
}), n;
}
-var WOe = /*#__PURE__*/ N.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 = POe, toastOptions: g, dir: _ = Y9(), gap: v = ROe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = N.useState([]), w = N.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = N.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = N.useState([]), [O, k] = N.useState(!1), [A, j] = N.useState(!1), [M, P] = N.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = N.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = N.useRef(null), te = N.useRef(!1), ne = N.useCallback((e) => {
- C((t) => (t.find((t) => t.id === e.id)?.delete || W9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
+var qOe = /*#__PURE__*/ N.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 = ROe, toastOptions: g, dir: _ = Y9(), gap: v = q9, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = N.useState([]), w = N.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = N.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = N.useState([]), [O, k] = N.useState(!1), [A, j] = N.useState(!1), [M, P] = N.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = N.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = N.useRef(null), te = N.useRef(!1), ne = N.useCallback((e) => {
+ C((t) => (t.find((t) => t.id === e.id)?.delete || U9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
- return N.useEffect(() => W9.subscribe((e) => {
+ return N.useEffect(() => U9.subscribe((e) => {
if (e.dismiss) {
requestAnimationFrame(() => {
C((t) => t.map((t) => t.id === e.id ? {
@@ -67135,10 +67139,10 @@ var WOe = /*#__PURE__*/ N.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${LOe}px`,
+ "--width": `${VOe}px`,
"--gap": `${v}px`,
...m,
- ...UOe(l, u)
+ ...KOe(l, u)
},
onBlur: (e) => {
te.current && !e.currentTarget.contains(e.relatedTarget) && (te.current = !1, ee.current &&= (ee.current.focus({ preventScroll: !0 }), null));
@@ -67156,7 +67160,7 @@ var WOe = /*#__PURE__*/ N.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__*/ N.createElement(HOe, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ N.createElement(GOe, {
key: n.id,
icons: y,
index: i,
@@ -67190,8 +67194,8 @@ var WOe = /*#__PURE__*/ N.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), Z9 = !1, GOe = (e, t) => {
- Z9 || (Z9 = !0, (0, hS.createRoot)(e).render(/* @__PURE__ */ (0, P.jsx)(WOe, {
+}), Z9 = !1, JOe = (e, t) => {
+ Z9 || (Z9 = !0, (0, mS.createRoot)(e).render(/* @__PURE__ */ (0, P.jsx)(qOe, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -67212,8 +67216,8 @@ var WOe = /*#__PURE__*/ N.forwardRef(function(e, t) {
error: X9(t.error, !1)
}
})));
-}, KOe = (e, t) => {
- let n = t.alert ? G9.error : G9.success, r = t.action;
+}, YOe = (e, t) => {
+ let n = t.alert ? W9.error : W9.success, r = t.action;
n(/* @__PURE__ */ (0, P.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
duration: t.timeout || Infinity,
@@ -67225,17 +67229,17 @@ var WOe = /*#__PURE__*/ N.forwardRef(function(e, t) {
} : void 0
});
}, Q9 = null;
-function qOe() {
+function XOe() {
return Q9?.isConnected || (Q9 = document.createElement("div"), Q9.className = "peach-react", Q9.dataset.reactOverlays = "", document.body.append(Q9)), Q9;
}
function $9(e) {
return (t, n) => {
- let r = (0, hS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, P.jsx)(ee, {
+ let r = (0, mS.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, P.jsx)(ee, {
client: X,
children: /* @__PURE__ */ (0, P.jsx)(Eu, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, P.jsx)(Kv, {
- getContainer: qOe,
+ children: /* @__PURE__ */ (0, P.jsx)(Gv, {
+ getContainer: XOe,
children: /* @__PURE__ */ (0, P.jsx)(e, { ...t })
})
})
@@ -67246,75 +67250,75 @@ function $9(e) {
};
};
}
-var JOe = {
+var ZOe = {
activity: {
- prefetch: (e, t) => Yte(t),
- mount: $9(sne)
+ prefetch: (e, t) => Zte(t),
+ mount: $9(lne)
},
"avatar-picker": {
prefetch: async () => {},
- mount: $9(vre)
+ mount: $9(bre)
},
"catalog-grid": {
- prefetch: Ore,
- mount: $9(tie)
+ prefetch: Are,
+ mount: $9(rie)
},
"cover-crop": {
prefetch: async () => {},
- mount: $9(gie)
+ mount: $9(vie)
},
configuration: {
- prefetch: (e, t) => fL(t),
- mount: $9(Tce)
+ prefetch: (e, t) => pL(t),
+ mount: $9(Dce)
},
"configuration-summary": {
- prefetch: (e, t) => fL(t),
- mount: $9(Dce)
+ prefetch: (e, t) => pL(t),
+ mount: $9(kce)
},
"data-cleanup": {
prefetch: (e, t) => MA(t),
mount: $9(NM)
},
duplicates: {
- prefetch: (e, t) => Cie(t),
+ prefetch: (e, t) => Tie(t),
mount: $9(ZM)
},
"follow-manage": {
prefetch: (e, t) => dP(t, e.tab),
- mount: $9(loe)
+ mount: $9(doe)
},
index: {
- prefetch: (e, t) => boe(e, t),
- mount: $9(Uoe)
+ prefetch: (e, t) => Soe(e, t),
+ mount: $9(Goe)
},
"library-processing": {
prefetch: (e, t) => Sk(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, P.jsx)(Joe, { ...e }) : /* @__PURE__ */ (0, P.jsx)(Pj, { ...e }))
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, P.jsx)(Xoe, { ...e }) : /* @__PURE__ */ (0, P.jsx)(Pj, { ...e }))
},
playlists: {
- prefetch: (e, t) => Xoe(t),
- mount: $9(cse)
+ prefetch: (e, t) => Qoe(t),
+ mount: $9(use)
},
"quality-goals": {
- prefetch: (e, t) => Vie(t),
- mount: $9(use)
+ prefetch: (e, t) => Uie(t),
+ mount: $9(fse)
},
review: {
- prefetch: (e, t) => cae(t),
- mount: $9(Ese)
+ prefetch: (e, t) => uae(t),
+ mount: $9(Ose)
},
scraping: {
- prefetch: (e, t) => Nse(t),
- mount: $9(Bse)
+ prefetch: (e, t) => Fse(t),
+ mount: $9(Hse)
},
stats: {
- prefetch: (e, t) => kce(t),
- mount: $9(YEe)
+ prefetch: (e, t) => jce(t),
+ mount: $9($Ee)
},
taste: {
- prefetch: (e, t) => yDe("all", t),
- mount: $9(yOe)
+ prefetch: (e, t) => CDe("all", t),
+ mount: $9(COe)
}
};
//#endregion
-export { GOe as mountToaster, JOe as pages, KOe as showToast };
+export { JOe as mountToaster, ZOe as pages, YOe as showToast };